xuxueyang
2024-08-13 b0afaeef0f8f0b5aa116c6c6d772f211e6908368
pages/login/supplier-reg.vue
@@ -86,13 +86,33 @@
                  </view>
                  <view class="flex flex-wrap-normal"
                     style="position: fixed;bottom: 40rpx;left: 40rpx;right: 40rpx;" v-if="false">
                     style="position: fixed;bottom: 40rpx;left: 40rpx;right: 40rpx;" v-if="true">
                     <view :style="{'margin-top': '8rpx','margin-right': '12rpx','font-size':'24rpx'}"
                        @click="protocal=!protocal" class="component-radio" :class="[protocal?'cur':'']">
                     </view>
                     <view class="topic-gray" @click="toProtocol">请仔细阅读《花满芫合伙人供应商入口小程序隐私保护指引》如您同意该指引,请勾选开始使用本小程序
                     <!-- /pages/help/content?id=新手帮助 -->
                     <!-- 用户协议,隐私政策、卖家入驻协议、合伙人入驻协议 -->
                     <!-- #ifdef PUB_PARTNER -->
                     <view class="topic-gray" @click="goto('/pages/help/content?id=合伙人入驻协议',false)">
                        请仔细阅读《合伙人入驻协议》如您同意该指引,请勾选开始使用本小程序
                     </view>
                     <!-- #endif -->
                     <!-- #ifdef PUB_SUPPLIER -->
                     <view class="topic-gray" @click="goto('/pages/help/content?id=卖家入驻协议',false)">
                        请仔细阅读《卖家入驻协议》如您同意该指引,请勾选开始使用本小程序
                     </view>
                     <!-- #endif -->
                     <!-- #ifdef PUB_CUSTOMER -->
                     <view class="topic-gray">
                        请仔细阅读<span class="t-red"
                           @click="goto('/pages/help/content?id=用户协议',false)">《用户协议》</span>和 <span class="t-red"
                           @click="goto('/pages/help/content?id=隐私政策',false)">《隐私政策》</span>
                        如您同意该指引,请勾选开始使用本小程序
                     </view>
                     <!-- #endif -->
                  </view>
               </form>
            </view>
@@ -309,6 +329,10 @@
         //   })
         // },
         wxreg(e) {
            if (!this.protocal) {
               this.$message.showToast('请同意协议')
               return;
            }
            let tmp = this
            wx.login({
               success: async res => {
@@ -365,10 +389,10 @@
               return
            }
            // #endif
            // if (this.pcfvalue == undefined) {
            //    util.showMyToast('必须勾选《用户服务协议》及《隐私政策》');
            //    return;
            // }
            if (!this.protocal) {
               this.$message.showToast('请同意协议')
               return;
            }
            let post = {
               tel: this.phoneNumber,
               smsCode: this.smsCode,