index.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <template>
  2. <view class="container">
  3. <topProcess></topProcess>
  4. <view class="center-box">
  5. <span class="center-title">你需要准备以下材料:</span>
  6. <view class="content-item-box">
  7. <view class="center-item" v-for="(item, index) of centerList">
  8. <img class="l-img" src="@/static/logo.png" alt="" />
  9. <view class="item-r">
  10. <p class="r-text1">{{ index + 1 }} 、{{ item.title }}</p>
  11. <p class="r-text2">{{ item.content }}</p>
  12. </view>
  13. </view>
  14. </view>
  15. <view class="radoi-box">
  16. <u-checkbox-group v-model="checked">
  17. <u-checkbox shape="circle" :name="1" />
  18. </u-checkbox-group>
  19. <span>我已阅读并同意 <span style="color: #5992bb">《开店说明》</span> </span>
  20. </view>
  21. </view>
  22. <button class="btn" @click="handlerSkipOpenShop">我已经准备好了</button>
  23. </view>
  24. </template>
  25. <script>
  26. import topProcess from '@/pages/merchant/mine/openStore/components/top-process.vue';
  27. export default {
  28. data() {
  29. return {
  30. centerList: [
  31. {
  32. img: '',
  33. title: '实体店照片',
  34. content: '需要提供有完整拍的门店照片和真实的内部环境照片',
  35. },
  36. {
  37. img: '',
  38. title: '法人身份证',
  39. content: '需要提供营业执照的法人身份证正反面照片',
  40. },
  41. {
  42. img: '',
  43. title: '营业执照',
  44. content: '需要提供有效的营业执照或监管部门认可的具有与营业执照相同法律效力的其他证件',
  45. },
  46. ],
  47. checked: [1],
  48. };
  49. },
  50. components: { topProcess },
  51. methods: {
  52. // 点击跳转到开店
  53. handlerSkipOpenShop() {
  54. if (this.checked.length != 0) {
  55. uni.navigateTo({
  56. url: 'pages/merchant/mine/openStore/storeInformation',
  57. });
  58. } else {
  59. uni.showToast({
  60. title: '请阅读并同意开店说明',
  61. icon: 'none',
  62. });
  63. return;
  64. }
  65. },
  66. },
  67. };
  68. </script>
  69. <style lang="scss" scoped>
  70. .container {
  71. padding: 20rpx;
  72. .center-box {
  73. padding: 20rpx;
  74. margin-top: 20rpx;
  75. .center-item {
  76. display: flex;
  77. width: 100%;
  78. margin: 20rpx 0;
  79. .l-img {
  80. width: 35%;
  81. height: 180rpx;
  82. }
  83. .item-r {
  84. margin-left: 50rpx;
  85. width: 300rpx;
  86. flex-wrap: wrap;
  87. .r-text1 {
  88. }
  89. .r-text2 {
  90. color: #9e9e9e;
  91. font-size: 24rpx;
  92. margin-top: 10rpx;
  93. }
  94. }
  95. }
  96. }
  97. .radoi-box {
  98. display: flex;
  99. color: #9e9e9e;
  100. font-size: 26rpx;
  101. margin-top: 40rpx;
  102. }
  103. .btn {
  104. background-color: #5992bb !important;
  105. color: #fff;
  106. font-size: 32rpx;
  107. border-radius: 40rpx;
  108. margin-top: 300rpx;
  109. width: 55%;
  110. }
  111. }
  112. </style>