[商品详情交易数量/领取优惠券状态/隐藏交易次数,位置改为水晶贡献值/改商品认证]
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
unpackage
|
unpackage
|
||||||
unpackage/*
|
unpackage/*
|
||||||
node_modules
|
node_modules
|
||||||
|
unpackage/*/**
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
<view class="authenticationItemTitle">权证认证</view>
|
<view class="authenticationItemTitle">权证认证</view>
|
||||||
<view class="authenticationItemcontent" v-if="info.goods">
|
<view class="authenticationItemcontent" v-if="info.goods">
|
||||||
<view class="authenticationItemcontentItem" v-if="info.goods.name">
|
<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 class="content">{{info.goods.name || '暂无数据'}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="authenticationItemcontentItem" v-if="info.goods.type ===1 && info.goods.batch">
|
<view class="authenticationItemcontentItem" v-if="info.goods.type ===1 && info.goods.batch">
|
||||||
|
|||||||
@@ -15,7 +15,10 @@
|
|||||||
<view class="header">
|
<view class="header">
|
||||||
<view class="flex-box">
|
<view class="flex-box">
|
||||||
<view class="price"><text>¥</text>{{goodsObj.price.show}}</view>
|
<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>
|
||||||
<view class="coupon" v-if="couponSee.length > 0" @click="couponsOpne">
|
<view class="coupon" v-if="couponSee.length > 0" @click="couponsOpne">
|
||||||
<view class="coupon-list" v-for="(item, index) in couponSee" :key="index">
|
<view class="coupon-list" v-for="(item, index) in couponSee" :key="index">
|
||||||
@@ -32,9 +35,6 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="title-hot" v-if="goodsObj.specal_tags.is_self">{{goodsObj.specal_tags.is_self}}</view>
|
<view class="title-hot" v-if="goodsObj.specal_tags.is_self">{{goodsObj.specal_tags.is_self}}</view>
|
||||||
{{goodsObj.name}}
|
{{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>
|
||||||
<!-- <view class="sub-title">{{goodsObj.description}}</view> -->
|
<!-- <view class="sub-title">{{goodsObj.description}}</view> -->
|
||||||
</view>
|
</view>
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="tooSee-label"
|
<view class="tooSee-label"
|
||||||
@click="$Router.push({name: 'GoodsAttestation', params: {id: goodsObj.goods_id}})">
|
@click="$Router.push({name: 'GoodsAttestation', params: {id: goodsObj.goods_id}})">
|
||||||
权证认证
|
商品认证
|
||||||
<image class="tooSee-label-img" src="../../static/icons/equity_arrow_right.png"
|
<image class="tooSee-label-img" src="../../static/icons/equity_arrow_right.png"
|
||||||
mode="aspectFill"></image>
|
mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
@@ -255,7 +255,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
// 领取优惠券
|
// 领取优惠券
|
||||||
drawCoupons(id) {
|
drawCoupons(id,index) {
|
||||||
let token = this.$store.getters.getToken
|
let token = this.$store.getters.getToken
|
||||||
if (token == '') {
|
if (token == '') {
|
||||||
let userLogin = new userAuth()
|
let userLogin = new userAuth()
|
||||||
@@ -268,6 +268,7 @@
|
|||||||
type: 'primary',
|
type: 'primary',
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
|
this.coupons[index].can = res.can
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
|||||||
Reference in New Issue
Block a user