Browse Source

达人订单详情地址

lzm_web
Linzm 6 months ago
parent
commit
57d239dc3d
  1. 1
      components.d.ts
  2. 16
      src/views/badge/orderDetail.vue
  3. 2
      tsconfig.json

1
components.d.ts vendored

@ -22,7 +22,6 @@ declare module '@vue/runtime-core' {
Tensorflow: typeof import('./src/components/arFrame/tensorflow.vue')['default'] Tensorflow: typeof import('./src/components/arFrame/tensorflow.vue')['default']
VanActionSheet: typeof import('vant/es')['ActionSheet'] VanActionSheet: typeof import('vant/es')['ActionSheet']
VanAddressEdit: typeof import('vant/es')['AddressEdit'] VanAddressEdit: typeof import('vant/es')['AddressEdit']
VanArea: typeof import('vant/es')['Area']
VanDivider: typeof import('vant/es')['Divider'] VanDivider: typeof import('vant/es')['Divider']
VanField: typeof import('vant/es')['Field'] VanField: typeof import('vant/es')['Field']
VanIcon: typeof import('vant/es')['Icon'] VanIcon: typeof import('vant/es')['Icon']

16
src/views/badge/orderDetail.vue

@ -20,6 +20,22 @@
<div style="padding: 0 16px;"> <div style="padding: 0 16px;">
<van-divider /> <van-divider />
</div> </div>
<div class="product-info" v-if="order.use_type == 2">
<div class="product-title">收货信息</div>
<div class="product-details">
<div class="product-row">
<span class="product-label">收货人信息</span>
<span class="product-value">{{order.contact_name}} {{order.contact_mobile}}</span>
</div>
<div class="product-row">
<span class="product-label">收货地址</span>
<span class="product-value">{{order.province_name}} {{order.city_name}} {{order.county_name}} {{order.address}}</span>
</div>
</div>
</div>
<div style="padding: 0 16px;" v-if="order.use_type == 2">
<van-divider />
</div>
<div class="product-info"> <div class="product-info">
<div class="product-title">产品信息</div> <div class="product-title">产品信息</div>
<div class="product-details"> <div class="product-details">

2
tsconfig.json

@ -21,7 +21,7 @@
"noUnusedLocals": true, "noUnusedLocals": true,
"noImplicitAny": false, "noImplicitAny": false,
"skipLibCheck": true, "skipLibCheck": true,
"verbatimModuleSyntax": true "importsNotUsedAsValues": "preserve"
}, },
"include": [ "include": [
"src/App.vue", "src/App.vue",

Loading…
Cancel
Save