Files
houyi-uniapp/unpackage/dist/build/mp-weixin/pages/goods/device.wxml
PC-202306242200\Administrator 85b89ccea7 first commit
2026-03-28 23:27:25 +08:00

1 line
2.2 KiB
Plaintext

<view style="background-color:#F7F7F7;"><u-swiper vue-id="e81dd544-1" list="{{goodsItem.cover}}" height="750rpx" indicator="{{true}}" indicatorMode="line" circular="{{true}}" bind:__l="__l"></u-swiper><view><view style="height:30rpx;"></view><view style="background-color:#ffffff;padding:30rpx;border-radius:16rpx;"><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.sales}}</view><view style="width:80rpx;"></view><view>{{"库存:"+goodsItem.stock}}</view><view style="width:80rpx;"></view><block wx:if="{{goodsItem.integral}}"><view>{{"赠送积分:"+goodsItem.integral}}</view></block></view></view></view><view style="height:20rpx;"></view><u-divider vue-id="e81dd544-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:100rpx;"></view><view style="position:fixed;bottom:0rpx;box-shadow:2px 2px 2px 2px black;height:102rpx;width:750rpx;background-color:#ffffff;"><view class="u-flex u-flex-y-center u-flex-between" style="padding:0 50rpx;height:102rpx;"><button class="xkl-clear-btn" open-type="contact"><view class="u-flex u-flex-x-center"><u-icon vue-id="e81dd544-3" name="/static/img/service.png" size="40rpx" bind:__l="__l"></u-icon></view><view style="color:#232323;font-size:28rpx;text-align:center;">客服</view></button><view data-event-opts="{{[['tap',[['toauth']]]]}}" bindtap="__e"><button class="xkl-clear-btn" style="width:236rpx;height:70rpx;line-height:70rpx;font-size:28rpx;background:#FFFFFF;border-radius:8rpx 8rpx 8rpx 8rpx;opacity:1;border:2rpx solid #707070;">立即下单</button></view></view></view></view>