tsteam-business-card-card-mini/packagecard/shop/product/affirmorder.wxml
2024-02-22 11:04:15 +08:00

54 lines
2.6 KiB
Plaintext
Executable File

<!-- 订单确认页面 -->
<cu-custom isBack="{{true}}" isRelaunch="{{false}}">
<view slot="content">订单确认</view>
</cu-custom>
<scroll-view style="background-color:#f5f5f5;margin-bottom:80rpx;" wx:if="{{goodsList.length>0}}">
<!-- 店铺详情 -->
<view class="cu-card article">
<view class="cu-item">
<view class="padding-sm flex flex-wrap flex-direction">
<view class="flex " style="align-items:center;">
<view class="cu-avatar round sm" style="background-image:url({{baseImg+shopDetailBean.shopLogo}});">
</view>
<view class="text-xxl">{{shopDetailBean.shopName}}</view>
</view>
<view class="margin-top-sm">店铺地址:{{shopDetailBean.shopAddress}}</view>
</view>
</view>
</view>
<!-- 订单商品列表 -->
<view class="cu-card article">
<view class="cu-item shadow padding-sm" wx:for="{{goodsList}}" wx:key="index" data-item="{{item}}">
<view class="content">
<image src="{{baseImg+item.goodsIcon}}" mode="scaleToFill" style="width:80px;height:80px;"></image>
<view class="desc">
<view>{{item.goodsName}}</view>
<view class="text-cut-width">{{item.goodsSummary}}</view>
<view class="flex justify-between" style="align-items:center;">
<view class="text-red">¥{{item.goodsUnitPrice}}</view>
<van-stepper value="{{ item.buyNum }}" bind:change="onChange" data-goods="{{item}}"
integer="true" min="1" />
<view class="cu-tag text-red" bindtap="delGoods" data-index="{{index}}" data-goods="{{item}}">删除
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 订单备注 -->
<view class="cu-card article">
<view class="cu-bar bg-white margin-top-xs">
<view class="action">
订单备注
</view>
</view>
<view class="bg-white">
<view class="cu-form-group">
<textarea class="border-line padding-left-xs padding-right-xs margin-left-xs margin-right-xs"
maxlength="-1" bindinput="textareaBInput" placeholder="请输入订单备注信息"></textarea>
</view>
</view>
</view>
</scroll-view>
<van-empty description="购物车空空如也" wx:else />
<van-submit-bar wx:if="{{goodsList.length>0}}" price="{{ totalPrice }}" button-text="提交订单" bind:submit="onSubmit" />