From efdf1c916636f4f18a3aa52ebc608c51d07ee25a Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期一, 03 七月 2023 16:18:10 +0800 Subject: [PATCH] no message --- uniapp/pages/goods/goodsDetail.vue | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 42 insertions(+), 2 deletions(-) diff --git a/uniapp/pages/goods/goodsDetail.vue b/uniapp/pages/goods/goodsDetail.vue index 90c03aa..321d253 100644 --- a/uniapp/pages/goods/goodsDetail.vue +++ b/uniapp/pages/goods/goodsDetail.vue @@ -212,6 +212,8 @@ </view> </view> </view> + + <!-- <view class="right-container rowCen borderBox" v-if="!showtar || platform!='iOS'"> <view class="leftsharebox btnbox colCenCen" @tap="goPath()"> @@ -276,6 +278,12 @@ <u-popup v-model="inviterShow" mode="center" border-radius="32" v-if="inviterShow" :mask-close-able='true'> <inviter-model ref='invitermodel' @rewrite='rewriteCode' @setInvite='setCodebtn'></inviter-model> </u-popup> + <uni-popup ref="popup_pddtip" type="center"> + <view class="pdd_pop_contant"> + <view class="pdd_pop_title">姣斾环璁㈠崟</view> + <view class="pdd_pop_text">鏈鑷喘娑夊強姣斾环琛屼负锛岃嚜璐敹鐩婁负0锛屽缓璁厛鏀惰棌璇ュ晢鍝侊紝2灏忔椂鍊欓�氳繃澶ц繑瀹榓pp璐拱锛屽彲姝e父鑾峰彇瀵瑰簲鏀剁泭銆�</view> + </view> + </uni-popup> </view> </template> @@ -321,6 +329,7 @@ inviteCodeShow: false, inviterShow: false, frompage:'', + isshowpdd:false }; }, onPageScroll(e) { @@ -340,6 +349,12 @@ getApp().bcInit(); } }, + onReady(){ + if(this.isshowpdd) + { + this.$refs.popup_pddtip.open(); + } + }, onLoad(options) { this.appinfo = utils.getCacheSync('appInfo') // #ifdef APP-PLUS @@ -367,12 +382,19 @@ this.optionsInfo = JSON.parse(options.info); this.pageInfo = JSON.parse(options.info); } - + this.pageType = this.optionsInfo.sourceType; if (!this.optionsInfo.faction) { if (this.pageType == 'tb' || this.pageType == 'tm' || this.pageType == 'tmshop') this.faction = 't'; if (this.pageType == 'jd') this.faction = 'j'; - if (this.pageType == 'pdd') this.faction = 'p'; + if (this.pageType == 'pdd') + { + this.faction = 'p'; + if(options.proform&&options.proform=="clipboard") + {//鏉ヨ嚜鍓创鏉� + this.isshowpdd=true; + } + } if (this.pageType == 'wph') this.faction = 'w'; if (this.pageType == 'dy') this.faction = 'd'; } else { @@ -848,6 +870,24 @@ } </style> <style lang="scss" scoped> + .pdd_pop_contant{ + background-color: rgb(255, 255, 255); + padding: 40rpx; + width: 80%; + margin:0 auto; + border-radius: 20rpx; + .pdd_pop_title + { + text-align: center; + margin-bottom: 30rpx; + font-size: 18px; + } + .pdd_pop_text + { + margin-bottom: 30rpx; + color: #868080; + } + } .container { .flexbox { position: fixed; -- Gitblit v1.9.3