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