|
@@ -10,6 +10,11 @@
|
|
|
<span v-if="Number(detail.cha_bao) != 0 && Number(detail.cost_price) != 0">+</span>
|
|
<span v-if="Number(detail.cha_bao) != 0 && Number(detail.cost_price) != 0">+</span>
|
|
|
<span v-if="Number(detail.cha_bao) != 0">{{ detail.cha_bao }}茶宝</span>
|
|
<span v-if="Number(detail.cha_bao) != 0">{{ detail.cha_bao }}茶宝</span>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view v-else-if="type == 7" class="price">
|
|
|
|
|
+ <span v-if="Number(detail.cost_price) != 0">{{ detail.cost_price }}元</span>
|
|
|
|
|
+ <span v-if="Number(detail.consume) != 0 && Number(detail.cost_price) != 0">+</span>
|
|
|
|
|
+ <span v-if="Number(detail.consume) != 0">{{ detail.consume }}消费金</span>
|
|
|
|
|
+ </view>
|
|
|
<view v-else-if="type == 1" class="price flex_c">
|
|
<view v-else-if="type == 1" class="price flex_c">
|
|
|
<text class="p_favour_teac" v-if="type == 1">¥: {{ $h.Add(detail.teac,$h.Mul(detail.trade_teac, 2))||0 }} TeaC +{{ detail.treasure_price||0 }} 茶宝</text>
|
|
<text class="p_favour_teac" v-if="type == 1">¥: {{ $h.Add(detail.teac,$h.Mul(detail.trade_teac, 2))||0 }} TeaC +{{ detail.treasure_price||0 }} 茶宝</text>
|
|
|
<text class="p_trade_teac" v-if="type == 1">寄卖服务费:{{$h.Mul(detail.service,2)}} 元</text>
|
|
<text class="p_trade_teac" v-if="type == 1">寄卖服务费:{{$h.Mul(detail.service,2)}} 元</text>
|
|
@@ -47,6 +52,13 @@
|
|
|
<text class="red">分享约获得 {{ detail.first_teac }} {{type==3?'TeaC':'现金'}}</text>
|
|
<text class="red">分享约获得 {{ detail.first_teac }} {{type==3?'TeaC':'现金'}}</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="goods_teac flex_r flex_jb" v-if="['7'].includes(type)">
|
|
|
|
|
+ <view class="product-txt"></view>
|
|
|
|
|
+ <view class="product-txt fenxiang">
|
|
|
|
|
+ <text class="iconfont red"></text>
|
|
|
|
|
+ <text class="red">分享约获得 {{ detail.first_int }} 现金</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
<view class="goods_subName">{{ detail.goodsMsg }}</view>
|
|
<view class="goods_subName">{{ detail.goodsMsg }}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<!-- 标题信息栏-end -->
|
|
<!-- 标题信息栏-end -->
|
|
@@ -61,7 +73,7 @@
|
|
|
<!-- 产品简介-end -->
|
|
<!-- 产品简介-end -->
|
|
|
<!-- 底部导航组件 -->
|
|
<!-- 底部导航组件 -->
|
|
|
<view class="option">
|
|
<view class="option">
|
|
|
- <uni-goods-nav :fill="true" :options="options" :buttonGroup="type == 5 ? buttonGroupTea : buttonGroup" @click="onClick" @buttonClick="buttonClick" />
|
|
|
|
|
|
|
+ <uni-goods-nav :fill="true" :options="options" :buttonGroup="type == 5 || type == 7? buttonGroupTea : buttonGroup" @click="onClick" @buttonClick="buttonClick" />
|
|
|
</view>
|
|
</view>
|
|
|
<!-- 底部导航组件-end -->
|
|
<!-- 底部导航组件-end -->
|
|
|
<!-- 购买或加入购物车弹窗 -->
|
|
<!-- 购买或加入购物车弹窗 -->
|
|
@@ -77,6 +89,7 @@
|
|
|
<view class="goods_msg" v-if="type == 1">¥: {{ $h.Add(detail.teac,$h.Mul(detail.trade_teac, 2))||0 }}TeaC + {{ detail.treasure_price }}茶宝</view>
|
|
<view class="goods_msg" v-if="type == 1">¥: {{ $h.Add(detail.teac,$h.Mul(detail.trade_teac, 2))||0 }}TeaC + {{ detail.treasure_price }}茶宝</view>
|
|
|
<view class="goods_smsg" v-if="type == 1">寄卖服务费:{{$h.Mul(detail.service,2)}} 元</view>
|
|
<view class="goods_smsg" v-if="type == 1">寄卖服务费:{{$h.Mul(detail.service,2)}} 元</view>
|
|
|
<view class="goods_msg" v-else-if="type == 2">{{ detail.trade_price }}元+{{ detail.trade_num }}批发券+{{ detail.treasure_price }}茶宝</view>
|
|
<view class="goods_msg" v-else-if="type == 2">{{ detail.trade_price }}元+{{ detail.trade_num }}批发券+{{ detail.treasure_price }}茶宝</view>
|
|
|
|
|
+ <view class="goods_msg" v-else-if="type == 7">{{ detail.cost_price }}元+{{ detail.consume }}消费金</view>
|
|
|
<view class="goods_msg" v-else>¥{{ afterSpecPrice }}</view>
|
|
<view class="goods_msg" v-else>¥{{ afterSpecPrice }}</view>
|
|
|
<view class="num_con flex_r flex_je" v-if="type != 6">
|
|
<view class="num_con flex_r flex_je" v-if="type != 6">
|
|
|
<uni-number-box :min="1" @change="bindChange" :value="buyNum"></uni-number-box>
|
|
<uni-number-box :min="1" @change="bindChange" :value="buyNum"></uni-number-box>
|
|
@@ -126,13 +139,15 @@
|
|
|
<checkbox-group class="flex_r flex_ac flex_jc" @change="checkboxChange">
|
|
<checkbox-group class="flex_r flex_ac flex_jc" @change="checkboxChange">
|
|
|
<label class="option_box">
|
|
<label class="option_box">
|
|
|
<checkbox value="1" :checked="checked" color="#2DB389" style="transform: scale(0.7)" />
|
|
<checkbox value="1" :checked="checked" color="#2DB389" style="transform: scale(0.7)" />
|
|
|
- 我已阅读同意<text @tap.stop="getProPage" v-if="type != 5 && type != 6">《购买协议》</text>
|
|
|
|
|
|
|
+ 我已阅读同意<text @tap.stop="getProPage" v-if="type != 5 && type != 6 && type != 7">《购买协议》</text>
|
|
|
<text @tap.stop="getProPage" v-else-if="type == 5">《兑换协议》</text>
|
|
<text @tap.stop="getProPage" v-else-if="type == 5">《兑换协议》</text>
|
|
|
<text @tap.stop="getProPage" v-else-if="type == 6">《天天捡漏协议》</text>
|
|
<text @tap.stop="getProPage" v-else-if="type == 6">《天天捡漏协议》</text>
|
|
|
|
|
+ <text @tap.stop="getProPage" v-else-if="type == 7">《消费金兑换协议》</text>
|
|
|
</label>
|
|
</label>
|
|
|
</checkbox-group>
|
|
</checkbox-group>
|
|
|
<view class="confim flex_r flex_ac flex_jc" v-if="type == 1" @tap="ToPayPage">立即支付</view>
|
|
<view class="confim flex_r flex_ac flex_jc" v-if="type == 1" @tap="ToPayPage">立即支付</view>
|
|
|
<view class="confim flex_r flex_ac flex_jc" v-else-if="type == 5" @tap="ToPayPage">确认订单</view>
|
|
<view class="confim flex_r flex_ac flex_jc" v-else-if="type == 5" @tap="ToPayPage">确认订单</view>
|
|
|
|
|
+ <view class="confim flex_r flex_ac flex_jc" v-else-if="type == 7" @tap="ToPayPage">确认订单</view>
|
|
|
<view class="confim flex_r flex_ac flex_jc" v-else @tap="ToPayPage">立即支付 ¥{{afterSpecPrice * buyNum}}</view>
|
|
<view class="confim flex_r flex_ac flex_jc" v-else @tap="ToPayPage">立即支付 ¥{{afterSpecPrice * buyNum}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</uni-popup>
|
|
</uni-popup>
|