|
|
@@ -51,6 +51,14 @@
|
|
|
<van-button class="del" round block plain @click="$router.replace('/register')"
|
|
|
>暂无账号,立即注册</van-button
|
|
|
>
|
|
|
+
|
|
|
+ <div class="xieyi">
|
|
|
+ <van-checkbox v-model="checked"
|
|
|
+ >已阅读并同意<span @click.stop="$refs.agreement.show = true">
|
|
|
+ <<用户隐私协议>></span
|
|
|
+ ></van-checkbox
|
|
|
+ >
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</van-form>
|
|
|
|
|
|
@@ -114,12 +122,16 @@
|
|
|
>
|
|
|
</div>
|
|
|
</van-form>
|
|
|
+
|
|
|
+ <agreement ref="agreement" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import Agreement from '../../components/Agreement.vue';
|
|
|
import phone from '../../mixins/phone';
|
|
|
export default {
|
|
|
+ components: { Agreement },
|
|
|
mixins: [phone],
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -128,7 +140,8 @@ export default {
|
|
|
phone: '',
|
|
|
password: '',
|
|
|
code: ''
|
|
|
- }
|
|
|
+ },
|
|
|
+ checked: false
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -248,4 +261,9 @@ export default {
|
|
|
right: 0;
|
|
|
top: -65px;
|
|
|
}
|
|
|
+.xieyi {
|
|
|
+ .flex();
|
|
|
+ justify-content: center;
|
|
|
+ margin-top: 50px;
|
|
|
+}
|
|
|
</style>
|