百富门答题小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
2.2 KiB

6 months ago
6 months ago
4 months ago
  1. <template>
  2. <view class="home">
  3. <image src="/static/image/bg/1.png"
  4. class="page-bg"
  5. mode=""></image>
  6. <view class="content" style="padding-top: 450rpx;">
  7. <span class="font-bold">Genius Journey Club</span>
  8. <text style="margin-top: 20rpx; font-size: 28rpx; color: #878787;">欢迎您的到来</text>
  9. <text style="margin-top: 30rpx; font-size: 28rpx; color: #878787;">使用小程序请确认您已满18周岁</text>
  10. <view class="mian-btn" :class="{active:isActive === 'yes'}" @click="setActive('yes')">未满18岁</view>
  11. <view class="mian-btn" :class="{active:isActive === 'no'}" @click="setActive('no')">已满18岁</view>
  12. <view class="flex-center mt-40">
  13. <uv-checkbox-group>
  14. <uv-checkbox size="15px" v-model="isCheck" iconSize="20rpx" activeColor="#e6bf7f" @change="change"></uv-checkbox>
  15. </uv-checkbox-group>
  16. <span style="font-size: 26rpx;">我已阅读政策隐私条款</span>
  17. </view>
  18. <view class="" style="margin-top: 60rpx;" @click="start">
  19. <view class="btn2">
  20. 立即开启
  21. </view>
  22. </view>
  23. <view class="flex-col query" style="gap: 0rpx;">
  24. <text class="second-color">欢快无限饮&nbsp;&nbsp;饮酒有限度</text>
  25. </view>
  26. </view>
  27. </view>
  28. </template>
  29. <script>
  30. export default {
  31. data() {
  32. return {
  33. isActive: null,
  34. isCheck: false
  35. }
  36. },
  37. methods: {
  38. setActive(val) {
  39. this.isActive = val
  40. },
  41. change(e){
  42. this.isCheck = e
  43. },
  44. start() {
  45. if (this.isActive && this.isCheck) {
  46. uni.redirectTo({
  47. url:'/pages_order/info/fillInfo'
  48. })
  49. } else {
  50. uni.showToast({
  51. title: '请选择并勾选后开启',
  52. icon: 'none'
  53. })
  54. }
  55. }
  56. }
  57. }
  58. </script>
  59. <style lang="scss" scoped>
  60. .query {
  61. position: relative;
  62. }
  63. .b-btn {
  64. width: 86%;
  65. display: flex;
  66. justify-content: space-between;
  67. padding-top: 20vh;
  68. .pre-btn {
  69. border: 4rpx solid #f1e0c6;
  70. padding: 16rpx 90rpx;
  71. border-radius: 66rpx;
  72. color: #e6bf7f;
  73. }
  74. .next-btn {
  75. // background-image: url('../../static/image/home/btn.png');
  76. background-size: contain;
  77. background-repeat: no-repeat;
  78. background-position: center;
  79. width: 40vw;
  80. display: flex;
  81. align-items: center;
  82. justify-content: center;
  83. color: white;
  84. }
  85. }
  86. </style>