开通会员2次BUG以及识别打开详情页面

version/0412
shuxiaoquan 8 months ago
parent 18c8b3a097
commit 731470f32b
  1. 2
      components/goods-poster-popup/index.vue
  2. 8
      pages/goods/detail.vue
  3. 4
      pages/serve/index.vue

@ -3,7 +3,7 @@
border-radius="18" :z-index="12" @close="onClose()">
<view class="pop-poster pop-example__container">
<view class="image__container" @click="handlePreviewImage()">
<image v-if="imageUrl" class="image" mode="scaleToFill" :src="imageUrl"></image>
<image v-if="imageUrl" show-menu-by-longpress class="image" mode="scaleToFill" :src="imageUrl"></image>
</view>
<view class="save-btn__container">
<view class="save-btn" @click="handleDownload()">保存海报图</view>

@ -384,6 +384,7 @@
</view>
</template>
<script>
import { getSceneData } from '@/core/app'
import GoodsPosterPopup from '@/components/goods-poster-popup'
import * as GoodsApi from '@/api/goods'
import * as goodsCar from '@/api/cart.js'
@ -462,6 +463,8 @@
that.selectShop = selectShop
that.selectShop.price = that.selectShop.price / 100
})
// query
this.onRecordQuery(options)
// uni.$on("checkSelectShop", function(selectShop) {
// console.log("checkSelectShop1",selectShop)
// if(selectShop && selectShop.goods_sku_id){
@ -489,6 +492,11 @@
}
},
methods: {
// query
onRecordQuery(query) {
const scene = getSceneData(query)
this.goodsId = query.goodsId ? parseInt(query.goodsId) : parseInt(scene.gid)
},
getprice(e) {
let that = this
let params = {

@ -41,7 +41,7 @@
<text class="listText">支付订单</text>
<text class="listText">服务评价</text>
</view>
<view class="member" @click="goMember" v-if="!userInfo || userInfo.grade_id == 0">
<view class="member" @click="openPage1()" v-if="!userInfo || userInfo.grade_id == 0">
<view class="memberCenter">
会员中心
</view>
@ -51,7 +51,7 @@
<view class="opera">
<text class="price" v-if="userInfo.user_id && packageList.price">¥<text class="number">{{packageList.price}}</text>/{{packageList.month}}</text>
<text class="price" v-else><text class="number">99</text></text>
<view class="operaBtn" @click="openPage1()">
<view class="operaBtn">
立即开通
</view>
</view>

Loading…
Cancel
Save