|
|
@ -10,40 +10,40 @@ |
|
|
|
<!-- </view>--> |
|
|
|
<!-- #endif --> |
|
|
|
<view class="addressBack-box"> |
|
|
|
<view class="consignee-box bor-line-F7F7F7"> |
|
|
|
<input v-model="addressData.username" maxlength="20" class="fs28" placeholder-class="consignee" :placeholder="$t('common.returnperson')" /> |
|
|
|
<view class="consignee-box bor-line-D3D4DE"> |
|
|
|
<input v-model="addressData.username" maxlength="20" class="fs32" placeholder-class="consignee" :placeholder="$t('common.returnperson')" /> |
|
|
|
</view> |
|
|
|
<view class="iphoneNum-box bor-line-F7F7F7"> |
|
|
|
<input type="number" v-model="addressData.phone" maxlength="11" class="fs28" placeholder-class="iphoneNum" :placeholder="$t('common.login_phone_mode')" /> |
|
|
|
<view class="iphoneNum-box bor-line-D3D4DE"> |
|
|
|
<input type="number" v-model="addressData.phone" maxlength="11" class="fs32" placeholder-class="iphoneNum" :placeholder="$t('common.login_phone_mode')" /> |
|
|
|
</view> |
|
|
|
<view @click="locationClick" class="location-box bor-line-F7F7F7 flex-row-plus flex-sp-between flex-items"> |
|
|
|
<view class="fs28 location">{{$t('common.location')}}</view> |
|
|
|
<view @click="locationClick" class="location-box bor-line-D3D4DE flex-row-plus flex-sp-between flex-items"> |
|
|
|
<view class="fs32 location">{{$t('common.location')}}</view> |
|
|
|
<view class="locationBox"> |
|
|
|
<!-- <city-select v-model="locationShowFalg" @city-change="cityChange"></city-select>--> |
|
|
|
<u-picker-cere mode="region" v-model="locationShowFalg" @confirm="cityChange" :default-region='addressData.defaultRegion' title="所在地"></u-picker-cere> |
|
|
|
<text v-model="addressData.ssqText">{{addressData.ssqText}}</text> |
|
|
|
<image class="arrow mar-left-20" src="https://ceres.zkthink.com/static/images/greyArrow.png"></image> |
|
|
|
<text class="fs32" v-model="addressData.ssqText">{{addressData.ssqText}}</text> |
|
|
|
<image class="arrow mar-left-20 mar-top-8" src="https://wechat.hnthee.com/ceres-local-file/image/icon_cart_shop_forward.png"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="detailAddress-box"> |
|
|
|
<input class="fs28" v-model="addressData.address" maxlength="60" placeholder-class="detailAddress" :placeholder="$t('location_detail_hint')" /> |
|
|
|
<input class="fs32" v-model="addressData.address" maxlength="60" placeholder-class="detailAddress" :placeholder="$t('common.location_detail_hint')" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="addressTagBack-box"> |
|
|
|
<view @click="addressTagClick" class="addressTag-box bor-line-F7F7F7 flex-row-plus flex-sp-between flex-items"> |
|
|
|
<view class="fs28 addressTag">{{$t('common.addresstag')}}</view> |
|
|
|
<view @click="addressTagClick" class="addressTag-box bor-line-D3D4DE flex-row-plus flex-sp-between flex-items"> |
|
|
|
<view class="fs32 addressTag">{{$t('common.addresstag')}}</view> |
|
|
|
<view class="flex-items"> |
|
|
|
<text v-model="tag">{{tag}}</text> |
|
|
|
<image class="arrow mar-left-20" src="https://ceres.zkthink.com/static/images/greyArrow.png"></image> |
|
|
|
<text class="fs32" v-model="tag">{{tag}}</text> |
|
|
|
<image class="arrow mar-left-20 mar-top-8" src="https://wechat.hnthee.com/ceres-local-file/image/icon_cart_shop_forward.png"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="defaultState-box flex-row-plus flex-sp-between flex-items"> |
|
|
|
<view class="fs28 defaultState">{{$t('common.addressdefault')}}</view> |
|
|
|
<view class="fs32 defaultState">{{$t('common.addressdefault')}}</view> |
|
|
|
<u-switch v-model="ifDefault" active-color="#252744" inactive-color="#bcbdc6"></u-switch> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="deleteAddress-box" @click="delAddress" v-if="type == 2"> |
|
|
|
<text class="font-color-C5AA7B">{{$t('common.deleteaddress')}}</text> |
|
|
|
<text class="font-color-F54639">{{$t('common.deleteaddress')}}</text> |
|
|
|
</view> |
|
|
|
<view class="saveAddress-box"> |
|
|
|
<view class="saveAddress" v-if="type == 1 || type == 3" @click="addAddressClick">{{$t('common.save')}}</view> |
|
|
@ -347,7 +347,7 @@ const API = require('../../config/api') |
|
|
|
|
|
|
|
<style lang="scss"> |
|
|
|
page{ |
|
|
|
background-color: #F7F7F7; |
|
|
|
background-color: #FAFAFA; |
|
|
|
} |
|
|
|
.container{ |
|
|
|
.addressBack-box{ |
|
|
@ -358,8 +358,8 @@ const API = require('../../config/api') |
|
|
|
width: 690upx; |
|
|
|
margin-top: 20upx; |
|
|
|
.consignee{ |
|
|
|
color: #999999; |
|
|
|
font-size: 28upx; |
|
|
|
color: #90919C; |
|
|
|
font-size: 32rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
.iphoneNum-box{ |
|
|
@ -367,8 +367,8 @@ const API = require('../../config/api') |
|
|
|
width: 690upx; |
|
|
|
margin-top: 36upx; |
|
|
|
.iphoneNum{ |
|
|
|
color: #999999; |
|
|
|
font-size: 28upx; |
|
|
|
color: #90919C; |
|
|
|
font-size: 32rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
.location-box{ |
|
|
@ -376,8 +376,8 @@ const API = require('../../config/api') |
|
|
|
width: 690upx; |
|
|
|
margin-top: 36upx; |
|
|
|
.location{ |
|
|
|
color: #999999; |
|
|
|
font-size: 28upx; |
|
|
|
color: #90919C; |
|
|
|
font-size: 32rpx; |
|
|
|
} |
|
|
|
.locationBox { |
|
|
|
display: flex; |
|
|
@ -392,8 +392,8 @@ const API = require('../../config/api') |
|
|
|
width: 100%; |
|
|
|
} |
|
|
|
.detailAddress{ |
|
|
|
color: #999999; |
|
|
|
font-size: 28upx; |
|
|
|
color: #90919C; |
|
|
|
font-size: 32rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -405,8 +405,8 @@ const API = require('../../config/api') |
|
|
|
padding-bottom: 36upx; |
|
|
|
width: 690upx; |
|
|
|
.addressTag{ |
|
|
|
color: #999999; |
|
|
|
font-size: 28upx; |
|
|
|
color: #90919C; |
|
|
|
font-size: 32rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
.defaultState-box{ |
|
|
@ -414,14 +414,14 @@ const API = require('../../config/api') |
|
|
|
width: 690upx; |
|
|
|
margin-top: 36upx; |
|
|
|
.defaultState{ |
|
|
|
color: #999999; |
|
|
|
font-size: 28upx; |
|
|
|
color: #90919C; |
|
|
|
font-size: 32rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.arrow{ |
|
|
|
width: 62upx; |
|
|
|
height: 62upx; |
|
|
|
width: 16upx; |
|
|
|
height: 28upx; |
|
|
|
} |
|
|
|
.saveAddress-box{ |
|
|
|
position: fixed; |
|
|
@ -429,18 +429,19 @@ const API = require('../../config/api') |
|
|
|
left: 30upx; |
|
|
|
.saveAddress{ |
|
|
|
width: 690upx; |
|
|
|
height: 100upx; |
|
|
|
height: 98upx; |
|
|
|
text-align: center; |
|
|
|
line-height: 100upx; |
|
|
|
background: #333333; |
|
|
|
color: #FFEBC4; |
|
|
|
line-height: 98upx; |
|
|
|
background: #252744; |
|
|
|
border-radius: 50rpx; |
|
|
|
color: #FFFFFF; |
|
|
|
} |
|
|
|
} |
|
|
|
.wxAddress { |
|
|
|
height: 80rpx; |
|
|
|
text-align: center; |
|
|
|
line-height: 80rpx; |
|
|
|
color: #999999; |
|
|
|
color: #90919C; |
|
|
|
.wxBtnBox { |
|
|
|
width: 100rpx; |
|
|
|
height: 80rpx; |
|
|
|