|
@@ -8,15 +8,15 @@
|
|
<!-- 详情 -->
|
|
<!-- 详情 -->
|
|
<view class="detail-info flex">
|
|
<view class="detail-info flex">
|
|
<view class="detail-info-left">
|
|
<view class="detail-info-left">
|
|
- <view class="detail-info-left__title ells-one">{{ info.title }}</view>
|
|
|
|
- <view class="detail-info-left__coin" v-if="type != 'not'">
|
|
|
|
|
|
+ <view class="detail-info-left__title ells">{{ info.title }}</view>
|
|
|
|
+ <!-- <view class="detail-info-left__coin">
|
|
<view class="content flex">
|
|
<view class="content flex">
|
|
<image src="../../static/public/goods_coin.png" mode=""></image>
|
|
<image src="../../static/public/goods_coin.png" mode=""></image>
|
|
<view><text>×</text>{{ info.exchangePrice }}</view>
|
|
<view><text>×</text>{{ info.exchangePrice }}</view>
|
|
</view>
|
|
</view>
|
|
<view class="txt" v-if="info.originPrice">原盲豆:<text>{{ info.originPrice }}</text></view>
|
|
<view class="txt" v-if="info.originPrice">原盲豆:<text>{{ info.originPrice }}</text></view>
|
|
</view>
|
|
</view>
|
|
- <!-- <view class="detail-info-left__price">¥{{ $numberFormat(info.value) }}</view> -->
|
|
|
|
|
|
+ <view class="detail-info-left__price">¥{{ $numberFormat(info.value) }}</view> -->
|
|
</view>
|
|
</view>
|
|
<view class="detail-info-right" v-show="false">销量:30个</view>
|
|
<view class="detail-info-right" v-show="false">销量:30个</view>
|
|
</view>
|
|
</view>
|
|
@@ -53,13 +53,11 @@
|
|
|
|
|
|
payShow: false,
|
|
payShow: false,
|
|
payInfo: {},
|
|
payInfo: {},
|
|
- type: ''
|
|
|
|
};
|
|
};
|
|
},
|
|
},
|
|
onLoad(opthios) {
|
|
onLoad(opthios) {
|
|
this.getDetail(opthios.id)
|
|
this.getDetail(opthios.id)
|
|
this.goodsId = opthios.id
|
|
this.goodsId = opthios.id
|
|
- this.type = opthios.type
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
getDetail(id) {
|
|
getDetail(id) {
|
|
@@ -142,10 +140,10 @@
|
|
|
|
|
|
&__title {
|
|
&__title {
|
|
font-size: 34rpx;
|
|
font-size: 34rpx;
|
|
- line-height: 34rpx;
|
|
|
|
- height: 34rpx;
|
|
|
|
|
|
+ line-height: 40rpx;
|
|
|
|
+ max-height: 80rpx;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
- margin-bottom: 26rpx;
|
|
|
|
|
|
+ // margin-bottom: 26rpx;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
|