添加常用国家选择

This commit is contained in:
X1627315083
2025-01-13 17:10:41 +08:00
parent 07f0577c92
commit 90ed05ab5a
8 changed files with 136 additions and 18 deletions

View File

@@ -21,11 +21,17 @@
<img v-else :src="userDetail.accountExtendList?.Google?.headImgUrl" alt="">
<div class="text">{{ userDetail.accountExtendList?.Google?userDetail.accountExtendList?.Google.name:$t('frontPage.Unbound') }}</div>
</div>
<div class="gmail_btn">
<!-- <div class="gmail_btn">
<div v-if="!userDetail.accountExtendList?.Google && googleLoad" class="gallery_btn">{{ $t('frontPage.BindNow') }}</div>
<div v-else-if="!userDetail.accountExtendList?.Google" class="gallery_btn loading"><i class="fi fi-br-loading"></i></div>
<div v-show="!userDetail.accountExtendList?.Google" id="g_id_bind"></div>
<div v-if="userDetail.accountExtendList?.Google" class="gallery_btn" @click="ungroupGoogleModel">{{ $t('frontPage.Unbind') }}</div>
</div> -->
<div class="gmail_btn">
<div v-if="!userDetail.accountExtendList?.Google" class="gallery_btn">{{ $t('frontPage.BindNow') }}</div>
<div v-show="!userDetail.accountExtendList?.Google" id="g_id_bind"></div>
<div v-if="userDetail.accountExtendList?.Google" class="gallery_btn" @click="ungroupGoogleModel">{{ $t('frontPage.Unbind') }}</div>
<!-- <div v-if="userDetail.accountExtendList?.Google" class="gallery_btn" @click="ungroupGoogleModel">{{ $t('frontPage.Unbind') }}</div> -->
</div>
</div>
</div>

View File

@@ -48,15 +48,18 @@
<div class="login_form_title marign_top30">Email</div>
<input
class="login_form_input"
:class="{active:!!email}"
placeholder="Enter your email address"
v-model="email"
:disabled="!!email"
@keydown.enter="submitPerLogin()"
/>
<div class="login_form_title marign_top30">{{$t('account.Country')}}:</div>
<div class="">
<div class="login_form_select">
<a-select
class="gallerySelect"
class="gallerySelect"
v-model:value="Country"
:disabled="!!userDetail.country"
size="large"
optionFilterProp="label"
style="width: 100%;"
@@ -68,7 +71,7 @@
</div>
<div class="login_form_title marign_top30">{{$t('account.CompanyName')}}:</div>
<input class="login_form_input" type="text" placeholder="Please enter occupation" v-model="CompanyName">
<input class="login_form_input" :class="{active:!!email}" :disabled="!!CompanyName" type="text" placeholder="Please enter occupation" v-model="CompanyName">
<!-- 邮箱登录 start -->
<div class="login_form_email" :class="{active:emailStap===2}">
@@ -513,6 +516,10 @@ export default defineComponent({
box-sizing: border-box;
outline: none;
transition: all .3s;
&.active{
color: #b8b8b8;
background: #f5f5f5;
}
&:hover{
border: 0.1rem solid #000;
}

View File

@@ -238,6 +238,8 @@
RelightDirectionList:RelightDirectionList,
}"
:isProductimg="true"></scaleImage>
<UpgradePlan ref="UpgradePlan"></UpgradePlan>
</a-modal>
</div>
</template>
@@ -258,12 +260,14 @@ import { useStore } from "vuex";
import scaleImage from "@/component/HomePage/scaleImage.vue";
import generalMenu from "@/component/HomePage/generalMenu.vue";
import { openGuide,driverObj__ } from "@/tool/guide";
import UpgradePlan from "@/component/HomePage/UpgradePlan.vue";
export default defineComponent({
components:{
ExportModel,
scaleImage,
generalMenu,
generalMenu,UpgradePlan
},
props: ['setTask'],
setup(props,{emit}) {
@@ -293,6 +297,7 @@ export default defineComponent({
likeList:[],
similarity:30,
brightenValue:1,
UpgradePlan
})
let productimgMenuList = ref([
{
@@ -548,6 +553,25 @@ export default defineComponent({
productImgData.isProductimg = false
clearInterval(remPrductimgTime)
productImgData.remProductimg= false
if(res.errCode === 2){
Modal.confirm({
title: res.errMsg,
icon: createVNode(ExclamationCircleOutlined),
okText: 'Yes',
cancelText: 'No',
mask:false,
zIndex:99999,
centered:true,
onOk() {
let UpgradePlan:any = productImgData.UpgradePlan
UpgradePlan.init()
},
onCancel(){
}
});
}
});
}
let generateProceedList:any = []

View File

@@ -134,6 +134,8 @@
<div class="mark_loading" v-show="loadingShow">
<a-spin size="large" />
</div>
<UpgradePlan ref="UpgradePlan"></UpgradePlan>
</a-modal>
</div>
</template>
@@ -147,8 +149,10 @@ import { downloadIamge } from "@/tool/util";
import { useI18n } from "vue-i18n";
import { useStore } from "vuex";
import generalMiniCanvas from "@/component/modules/generalMiniCanvas.vue";
import UpgradePlan from "@/component/HomePage/UpgradePlan.vue";
export default defineComponent({
components:{generalMiniCanvas},
components:{generalMiniCanvas,UpgradePlan},
props:{
productData:{
type:Object,
@@ -175,6 +179,7 @@ export default defineComponent({
})
let {t} = useI18n()
let productimg = reactive({
UpgradePlan:null,
isProductimg:false,
productimgSearchName:'',
productimgIsTextarea:false,
@@ -246,6 +251,25 @@ export default defineComponent({
productimg.productimgIsProductimg = false
clearInterval(remPrductimgTime)
productimg.productimgRemProductimg = false
if(res.errCode === 2){
Modal.confirm({
title: res.errMsg,
icon: createVNode(ExclamationCircleOutlined),
okText: 'Yes',
cancelText: 'No',
mask:false,
zIndex:99999,
centered:true,
onOk() {
let UpgradePlan:any = productimg.UpgradePlan
UpgradePlan.init()
},
onCancel(){
}
});
}
});
}
let generateProceedList:any = []