acdr-ui/dist/build/mp-weixin/pages/order/components/OrderItem.wxml

1 line
2.6 KiB
Plaintext
Raw Normal View History

2024-09-19 07:20:14 +08:00
<view class="order-item p-4 mb-4 bg-white shadow rounded-lg data-v-7c4ec580"><view class="order-header flex justify-between items-center mb-2 data-v-7c4ec580"><text wx:if="{{a}}" class="order-title font-bold text-lg data-v-7c4ec580">{{b}}</text><text class="order-status text-sm text-gray-500 data-v-7c4ec580">{{c}}</text></view><view class="order-info text-sm text-gray-700 mb-4 data-v-7c4ec580"><view class="data-v-7c4ec580"><text class="data-v-7c4ec580">服务类型:</text><text wx:if="{{d}}" class="data-v-7c4ec580">{{e}}</text></view><view class="data-v-7c4ec580"><text class="data-v-7c4ec580">服务地址:</text><text wx:if="{{f}}" class="data-v-7c4ec580">{{g}}</text></view><view class="data-v-7c4ec580"><text class="data-v-7c4ec580">预约时间:</text> {{h}}</view><view class="data-v-7c4ec580"><text class="data-v-7c4ec580">服务时长:</text> {{i}} 小时 </view></view><view class="pet-info flex items-center mb-4 data-v-7c4ec580"><image src="{{j}}" mode="aspectFill" class="w-16 h-16 rounded-full mr-4 data-v-7c4ec580"></image><view class="data-v-7c4ec580"><view class="data-v-7c4ec580"><text class="data-v-7c4ec580">宠物名称:</text> {{k}}</view><view class="data-v-7c4ec580"><text class="data-v-7c4ec580">宠物品种:</text> {{l}}</view></view></view><view class="user-info text-sm text-gray-700 mb-4 data-v-7c4ec580"><view class="data-v-7c4ec580"><text class="data-v-7c4ec580">下单用户:</text> {{m}} ({{n}}) </view><view wx:if="{{o}}" class="data-v-7c4ec580"><text class="data-v-7c4ec580">用户地址:</text> {{p}} {{q}} {{r}} {{s}}</view></view><view class="payment-info text-sm text-gray-700 mb-4 data-v-7c4ec580"><view class="data-v-7c4ec580"><text class="data-v-7c4ec580">支付方式:</text> {{t}}</view><view class="data-v-7c4ec580"><text class="data-v-7c4ec580">支付状态:</text> {{v}}</view><view class="data-v-7c4ec580"><text class="data-v-7c4ec580">总价:</text> ¥{{w}}</view></view><view class="flex justify-between items-center data-v-7c4ec580"><text class="text-lg text-red-500 data-v-7c4ec580">¥{{x}} 共{{y}}小时</text><view class="flex data-v-7c4ec580"><button wx:if="{{z}}" class="btn data-v-7c4ec580" bindtap="{{A}}">查看详情</button><button wx:if="{{B}}" class="btn ml-2 data-v-7c4ec580" bindtap="{{C}}">取消订单</button><button wx:if="{{D}}" class="btn-primary ml-2 data-v-7c4ec580" bindtap="{{E}}">支付</button><button wx:if="{{F}}" class="data-v-7c4ec580" bindtap="{{G}}">取消订单</button><button wx:if="{{H}}" class="data-v-7c4ec580" bindtap="{{I}}">确认订单</button><button wx:if="{{J}}" class="data-v-7c4ec580" bindtap="{{K}}"> 扫描二维码 </button></view></view></view>