Compare commits
3 Commits
34094c8c92
...
dev_vite
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5eaa77596e | ||
|
|
848e7b4692 | ||
|
|
fd140ebc56 |
Binary file not shown.
|
Before Width: | Height: | Size: 7.6 KiB |
@@ -2,26 +2,7 @@
|
|||||||
<div class="bindPage_page">
|
<div class="bindPage_page">
|
||||||
<div class="bindPage_page_body">
|
<div class="bindPage_page_body">
|
||||||
<div class="bind_item">
|
<div class="bind_item">
|
||||||
<div class="title">{{ $t('frontPage.InternalBind') }}</div>
|
<div class="title">{{ $t('frontPage.BindWechat') }}</div>
|
||||||
<div class="box">
|
|
||||||
<div class="type">
|
|
||||||
<div class="img"><img src="@/assets/images/homePage/aidaIcon.png" alt=""></div>
|
|
||||||
<div class="text" v-if="isSeller">AiDA Seller</div>
|
|
||||||
<div class="text" v-else>Not a Seller Yet</div>
|
|
||||||
</div>
|
|
||||||
<div v-if="isSeller" class="gallery_btn" @click="onEnterSeller">Enter Seller Dashboard</div>
|
|
||||||
<div v-else class="gallery_btn" @click="onBecomeSeller">Apply Now</div>
|
|
||||||
</div>
|
|
||||||
<div class="box">
|
|
||||||
<div class="type">
|
|
||||||
<div class="img"><img src="@/assets/images/homePage/stulishicon.png" alt=""></div>
|
|
||||||
<div class="text">Marketplace Access Active</div>
|
|
||||||
</div>
|
|
||||||
<div class="gallery_btn" @click="onOpenMarketplace">Enter Now</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="bind_item">
|
|
||||||
<div class="title">{{ $t('frontPage.ExternalBind') }}</div>
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="type">
|
<div class="type">
|
||||||
<img v-if="!userDetail.accountExtendList?.WeChat" src="@/assets/images/loginPage/weiXinIcon.svg" alt="">
|
<img v-if="!userDetail.accountExtendList?.WeChat" src="@/assets/images/loginPage/weiXinIcon.svg" alt="">
|
||||||
@@ -31,6 +12,9 @@
|
|||||||
<div v-if="!userDetail.accountExtendList?.WeChat" class="gallery_btn" @click="openWeiXinModel">{{ $t('frontPage.BindNow') }}</div>
|
<div v-if="!userDetail.accountExtendList?.WeChat" class="gallery_btn" @click="openWeiXinModel">{{ $t('frontPage.BindNow') }}</div>
|
||||||
<div v-if="userDetail.accountExtendList?.WeChat" class="gallery_btn" @click="ungroupWeiXinModel">{{ $t('frontPage.Unbind') }}</div>
|
<div v-if="userDetail.accountExtendList?.WeChat" class="gallery_btn" @click="ungroupWeiXinModel">{{ $t('frontPage.Unbind') }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="bind_item">
|
||||||
|
<div class="title">{{ $t('frontPage.BindGmail') }}</div>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="type">
|
<div class="type">
|
||||||
<img v-if="!userDetail.accountExtendList?.Google" src="@/assets/images/loginPage/gmailIcon.svg" alt="">
|
<img v-if="!userDetail.accountExtendList?.Google" src="@/assets/images/loginPage/gmailIcon.svg" alt="">
|
||||||
@@ -103,9 +87,6 @@ export default defineComponent({
|
|||||||
weiXinModel:null,
|
weiXinModel:null,
|
||||||
bindEmail:null,
|
bindEmail:null,
|
||||||
})
|
})
|
||||||
const isSeller = computed(() => {
|
|
||||||
return store.state.seller.isSeller
|
|
||||||
})
|
|
||||||
let data = reactive({
|
let data = reactive({
|
||||||
scriptSrc:'https://accounts.google.com/gsi/client',
|
scriptSrc:'https://accounts.google.com/gsi/client',
|
||||||
})
|
})
|
||||||
@@ -175,15 +156,6 @@ export default defineComponent({
|
|||||||
bindPageDom.bindEmail.init('Modify')
|
bindPageDom.bindEmail.init('Modify')
|
||||||
|
|
||||||
}
|
}
|
||||||
const onEnterSeller = ()=>{
|
|
||||||
router.push({name:'brandProfile'})
|
|
||||||
}
|
|
||||||
const onBecomeSeller = ()=>{
|
|
||||||
router.push({name:'BecomeSeller'})
|
|
||||||
}
|
|
||||||
const onOpenMarketplace = ()=>{
|
|
||||||
console.log('onOpenMarketplace')
|
|
||||||
}
|
|
||||||
onMounted(async ()=>{
|
onMounted(async ()=>{
|
||||||
let GOOGLE_CLIENT_ID
|
let GOOGLE_CLIENT_ID
|
||||||
if(import.meta.env.VITE_USER_NODE_ENV == 'development'){
|
if(import.meta.env.VITE_USER_NODE_ENV == 'development'){
|
||||||
@@ -249,11 +221,7 @@ export default defineComponent({
|
|||||||
return{
|
return{
|
||||||
...toRefs(accountHomeData),
|
...toRefs(accountHomeData),
|
||||||
...toRefs(bindPageDom),
|
...toRefs(bindPageDom),
|
||||||
isSeller,
|
|
||||||
openWeiXinModel,
|
openWeiXinModel,
|
||||||
onEnterSeller,
|
|
||||||
onBecomeSeller,
|
|
||||||
onOpenMarketplace,
|
|
||||||
ungroupGoogleModel,
|
ungroupGoogleModel,
|
||||||
ungroupWeiXinModel,
|
ungroupWeiXinModel,
|
||||||
modifyEmail,
|
modifyEmail,
|
||||||
@@ -273,37 +241,31 @@ export default defineComponent({
|
|||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
.bindPage_page_body{
|
.bindPage_page_body{
|
||||||
.bind_item{
|
.bind_item{
|
||||||
margin-bottom: 4.8rem;
|
margin-bottom: 4rem;
|
||||||
>.title{
|
>.title{
|
||||||
font-size: 1.8rem;
|
font-size: 1.6rem;
|
||||||
margin-bottom: 1.2rem;
|
margin-bottom: 1.5rem;
|
||||||
// font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
>.box{
|
>.box{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 2px solid #000;
|
border: 2px solid #000;
|
||||||
border-radius: 2rem;
|
border-radius: 2rem;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
margin-bottom: 1.2rem;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
>.type{
|
>.type{
|
||||||
display: flex;
|
display: flex;
|
||||||
>.img>img,
|
|
||||||
>img{
|
>img{
|
||||||
margin-right: 3rem;
|
margin-right: 3rem;
|
||||||
width: auto;
|
width: 5rem;
|
||||||
height: 5rem;
|
height: 5rem;
|
||||||
}
|
}
|
||||||
>.img{
|
|
||||||
width: 17rem;
|
|
||||||
}
|
|
||||||
>.text{
|
>.text{
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 1.8rem;
|
font-size: 1.8rem;
|
||||||
color: #000;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.gallery_btn{
|
.gallery_btn{
|
||||||
|
|||||||
@@ -921,8 +921,6 @@ export default {
|
|||||||
jsContent13: '保存成功~'
|
jsContent13: '保存成功~'
|
||||||
},
|
},
|
||||||
frontPage: {
|
frontPage: {
|
||||||
InternalBind: '内部绑定:',
|
|
||||||
ExternalBind: '外部绑定:',
|
|
||||||
BindWechat: '绑定微信',
|
BindWechat: '绑定微信',
|
||||||
Unbound: '未绑定',
|
Unbound: '未绑定',
|
||||||
BindNow: '绑定',
|
BindNow: '绑定',
|
||||||
@@ -1858,7 +1856,8 @@ export default {
|
|||||||
SelectCollection: '选择商品',
|
SelectCollection: '选择商品',
|
||||||
SelectSketch: '选择线稿图',
|
SelectSketch: '选择线稿图',
|
||||||
EditListingDetails: '编辑商品详情',
|
EditListingDetails: '编辑商品详情',
|
||||||
VideoWarning: '首次选中的图片素材会作为产品主图,视频不可作为产品主图'
|
VideoWarning: '首次选中的图片素材会作为产品主图,视频不可作为产品主图',
|
||||||
|
selectSketchMaxNum: '最多选择9个线稿图',
|
||||||
},
|
},
|
||||||
ApplySeller: {
|
ApplySeller: {
|
||||||
applySellerTitle: '申请成为卖家',
|
applySellerTitle: '申请成为卖家',
|
||||||
@@ -1880,7 +1879,7 @@ export default {
|
|||||||
agreementAgreement: '我已经阅读并同意了卖家协议,清楚地了解了自己在 AiDA 平台上作为卖家所应承担的责任和义务。',
|
agreementAgreement: '我已经阅读并同意了卖家协议,清楚地了解了自己在 AiDA 平台上作为卖家所应承担的责任和义务。',
|
||||||
submitApplication: '提交申请',
|
submitApplication: '提交申请',
|
||||||
applicationSubmitted: '申请已提交',
|
applicationSubmitted: '申请已提交',
|
||||||
applicationSubmittedTip: '审批即将完成。一旦通过,请在卖家控制面板中关联您的收款账户,然后再上架商品。您的 AiDA 账户还提供买家端访问权限,以便查看您的商品(详情请见<span onclick="{click}()">个人中心</span>)。',
|
applicationSubmittedTip: '预计很快就会批准。收到批准后,请在发布任何商品前,确保在 <span>卖家控制面板 > 设置</span> 中关联您的收款账户。',
|
||||||
auditStatus1_title: "步骤 1:提交申请",
|
auditStatus1_title: "步骤 1:提交申请",
|
||||||
auditStatus1_tip: "请填写店铺信息并同意服务条款。",
|
auditStatus1_tip: "请填写店铺信息并同意服务条款。",
|
||||||
auditStatus2_title: "步骤 2:审核验证",
|
auditStatus2_title: "步骤 2:审核验证",
|
||||||
|
|||||||
@@ -946,8 +946,6 @@ export default {
|
|||||||
jsContent13: 'Save successfully~'
|
jsContent13: 'Save successfully~'
|
||||||
},
|
},
|
||||||
frontPage: {
|
frontPage: {
|
||||||
InternalBind: 'Internal Bind:',
|
|
||||||
ExternalBind: 'External Bind:',
|
|
||||||
BindWechat: 'Bind Wechat',
|
BindWechat: 'Bind Wechat',
|
||||||
Unbound: 'Unbound',
|
Unbound: 'Unbound',
|
||||||
BindNow: 'Bind Now',
|
BindNow: 'Bind Now',
|
||||||
@@ -1912,7 +1910,8 @@ export default {
|
|||||||
SelectCollection: 'Select Collection',
|
SelectCollection: 'Select Collection',
|
||||||
SelectSketch: 'Select Sketch',
|
SelectSketch: 'Select Sketch',
|
||||||
EditListingDetails: 'Edit Listing Details',
|
EditListingDetails: 'Edit Listing Details',
|
||||||
VideoWarning:'The first selected item is the main product image. Videos cannot be used.'
|
VideoWarning:'The first selected item is the main product image. Videos cannot be used.',
|
||||||
|
selectSketchMaxNum: 'Select up to 9 sketches',
|
||||||
},
|
},
|
||||||
ApplySeller: {
|
ApplySeller: {
|
||||||
applySellerTitle: 'Apply to Become a Seller',
|
applySellerTitle: 'Apply to Become a Seller',
|
||||||
@@ -1934,7 +1933,7 @@ export default {
|
|||||||
agreementAgreement: "I have read and agree to the Seller Agreement, understanding my responsibilities and obligations as a seller on the AiDA platform.",
|
agreementAgreement: "I have read and agree to the Seller Agreement, understanding my responsibilities and obligations as a seller on the AiDA platform.",
|
||||||
submitApplication: "Submit Application",
|
submitApplication: "Submit Application",
|
||||||
applicationSubmitted: "Application Submitted",
|
applicationSubmitted: "Application Submitted",
|
||||||
applicationSubmittedTip: "Approval is imminent. Once granted, link your payout account in the Seller Dashboard before listing. Your AiDA account also grants buyer-side access to view your products (details in <span onclick='{click}()'>Personal Center</span>).",
|
applicationSubmittedTip: "Approval is expected shortly. Upon receipt, please ensure your payout account is linked under <span>Seller Dashboard > Settings</span> prior to listing any items.",
|
||||||
auditStatus1_title: "Step 1: Submit Application",
|
auditStatus1_title: "Step 1: Submit Application",
|
||||||
auditStatus1_tip: "Fill out the seller information form and agree to our terms",
|
auditStatus1_tip: "Fill out the seller information form and agree to our terms",
|
||||||
auditStatus2_title: "Step 2: Review & Verification",
|
auditStatus2_title: "Step 2: Review & Verification",
|
||||||
|
|||||||
@@ -83,15 +83,14 @@
|
|||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
> .tip {
|
> .tip {
|
||||||
font-family: pingfang_medium;
|
font-family: pingfang_regular;
|
||||||
font-size: 1.8rem;
|
font-size: 1.8rem;
|
||||||
line-height: 170%;
|
line-height: 170%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #585858;
|
color: #585858;
|
||||||
&:deep(span) {
|
&:deep(span) {
|
||||||
cursor: pointer;
|
color: #585858;
|
||||||
color: #1a1a1a;
|
font-family: pingfang_heavy;
|
||||||
text-decoration: underline;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
> .step-list {
|
> .step-list {
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import { Https } from '@/tool/https'
|
|||||||
import { useRoute } from 'vue-router'
|
import { useRoute } from 'vue-router'
|
||||||
import { useStore } from 'vuex'
|
import { useStore } from 'vuex'
|
||||||
import { useI18n } from 'vue-i18n'
|
import { useI18n } from 'vue-i18n'
|
||||||
|
import { message } from 'ant-design-vue';
|
||||||
|
|
||||||
// 定义组件名称
|
// 定义组件名称
|
||||||
defineOptions({
|
defineOptions({
|
||||||
@@ -45,6 +46,10 @@ const chooseItem = (item:any)=>{
|
|||||||
if(chooseList.value.findIndex((i:any)=>i.designItemId == item.designItemId) != -1){
|
if(chooseList.value.findIndex((i:any)=>i.designItemId == item.designItemId) != -1){
|
||||||
chooseList.value.splice(chooseList.value.findIndex((i:any)=>i.designItemId == item.designItemId),1)
|
chooseList.value.splice(chooseList.value.findIndex((i:any)=>i.designItemId == item.designItemId),1)
|
||||||
}else{
|
}else{
|
||||||
|
if(chooseList.value.length >= 9){
|
||||||
|
message.info(t('Seller.selectSketchMaxNum'))
|
||||||
|
return
|
||||||
|
}
|
||||||
chooseList.value.push(item)
|
chooseList.value.push(item)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -163,7 +168,7 @@ const {} = toRefs(data);
|
|||||||
<template #right>
|
<template #right>
|
||||||
<div class="header-right">
|
<div class="header-right">
|
||||||
<div class="chooseNum">
|
<div class="chooseNum">
|
||||||
{{ chooseList.length }} {{ t('Seller.sketchesSelected') }}
|
{{ chooseList.length }} / 9 {{ t('Seller.sketchesSelected') }}
|
||||||
</div>
|
</div>
|
||||||
<div class="button" @click="next">
|
<div class="button" @click="next">
|
||||||
<span>{{ $t('Seller.Next') }}</span>
|
<span>{{ $t('Seller.Next') }}</span>
|
||||||
@@ -177,8 +182,8 @@ const {} = toRefs(data);
|
|||||||
<div class="content" ref="listingsBoxRef">
|
<div class="content" ref="listingsBoxRef">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<i class="fi fi-rs-comments"></i>
|
<i class="fi fi-rs-comments"></i>
|
||||||
<span>{{ $t('Seller.Praka') }}</span>
|
<span>{{ $t('Seller.Praka') }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<div class="generalModel_state">
|
<div class="generalModel_state">
|
||||||
|
|||||||
Reference in New Issue
Block a user