zhaojs
2023-06-10 69ea24e8fdfb41fc48c3fdb8c444645c13b1bbc4
uniapp/pages/mine/inviteFriends.vue
@@ -35,7 +35,12 @@
               未来他/她有购物订单,您可获得佣金奖励,并自动计入您的帐户
            </view>
         </view>
         <view class="invit_cont">
            <view class="invit_v" @click="checkVideo(0)"><image src='https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/vi_jiaocheng.png'></image></view>
            <view class="invit_v" @click="checkVideo(1)"><image src='https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/vi_yaoqing.png'></image></view>
         </view>
         <view class="bottom-options-container rowCenAro">
            <view class="option-items-container colCen" @tap='copyLink()'>
               <image class="icon-box" src="../../static/images/mine/link.png" mode="aspectFill"></image>
@@ -156,6 +161,22 @@
         this.makeCode()
      },
      methods: {
         checkVideo(type)
         {
            console.log(type)
            if(type==1)
            {
               uni.navigateTo({
                  url: '/pages/webView/webView?url=http://dfgapp.ushopvip.com/html/fxguid.html'
               })
            }
            else{
               uni.navigateTo({
                  url: '/pages/webView/webView?url=http://dfgapp.ushopvip.com/html/newuse.html'
               })
            }
         },
         showModel() {
            this.$nextTick(()=>{
               this.getbanner()
@@ -414,6 +435,21 @@
</script>
<style lang="scss">
   .invit_cont
   {
          display: flex;
          justify-content: space-between;
          width: 100%;
         margin-top: 25rpx;
         .invit_v
         {
            width: 49%;
         }
          image
         {
            height: 145rpx;
         }
   }
   .inviteFriends-wrapper {
      width: 100%;