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

1 line
2.6 KiB
Plaintext

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