| xqd
@@ -1,11 +1,40 @@
|
|
|
<template>
|
|
|
<view class="app-view">
|
|
|
<view class="app-information">
|
|
|
- <view class="app-contact-information main-between">
|
|
|
+ <!-- <view class="app-contact-information main-between">
|
|
|
<text>收货人:{{item.name}}</text>
|
|
|
<text>{{item.mobile}}</text>
|
|
|
</view>
|
|
|
- <text>收货地址: {{item.address}}</text>
|
|
|
+ <text>收货地址: {{item.address}}</text> -->
|
|
|
+ <view class="">
|
|
|
+ <view class="felx-three">
|
|
|
+ <view class="box-grow-2">
|
|
|
+ 参训人: {{verifyUndefined(previewData.address.name)}}
|
|
|
+ </view>
|
|
|
+ <view class="box-grow-3">
|
|
|
+ 性别: {{verifyUndefined(previewData.address.sex) == ''? '':previewData.address.sex == 0 ?'未知':previewData.address.sex == 1? '男':'女'}}
|
|
|
+ </view>
|
|
|
+ <view class="box-grow-4">
|
|
|
+ 联系电话: {{verifyUndefined(previewData.address.mobile)}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="felx-three">
|
|
|
+ <view class="box-grow-2">
|
|
|
+ 年龄: {{verifyUndefined(previewData.address.age)}}
|
|
|
+ </view>
|
|
|
+ <view class="box-grow-3">
|
|
|
+ 体重: {{verifyUndefined(previewData.address.weight)}}
|
|
|
+ </view>
|
|
|
+ <view class="box-grow-4">
|
|
|
+ 身高: {{verifyUndefined(previewData.address.height)}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="felx-three">
|
|
|
+ <view class="box-grow-5">
|
|
|
+ 身份证号码:{{previewData.address.idcard}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view @click.stop="editStop" class="app-operating dir-left-nowrap cross-center">
|
|
|
<view v-if="is_hide_default_btn" class="dir-left-nowrap cross-center">
|
| xqd
@@ -58,6 +87,14 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ verifyUndefined(value){
|
|
|
+ // if(value == 'undefined' || value == ''){
|
|
|
+ // return ''
|
|
|
+ // }else{
|
|
|
+ // return value
|
|
|
+ // }
|
|
|
+ return (value == 'undefined' || value == '')? '': value
|
|
|
+ },
|
|
|
changeDefault() {
|
|
|
const self = this;
|
|
|
self.$request({
|
| xqd
@@ -112,6 +149,40 @@
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
+ .felx-three{
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-around;
|
|
|
+ padding-bottom: 23rpx;
|
|
|
+ .box-grow-2, .box-grow-3, .box-grow-4{
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-family: Source Han Sans CN;
|
|
|
+ font-weight: 400;
|
|
|
+ color: rgba(100,100,100,1);
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+ .box-grow-2{
|
|
|
+ width: 30%;
|
|
|
+ }
|
|
|
+ .box-grow-3{
|
|
|
+ width: 30%;
|
|
|
+ }
|
|
|
+ .box-grow-4{
|
|
|
+ width: 40%;
|
|
|
+ }
|
|
|
+ .box-grow-5{
|
|
|
+ width: 100%;
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-family: Source Han Sans CN;
|
|
|
+ font-weight: 400;
|
|
|
+ color: rgba(100,100,100,1);
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+ }
|
|
|
text {
|
|
|
font-size: #{28rpx};
|
|
|
color: #353535;
|