63 lines
1.2 KiB
Vue
63 lines
1.2 KiB
Vue
<template>
|
|
<view class="agreement">
|
|
<widget-check-box :checked="agree" />
|
|
<view class="description">
|
|
<text class="text">我已阅读并同意</text>
|
|
<text class="link">《熊熊安装服务协议》</text>
|
|
<text class="link">《隐私政策》</text>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import WidgetCheckBox from "@/components/widgets/checkbox";
|
|
export default {
|
|
name: "auth-agreement",
|
|
data() {
|
|
return {};
|
|
},
|
|
props: {
|
|
agree: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
},
|
|
components: {
|
|
WidgetCheckBox,
|
|
},
|
|
created() {},
|
|
mounted() {},
|
|
destroyed() {},
|
|
methods: {},
|
|
};
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.agreement {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
line-height: 40rpx;
|
|
.icon-box {
|
|
.iconfont {
|
|
color: #c7c7c7;
|
|
font-size: 40rpx;
|
|
}
|
|
}
|
|
.icon-box.active {
|
|
.iconfont {
|
|
color: #8194f2;
|
|
}
|
|
}
|
|
.description {
|
|
font-size: 22rpx;
|
|
margin-left: 10rpx;
|
|
.text {
|
|
color: #333333;
|
|
}
|
|
.link {
|
|
color: #8194f2;
|
|
}
|
|
}
|
|
}
|
|
</style> |