first commit
This commit is contained in:
1
unpackage/dist/build/mp-weixin/pages/goods/detail.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/goods/detail.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view style="background-color:#F7F7F7;"><u-swiper vue-id="6db62043-1" list="{{goodsItem.cover}}" height="750rpx" indicator="{{true}}" indicatorMode="line" circular="{{true}}" bind:__l="__l"></u-swiper><view style="height:20rpx;"></view><view style="background-color:#ffffff;padding:30rpx;border-radius:10rpx;"><view class="u-flex u-flex-y-center"><view style="color:#FF1A1A;font-size:40rpx;font-weight:800;">{{"¥"+goodsItem.current_price+''}}</view><view style="width:50rpx;"></view><block wx:if="{{goodsItem.original_price>goodsItem.current_price}}"><view style="color:#CCCCCC;font-size:30rpx;text-decoration:line-through;">{{'¥'+goodsItem.original_price}}</view></block></view><view style="height:20rpx;"></view><view style="color:#232323;font-size:30rpx;font-weight:800;">{{goodsItem.name}}</view><view style="height:20rpx;"></view><view class="u-flex" style="color:#666666;font-size:26rpx;"><view>{{"库存:"+goodsItem.stock}}</view><view style="width:80rpx;"></view><view>{{"销量:"+goodsItem.sales}}</view></view></view><u-divider vue-id="6db62043-2" text="商品详情" bind:__l="__l"></u-divider><block wx:for="{{goodsItem.detail}}" wx:for-item="img" wx:for-index="index" wx:key="index"><image style="width:750rpx;" src="{{img}}" mode="widthFix"></image></block><view style="height:180rpx;"></view><view style="position:fixed;bottom:0rpx;width:750rpx;height:150rpx;background-color:#ffffff;"><navigator url="{{'/pages/order/pre?id='+goodsItem.id}}"><u-button vue-id="6db62043-3" type="primary" bind:__l="__l" vue-slots="{{['default']}}">立即下单</u-button></navigator></view></view>
|
||||
Reference in New Issue
Block a user