|
@ -11,13 +11,13 @@ |
|
|
<view style="font-weight: 500; margin-top: 20px;">{{$t('me.info.contact')}}</view> |
|
|
<view style="font-weight: 500; margin-top: 20px;">{{$t('me.info.contact')}}</view> |
|
|
<uni-list> |
|
|
<uni-list> |
|
|
<InfoItem :ph="user.phone" :title="$t('me.info.phone')" |
|
|
<InfoItem :ph="user.phone" :title="$t('me.info.phone')" |
|
|
icon-name="phone-filled" :ro="!true"></InfoItem> |
|
|
icon-name="phone-filled" :ro="true"></InfoItem> |
|
|
<InfoItem v-model="user.email" :ph="languageData.me.email" :title="languageData.me.email" |
|
|
<InfoItem v-model="user.email" :ph="languageData.me.email" :title="languageData.me.email" |
|
|
icon-name="email-filled" :ro="false"></InfoItem> |
|
|
icon-name="email-filled" :ro="false"></InfoItem> |
|
|
<InfoItem v-model="user.merchantName" icon-name="location-filled" :title="languageData.functions.BelongingRegion" |
|
|
<InfoItem v-model="user.merchantName" icon-name="location-filled" :title="languageData.functions.BelongingRegion" |
|
|
:ro="false"> |
|
|
:ro="false"> |
|
|
<view @click="addrClick('a')"> |
|
|
<view @click="addrClick('a')"> |
|
|
<u--input :value="user.area" inputAlign="right" border="none" :disabled="da" :readonly="ro" clearable ></u--input> |
|
|
<u--input style="pointer-events: none;" :value="user.area" inputAlign="right" border="none" :readonly="true" clearable ></u--input> |
|
|
</view> |
|
|
</view> |
|
|
</InfoItem> |
|
|
</InfoItem> |
|
|
<InfoItem v-model="user.address" :ph="languageData.me.addrDetail" :title="languageData.functions.detailedAddress" |
|
|
<InfoItem v-model="user.address" :ph="languageData.me.addrDetail" :title="languageData.functions.detailedAddress" |
|
@ -40,7 +40,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</uni-list> |
|
|
</uni-list> |
|
|
</view> |
|
|
</view> |
|
|
<button @click="modifySimple()" v-show="user.status === '2' || true" class="submit-btn" |
|
|
<button @click="modifySimple()" v-show="['1','2','3'].includes(user.status)" class="submit-btn" |
|
|
style="border-radius: 10px;">{{languageData.settings.confirmMod}}</button> |
|
|
style="border-radius: 10px;">{{languageData.settings.confirmMod}}</button> |
|
|
|
|
|
|
|
|
<view v-show="false" |
|
|
<view v-show="false" |
|
@ -128,7 +128,6 @@ |
|
|
if (res.code === 200) { |
|
|
if (res.code === 200) { |
|
|
this.$store.dispatch('GetInfo').then(res => { |
|
|
this.$store.dispatch('GetInfo').then(res => { |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
this.$refs.loading.close(); |
|
|
|
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
this.$modal.msgSuccess(this.languageData.updateSuccess) |
|
|
this.$modal.msgSuccess(this.languageData.updateSuccess) |
|
|
uni.switchTab({ |
|
|
uni.switchTab({ |
|
@ -139,8 +138,7 @@ |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}).catch(e => { |
|
|
}).catch(e => { |
|
|
uni.navigateBack() |
|
|
// uni.navigateBack() |
|
|
this.$refs.loading.close(); |
|
|
|
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
getGender() { |
|
|
getGender() { |
|
|