[商品详情交易数量/领取优惠券状态/隐藏交易次数,位置改为水晶贡献值/改商品认证]

This commit is contained in:
2021-11-23 09:10:23 +08:00
parent 11dd119d0c
commit 4611cb984e
3 changed files with 9 additions and 7 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
unpackage
unpackage/*
node_modules
unpackage/*/**

View File

@@ -6,7 +6,7 @@
<view class="authenticationItemTitle">权证认证</view>
<view class="authenticationItemcontent" v-if="info.goods">
<view class="authenticationItemcontentItem" v-if="info.goods.name">
<view class="title">{{info.goods.type ===1?'权证名称':'项目名称'}}: </view>
<view class="title">{{info.goods.type ===1 ? '权证名称':'项目名称'}}: </view>
<view class="content">{{info.goods.name || '暂无数据'}}</view>
</view>
<view class="authenticationItemcontentItem" v-if="info.goods.type ===1 && info.goods.batch">

View File

@@ -15,7 +15,10 @@
<view class="header">
<view class="flex-box">
<view class="price"><text></text>{{goodsObj.price.show}}</view>
<view class="sales">累计交易{{goodsObj.sales}}</view>
<!-- <view class="sales">累计交易{{goodsObj.sales}}</view> -->
<span style='font-size: 26rpx;color: #999;font-weight: normal;padding-left: 20rpx;' v-if='goodsObj.price.pv>0'>
贡献值:<span>{{goodsObj.price.pv}}</span><image style="width: 20rpx;" src="/static/icons/crystal-icon.png" mode="widthFix" />
</span>
</view>
<view class="coupon" v-if="couponSee.length > 0" @click="couponsOpne">
<view class="coupon-list" v-for="(item, index) in couponSee" :key="index">
@@ -32,9 +35,6 @@
</view>
<view class="title-hot" v-if="goodsObj.specal_tags.is_self">{{goodsObj.specal_tags.is_self}}</view>
{{goodsObj.name}}
<span style='font-size: 26rpx;color: #999;font-weight: normal;padding-left: 20rpx;' v-if='goodsObj.price.pv>0'>
贡献值:<span>{{goodsObj.price.pv}}</span><image style="width: 20rpx;" src="/static/icons/crystal-icon.png" mode="widthFix" />
</span>
</view>
<!-- <view class="sub-title">{{goodsObj.description}}</view> -->
</view>
@@ -60,7 +60,7 @@
</view>
<view class="tooSee-label"
@click="$Router.push({name: 'GoodsAttestation', params: {id: goodsObj.goods_id}})">
权证认证
商品认证
<image class="tooSee-label-img" src="../../static/icons/equity_arrow_right.png"
mode="aspectFill"></image>
</view>
@@ -255,7 +255,7 @@
},
// 领取优惠券
drawCoupons(id) {
drawCoupons(id,index) {
let token = this.$store.getters.getToken
if (token == '') {
let userLogin = new userAuth()
@@ -268,6 +268,7 @@
type: 'primary',
duration: 3000
})
this.coupons[index].can = res.can
}).catch(err => {
uni.showToast({
icon: 'none',