货币弹窗

This commit is contained in:
luyuan 2020-11-18 14:48:58 +08:00
parent cc18504959
commit d88448060f
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
3 changed files with 9 additions and 1 deletions

View File

@ -310,6 +310,7 @@ export default {
shouru3: "Attention! You can only change the currency once!",
tishi: "tip",
querentuichu: "You confirm to exit?",
huobitishi: "Attention! You can only change the currency once!",
shichangtishi:"",
renshutishi: '',
tixianzhu: "",

View File

@ -310,6 +310,7 @@ export default {
shouru3: "请注意,货币一旦修改,不能变动",
tishi: "提示",
querentuichu: "您确认退出?",
huobitishi: "请注意,货币一旦修改,不能变动。",
shichangtishi:"",
renshutishi: '',
tixianzhu:"",

View File

@ -493,6 +493,9 @@
{{ lan.$t("baocun") }}
</div>
</div>
<a-modal v-model:visible="huobi" :footer="null" :title="lan.$t('tishi')" >
<p>{{lan.$t('huobitishi')}}</p>
</a-modal>
<nav-bottom></nav-bottom>
</div>
</template>
@ -557,6 +560,7 @@ export default defineComponent({
const userinfo = computed(() => {
return store.state.userinfo;
});
const huobi = ref(false);
//
const currencyindex = ref<string>(userinfo.value.currency);
const formData = ref(toRaw(userinfo.value));
@ -972,6 +976,7 @@ export default defineComponent({
function currencychange(e?: any) {
console.log(e);
huobi.value = true;
userinfo.value.currencyValue = e;
// editsystemsetting({currency:e})
}
@ -1059,7 +1064,8 @@ export default defineComponent({
setname,
video,
imgs,
mrqh
mrqh,
huobi
};
},
});