Browse Source

多语言配置

master
xh-pan1 1 year ago
parent
commit
2bf2d78e8c
  1. 4
      config/index.js
  2. 1
      package.json
  3. 9
      src/App.vue
  4. 8
      src/api/nav.js
  5. 2
      src/components/base/aftersaleList.vue
  6. 16
      src/components/base/footer.vue
  7. 12
      src/components/base/homHeader.vue
  8. 2
      src/components/base/orderList.vue
  9. 10
      src/components/base/secondNav.vue
  10. 81
      src/components/base/topNav.vue
  11. 489
      src/locales/en.json
  12. 488
      src/locales/zh-CN.json
  13. 35
      src/main.js
  14. 5
      src/util/server.js
  15. 2
      src/views/afterSale/index.vue
  16. 12
      src/views/category/index.vue
  17. 2
      src/views/orderDetail/index.vue
  18. 2
      src/views/placeOrder/components/shopOrder.vue
  19. 10
      src/views/product/productHead.vue
  20. 46
      src/views/search/index.vue
  21. 2
      src/views/shopping-trolley/index.vue
  22. 2
      src/views/userCenter/browseRecords/browseRecords.vue
  23. 4
      src/views/userCenter/favorites/favorites.vue
  24. 2
      src/views/userCenter/messageCenter/message.vue
  25. 4
      src/views/userCenter/messageCenter/qalist.vue
  26. 2
      src/views/userCenter/signingAddress/signingAddress.vue
  27. 9142
      yarn.lock

4
config/index.js

@ -15,8 +15,8 @@ module.exports = {
proxyTable: {
'/api': {
// target: 'https://ceres.zkthink.com/api', // 测试
target: 'http://localhost:9007', // 测试
// target: 'http://122.9.152.120/ceres-app-api', //
// target: 'http://localhost:9007', // 测试
target: 'http://122.9.152.120/ceres-app-api', //
// target: 'https://shopapi.zkthink.com', // 测试
// target: 'http://3j073r3905.qicp.vip', // 测试
// target: 'http://3j073r3905.qicp.vip:29544', // 测试

1
package.json

@ -18,6 +18,7 @@
"qs": "^6.9.4",
"swiper": "^5.4.5",
"vue": "^2.5.2",
"vue-i18n": "8.2.1",
"vue-router": "^3.0.1",
"vue-video-player": "^5.0.2",
"vuex": "^3.1.0"

9
src/App.vue

@ -5,7 +5,7 @@
</template>
<script>
import { getAllLangInfo } from "@/api/nav";
export default {
name: 'App',
provide () {
@ -25,8 +25,15 @@ export default {
})
// localStorage
localStorage.getItem('messageStore') && this.$store.replaceState(Object.assign(this.$store.state, JSON.parse(localStorage.getItem('messageStore'))))
this.initLanguage();
},
methods: {
initLanguage(){
getAllLangInfo().then((res) => {
i18n.mergeLocaleMessage('en',res.data.en);
i18n.mergeLocaleMessage('zh', res.data.zh);
});
},
reload () {
this.isRouterAlive = false
this.$nextTick(function () {

8
src/api/nav.js

@ -10,3 +10,11 @@ export function getCategory () {
method: 'get'
})
}
export function getAllLangInfo(data) {
return request({
url: 'cerePlatformLangInfo/getAllForMap',
method: 'post',
data
})
}

2
src/components/base/aftersaleList.vue

@ -2,7 +2,7 @@
<div class="orderList">
<div class="head">
<div style="flex:4;padding-left:20px;">
<span style="flex:2;">宝贝</span>
<span style="flex:2;">{{ $t('common.beautiproduct') }}</span>
<span style="flex:1;">单价</span>
<span style="flex:1;">数量</span>
</div>

16
src/components/base/footer.vue

@ -5,8 +5,8 @@
<div class="content">
<img class="img-icon" src="../../../static/image/foot_icon_1.png" />
<div class="text-label">
<div class="title">品质保障</div>
<div class="desc">品质护航 购物无忧</div>
<div class="title">{{ $t('client.pzbz') }}</div>
<div class="desc">{{ $t('client.pzbzdesc') }}</div>
</div>
</div>
</div>
@ -14,8 +14,8 @@
<div class="content">
<img class="img-icon" src="../../../static/image/foot_icon_2.png" />
<div class="text-label">
<div class="title">极速物流</div>
<div class="desc">如约送货 送货入户</div>
<div class="title">{{ $t('client.jswl') }}</div>
<div class="desc">{{ $t('client.jswldesc') }}</div>
</div>
</div>
</div>
@ -23,8 +23,8 @@
<div class="content">
<img class="img-icon" src="../../../static/image/foot_icon_3.png" />
<div class="text-label">
<div class="title">售后无忧</div>
<div class="desc">七天无理由退换货</div>
<div class="title">{{ $t('client.shwy') }}</div>
<div class="desc">{{ $t('client.shwydesc') }}</div>
</div>
</div>
</div>
@ -32,8 +32,8 @@
<div class="content">
<img class="img-icon" src="../../../static/image/foot_icon_4.png" />
<div class="text-label">
<div class="title">帮助中心</div>
<div class="desc">您的购物指南</div>
<div class="title">{{ $t('client.bzzx') }}</div>
<div class="desc">{{ $t('client.bzzxdesc') }}</div>
</div>
</div>
</div>

12
src/components/base/homHeader.vue

@ -5,7 +5,7 @@
<ul>
<li class="on">
<router-link to="/">
首页
{{ $t('client.homepage') }}
</router-link>
</li>
<li v-for="(item,index) in categoryList.slice(0, 6)" :key="index" @click="jumpCategory(item)">
@ -16,12 +16,12 @@
<div class="search">
<div class="searchSelect">
<el-dropdown @command="searchCommand" trigger="click">
<span class="el-dropdown-link">{{searchVal}}
<span class="el-dropdown-link">{{(searchVal === 'product') ? $t('common.beautiproduct') : $t('common.beautishop')}}
<i class="el-icon-arrow-down cur-poi el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="宝贝">宝贝</el-dropdown-item>
<el-dropdown-item command="店铺">店铺</el-dropdown-item>
<el-dropdown-item command="product">{{ $t('common.beautiproduct') }}</el-dropdown-item>
<el-dropdown-item command="shop">{{ $t('common.beautishop') }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
@ -29,7 +29,7 @@
<input type="text"
v-model="keyword"
@keyup.enter="searchPro"
placeholder="请输入搜索商品"
:placeholder="$t('common.searchproducthint')"
>
</div>
<span class="btn cur-poi" @click="searchPro">
@ -49,7 +49,7 @@ export default {
name: 'homHeader',
data () {
return {
searchVal: '宝贝',
searchVal: 'product',
keyword: '',
categoryList: []
}

2
src/components/base/orderList.vue

@ -2,7 +2,7 @@
<div class="orderList">
<div class="head">
<div style="flex: 9; padding-left: 20px">
<span style="flex: 5">宝贝</span>
<span style="flex: 5">{{ $t('common.beautiproduct') }}</span>
<span style="flex: 2">单价</span>
<span style="flex: 2">数量</span>
</div>

10
src/components/base/secondNav.vue

@ -13,17 +13,17 @@
<div class="search">
<div class="searchSelect">
<el-dropdown @command="searchCommand" trigger="click">
<span class="el-dropdown-link">{{searchVal}}
<span class="el-dropdown-link">{{(searchVal === 'product') ? $t('common.beautiproduct') : $t('common.beautishop')}}
<i class="el-icon-arrow-down cur-poi el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="宝贝">宝贝</el-dropdown-item>
<el-dropdown-item command="店铺">店铺</el-dropdown-item>
<el-dropdown-item command="product">{{ $t('common.beautiproduct') }}</el-dropdown-item>
<el-dropdown-item command="shop">{{ $t('common.beautishop') }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
<div class="searchRight">
<input type="text" v-model="keyword" @keyup.enter="searchPro" placeholder="请输入搜索商品">
<input type="text" v-model="keyword" @keyup.enter="searchPro" :placeholder="$t('common.searchproducthint')">
</div>
<span class="btn cur-poi" @click="searchPro"><i class="icon el-icon-search"></i></span>
</div>
@ -36,7 +36,7 @@ import {mapMutations} from 'vuex'
export default {
data () {
return {
searchVal: '宝贝',
searchVal: 'product',
keyword: ''
}
},

81
src/components/base/topNav.vue

@ -9,28 +9,41 @@
</div>
<div v-else></div>
<div class="right">
<div class="item item-select">
<span class="hover-item">
{{ languaueName }} <i class="ico-arrow el-icon-arrow-down"></i>
</span>
<div class="lang-box">
<div class="lang-item" @click="handleCommand('zh')">
{{ $t('navbar.chinese') }}
</div>
<div class="lang-item" @click="handleCommand('en')">
{{ $t('navbar.english') }}
</div>
</div>
</div>
<div class="item">
<a class="hover-item" @click="applySettle">申请入驻</a>
<a class="hover-item" @click="applySettle">{{ $t('client.shenqingruzhu') }}</a>
</div>
<div class="item">
<a class="hover-item" @click="goToUserOrder">我的订单</a>
<a class="hover-item" @click="goToUserOrder">{{ $t('client.myorder') }}</a>
</div>
<!-- 购物车 -->
<div class="item item-select">
<span class="hover-item" @click="goToShopCart">
<i class="iconfont icon-shoppingCart"></i>购物车
<i class="iconfont icon-shoppingCart"></i>{{ $t('client.shoppingcard') }}
<span v-if="isShowNum">
(<b v-text="cartNumber === 0 ? '0' : cartNumber"></b>)
</span>
<i class="ico-arrow el-icon-arrow-down"></i>
</span>
<div v-if="!isLogin" class="cart-box cart-no-login">
<a class="loginBtn" @click="loginBtn">登录</a>
<p class="p">登录后查看商品</p>
<a class="loginBtn" @click="loginBtn">{{$t('client.login')}}</a>
<p class="p">{{ $t('client.unlogin') }}</p>
</div>
<div v-else-if="shoppingCart.length === 0" class="cart-box cart-no-data">
<img src="static\image\gouwuche_no.webp" alt="">
<p class="p">购物车还没有商品赶紧选购吧</p>
<p class="p">{{ $t('client.gouwucheemptytips') }}</p>
</div>
<div v-else class="cart-box cart-list">
<div class="cartItem" v-for="shop in shoppingCart" :key="shop.shopId">
@ -48,15 +61,15 @@
</dd>
</dl>
</div>
<a class="btn-view-all" @click="goToShopCart" v-if="cartNumber>3">查看全部</a>
<a class="btn-view-all" @click="goToShopCart" v-if="cartNumber>3">{{ $t('common.seeall') }}</a>
</div>
</div>
<!-- 我的 -->
<div class="item item-select">
<span class="hover-item"><i class="iconfont icon-user"></i>我的<i class="ico-arrow el-icon-arrow-down"></i></span>
<span class="hover-item"><i class="iconfont icon-user"></i>{{ $t('client.my') }}<i class="ico-arrow el-icon-arrow-down"></i></span>
<div class="cart-box user-box">
<div v-if="!isLogin">
<div class="loginBtn" @click="loginBtn">登录账号</div>
<div class="loginBtn" @click="loginBtn">{{ $t('client.loginaccount') }}</div>
</div>
<div v-if="isLogin" class="info">
<div class="avatar" @click="goToUserInfo">
@ -65,10 +78,10 @@
<div class="vip">
<div class="top">
<div class="level">{{ userInfoData.memberLevelName}} </div>
<div class="logout" @click="outLoginBtn">退出登录</div>
<div class="logout" @click="outLoginBtn">{{ $t('navbar.logout') }}</div>
</div>
<div class="bottom">
<p>会员成长值<span>{{ userInfoData.growth }}/{{ userInfoData.nextLevelGrowth }}</span></p>
<p>{{ $t('client.MemberValue') }}<span>{{ userInfoData.growth }}/{{ userInfoData.nextLevelGrowth }}</span></p>
<el-progress
:show-text="false"
:percentage="parseInt(userInfoData.growth / userInfoData.nextLevelGrowth) * 100 || 0">
@ -85,21 +98,21 @@
style="font-size: 54px;"
icon-class="nav-addres"
/>
收货地址
{{ $t('client.ShippingAddress') }}
</li>
<li @click="gotoUserCoupon">
<icon-svg
style="font-size: 54px;"
icon-class="nav-coupon"
/>
券包
{{ $t('client.couponwallet') }}
</li>
<li @click="goToAfterOrder">
<icon-svg
style="font-size: 54px;"
icon-class="nav-aftersale"
/>
售后订单
{{ $t('client.shouhoudingdan') }}
</li>
</ul>
</div>
@ -155,13 +168,14 @@ export default {
data () {
return {
userInfoData: '',
searchVal: '宝贝',
searchVal: 'product',
keyword: '',
isShowOut: false,
menuOpen: false,
isLogin: false,
outLoginDialog: false,
isShowNum: false,
languaueName : "中文",
deleteOpt: {
visiable: false
},
@ -182,6 +196,12 @@ export default {
}
},
created () {
let initLanguage = localStorage.getItem("language");
if(!initLanguage || initLanguage === '' ){
initLanguage = 'zh'
}
// this.$i18n.locale = initLanguage
this.languaueName = (initLanguage === 'en' ? "English" : "中文")
if (Cookie.get('token')) {
this.isLogin = true
this.isShowNum = true
@ -201,6 +221,12 @@ export default {
setNoticeId: 'SET_NOTICEID',
IS_LOGIN: 'IS_LOGIN'
}),
handleCommand(command){
localStorage.setItem("language", command)
// this.languaueName = (getLanguage() === 'en' ? "English" : "")
// this.$i18n.locale = command
this.$router.go(0)
},
searchCommand (command) {
this.searchVal = command
},
@ -265,7 +291,7 @@ export default {
})
this.setCartNumber(this.cartNumber - 1)
this.getTrolleyList()
this.$message.success('删除成功')
this.$message.success($t('common.deletesuccess'))
},
outLoginBtn () {
this.outLoginDialog = true
@ -462,7 +488,7 @@ $navSearchHeight: 39px;
.cart-no-data,.cart-no-login{
display: flex;
}
.cart-list,.user-box{
.cart-list,.user-box,.lang-box{
display: block;
}
.hover-item{
@ -471,6 +497,27 @@ $navSearchHeight: 39px;
}
}
}
.lang-box{
position: absolute;
top: 49px;
background-color: #fff;
z-index: 999;
border-radius: 5px;
box-shadow: 0px 0px 24px 3px rgba(0, 0, 0, 0.06);
width: 88px;
left: 50%;
display: none;
margin-left: -44px;
padding: 10px;
.lang-item{
color: #333;
border-bottom: 1px solid #F5F5F5;
display: flex;
flex-direction: column;
align-items: center;
line-height: 40px;
}
}
.cart-box{
position: absolute;
top: 49px;

489
src/locales/en.json

@ -0,0 +1,489 @@
{
"main.message":"Message",
"main.display":"Display",
"main.todaydata":"Today's Data",
"main.yonghufangwenqushi":"Visitor Data",
"main.renci":"Times",
"main.fangwenyonghushu":"Visitors",
"main.zhuanhualv":"Total Rate",
"main.dingdanzhuanhuanloudou":"Order Conversion Rate",
"main.remaishangpin":"Best Sellers",
"navbar.changePwd":"Password",
"navbar.changeAvatar":"Avatar",
"navbar.logout":"Logout",
"navbar.chinese":"Chinese",
"navbar.english":"English",
"navbar.businessMode":"Merchant",
"navbar.password":"Current Password",
"navbar.newPassword":"New Password",
"navbar.confirmPassword":"Confirm Password",
"common.sure":"OK",
"common.cancle":"Cancle",
"common.export":"Export",
"common.view":"View",
"common.seemore":"More",
"common.seeall":"All",
"common.save":"Save",
"common.submit":"Submit",
"common.edit":"Edit",
"common.delete":"Delete",
"common.choose":"Please select",
"common.query":"Query",
"common.reset":"Reset",
"common.operate":"Operate",
"common.createTIme":"Created Time",
"common.contactPhone":"Phone",
"common.contactPerson":"Contact",
"common.nodata":"No Data",
"common.set":"Reset",
"common.notice_dialog_title":"Tips",
"common.deletedialogtitle":"The selected data will be permanently deleted. Do you want to continue?",
"common.deletesuccess":"Deleted Successfully!",
"common.content":"Content",
"common.styles":"Styles",
"common.bannersetting":"Banner Setting",
"common.onepicturetip":"This is a picture",
"common.all":"All",
"common.allow":"Yes",
"common.notallow":"No",
"common.uploadnow":"Upload",
"common.baseinfo":"BaseInfo",
"common.yes":"Yes",
"common.no":"No",
"permission.概括":"Dashboard",
"shop.dianpuzhuangxiu":"Decoration",
"shop.newShop":"New Shop",
"shop.shopCode":"ShopCode",
"shop.shopName":"Shop",
"shop.shopNameHint":"Please input the shop name",
"shop.shopCodeHint":"Please input the shop code",
"shop.shopContactPersonHint":"Please input the shop contact person",
"shop.editShop":"Edit Shop",
"shop.shopDetail":"Shop Detail",
"shop.shopAddress":"Shop Address",
"shop.returnContact":"Return Contact",
"shop.returnPhone":"Return Phone",
"shop.returnAddress":"Return Address",
"shop.crossborderornot":"Cross-border",
"shop.ebpname":"Customs Record Name",
"shop.ebpcode":"Customs Record Code",
"order.orderId":"Order Id",
"order.trackingnumber":"Logistic No.",
"order.send":"deliver",
"order.expresscompany":"Logistic Company",
"order.logisticsinfo":"Logistic Info",
"order.orderinfo":"Order Info",
"order.payunit":"",
"order.amountlabel":"Total Amount",
"business.businessName":"Shop Name",
"business.businessLogo":"Logo",
"business.businessInfo":"Shop Info",
"business.businessAddress":"Address",
"business.businessBrief":"Introduction",
"business.businessContactMobilePhone":"Mobile",
"business.payinfoauth":"Payment information authentication",
"business.payauth":"Verify Now",
"business.businessAuth":"Authentication Info",
"business.ledgerperiod":"Payment Days",
"business.chooseLedgerPeriod":"Select",
"business.payinfoId":"Account ID",
"logistics.planname":"Plan Name",
"logistics.newplan":"New Plan",
"logistics.plannamehint":"Enter the plan name",
"logistics.storehouse":"Warehouse",
"logistics.deliverablerange":" Including Areas",
"logistics.bypiece":"Packages",
"logistics.byweight":"Weights",
"logistics.freeshipping":"Post-Free",
"logistics.billingtype":"Caculation",
"logistics.storehousehint":"Select warehouse",
"storehouse.storehousetype":"Type",
"storehouse.storehousekind":"Location",
"storehouse.selfsupportstorehouse":"Self-owned warehouse",
"storehouse.outsourcingstorehouse":"Leasehold Warehouse",
"storehouse.internalhouse":"Domestic",
"storehouse.bondedstorehouse":"Domestic Bonded",
"storehouse.overseasstorehouse":"Overseas",
"storehouse.storehousename":"Name",
"material.picture":"Picture",
"material.video":"Video",
"material.link":"Link",
"material.tag":"Tag",
"material.taghit":"Enter the tag",
"material.upload":"Upload",
"product.productname":"Product",
"product.productnamehint":"Enter the product name",
"product.productclassify":"Category",
"product.shelvestate":"Status",
"product.shelvestatehint":"Select the status",
"product.shelveson":"Available",
"product.shelvesoff":"Unavailable",
"product.addproduct":"ADD",
"product.batchexport":"Batch export",
"product.batchimport":"Import",
"product.productexport":"Export",
"product.productId":"ID",
"product.mainpicture":"Picture",
"product.pricerange":"Price",
"product.memberprice":"Member Price",
"product.creditsexchange":"Credits",
"product.salesvolume":"Sold",
"product.inventory":"Quantities",
"product.notlistedyet":"Off",
"product.alreadylisted":"On",
"product.tobereviewed":"Under Review",
"product.auditfailure":"Rejected",
"product.causeofrejection":"Reason",
"product.brand":"Brand",
"product.setmemberprice":"Set VIP Price",
"product.batchimportproduct":"Import Products",
"product.productuploadtips":"Only xlsx files allowed, and not exceed 10 MB.",
"product.importproducttips1":"Please",
"product.importproducttips2":"Download Template",
"product.importproducttips3":"before uploading the file.",
"product.preferentialmode":"Type",
"product.discount":"Percent",
"product.specifiedprice":"Fixed Price",
"product.specification":"Product",
"product.price":"Price",
"product.clearalloldmembershipprices":"Clear All Prices",
"product.pricediscount":"Percent",
"product.priceyuan":"Yuan",
"product.editproduct":"Edit",
"product.ownedshop":"Owner",
"product.productbrief":"Highlights",
"product.productbriefhint":"Pelease enter the selling points",
"product.platformproductclassify":"Category",
"product.businessproductclassify":"Self-Category",
"product.productgroup":"Group",
"product.productgrouphint":"Select group",
"product.brandhint":"Select brand",
"product.supplier":"Supplier",
"product.supplierhint":"Enter supplier name",
"product.productimg":"Pictures",
"product.stylesetting":"Types",
"product.singlestyle":"Single-Type",
"product.multistyle":"Multi-Types",
"product.originalprice":"Price",
"product.rate":"Tax",
"product.weight":"Weight",
"product.Internationalbarcode":"Barcode",
"product.skuname":"Type",
"product.skuvalue":"Description",
"product.needimage":"Upload Picture",
"product.newsku":"Add Type",
"product.productdetail":"Details",
"product.needlogitics":"Logistics",
"product.allowoversold":"Oversell",
"client.shoppingcard":"Cart",
"client.gouwucheemptytips":"Your shopping cart is empty. Enjoy your shopping now.",
"client.login":"Log in",
"client.unlogin":"Log in to get better experience",
"client.my":"My",
"client.loginaccount":"Login",
"client.MemberValue":"Member Growth Value",
"client.ShippingAddress":"Shipping address",
"client.couponwallet":"CouponWallet",
"client.shouhoudingdan":"Post-Sales",
"client.homepage":"Home",
"common.beautiproduct":"Product",
"common.beautishop":"Shop",
"common.searchproducthint":"Search a product",
"common.searchshophint":"Search a shop",
"page.language":"Multi-Language",
"page.classify":"Categories",
"page.shoppingcart":"Cart",
"page.my":"My",
"page.secondkillzone":"Second kill zone",
"page.groupzone":"Group zone",
"page.limitedtimediscountsection":"Limited-time Offer",
"page.memberzone":"Member zone",
"page.myintegral":"My Points",
"page.pointexchange":"Point exchange",
"page.signintoearnpoints":"Sign in to earn points",
"page.coupon":"Coupons",
"page.availablegoods":"Available goods",
"page.combinationpreference":"Combination preference",
"page.hotrecommendation":"Recommends",
"page.search":"Search",
"page.goodslist":"Product List",
"page.goodsdetail":"Details",
"page.couponlistofavailableitems":"Coupon List",
"page.qadetail":"Q&A Details",
"page.allquestionsandanswers":"All Q&A",
"page.ask":"Ask",
"page.myassessment":"My Reviews",
"page.evaluatesuccess":"Review Successfully",
"page.evaluationdetails":"Reviews",
"page.goodsevaluation":"Reviews",
"page.additionalevaluation":"Extra Review",
"page.evaluate":"Review",
"page.ordercenter":"Order center",
"page.purchasegoods":"Purchase goods",
"page.orderdetail":"Order detail",
"page.applyforarefund":"Apply for a refund",
"page.applyforreturnofgoods":"Apply for return of goods",
"page.selectgoods":"Select goods",
"page.platformintervention":"Platform intervention",
"page.paymentsuccess":"Payment success",
"page.fillinthereturnlogistics":"Fill in the return logistics",
"page.distributioncenter":"Distributors",
"page.distributionclerkrecruitmentorder":"Distribution clerk recruitment order",
"page.share":"Share",
"page.cumulativedistributor":"Cumulative distributor",
"page.cumulativereward":"Cumulative reward",
"page.cumulativecustomer":"Cumulative customer",
"page.unbilledincentive":"Unbilled incentive",
"page.promotionshop":"Promote shop",
"page.promotegoods":"Promote goods",
"page.mydistributionorder":"My distribution order",
"page.invitesubordinates":"Invite subordinates",
"page.logisticsinformation":"Logistics information",
"page.thematicclassification":"Thematic classification",
"page.generateinvitationposters":"Generate invitation posters",
"page.invitefriendstoorder":"Invite friends to order",
"page.business":"Business",
"page.membercheckin":"Member check-in",
"page.login":"Log in",
"page.addressmanager":"Addresses",
"page.bankcard":"Bankcard",
"page.mycollection":"Collections",
"page.browsingfootprint":"Browsed",
"page.myquestionsandanswers":"Q&A",
"page.personalinformation":"Profile",
"page.mycardcoupon":"My Coupon",
"page.myaftersales":"Post-Sales",
"page.returndetails":"Return details",
"page.refunddetails":"Refund details",
"page.malluseragreement":"《Thee》Mall user agreement",
"page.register":"Sign Up",
"page.myaccount":"Account",
"page.withdraw":"Withdraw",
"page.messagecenter":"Messages",
"page.announcementdetails":"Announcement",
"page.bingphone":"Bind phone",
"page.mobilenumberauthorization":"Mobile number authorization",
"page.liverecommendation":"Live recommendation",
"page.accountcancellation":"Account cancel lation",
"page.cancelaccountmobileauthentication":"Cancel account mobile authentication",
"page.index":"Home",
"page.merchantsettlement":"Join in",
"page.platformcustomerservice":"Service",
"page.signin":"Check in",
"page.membercenter":"Member",
"page.due":"To Pay",
"page.goodswaitingtobesent":"To Ship",
"page.waittobereceived":"To Receive",
"page.fullorder":"All Orders",
"client.shenqingruzhu":"Join Us",
"client.myorder":"My Orders",
"client.pzbz":"Quality Guarantee",
"client.pzbzdesc":"Quality escort shopping hassle-free",
"client.jswl":"Fast Delevery",
"client.jswldesc":"Delivery as scheduled",
"client.shwy":"Worry free after sale",
"client.shwydesc":"Return or Exchange in 7 Days",
"client.bzzx":"Help Center",
"client.bzzxdesc":"Your shopping guide",
"common.totalresult":"Total result",
"common.sort":"Sort",
"common.default":"Default",
"common.price":"Price",
"common.clear":"Clear",
"common.networkerror":"Network error",
"common.searchproductempty":"No result, try another word.",
"common.searchshopempty":"No result, try another word.",
"common.classifyproductempty":"It's empty here.",
"common.location":"Location",
"common.entershop":"View the shop",
"client.logindesc":"We can serve you better",
"client.logindesc1":"when you login",
"client.loginbyphone":"Login with Phone Number",
"client.loginbywx":"Login with WeChat",
"client.loginbywxphone":"WeChat MobilePhone Login",
"client.loginbyzfb":"Login with AliPay",
"client.noaccount":"Don't have an account? ",
"client.gotoregister":"Register",
"client.gotohomepage":"Back to home",
"common.entermobilephone":"Enter your phone number",
"common.enterverificationcode":"Enter the Code",
"common.unsubscribe":"Unsubscribe",
"common.verificationcodetip":"Get Code",
"common.verificationcodetip1":"%d seconds left",
"common.verificationcodetip2":"X seconds left",
"common.verificationcodetip3":"Reacquire",
"common.payticktip":"sold",
"common.addtocart":"Add to Cart",
"common.buynow":"Buy Now",
"common.spyxj":"Unavailable",
"common.ddgm":"Buy Directly",
"common.wykt":"Lauch a Group",
"common.service":"Service",
"common.synthesis":"Comprehensive",
"common.searchproduct_hint":"Enter the product name you want.",
"client.searchproductempty_short":"Can't find the product.",
"client.searchemptyswitchword":"Try another word~",
"common.load":"Loading...",
"common.alldataloadfinish":"Here is the end ~",
"common.add":"ADD",
"product.productname_en":"Product Name",
"product.productnamehint_en":"Please enter the product name in english",
"product.productbrief_en":"Highlights",
"product.productbriefhint_en":"Pelease enter product english brief",
"product.productdetail_en":"Product English Details",
"client.alreadyhasaccount":"Already has Account.",
"client.tologin":"Login",
"client.registermeansagree":"Registration means agree",
"client.appuserservice":"《APP User Service Agreement》",
"client.appsafeservice":"《APP Personal privacy Agreement》",
"common.and":"and",
"common.validity":"Expiry Date",
"common.collectnow":"Get It Now",
"common.collected":"Got It",
"common.used":"Used",
"common.expired":"Expired",
"common.fail":"Failed",
"common.orderno":"Order Number",
"common.commission":"Commission",
"common.productnum":"Quantities",
"Synthesis":"Actual Payment",
"common.buyer":"Buyer",
"common.status":"Status",
"common.unsettled":"未结算",
"common.settled":"已结算",
"client.emptydata":"It's empty here.",
"common.refund":"Refund",
"common.return":"Return",
"common.shz":"Under Review",
"common.tkz":"In Progress",
"common.tkwc":"Refund Complete",
"common.tksb":"Refund Failed",
"common.shbtg":"Rejected",
"common.psz":"评审中",
"common.cxsq":"Withdraw",
"common.shtg":"Approved",
"common.thshz":"退货审核中",
"common.thz":"退货中",
"common.ytk":"Refunded",
"common.thwc":"退货完成,拒绝退款",
"common.deleterecord":"Delete",
"common.viewdetail":"View",
"common.cxth":"Cancel",
"common.cxtk":"撤销退款",
"common.zwxsjl":"It's empty here.",
"common.sfsccjl":"Are you sure to delete it?",
"common.reason":"Reason",
"product.language":"Language",
"product.ownedshop_hint":"Please select your shop",
"product.skuname_en":"Sku Name(English)",
"product.skuvalue_en":"Sku Value(English)",
"common.hotsearch":"Popular Searches",
"client.hotsearchhide":"Hide Popular Searches",
"common.historysearch":"HIstory Search",
"common.manager":"Manager",
"common.finish":"Finish",
"common.totalitemnum":"{number} Items",
"common.refundtotalamount":"Total Refund",
"common.refundwaitbusiness":"Your application has been submitted, please be patient.",
"common.refundbusinessagree":"Seller has agreed or timed out, your payment will be refunded.",
"common.refundbusinessreject":"If rejected, you can resubmit the refund application after making modifications.",
"common.refundsuccess":"The payment has been refunded back to the original method.",
"common.platforminterventionfail":"平台介入申请失败",
"common.tkcxsuccess":"This refundment has been cancelled because of your revocation.",
"common.tkinfo":"Refund Info",
"common.tkamount":"Refund Amount",
"common.tkno":"Refund No.",
"common.tkapplytime":"Created Time",
"common.tkxshistory":"Negotiations",
"common.platforminterventionwait":"Platform has received your application, please be patient.",
"common.chooseall":"All",
"client.deletefootprinttips":"Are you sure to delete it?",
"common.head":"Avatar",
"common.nickname":"Nick Name",
"common.sex":"Gender",
"common.birthday":"Birthday",
"common.realname":"Real Name",
"common.idcard":"ID Number",
"common.mobilephone":"Mobile Phone",
"common.yhysxy":"Privacy Agreement",
"common.yhfwxy":"Service Agreement",
"common.cancelaccount":"Close Account",
"common.modifysex":"Gender",
"common.modifybirthday":"Birthday",
"page.mallusersafement":"Privacy protections",
"common.ask":"Q",
"common.answer":"A",
"common.replycount":"{number} Replys",
"common.replycountempty":"No reply",
"common.askcountempty":"No questions yet",
"common.answercount":"{number} Answers",
"common.answercountempty":"No answers",
"common.deleteanswertitle":"删除回答?",
"common.deleteanswercontent":"删除回答后无法恢复",
"common.deleteanswerbtn":"继续删除",
"common.applywithdraw":"Apply for withdrawal",
"common.historyrecord":"History",
"common.agree":"Agree",
"common.reject":"Reject",
"common.bankaccount":"Bank Account Number",
"common.time":"Time",
"common.unreadmsgcount":"{number} unread messages",
"common.ordermsg":"Order message",
"common.systemnotice":"System message",
"common.msgempty":"No message",
"common.balance":"Balance",
"common.withdraw":"Withdraw",
"common.bankaccountempty":"You have to add your bank card first.",
"common.addressempty":"You have to add your address first.",
"common.name":"Full Name",
"common.mobilephone":"Phone Number",
"common.bankname":"Bank Name",
"common.cardnum":"Bank Account",
"common.collect":"Like",
"common.fans":"Followers",
"client.tobedistributor":"Join as a distributor",
"common.collectsuccess":"Congratulation!",
"common.canclecollectsuccess":"Hope you will come back.",
"common.express":"Express",
"common.choosesimple":"Select",
"client.commodityqa":"Q&A",
"common.goodsdetail":"Details",
"common.classifynum":"Classifys",
"common.soldnum":"Sold:{number}",
"common.stocknum":"Stock {number}",
"common.understock":"Insufficient",
"common.mobilephone_hint":"Please Enter the Phone Number",
"common.autologin":"Automatic login",
"common.forgetpassword":"Forget Password",
"common.sjdl":"Business Login",
"common.account_hint":"Please Enter the username",
"common.password_hint":"Please Enter the password",
"common.login_max":"Login",
"common.logining":"Logining...",
"common.resetpassword":"Reset password",
"common.backtologin":"Back to login",
"common.ensure_edit":"Confirm",
"common.submit_max":"Submit...",
"common.login_pssword_mode":"Account",
"common.login_phone_mode":"Phone",
"common.returnperson":"Return Person",
"common.address":"Address",
"common.home":"Home",
"common.company":"Company",
"common.school":"School",
"common.returnperson_empty":"Please Enter the Return person!",
"common.phonenumber_empty":"Please Enter the Phone Number!",
"common.phonenumber_error":"Please Enter the Right Phone Number!",
"common.location_empty":"Please Enter the Address!",
"common.location_detail_empty":"Please Enter the Address Detail!",
"common.removeaddress_tips":"Whether to delete this address?",
"common.addresstag":"Address tag",
"common.addressdefault":"Default",
"common.deleteaddress":"Delete the shipping address",
"common.location_detail_hint":"Detailed address: such as road, house number, community, building number, unit, etc",
"common.deleteproducttips":"Are you sure to delete the selected item?",
"common.cartzuhetips":"Have met {price} yuan optional {number} pieces!",
"common.clicktologin":"Click To Login",
"common.clicklogintips":"Log in to enjoy more benefits ~"
}

488
src/locales/zh-CN.json

@ -0,0 +1,488 @@
{
"main.message":"消息",
"main.display":"展示",
"main.todaydata":"今日数据",
"main.yonghufangwenqushi":"用户访问趋势",
"main.renci":"人次",
"main.fangwenyonghushu":"访问用户数",
"main.zhuanhualv":"总转化率",
"main.dingdanzhuanhuanloudou":"订单转换漏斗",
"main.remaishangpin":"热卖商品",
"navbar.changePwd":"修改密码",
"navbar.changeAvatar":"修改头像",
"navbar.logout":"退出登录",
"navbar.chinese":"中文",
"navbar.english":"英文",
"navbar.businessMode":"商家终端",
"navbar.password":"密码",
"navbar.newPassword":"新密码",
"navbar.confirmPassword":"确认密码",
"common.sure":"确定",
"common.cancle":"取消",
"common.export":"导出",
"common.view":"查看",
"common.seemore":"查看更多",
"common.seeall":"查看全部",
"common.save":"保存",
"common.submit":"提交",
"common.edit":"编辑",
"common.delete":"删除",
"common.choose":"请选择",
"common.query":"查询",
"common.reset":"重置",
"common.operate":"操作",
"common.createTIme":"创建时间",
"common.contactPhone":"联系电话",
"common.contactPerson":"负责人",
"common.nodata":"暂无数据",
"common.set":"重置",
"common.notice_dialog_title":"温馨提示",
"common.deletedialogtitle":"选中数据将被永久删除",
"common.deletesuccess":"删除成功!",
"common.content":"内容",
"common.styles":"样式",
"common.bannersetting":"banner设置",
"common.onepicturetip":"这是一张图片",
"common.all":"全部",
"common.allow":"允许",
"common.notallow":"不允许",
"common.uploadnow":"立即上传",
"common.baseinfo":"基础信息",
"common.yes":"是",
"common.no":"否",
"permission.概括":"概括",
"shop.dianpuzhuangxiu":"店铺装修",
"shop.newShop":"新增店铺",
"shop.shopCode":"店铺编码",
"shop.shopName":"店铺名称",
"shop.shopNameHint":"请输入店铺名称",
"shop.shopCodeHint":"请输入店铺编码",
"shop.shopContactPersonHint":"请输入负责人",
"shop.editShop":"修改店铺",
"shop.shopDetail":"店铺详情",
"shop.shopAddress":"店铺地址",
"shop.returnContact":"退货联系人",
"shop.returnPhone":"退货联系电话",
"shop.returnAddress":"退货地址",
"shop.crossborderornot":"是否跨境",
"shop.ebpname":"电商企业名称",
"shop.ebpcode":"电商企业代码",
"order.orderId":"订单ID",
"order.trackingnumber":"快递单号",
"order.send":"发货",
"order.expresscompany":"快递公司",
"order.logisticsinfo":"物流信息",
"order.orderinfo":"订单信息",
"order.payunit":"(元)",
"order.amountlabel":"支付金额(元)",
"business.businessName":"商家名称",
"business.businessLogo":"商家logo",
"business.businessInfo":"商家信息",
"business.businessAddress":"商家地址",
"business.businessBrief":"商家简介",
"business.businessContactMobilePhone":"负责人手机号",
"business.payinfoauth":"支付信息认证",
"business.payauth":"立即认证",
"business.businessAuth":"商家认证",
"business.ledgerperiod":"分账账期",
"business.chooseLedgerPeriod":"请选择分账账期",
"business.payinfoId":"支付信息Id",
"logistics.planname":"方案名称",
"logistics.newplan":"新增物流方案",
"logistics.plannamehint":"请输入方案名称",
"logistics.storehouse":"仓库",
"logistics.deliverablerange":"可配送范围",
"logistics.bypiece":"按件数",
"logistics.byweight":"按重量",
"logistics.freeshipping":"包邮",
"logistics.billingtype":"计费方式",
"logistics.storehousehint":"请选择具体仓库",
"storehouse.storehousetype":"仓库类型",
"storehouse.storehousekind":"仓库种类",
"storehouse.selfsupportstorehouse":"自营仓",
"storehouse.outsourcingstorehouse":"委外仓",
"storehouse.internalhouse":"国内仓",
"storehouse.bondedstorehouse":"保税仓",
"storehouse.overseasstorehouse":"海外仓",
"storehouse.storehousename":"仓库名称",
"material.picture":"图片",
"material.video":"视频",
"material.link":"链接",
"material.tag":"标签",
"material.taghit":"请输入标签名称",
"material.upload":"点击上传",
"product.productname":"商品名称",
"product.productnamehint":"请输入商品名称",
"product.productclassify":"商品分类",
"product.shelvestate":"上架状态",
"product.shelvestatehint":"请选择上架状态",
"product.shelveson":"上架",
"product.shelvesoff":"下架",
"product.addproduct":"新增商品",
"product.batchexport":"批量导入",
"product.batchimport":"批量导入",
"product.productexport":"导出商品",
"product.productId":"商品ID",
"product.mainpicture":"商品主图",
"product.pricerange":"售价区间",
"product.memberprice":"会员价",
"product.creditsexchange":"积分兑换",
"product.salesvolume":"销量",
"product.inventory":"库存",
"product.notlistedyet":"未上架",
"product.alreadylisted":"已上架",
"product.tobereviewed":"待审核",
"product.auditfailure":"审核失败",
"product.causeofrejection":"驳回原因",
"product.brand":"品牌",
"product.setmemberprice":"设置会员价",
"product.batchimportproduct":"批量导入商品",
"product.productuploadtips":"只能上传xlsx文件,且不超过10M",
"product.importproducttips1":"上传前不知道excel模板的,请点击",
"product.importproducttips2":"点我下载模板",
"product.importproducttips3":"去下载",
"product.preferentialmode":"优惠方式",
"product.discount":"折扣",
"product.specifiedprice":"指定价格",
"product.specification":"规格",
"product.price":"售价",
"product.clearalloldmembershipprices":"清除所有旧会员价",
"product.pricediscount":"折",
"product.priceyuan":"元",
"product.editproduct":"编辑商品",
"product.ownedshop":"所属店铺",
"product.productbrief":"卖点简介",
"product.productbriefhint":"请输入卖点简介",
"product.platformproductclassify":"平台商品分类",
"product.businessproductclassify":"商家商品分类",
"product.productgroup":"商品分组",
"product.productgrouphint":"请选择商品分组",
"product.brandhint":"请选择品牌",
"product.supplier":"供应商",
"product.supplierhint":"请输入供应商名称",
"product.productimg":"商品图片",
"product.stylesetting":"款式设置",
"product.singlestyle":"单款式",
"product.multistyle":"多款式",
"product.originalprice":"原价",
"product.rate":"税率",
"product.weight":"重量",
"product.Internationalbarcode":"国际条码",
"product.skuname":"规格名",
"product.skuvalue":"规格值",
"product.needimage":"需要配图",
"product.newsku":"添加规格",
"product.productdetail":"商品详情",
"product.needlogitics":"需要物流",
"product.allowoversold":"允许超卖",
"client.shoppingcard":"购物车",
"client.gouwucheemptytips":"购物车还没有商品赶紧选购吧!",
"client.login":"登录",
"client.unlogin":"登录后查看商品",
"client.my":"我的",
"client.loginaccount":"登录账号",
"client.MemberValue":"会员成长值",
"client.ShippingAddress":"收货地址",
"client.couponwallet":"券包",
"client.shouhoudingdan":"售后订单",
"client.homepage":"首页",
"common.beautiproduct":"宝贝",
"common.beautishop":"店铺",
"common.searchproducthint":"请输入搜索商品",
"common.searchshophint":"请输入搜索店铺",
"page.language":"多语言",
"page.classify":"分类",
"page.shoppingcart":"购物车",
"page.my":"我的",
"page.secondkillzone":"秒杀专区",
"page.groupzone":"拼团专区",
"page.limitedtimediscountsection":"限时折扣专区",
"page.memberzone":"会员专区",
"page.myintegral":"我的积分",
"page.pointexchange":"积分兑换",
"page.signintoearnpoints":"签到领积分",
"page.coupon":"优惠券",
"page.availablegoods":"可用商品",
"page.combinationpreference":"组合优惠",
"page.hotrecommendation":"热门推荐",
"page.search":"搜索",
"page.goodslist":"商品列表",
"page.goodsdetail":"详情",
"page.couponlistofavailableitems":"优惠券可用商品列表",
"page.qadetail":"问答详情",
"page.allquestionsandanswers":"全部问答",
"page.ask":"提问",
"page.myassessment":"我的评价",
"page.evaluatesuccess":"评价成功",
"page.evaluationdetails":"评价详情",
"page.goodsevaluation":"宝贝评价",
"page.additionalevaluation":"追加评价",
"page.evaluate":"评价",
"page.ordercenter":"订单中心",
"page.purchasegoods":"购买宝贝",
"page.orderdetail":"订单详情",
"page.applyforarefund":"申请退款",
"page.applyforreturnofgoods":"申请退货",
"page.selectgoods":"选择商品",
"page.platformintervention":"平台介入",
"page.paymentsuccess":"支付成功",
"page.fillinthereturnlogistics":"填写退货物流",
"page.distributioncenter":"分销中心",
"page.distributionclerkrecruitmentorder":"分销员招募令",
"page.share":"分享",
"page.cumulativedistributor":"累计分销员",
"page.cumulativereward":"累计奖励",
"page.cumulativecustomer":"累计客户",
"page.unbilledincentive":"未结算奖励",
"page.promotionshop":"推广店铺",
"page.promotegoods":"推广商品",
"page.mydistributionorder":"我的分销订单",
"page.invitesubordinates":"邀请下级",
"page.logisticsinformation":"物流信息",
"page.thematicclassification":"专题分类",
"page.generateinvitationposters":"生成邀请海报",
"page.invitefriendstoorder":"邀请好友拼单",
"page.business":"商家",
"page.membercheckin":"会员签到",
"page.login":"登录",
"page.addressmanager":"地址管理",
"page.bankcard":"银行卡",
"page.mycollection":"我的收藏",
"page.browsingfootprint":"浏览足迹",
"page.myquestionsandanswers":"我的问答",
"page.personalinformation":"个人信息",
"page.mycardcoupon":"我的卡券",
"page.myaftersales":"我的售后",
"page.returndetails":"退货详情",
"page.refunddetails":"退款详情",
"page.malluseragreement":"《Thee》商城用户协议",
"page.register":"注册",
"page.myaccount":"我的账户",
"page.withdraw":"提现",
"page.messagecenter":"消息中心",
"page.announcementdetails":"公告详情",
"page.bingphone":"绑定手机号",
"page.mobilenumberauthorization":"手机号授权",
"page.liverecommendation":"直播推荐",
"page.accountcancellation":"账户注销",
"page.cancelaccountmobileauthentication":"注销账户手机认证",
"page.index":"首页",
"page.merchantsettlement":"商家入驻",
"page.platformcustomerservice":"平台客服",
"page.signin":"签到",
"page.membercenter":"会员中心",
"page.due":"待付款",
"page.goodswaitingtobesent":"待发货",
"page.waittobereceived":"待收货",
"page.fullorder":"全部订单",
"client.shenqingruzhu":"申请入驻",
"client.myorder":"我的订单",
"client.pzbz":"品质保障",
"client.pzbzdesc":"品质护航购物无忧",
"client.jswl":"极速物流",
"client.jswldesc":"如约送货送货入户",
"client.shwy":"售后无忧",
"client.shwydesc":"七天无理由退换货",
"client.bzzx":"帮助中心",
"client.bzzxdesc":"您的购物指南",
"common.totalresult":"全部结果",
"common.sort":"排序",
"common.default":"默认",
"common.price":"价格",
"common.clear":"清空",
"common.networkerror":"哎呀网络开小差了~",
"common.searchproductempty":"搜索不到你要找的宝贝呢换个词试试吧~",
"common.searchshopempty":"搜索不到你要找的店铺呢换个词试试吧~",
"common.classifyproductempty":"该分类没有商品~",
"common.location":"所在地",
"common.entershop":"进入店铺",
"client.logindesc":"为了给您提供更好的服务",
"client.logindesc1":"我们需要您的授权哦~",
"client.loginbyphone":"手机号登录",
"client.loginbywx":"微信登录",
"client.loginbywxphone":"微信手机号授权",
"client.loginbyzfb":"支付宝登录",
"client.noaccount":"还没有账号",
"client.gotoregister":"去注册",
"client.gotohomepage":"去首页逛逛",
"common.entermobilephone":"请输入您的手机号",
"common.enterverificationcode":"请输入验证码",
"common.unsubscribe":"立即注销",
"common.verificationcodetip":"获取验证码",
"common.verificationcodetip1":"剩余%ds",
"common.verificationcodetip2":"X秒重新获取",
"common.verificationcodetip3":"重新获取",
"common.payticktip":"人付款",
"common.addtocart":"加入购物车",
"common.buynow":"立即购买",
"common.spyxj":"商品已下架",
"common.ddgm":"单独购买",
"common.wykt":"我要开团",
"common.service":"客服",
"common.synthesis":"综合",
"common.searchproduct_hint":"请输入您想要的宝贝",
"client.searchproductempty_short":"搜索不到你要找的宝贝呢",
"client.searchemptyswitchword":"换个词试试吧~",
"common.load":"加载中...",
"common.alldataloadfinish":"已经到达底部了~",
"common.add":"添加",
"product.productname_en":"商品英文名称",
"product.productnamehint_en":"请输入商品英文名称",
"product.productbrief_en":"卖点英文简介",
"product.productbriefhint_en":"请输入卖点英文简介",
"product.productdetail_en":"商品英文详情",
"client.alreadyhasaccount":"已有账号,",
"client.tologin":"去登录",
"client.registermeansagree":"注册即代表同意",
"client.appuserservice":"《APP用户服务协议》",
"client.appsafeservice":"《APP个人隐私协议》",
"common.and":"和",
"common.validity":"有效期",
"common.collectnow":"立即领取",
"common.collected":"已领取",
"common.used":"已使用",
"common.expired":"已过期",
"common.fail":"失败",
"common.orderno":"订单号",
"common.commission":"佣金",
"common.productnum":"商品数",
"Synthesis":"实付金额",
"common.buyer":"下单人",
"common.status":"状态",
"common.unsettled":"未结算",
"common.settled":"已结算",
"client.emptydata":"这里空空如也~",
"common.refund":"退款",
"common.return":"退货",
"common.shz":"审核中",
"common.tkz":"退款中",
"common.tkwc":"退款完成",
"common.tksb":"退款失败",
"common.shbtg":"审核不通过",
"common.psz":"评审中",
"common.cxsq":"撤销申请",
"common.shtg":"审核通过",
"common.thshz":"退货审核中",
"common.thz":"退货中",
"common.ytk":"已退款",
"common.thwc":"退货完成,拒绝退款",
"common.deleterecord":"删除记录",
"common.viewdetail":"查看详情",
"common.cxth":"撤销退货",
"common.cxtk":"撤销退款",
"common.zwxsjl":"暂无售后记录~",
"common.sfsccjl":"是否删除此记录",
"common.reason":"原因",
"product.language":"语言",
"product.ownedshop_hint":"请选择所属店铺",
"product.skuname_en":"规格名(英文)",
"product.skuvalue_en":"规格值(英文)",
"common.hotsearch":"热门搜索",
"client.hotsearchhide":"当前热门搜索已隐藏",
"common.historysearch":"历史搜素",
"common.manager":"管理",
"common.finish":"完成",
"common.totalitemnum":"共{number}件宝贝",
"common.refundtotalamount":"退款总金额",
"common.refundwaitbusiness":"您已成功发起退款申请,请耐心等待商家处理。",
"common.refundbusinessagree":"卖家同意或超时未处理,系统将退款给您",
"common.refundbusinessreject":"如果卖家拒绝,您可以修改退款申请后再次发起,卖家会重新处理",
"common.refundsuccess":"已原路退回金额",
"common.platforminterventionfail":"平台介入申请失败",
"common.tkcxsuccess":"因您撤销退款申请,退款已关闭",
"common.tkinfo":"退款信息",
"common.tkamount":"退款金额",
"common.tkno":"退款编号",
"common.tkapplytime":"申请时间",
"common.tkxshistory":"协商历史",
"common.platforminterventionwait":"你已申请平台介入正在审核中...",
"common.chooseall":"全选",
"client.deletefootprinttips":"是否删除该浏览足迹?",
"common.head":"头像",
"common.nickname":"昵称",
"common.sex":"性别",
"common.birthday":"生日",
"common.realname":"真实姓名",
"common.idcard":"身份证",
"common.mobilephone":"手机号",
"common.yhysxy":"用户隐私协议",
"common.yhfwxy":"用户服务协议",
"common.cancelaccount":"注销账号",
"common.modifysex":"修改性别",
"common.modifybirthday":"修改生日",
"page.mallusersafement":"《Thee》商城隐私协议",
"common.ask":"问",
"common.answer":"答",
"common.replycount":"{number}条回复",
"common.replycountempty":"暂无回复",
"common.askcountempty":"暂无提问内容",
"common.answercount":"{number}条回答",
"common.answercountempty":"暂无回答",
"common.deleteanswertitle":"删除回答?",
"common.deleteanswercontent":"删除回答后无法恢复",
"common.deleteanswerbtn":"继续删除",
"common.applywithdraw":"提现申请",
"common.historyrecord":"历史记录",
"common.agree":"通过",
"common.reject":"拒绝",
"common.bankaccount":"银行卡号",
"common.time":"时间",
"common.unreadmsgcount":"未读消息{number}条",
"common.ordermsg":"订单消息",
"common.systemnotice":"系统消息",
"common.msgempty":"暂无消息",
"common.balance":"余额",
"common.withdraw":"提现",
"common.bankaccountempty":"你还没有添加银行卡哦~",
"common.addressempty":"你还没有添加地址哦~",
"common.name":"姓名",
"common.mobilephone":"手机号码",
"common.bankname":"银行名称",
"common.cardnum":"卡号",
"common.collect":"收藏",
"common.fans":"粉丝数",
"client.tobedistributor":"成为分销员",
"common.collectsuccess":"收藏成功",
"common.canclecollectsuccess":"取消收藏成功",
"common.express":"快递",
"common.choosesimple":"选择",
"client.commodityqa":"商品问答",
"common.goodsdetail":"宝贝详情",
"common.classifynum":"商品总类",
"common.soldnum":"已售:{number}件",
"common.stocknum":"库存 {number}件",
"common.understock":"库存不足",
"common.mobilephone_hint":"请输入手机号码",
"common.autologin":"自动登录",
"common.forgetpassword":"忘记密码",
"common.sjdl":"商家登录",
"common.account_hint":"请输入账户",
"common.password_hint":"请输入密码",
"common.login_max":"登 录",
"common.logining":"登 录 中...",
"common.resetpassword":"找回密码",
"common.backtologin":"返回登录",
"common.ensure_edit":"确 认 修 改",
"common.submit_max":"提 交 中...",
"common.login_pssword_mode":"账户密码",
"common.login_phone_mode":"手机号码",
"common.returnperson":"收货人",
"common.address":"地址",
"common.home":"家",
"common.company":"公司",
"common.school":"学校",
"common.returnperson_empty":"请输入收货人!",
"common.phonenumber_empty":"请输入手机号!",
"common.phonenumber_error":"请输入正确的手机号!",
"common.location_empty":"所在地不能为空!",
"common.location_detail_empty":"请输入详细地址!",
"common.removeaddress_tips":"是否删除此地址?",
"common.addresstag":"地址标签",
"common.addressdefault":"设为默认地址",
"common.deleteaddress":"删除收货地址",
"common.location_detail_hint":"详细地址:如道路、门牌号、小区、楼栋号、单元等",
"common.deleteproducttips":"您确定删除选中的商品吗?",
"common.cartzuhetips":"已满足【{price}元任选{number}件】!",
"common.clicktologin":"点击登录",
"common.clicklogintips":"登录后享受更多权益~"
}

35
src/main.js

@ -6,12 +6,46 @@ import router from './router'
import store from './store'
// import '@/config/rem' // 配置flex
import 'normalize.css' // 重置样式表
import VueI18n from "vue-i18n"
Vue.use( VueI18n)
//引入element-ui语言
import elementEnLocale from 'element-ui/lib/locale/lang/en'
import elementZhLocale from 'element-ui/lib/locale/lang/zh-CN'
// import '@/styles/element-ui-style.css' // 重置样式表
import ElementUI from 'element-ui'
import './../theme/index.css'
import qs from 'qs'
import SvgIcon from '@/components/Icon/SvgIcon.vue' // svg组件
const messages = {
"en":{
... require('./locales/en.json'),
...elementEnLocale
},
"zh":{
... require('./locales/zh-CN.json'),
...elementZhLocale
}
}
const i18n = new VueI18n({
locale: localStorage.getItem("language") || 'zh',//指定默认语言
messages,
})
Vue.use(ElementUI, {
i18n: (key, value) => i18n.t(key, value)
})
window.i18n = i18n;
// 注册到全局
Vue.component('icon-svg', SvgIcon)
@ -85,6 +119,7 @@ new Vue({
el: '#app',
router,
store,
i18n,
components: { App },
template: '<App/>'
})

5
src/util/server.js

@ -44,10 +44,11 @@ service.interceptors.request.use(config => {
return config
}
}
config.headers['project'] = ''
config.headers['project'] = '0'
}else{
config.headers['project'] = ''
config.headers['project'] = '0'
}
config.headers['language'] = localStorage.getItem("language") || 'zh'
return config
}, error => {
return Promise.reject(error)

2
src/views/afterSale/index.vue

@ -71,7 +71,7 @@
</div>
<div class="productInfo">
<div class="top">
<p class="big"><span>宝贝</span></p>
<p class="big"><span>{{ $t('common.beautiproduct') }}</span></p>
<p>宝贝属性</p>
<p>状态</p>
<p>数量</p>

12
src/views/category/index.vue

@ -2,7 +2,7 @@
<div class="category">
<div class='banxin'>
<div class='head'>
<div class='all'>全部结果</div>
<div class='all'>{{ $t('common.totalresult') }}</div>
<i class="el-icon-arrow-right" />
<div class='keyword'>{{classifyName}}</div>
<!-- <i v-if="classifyName" class="el-icon-arrow-right" />-->
@ -10,17 +10,17 @@
<img class="banner" v-if="classifyBanner !== ''" :src="classifyBanner" alt="">
<div class="content">
<div class='sort'>
<div>排序</div>
<div class='default' :class="index=='1'?'active':''" @click="defaultSort()">默认</div>
<div>{{ $t('common.sort') }}</div>
<div class='default' :class="index=='1'?'active':''" @click="defaultSort()">{{ $t('common.default') }}</div>
<div class='price' :class="index=='2'?'active':''" @click="priceSort()">
价格
{{ $t('common.price') }}
<div class='arr'>
<div class='up' :class="type==1?'low':''"></div>
<div class='down' :class="type==2?'high':''"></div>
</div>
</div>
<div class='sales' :class="index=='3'?'active':''" @click="salesSort()">
销量
{{ $t('product.salesvolume') }}
<div class='arr'>
<div class='up' :class="index=='3' && volume==1?'low':''"></div>
<div class='down' :class="index=='3' && volume==2?'high':''"></div>
@ -34,7 +34,7 @@
</div>
<div v-else class="noproduct">
<icon-svg style="width: 240px; height: 240px; margin-bottom: 20px;" icon-class="user-order-nodata" />
<p class="fs20 font-color-999">该分类没有商品</p>
<p class="fs20 font-color-999">{{ $t('common.classifyproductempty') }}</p>
</div>
</div>
<el-pagination

2
src/views/orderDetail/index.vue

@ -84,7 +84,7 @@
<!-- 商品信息 -->
<div class="productInfo">
<div class="top">
<p class="big"><span>宝贝</span></p>
<p class="big"><span>{{ $t('common.beautiproduct') }}</span></p>
<p>宝贝属性</p>
<p>状态</p>
<p>数量</p>

2
src/views/placeOrder/components/shopOrder.vue

@ -2,7 +2,7 @@
<div class="shopOrder">
<div class="shopName flexCom">
<div class="flex1 itemShop">店铺{{shopsData.shopName}}</div>
<div class="flex3 itemName">宝贝</div>
<div class="flex3 itemName">{{ $t('common.beautiproduct') }}</div>
<div class="flex1">宝贝属性</div>
<div class="flex1">单价</div>
<div class="flex1">数量</div>

10
src/views/product/productHead.vue

@ -21,17 +21,17 @@
<div class="search">
<div class="searchSelect">
<el-dropdown @command="searchCommand" trigger="click">
<span class="el-dropdown-link">{{searchVal}}
<span class="el-dropdown-link">{{(searchVal === 'product') ? $t('common.beautiproduct') : $t('common.beautishop')}}
<i class="el-icon-arrow-down cur-poi el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="宝贝">宝贝</el-dropdown-item>
<el-dropdown-item command="店铺">店铺</el-dropdown-item>
<el-dropdown-item command="product">{{ $t('common.beautiproduct') }}</el-dropdown-item>
<el-dropdown-item command="shop">{{ $t('common.beautishop') }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
<div class="searchRight">
<input type="text" v-model="keyword" @keyup.enter="searchPro" placeholder="请输入搜索商品">
<input type="text" v-model="keyword" @keyup.enter="searchPro" :placeholder="$t('common.searchproducthint')">
</div>
<span class="btn cur-poi" @click="searchPro"><i class="icon el-icon-search"></i></span>
</div>
@ -50,7 +50,7 @@ export default {
name: 'productHead',
data () {
return {
searchVal: '宝贝',
searchVal: 'product',
keyword: '',
hasService: false
}

46
src/views/search/index.vue

@ -3,55 +3,55 @@
<div class='banxin'>
<div class='head'>
<div class="bread">
<div class='all'>全部结果</div>
<div class='all'>{{ $t('common.totalresult') }}</div>
<i class="el-icon-arrow-right" />
<div class='keyword'>{{keyword}}</div>
<i v-if="keyword" class="el-icon-arrow-right" />
</div>
<div class='sort'>
<div>排序</div>
<div class='default' :class="index=='1'?'active':''" @click="defaultSort()">默认</div>
<div>{{ $t('common.sort') }}</div>
<div class='default' :class="index=='1'?'active':''" @click="defaultSort()">{{ $t('common.default') }}</div>
<div class='price' :class="index=='2'?'active':''" @click="priceSort()">
价格
{{ $t('common.price') }}
<div class='arr'>
<div class='up' :class="type==1?'low':''"></div>
<div class='down' :class="type==2?'high':''"></div>
</div>
</div>
<div class='sales' :class="index=='3'?'active':''" @click="salesSort()">
销量
{{ $t('product.salesvolume') }}
<div class='arr'>
<div class='up' :class="index=='3' && volume==1 ?'low':''"></div>
<div class='down' :class="index=='3' && volume==2 ?'high':''"></div>
</div>
</div>
<div class="priceBox" v-if="searchVal=='宝贝'">
<div class="priceBox" v-if="searchVal=='product'">
<div class='min'>¥<input type='number' v-model="minMoney" /></div>
<div style='margin: 0 8px'>-</div>
<div class='max'>¥<input type='number' v-model="maxMoney" /></div>
<div class='btn' @click="priceSearch">确定</div>
<div class='clear' @click="clearMoney">清空</div>
<div class='btn' @click="priceSearch">{{ $t('common.sure') }}</div>
<div class='clear' @click="clearMoney">{{ $t('common.clear') }}</div>
</div>
</div>
</div>
<div class='result'>
<div class="pro" v-if="searchVal=='宝贝' && noProduct==false" v-loading="loading">
<div class="pro" v-if="searchVal=='product' && noProduct==false" v-loading="loading">
<ProductList :productList='productList'></ProductList>
</div>
<div class="empty" v-if="searchVal=='宝贝' && noProduct==true && network==false">
<div class="empty" v-if="searchVal=='product' && noProduct==true && network==false">
<icon-svg style="width: 240px; height: 240px; margin-bottom: 20px;" icon-class="no-result" />
<p class="fs20 font-color-999">搜索不到你要找的宝贝呢换个词试试吧</p>
<p class="fs20 font-color-999">{{ $t('common.searchproductempty') }}</p>
</div>
<div class="empty" v-if="searchVal=='店铺' && noShop==true && network==false">
<div class="empty" v-if="searchVal=='shop' && noShop==true && network==false">
<icon-svg style="width: 240px; height: 240px; margin-bottom: 20px;" icon-class="no-result" />
<p class="fs20 font-color-999">搜索不到你要找的店铺呢换个词试试吧</p>
<p class="fs20 font-color-999">{{ $t('common.searchshopempty') }}</p>
</div>
<!-- <div class="network" v-if="searchVal=='宝贝' && noProduct==true && network==true"> -->
<!-- <div class="network" v-if="searchVal=='product' && noProduct==true && network==true"> -->
<div class="network" v-if="network">
<icon-svg style="width: 240px; height: 240px; margin-bottom: 20px;" icon-class="net-error" />
<p class="fs20 font-color-999">哎呀网络开小差了</p>
<p class="fs20 font-color-999">{{ $t('common.networkerror') }}</p>
</div>
<div class='store' v-if="searchVal=='店铺' && noShop==false" v-loading="loading1">
<div class='store' v-if="searchVal=='shop' && noShop==false" v-loading="loading1">
<div class='storeBox' v-for="(item,index) in storeList" :key="index">
<div class='top'>
<img
@ -61,9 +61,9 @@
/>
<div class='storeDesc'>
<p class='storeName'>{{item.shopName}}</p>
<p class='storeSite'><span>所在地</span>{{item.shopAdress}}</p>
<p class='storeSite'><span>{{ $t('common.location') }}</span>{{item.shopAdress}}</p>
</div>
<div class='enter' @click="toStore(item.shopId)">进入店铺>></div>
<div class='enter' @click="toStore(item.shopId)">{{ $t('common.entershop') }}>></div>
</div>
<div class='content' v-if="item.skus.length">
<div class='productBox' v-for="(items,indexs) in item.skus" :key="indexs" @click="toProductDetail(item.shopId,items)">
@ -145,7 +145,7 @@ export default {
this.searchVal = this.searchObj.searchVal
this.maxMoney = ''
this.minMoney = ''
if (this.searchVal === '宝贝') {
if (this.searchVal === 'product') {
this.getSearchProducts()
} else {
this.getShops()
@ -233,7 +233,7 @@ export default {
},
handleCurrentChange (val) {
this.page = val
if (this.searchVal === '宝贝') {
if (this.searchVal === 'product') {
this.getSearchProducts()
} else {
this.getShops()
@ -252,7 +252,7 @@ export default {
this.page = 1
this.maxMoney = ''
this.minMoney = ''
if (this.searchVal === '宝贝') {
if (this.searchVal === 'product') {
this.getSearchProducts()
} else {
this.getShops()
@ -270,7 +270,7 @@ export default {
this.volume = ''
this.maxMoney = ''
this.minMoney = ''
if (this.searchVal === '宝贝') {
if (this.searchVal === 'product') {
this.getSearchProducts()
} else {
this.getShops()
@ -288,7 +288,7 @@ export default {
this.type = ''
this.maxMoney = ''
this.minMoney = ''
if (this.searchVal === '宝贝') {
if (this.searchVal === 'product') {
this.getSearchProducts()
} else {
this.getShops()

2
src/views/shopping-trolley/index.vue

@ -443,7 +443,7 @@ export default {
const response = await deleteCartItem({ ids })
const res = response.data
if (res.code === '200') {
this.$message.success('删除成功')
this.$message.success($t('common.deletesuccess'))
}
let flag = 0
this.list.forEach(item => {

2
src/views/userCenter/browseRecords/browseRecords.vue

@ -163,7 +163,7 @@ export default {
})
const res = response.data
if (res.code === '200') {
this.$message.success('删除成功')
this.$message.success($t('common.deletesuccess'))
this.edit = false
this.getFootprint()
} else {

4
src/views/userCenter/favorites/favorites.vue

@ -10,8 +10,8 @@
<span class="delete" @click="cancelFun">取消收藏</span>
<span class="save" @click="saveList">保存</span>
</div>
<input v-if="activeName==='commodity'" type="text" v-model="keyword" @keyup.enter="searchPro" placeholder="请输入搜索商品">
<input v-else type="text" v-model="keyword" @keyup.enter="searchPro" placeholder="请输入搜索店铺">
<input v-if="activeName==='commodity'" type="text" v-model="keyword" @keyup.enter="searchPro" :placeholder="$t('common.searchproducthint')">
<input v-else type="text" v-model="keyword" @keyup.enter="searchPro" :placeholder="$t('common.searchshophint')">
<span class="searchBtn" @click="searchPro">
<icon-svg icon-class="search" />
</span>

2
src/views/userCenter/messageCenter/message.vue

@ -175,7 +175,7 @@ export default {
const response = await noticeDel({ noticeId: item.noticeId })
const res = response.data
if (res.code === '200') {
this.$message.success('删除成功')
this.$message.success($t('common.deletesuccess'))
this.getAll()
} else {
this.$message.error(res.msg)

4
src/views/userCenter/messageCenter/qalist.vue

@ -322,7 +322,7 @@ export default {
const response = await delMyProblem({ ids: ids })
const res = response.data
if (res.code === '200') {
this.$message.success('删除成功')
this.$message.success($t('common.deletesuccess'))
this.edit = false
this.selectAll = 0
this.getSelfProblems()
@ -334,7 +334,7 @@ export default {
const response = await delMyAnswers({ ids: ids })
const res = response.data
if (res.code === '200') {
this.$message.success('删除成功')
this.$message.success($t('common.deletesuccess'))
this.edit = false
this.selectAll = 0
this.getSelfAnswers()

2
src/views/userCenter/signingAddress/signingAddress.vue

@ -145,7 +145,7 @@ export default {
const res = response.data
if (res.code === '200') {
this.showDeleteAdd = false
this.$message.success('删除成功')
this.$message.success($t('common.deletesuccess'))
this.page = 0
this.addressData = []
this.getAddressList()

9142
yarn.lock
File diff suppressed because it is too large
View File

Loading…
Cancel
Save