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