Browse Source

用户订单添加订单类型标签

master
396316021 1 year ago
parent
commit
35a86acf11
  1. 19
      pages/UserOrderPage/index.vue

19
pages/UserOrderPage/index.vue

@ -53,10 +53,23 @@
<image class="img" :src="item.pet_avatar" mode="aspectFill" />
</view>
<view class="order-card-right" style="max-width: 65%;" @click="navTo('/pages/OrderDetail/index?id='+item.id)">
<view class="order-card-title" style="">
<view class="order-card-title" style="display: flex;justify-content: space-between;align-items: center;">
<view style="max-width:250rpx;">
<u-text :text="item.name"
color="#131313" size="32"
:lines="1" line-height="32"></u-text>
color="#131313"
size="32"
:lines="1"
line-height="32"
></u-text>
</view>
<view style="background-color:#4DC3B8;border-radius: 10rpx;padding:10rpx;">
<u-text :text="((item.order_type === 1)?'喂养':'洗护')"
color="#fff"
size="24"
:lines="1"
line-height="32"
></u-text>
</view>
</view>
<view class="order-card-tag-container row">
<view class="order-card-tag" v-for="(server, i) in item.services" wx:key="i">{{ server }}</view>

Loading…
Cancel
Save