|
@@ -38,7 +38,10 @@
|
|
<view class="wrap-top-price" v-if="!goodsData.isNoneDisabled">
|
|
<view class="wrap-top-price" v-if="!goodsData.isNoneDisabled">
|
|
<view v-if="!hasLogin" class="p-login grade tui-skeleton-fillet">
|
|
<view v-if="!hasLogin" class="p-login grade tui-skeleton-fillet">
|
|
<text class="p-no">价格:</text>
|
|
<text class="p-no">价格:</text>
|
|
- <uni-stars :stars="parseInt(product.price1Grade)" :font-size='36' :width-info="180"></uni-stars>
|
|
|
|
|
|
+ <view class="price-left" v-if="linkPath === 'activity'">
|
|
|
|
+ <text class="none">¥<text>???</text></text>
|
|
|
|
+ </view>
|
|
|
|
+ <uni-stars v-else :stars="parseInt(product.price1Grade)" :font-size='36' :width-info="180"></uni-stars>
|
|
<view class="p-login tui-skeleton-fillet">
|
|
<view class="p-login tui-skeleton-fillet">
|
|
<text class="p-login-btn" @click.stop="navToLogin">登录查看价格<text class="iconfont icon-xiayibu" style="font-size: 22rpx;margin: 0 6rpx;"></text></text>
|
|
<text class="p-login-btn" @click.stop="navToLogin">登录查看价格<text class="iconfont icon-xiayibu" style="font-size: 22rpx;margin: 0 6rpx;"></text></text>
|
|
</view>
|
|
</view>
|
|
@@ -263,12 +266,14 @@
|
|
nvabarData: { //顶部自定义导航
|
|
nvabarData: { //顶部自定义导航
|
|
showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示
|
|
showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示
|
|
title: '' // 导航栏 中间的标题
|
|
title: '' // 导航栏 中间的标题
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ linkPath:''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
this.productID = option.id;//获取商品ID
|
|
this.productID = option.id;//获取商品ID
|
|
this.isShareType = option.type
|
|
this.isShareType = option.type
|
|
|
|
+ this.linkPath = option.path
|
|
this.isHeaderPoduct = true
|
|
this.isHeaderPoduct = true
|
|
if(option.page == 2){
|
|
if(option.page == 2){
|
|
this.backPage = option.page
|
|
this.backPage = option.page
|
|
@@ -751,6 +756,22 @@
|
|
font-size: $font-size-24;
|
|
font-size: $font-size-24;
|
|
&.grade{
|
|
&.grade{
|
|
margin-bottom: 20rpx;
|
|
margin-bottom: 20rpx;
|
|
|
|
+ .price-left{
|
|
|
|
+ float: left;
|
|
|
|
+ .none{
|
|
|
|
+ display: block;
|
|
|
|
+ font-size: $font-size-20;
|
|
|
|
+ line-height: 48rpx;
|
|
|
|
+ color: #4A4B54;
|
|
|
|
+ float: left;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ margin-left: 5rpx;
|
|
|
|
+ text{
|
|
|
|
+ letter-spacing: 4rpx;
|
|
|
|
+ font-size: $font-size-32;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.p-no{
|
|
.p-no{
|
|
float: left;
|
|
float: left;
|