2023-03-18 23:00:58 +08:00
|
|
|
<!--pages/shop/goodDetail.wxml-->
|
2023-03-18 23:40:16 +08:00
|
|
|
<view class="good-wapper">
|
2023-03-18 23:00:58 +08:00
|
|
|
<image class="good-image" src="{{goodinfo.picUrl}}" />
|
|
|
|
<view class="good-detail">
|
|
|
|
<view class="good-price good-price-retail">
|
|
|
|
<!-- 售价 -->
|
|
|
|
<view class="good-price-symbol">¥</view>
|
|
|
|
<view class="good-price-number">{{ goodinfo.retailPrice }}</view>
|
|
|
|
</view>
|
2023-04-15 23:47:18 +08:00
|
|
|
<view class="good-price good-price-counter">
|
|
|
|
<!-- 原价 -->
|
|
|
|
<view style="height:0.12em;" class="good-price-line"></view>
|
|
|
|
<view class="good-price-symbol">¥</view>
|
|
|
|
<view class="good-price-number">{{ goodinfo.counterPrice }}</view>
|
|
|
|
</view>
|
2023-03-18 23:40:16 +08:00
|
|
|
|
|
|
|
<!-- 商品标题 -->
|
|
|
|
<view class="good-title line-wrap">
|
|
|
|
{{ goodinfo.brief || goodinfo.goodsName }}
|
2023-03-18 23:00:58 +08:00
|
|
|
</view>
|
2023-03-18 23:40:16 +08:00
|
|
|
|
|
|
|
<!-- 商品详情 -->
|
|
|
|
<view class="good-breif line-wrap">
|
|
|
|
<view>
|
|
|
|
商品名称:{{ goodinfo.goodsName }}
|
|
|
|
</view>
|
|
|
|
<view>
|
|
|
|
商品描述:{{ goodinfo.brief || "暂无" }}
|
|
|
|
</view>
|
|
|
|
<view>
|
|
|
|
商品介绍:{{ goodinfo.detail || "暂无" }}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="no-more">没有更多啦</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="bottom-controlbox">
|
|
|
|
<!-- 屏幕底部 -->
|
2023-03-21 16:36:13 +08:00
|
|
|
<view class="bottom-inputs">
|
|
|
|
<button class="buy-count-btn" bindtap="btnSubtractCount" size="mini" disabled="{{ buyGoodCount <= 1 }}">-</button>
|
|
|
|
<input class="buy-count-input" type="number" value="{{buyGoodCount}}" placeholder="购买数量" bindinput="bindCountInput" bindblur="bindCountInput" bindconfirm="bindCountInput" />
|
|
|
|
<button class="buy-count-btn" bindtap="btnAddCount" size="mini">+</button>
|
|
|
|
</view>
|
2023-03-18 23:40:16 +08:00
|
|
|
<view class="bottom-buttons">
|
2023-04-16 00:01:01 +08:00
|
|
|
<view class="btn" id="btn-addcart" bindtap="btnAddCartTap" style="filter: grayscale(1);">加入购物车</view>
|
2023-03-20 00:24:19 +08:00
|
|
|
<view class="btn" id="btn-buy" bindtap="btnBuyTap">立即下单</view>
|
2023-03-18 23:00:58 +08:00
|
|
|
</view>
|
|
|
|
</view>
|