leave-unused/unpackage/dist/dev/mp-weixin/pages/goods/detail.wxml

1 line
2.7 KiB
Plaintext

<block wx:if="{{isLoading}}"><view class="pad-x120 data-v-f0a9f5ba"><status-nav vue-id="6db62043-1" ifReturn="{{true}}" navBarTitle="商品详情" class="data-v-f0a9f5ba" bind:__l="__l"></status-nav><view class="notice-tips color-orange font26 border-box pad-all20 flex data-v-f0a9f5ba"><image src="/static/icon-notice.png" mode="widthFix" class="data-v-f0a9f5ba"></image>交易前请务必核实对方的身份及信息!</view><view class="goods-detail data-v-f0a9f5ba"><view class="goods-info background-white pad-zy20 border-box data-v-f0a9f5ba"><view class="item font28 flex data-v-f0a9f5ba"><view class="title color-8c data-v-f0a9f5ba">商品名称</view><view class="msg data-v-f0a9f5ba">{{goodsDetail.name}}</view></view><view class="item font28 flex data-v-f0a9f5ba"><view class="title color-8c data-v-f0a9f5ba">商品分类</view><view class="msg data-v-f0a9f5ba">{{goodsDetail.category_name}}</view></view><view class="item font28 flex data-v-f0a9f5ba"><view class="title color-8c data-v-f0a9f5ba">商品原价</view><view class="msg color-8c data-v-f0a9f5ba" style="text-decoration:line-through;">{{"¥"+goodsDetail.original_price}}</view></view><view class="item font28 flex data-v-f0a9f5ba"><view class="title color-8c data-v-f0a9f5ba">商品售价</view><view class="msg data-v-f0a9f5ba">{{"¥"+goodsDetail.price}}</view></view><view class="item font28 flex data-v-f0a9f5ba"><view class="title color-8c data-v-f0a9f5ba">联系方式</view><block wx:if="{{showPhone}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="msg data-v-f0a9f5ba" bindtap="__e">{{goodsDetail.phone}}</view></block><block wx:else><view class="msg data-v-f0a9f5ba"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="see-phone color-ff font24 background-blue radius20 flex data-v-f0a9f5ba" bindtap="__e">查看联系方式</view></view></block></view></view><view class="goods-content background-white pad-all20 mar-s20 font28 border-box data-v-f0a9f5ba"><view class="goods-describe color-8c data-v-f0a9f5ba">{{goodsDetail.msg}}</view><view class="goods-img data-v-f0a9f5ba"><block wx:for="{{goodsImg}}" wx:for-item="item" wx:for-index="index" wx:key="index"><image src="{{item}}" mode="widthFix" class="data-v-f0a9f5ba"></image></block></view></view></view><view class="detail-btns background-white border-box flex data-v-f0a9f5ba"><view data-event-opts="{{[['tap',[['delEv',['$0'],['goodsDetail.id']]]]]}}" class="btn background-orange font30 color-ff radius35 flex data-v-f0a9f5ba" bindtap="__e">删除</view><view data-event-opts="{{[['tap',[['editEv',['$0'],['goodsDetail.id']]]]]}}" class="btn background-blue font30 color-ff radius35 flex data-v-f0a9f5ba" bindtap="__e">编辑</view></view></view></block>