|
|
- <template>
- <view class="home">
- <view class="content" style="padding-top: 25vh;">
- <span class="font-bold">Genius Journey Club</span>
- <text style="margin-top: 20rpx; font-size: 28rpx; color: #878787;">欢迎您的到来</text>
- <text style="margin-top: 30rpx; font-size: 28rpx; color: #878787;">使用小程序请确认您已满18周岁</text>
- <view class="mian-btn" :class="{active:isActive === 'yes'}" @click="setActive('yes')">未满18岁</view>
- <view class="mian-btn" :class="{active:isActive === 'no'}" @click="setActive('no')">已满18岁</view>
- <view class="flex-center mt-40">
- <uv-checkbox-group>
- <uv-checkbox size="15px" v-model="isCheck" iconSize="20rpx" activeColor="#e6bf7f" @change="change"></uv-checkbox>
- </uv-checkbox-group>
- <span style="font-size: 26rpx;">我已阅读政策隐私条款</span>
- </view>
- <view class="" style="margin-top: 60rpx;" @click="start">
- <view class="btn2">
- 立即开启
- </view>
- </view>
- <view class="flex-col query" style="gap: 0rpx;">
- <text class="second-color">欢快无限饮 饮酒有限度</text>
- </view>
- </view>
- </view>
- </template>
-
- <script>
- export default {
- data() {
- return {
- isActive: null,
- isCheck: false
- }
- },
- methods: {
- setActive(val) {
- this.isActive = val
- },
- change(e){
- this.isCheck = e
- },
- start() {
- if (this.isActive && this.isCheck) {
- uni.navigateTo({
- url:'/pages_order/info/fillInfo'
- })
- } else {
- uni.showToast({
- title: '请选择并勾选后开启',
- icon: 'none'
- })
- }
- }
- }
- }
- </script>
-
- <style lang="scss" scoped>
- .query {
- position: relative;
- bottom: -15vh;
- }
-
- .b-btn {
- width: 86%;
- display: flex;
- justify-content: space-between;
- padding-top: 20vh;
-
- .pre-btn {
- border: 4rpx solid #f1e0c6;
- padding: 16rpx 90rpx;
- border-radius: 66rpx;
- color: #e6bf7f;
- }
-
- .next-btn {
- background-image: url('../../static/image/home/btn.png');
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center;
- width: 40vw;
- display: flex;
- align-items: center;
- justify-content: center;
- color: white;
- }
- }
- </style>
|