feat: add and optimize multiple multilingual language packs
1. 新增拼团、砍价、分销、支付、地址、账户等多业务场景的中英文本地化文案 2. 替换项目中硬编码的文本为多语言调用,统一前端页面文案展示 3. 新增多个业务组件的国际化语言配置文件
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</view>
|
||||
<image v-else class="left-img" :src="$util.img(value.titleStyle.leftImg)" mode="heightFix" show-menu-by-longpress></image>
|
||||
<view class="head-content" v-if="value.titleStyle.style == 'style-1'"
|
||||
:style="{ color: value.titleStyle.textColor }">低至0元免费拿</view>
|
||||
:style="{ color: value.titleStyle.textColor }">{{ $lang('components-diy.diyBargain.freeGet') }}</view>
|
||||
<view class="head-right"
|
||||
:style="{ fontSize: value.titleStyle.moreFontSize * 2 + 'rpx', color: value.titleStyle.moreColor }"
|
||||
@tap.stop="$util.redirectTo('/pages_promotion/bargain/list')">
|
||||
@@ -44,19 +44,19 @@
|
||||
:src="$util.img('public/uniapp/bargain/progress_bar_01.png')" show-menu-by-longpress/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="num" v-if="item.is_bargaining">
|
||||
已砍
|
||||
<text>¥{{ (item.price - item.curr_price).toFixed(2) }}</text>
|
||||
,仅差
|
||||
<text>¥{{ item.curr_price }}</text>
|
||||
</view>
|
||||
<view class="num" v-else>
|
||||
最低可砍至
|
||||
<text>¥{{ item.floor_price }}</text>
|
||||
</view>
|
||||
<view class="num" v-if="item.is_bargaining">
|
||||
{{ $lang('components-diy.diyBargain.bargained') }}
|
||||
<text>¥{{ (item.price - item.curr_price).toFixed(2) }}</text>
|
||||
{{ $lang('components-diy.diyBargain.onlyDiff') }}
|
||||
<text>¥{{ item.curr_price }}</text>
|
||||
</view>
|
||||
<view class="num" v-else>
|
||||
{{ $lang('components-diy.diyBargain.minBargainTo') }}
|
||||
<text>¥{{ item.floor_price }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="progress" v-if="value.style == 'style-3'">
|
||||
最低可砍至
|
||||
{{ $lang('components-diy.diyBargain.minBargainTo') }}
|
||||
<text class="num">¥{{ item.floor_price }}</text>
|
||||
</view>
|
||||
<view class="price-wrap">
|
||||
@@ -75,7 +75,7 @@
|
||||
color: value.btnStyle.theme == 'diy' ? value.btnStyle.textColor : '',
|
||||
borderRadius: value.btnStyle.aroundRadius * 2 + 'rpx'
|
||||
}">
|
||||
{{ item.is_bargaining ? '继续砍价' : value.btnStyle.text }}
|
||||
{{ item.is_bargaining ? $lang('components-diy.diyBargain.continueBargain') : value.btnStyle.text }}
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -96,7 +96,7 @@
|
||||
<view class="num"
|
||||
v-if="value.saleStyle.control && value.template == 'horizontal-slide' && value.style != 'style-2'"
|
||||
:style="{ color: value.theme == 'diy' ? value.saleStyle.color : '' }">
|
||||
已砍{{ item.sale_num }}件
|
||||
{{ $lang('components-diy.diyBargain.soldCount', { num: item.sale_num }) }}
|
||||
</view>
|
||||
</view>
|
||||
<view :class="['content', { 'multi-content': value.nameLineMode == 'multiple' }]"
|
||||
@@ -141,7 +141,7 @@
|
||||
<view class="num"
|
||||
v-if="value.saleStyle.control && value.template == 'horizontal-slide' && value.style != 'style-2'"
|
||||
:style="{ color: value.theme == 'diy' ? value.saleStyle.color : '' }">
|
||||
已砍{{ item.sale_num }}件
|
||||
{{ $lang('components-diy.diyBargain.soldCount', { num: item.sale_num }) }}
|
||||
</view>
|
||||
</view>
|
||||
<view :class="['content', { 'multi-content': value.nameLineMode == 'multiple' }]"
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
:style="{ color: value.theme == 'diy' ? value.groupStyle.bgColor : '', borderColor: value.theme == 'diy' ? value.groupStyle.bgColor : '' }">
|
||||
<text class="iconfont icon-yonghu3"
|
||||
:style="{ backgroundColor: value.theme == 'diy' ? value.groupStyle.bgColor : '' }"></text>
|
||||
<text>{{ item.pintuan_num }}人团</text>
|
||||
<text>{{ $lang('components-diy.diyPinfan.peopleGroup', { num: item.pintuan_num }) }}</text>
|
||||
</view>
|
||||
<view v-if="value.saleStyle.control"
|
||||
:style="{ color: value.theme == 'diy' ? value.saleStyle.color : '', borderColor: value.theme == 'diy' ? value.saleStyle.color : '' }">
|
||||
<text>已拼{{ item.order_num }}件</text>
|
||||
<text>{{ $lang('components-diy.diyPinfan.soldCount', { num: item.order_num }) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="price-wrap">
|
||||
@@ -49,10 +49,9 @@
|
||||
borderRadius: value.btnStyle.aroundRadius * 2 + 'rpx'
|
||||
}">
|
||||
<text class="text">{{ value.btnStyle.text }}</text>
|
||||
<text class="fan" v-if="item.reward_type == 4">返{{ item.reward_type_num }}积分</text>
|
||||
<text class="fan" v-if="item.reward_type == 1 || item.reward_type == 2">返¥{{
|
||||
item.reward_type_num }}</text>
|
||||
<text class="fan" v-if="item.reward_type == 3">返优惠券</text>
|
||||
<text class="fan" v-if="item.reward_type == 4">{{ $lang('components-diy.diyPinfan.backPoints', { num: item.reward_type_num }) }}</text>
|
||||
<text class="fan" v-if="item.reward_type == 1 || item.reward_type == 2">{{ $lang('components-diy.diyPinfan.backCash', { num: item.reward_type_num }) }}</text>
|
||||
<text class="fan" v-if="item.reward_type == 3">{{ $lang('components-diy.diyPinfan.backCoupon') }}</text>
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -78,21 +77,21 @@
|
||||
<view v-if="value.groupStyle.control" class="num">
|
||||
<text class="content-tuan-box"
|
||||
:style="{ color: value.theme == 'diy' ? value.groupStyle.color : '', backgroundColor: value.theme == 'diy' ? value.groupStyle.bgColor : '' }">
|
||||
{{ item.pintuan_num }}人团
|
||||
{{ $lang('components-diy.diyPinfan.peopleGroup', { num: item.pintuan_num }) }}
|
||||
</text>
|
||||
<text class="content-tuan-price"
|
||||
:style="{ color: value.theme == 'diy' ? value.groupStyle.bgColor : '' }"
|
||||
v-if="item.reward_type == 4">
|
||||
返{{ item.reward_type_num }}积分
|
||||
{{ $lang('components-diy.diyPinfan.backPoints', { num: item.reward_type_num }) }}
|
||||
</text>
|
||||
<text class="content-tuan-price"
|
||||
:style="{ color: value.theme == 'diy' ? value.groupStyle.bgColor : '' }"
|
||||
v-if="item.reward_type == 1 || item.reward_type == 2">
|
||||
返¥{{ item.reward_type_num }}
|
||||
{{ $lang('components-diy.diyPinfan.backCash', { num: item.reward_type_num }) }}
|
||||
</text>
|
||||
<text class="content-tuan-price"
|
||||
:style="{ color: value.theme == 'diy' ? value.groupStyle.bgColor : '' }"
|
||||
v-if="item.reward_type == 3">返优惠券</text>
|
||||
v-if="item.reward_type == 3">{{ $lang('components-diy.diyPinfan.backCoupon') }}</text>
|
||||
</view>
|
||||
<view class="price-wrap" v-if="value.priceStyle.mainControl">
|
||||
<text class="unit price-style small"
|
||||
@@ -129,22 +128,22 @@
|
||||
<view v-if="value.groupStyle.control" class="num">
|
||||
<text class="content-tuan-box"
|
||||
:style="{ color: value.theme == 'diy' ? value.groupStyle.color : '', backgroundColor: value.theme == 'diy' ? value.groupStyle.bgColor : '' }">
|
||||
{{ item.pintuan_num }}人团
|
||||
{{ $lang('components-diy.diyPinfan.peopleGroup', { num: item.pintuan_num }) }}
|
||||
</text>
|
||||
<text class="content-tuan-price"
|
||||
:style="{ color: value.theme == 'diy' ? value.groupStyle.bgColor : '' }"
|
||||
v-if="item.reward_type == 4">
|
||||
返{{ item.reward_type_num }}积分
|
||||
{{ $lang('components-diy.diyPinfan.backPoints', { num: item.reward_type_num }) }}
|
||||
</text>
|
||||
<text class="content-tuan-price"
|
||||
:style="{ color: value.theme == 'diy' ? value.groupStyle.bgColor : '' }"
|
||||
v-if="item.reward_type == 1 || item.reward_type == 2">
|
||||
返¥{{ item.reward_type_num }}
|
||||
{{ $lang('components-diy.diyPinfan.backCash', { num: item.reward_type_num }) }}
|
||||
</text>
|
||||
<text class="content-tuan-price"
|
||||
:style="{ color: value.theme == 'diy' ? value.groupStyle.bgColor : '' }"
|
||||
v-if="item.reward_type == 3">
|
||||
返优惠券
|
||||
{{ $lang('components-diy.diyPinfan.backCoupon') }}
|
||||
</text>
|
||||
</view>
|
||||
<view class="price-wrap" v-if="value.priceStyle.mainControl">
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</view>
|
||||
<view :style="{ color: value.titleStyle.textColor }">
|
||||
<text>{{ value.titleStyle.virtualNum || headData.pintuan_count }}</text>
|
||||
<text>{{ value.titleStyle.style == 'style-2' ? '人参与' : '人拼团成功' }}</text>
|
||||
<text>{{ value.titleStyle.style == 'style-2' ? $lang('components-diy.diyPintuan.peopleParticipating') : $lang('components-diy.diyPintuan.peopleGroupSuccess') }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="head-right"
|
||||
@@ -59,11 +59,11 @@
|
||||
}">
|
||||
<text class="iconfont icon-yonghu3"
|
||||
:style="{ backgroundColor: value.theme == 'diy' ? value.groupStyle.bgColorStart : '' }"></text>
|
||||
<text>{{ item.pintuan_num }}人团</text>
|
||||
<text>{{ $lang('components-diy.diyPintuan.peopleGroup', { num: item.pintuan_num }) }}</text>
|
||||
</view>
|
||||
<view v-if="value.saleStyle.control"
|
||||
:style="{ color: value.theme == 'diy' ? value.saleStyle.color : '', borderColor: value.theme == 'diy' ? value.saleStyle.color : '' }">
|
||||
<text>已拼{{ item.order_num }}件</text>
|
||||
<text>{{ $lang('components-diy.diyPintuan.soldCount', { num: item.order_num }) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
color: value.theme == 'diy' ? value.groupStyle.color : '',
|
||||
background: value.theme == 'diy' ? 'linear-gradient(to right,' + value.groupStyle.bgColorStart + ',' + value.groupStyle.bgColorEnd + ')' : ''
|
||||
}">
|
||||
{{ item.pintuan_num }}人团
|
||||
{{ $lang('components-diy.diyPintuan.peopleGroup', { num: item.pintuan_num }) }}
|
||||
</view>
|
||||
</view>
|
||||
<view :class="['content', { 'multi-content': value.nameLineMode == 'multiple' }]"
|
||||
@@ -148,10 +148,10 @@
|
||||
{{ '.' + item.pintuan_price.split('.')[1] }}
|
||||
</text>
|
||||
</view>
|
||||
<view class="sale-action">去参团</view>
|
||||
<view class="sale-action">{{ $lang('components-diy.diyPintuan.joinGroup') }}</view>
|
||||
</view>
|
||||
|
||||
<view class="sale-num" v-if="value.style == 'style-2'">已拼{{ item.sale_num }}件</view>
|
||||
<view class="sale-num" v-if="value.style == 'style-2'">{{ $lang('components-diy.diyPintuan.soldCount', { num: item.sale_num }) }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
@@ -170,7 +170,7 @@
|
||||
color: value.theme == 'diy' ? value.groupStyle.color : '',
|
||||
background: value.theme == 'diy' ? 'linear-gradient(to right,' + value.groupStyle.bgColorStart + ',' + value.groupStyle.bgColorEnd + ')' : ''
|
||||
}">
|
||||
{{ item.pintuan_num }}人团
|
||||
{{ $lang('components-diy.diyPintuan.peopleGroup', { num: item.pintuan_num }) }}
|
||||
</view>
|
||||
</view>
|
||||
<view :class="['content', { 'multi-content': value.nameLineMode == 'multiple' }]"
|
||||
@@ -192,7 +192,7 @@
|
||||
{{ '.' + item.pintuan_price.split('.')[1] }}
|
||||
</text>
|
||||
</view>
|
||||
<view class="sale-num" v-if="value.style == 'style-2'">已拼{{ item.sale_num }}件</view>
|
||||
<view class="sale-num" v-if="value.style == 'style-2'">{{ $lang('components-diy.diyPintuan.soldCount', { num: item.sale_num }) }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</swiper-item>
|
||||
|
||||
19
lang/en-us/components-diy/diy-bargain.js
Normal file
19
lang/en-us/components-diy/diy-bargain.js
Normal file
@@ -0,0 +1,19 @@
|
||||
export const lang = {
|
||||
// Head text: 低至0元免费拿
|
||||
freeGet: 'Get it free from ¥0',
|
||||
|
||||
// Progress text: 已砍
|
||||
bargained: 'Bargained',
|
||||
|
||||
// Progress text: ,仅差
|
||||
onlyDiff: ', only',
|
||||
|
||||
// Progress text: 最低可砍至
|
||||
minBargainTo: 'Min. bargain to',
|
||||
|
||||
// Button text: 继续砍价
|
||||
continueBargain: 'Continue',
|
||||
|
||||
// Sold count: 已砍{num}件
|
||||
soldCount: '{num} sold',
|
||||
}
|
||||
16
lang/en-us/components-diy/diy-pinfan.js
Normal file
16
lang/en-us/components-diy/diy-pinfan.js
Normal file
@@ -0,0 +1,16 @@
|
||||
export const lang = {
|
||||
// Group buy people count
|
||||
peopleGroup: '{num}-person group',
|
||||
|
||||
// Sold count
|
||||
soldCount: '{num} sold',
|
||||
|
||||
// Points reward
|
||||
backPoints: '+{num} pts',
|
||||
|
||||
// Cash reward
|
||||
backCash: '+¥{num}',
|
||||
|
||||
// Coupon reward
|
||||
backCoupon: 'Coupon',
|
||||
}
|
||||
16
lang/en-us/components-diy/diy-pintuan.js
Normal file
16
lang/en-us/components-diy/diy-pintuan.js
Normal file
@@ -0,0 +1,16 @@
|
||||
export const lang = {
|
||||
// Header subtitle: participating people count (style-2)
|
||||
peopleParticipating: 'participating',
|
||||
|
||||
// Header subtitle: successful group buy people count
|
||||
peopleGroupSuccess: 'joined successfully',
|
||||
|
||||
// Group buy people count tag
|
||||
peopleGroup: '{num}-person group',
|
||||
|
||||
// Sold count
|
||||
soldCount: '{num} sold',
|
||||
|
||||
// Join group button
|
||||
joinGroup: 'Join Group',
|
||||
}
|
||||
27
lang/en-us/components/ns-birthday-gift.js
Normal file
27
lang/en-us/components/ns-birthday-gift.js
Normal file
@@ -0,0 +1,27 @@
|
||||
export const lang = {
|
||||
// ===== ns-birthday-gift component =====
|
||||
nsBirthdayGift: {
|
||||
// Title
|
||||
birthdayGift: 'Birthday Gift',
|
||||
|
||||
// Blessing message
|
||||
defaultBlessing: 'Thank you for your continued support. On your birthday, we send you our most sincere blessings!',
|
||||
|
||||
// Points
|
||||
points: 'points',
|
||||
pointDesc: 'Use for cash deduction or product exchange',
|
||||
|
||||
// Red packet
|
||||
yuanRedPacket: ' yuan red packet',
|
||||
nonWithdrawable: 'Non-withdrawable red packet',
|
||||
withdrawable: 'Withdrawable red packet',
|
||||
|
||||
// Coupon
|
||||
yuanCoupon: ' yuan coupon',
|
||||
discount: '% off',
|
||||
couponDesc: 'Use for cash deduction or product exchange',
|
||||
|
||||
// Action button
|
||||
viewNow: 'View Now',
|
||||
}
|
||||
}
|
||||
24
lang/en-us/components/ns-new-gift.js
Normal file
24
lang/en-us/components/ns-new-gift.js
Normal file
@@ -0,0 +1,24 @@
|
||||
export const lang = {
|
||||
// ===== ns-new-gift component =====
|
||||
nsNewGift: {
|
||||
// Thank you hint - with activity name parameter
|
||||
thankYouHint: 'Thank you for your continued support. As a token of appreciation, we offer the following benefits for our members during the {activityName} festival',
|
||||
|
||||
// Points
|
||||
points: 'points',
|
||||
pointDesc: 'Use for deduction when purchasing products in activities',
|
||||
|
||||
// Red packet
|
||||
yuanRedPacket: ' yuan red packet',
|
||||
nonWithdrawableDesc: 'Non-withdrawable red packet',
|
||||
withdrawableDesc: 'Withdrawable red packet',
|
||||
|
||||
// Coupon
|
||||
yuanCoupon: ' yuan coupon',
|
||||
discount: '% off',
|
||||
couponDesc: 'Use for cash deduction or product exchange when ordering',
|
||||
|
||||
// Action button
|
||||
viewNow: 'View Now',
|
||||
}
|
||||
}
|
||||
16
lang/en-us/components/nsGoodsPromotion.js
Normal file
16
lang/en-us/components/nsGoodsPromotion.js
Normal file
@@ -0,0 +1,16 @@
|
||||
export const lang = {
|
||||
// ===== ns-goods-promotion component =====
|
||||
'nsGoodsPromotion': {
|
||||
// Promotion tags
|
||||
discount: 'Limited Discount',
|
||||
groupbuy: 'Group Buy',
|
||||
pintuan: 'Group Bargain',
|
||||
seckill: 'Flash Sale',
|
||||
topic: 'Topic Event',
|
||||
bargain: 'Bargain',
|
||||
pinfan: 'Group Rebate',
|
||||
|
||||
// Title text
|
||||
participatingTip: 'This product is participating in {promotionName}',
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,36 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
//title is the title of each page
|
||||
// title: 'Distribution Product List',
|
||||
title: ''
|
||||
}
|
||||
title: '',
|
||||
|
||||
// Category navigation
|
||||
all: 'All',
|
||||
|
||||
// Goods list
|
||||
share: 'Share',
|
||||
earnCommission: 'Earn {money}',
|
||||
noGoods: 'No distribution products',
|
||||
|
||||
// Bottom action buttons
|
||||
shareFriends: 'Share with Friends',
|
||||
generatePoster: 'Generate Poster',
|
||||
|
||||
// Share popup
|
||||
shareTitle: 'Share',
|
||||
shareToFriends: 'Share with Friends',
|
||||
shareToGoodsCircle: 'Share to Good Things Circle',
|
||||
generateSharePoster: 'Generate Share Poster',
|
||||
copyLink: 'Copy Link',
|
||||
cancelShare: 'Cancel Share',
|
||||
|
||||
// Poster popup
|
||||
saveImage: 'Save Image',
|
||||
longPressSaveImage: 'Long Press to Save Image',
|
||||
|
||||
// Toast / Loading messages
|
||||
merchantNotOpenFenxiao: 'Merchant has not enabled distribution',
|
||||
center: 'Center',
|
||||
posterGenerating: 'Generating poster...',
|
||||
saveSuccess: 'Saved successfully',
|
||||
saveFail: 'Save failed, please try again later',
|
||||
}
|
||||
|
||||
@@ -1,5 +1,34 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
// title: 'Distribution Orders',
|
||||
title: ''
|
||||
}
|
||||
title: '',
|
||||
|
||||
// Top category tabs
|
||||
all: 'All',
|
||||
pendingSettlement: 'Pending Settlement',
|
||||
settled: 'Settled',
|
||||
refunded: 'Refunded',
|
||||
|
||||
// Order status
|
||||
statusPendingSettlement: 'Pending Settlement',
|
||||
statusSettled: 'Settled',
|
||||
statusRefunded: 'Refunded',
|
||||
|
||||
// Commission related
|
||||
earnPrefix: 'Earn ',
|
||||
|
||||
// Order total
|
||||
totalLabel: 'Total: ',
|
||||
|
||||
// Empty states
|
||||
noOrders: 'No orders yet',
|
||||
noPendingSettlementOrders: 'No pending settlement orders',
|
||||
noSettledOrders: 'No settled orders',
|
||||
noRefundedOrders: 'No refunded orders',
|
||||
|
||||
// Toast提示
|
||||
merchantNotOpenFenxiao: 'Merchant has not enabled distribution',
|
||||
|
||||
// Title suffix
|
||||
orderSuffix: ' Orders'
|
||||
}
|
||||
|
||||
@@ -1,4 +1,26 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: 'Order Details'
|
||||
}
|
||||
//title is the page title
|
||||
title: 'Order Details',
|
||||
|
||||
// Item count
|
||||
totalItems: '{count} items',
|
||||
|
||||
// Order status
|
||||
statusRefunded: 'Refunded',
|
||||
statusSettled: 'Settled',
|
||||
statusPendingSettlement: 'Pending Settlement',
|
||||
|
||||
// Total
|
||||
totalLabel: 'Total: ',
|
||||
|
||||
// Commission details
|
||||
commissionDetail: 'Commission Details',
|
||||
orderNo: 'Order No.: ',
|
||||
commissionLevel: 'Commission Level: ',
|
||||
levelText: 'Level {level}',
|
||||
commissionAmount: 'Commission Amount: ',
|
||||
|
||||
// Toast messages
|
||||
merchantNotOpenFenxiao: 'Merchant has not enabled distribution',
|
||||
orderInfoNotFound: 'Order information not found!'
|
||||
}
|
||||
|
||||
@@ -1,4 +1,23 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: 'Promotion Poster'
|
||||
}
|
||||
title: 'Promotion Poster',
|
||||
|
||||
// H5 tip
|
||||
longPressTip: 'Long press to identify the QR code in the image',
|
||||
|
||||
// Buttons
|
||||
savePoster: 'Save Poster',
|
||||
|
||||
// Auth dialog
|
||||
dialogTitle: 'Tip',
|
||||
authDeniedMessage: 'You have denied the authorization request to save images to the album. Images cannot be saved. Please authorize before proceeding.',
|
||||
cancel: 'Cancel',
|
||||
authorizeNow: 'Authorize Now',
|
||||
|
||||
// Toast messages
|
||||
saveSuccess: 'Saved successfully',
|
||||
saveFail: 'Save failed, please try again later',
|
||||
downloadFail: 'Download failed',
|
||||
posterGenerateFail: 'Poster generation failed',
|
||||
merchantNotOpenFenxiao: 'Merchant has not enabled distribution'
|
||||
}
|
||||
|
||||
@@ -1,4 +1,24 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: 'Ranking',
|
||||
|
||||
// Top action buttons
|
||||
clickToWithdraw: 'Withdraw',
|
||||
myTeam: 'My Team',
|
||||
|
||||
// Commission ranking (profit)
|
||||
distributionCommission: 'Distribution Commission',
|
||||
todayCommission: '{amount} Yuan',
|
||||
commissionRanking: 'Commission Ranking',
|
||||
|
||||
// Promotion ranking (invited_num)
|
||||
promotionCount: 'Promotion Count',
|
||||
promotionPeople: '{count} people',
|
||||
promotionRanking: 'Promotion Ranking',
|
||||
|
||||
// Ranking tip
|
||||
rankingTip: 'You are ranked #{ranking}',
|
||||
|
||||
// Empty state
|
||||
noData: 'No data',
|
||||
}
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
// title: 'My Team'
|
||||
title: ''
|
||||
}
|
||||
title: '',
|
||||
|
||||
// Level tabs
|
||||
levelOne: 'Level 1',
|
||||
levelTwo: 'Level 2',
|
||||
|
||||
// Member info
|
||||
joinTime: 'Join Date: ',
|
||||
|
||||
// Stats units
|
||||
peopleUnit: ' people',
|
||||
orderUnit: ' orders',
|
||||
currencyUnit: ' Yuan',
|
||||
|
||||
// Empty state
|
||||
noData: 'No data',
|
||||
|
||||
// Toast messages
|
||||
merchantNotOpenFenxiao: 'Merchant has not enabled distribution',
|
||||
}
|
||||
|
||||
@@ -1,5 +1,31 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
// title: 'Withdrawal Application'
|
||||
title: ''
|
||||
}
|
||||
title: '',
|
||||
|
||||
// Withdrawal account
|
||||
withdrawTo: 'Withdraw to',
|
||||
wechatDefaultWallet: 'WeChat default wallet',
|
||||
pleaseAddWithdrawAccount: 'Please add a withdrawal account',
|
||||
balance: 'Balance',
|
||||
|
||||
// Withdrawal amount
|
||||
withdrawAmountLabel: 'Withdrawal amount:',
|
||||
withdrawableAmountLabel: 'Withdrawable amount:',
|
||||
withdrawAll: 'Withdraw all',
|
||||
|
||||
// Withdrawal description
|
||||
minWithdrawAmountTip: 'Minimum withdrawal amount: {symbol}{min}, ',
|
||||
maxWithdrawAmountTip: 'Maximum withdrawal amount: {symbol}{max}, ',
|
||||
serviceFeeTip: 'Service fee: {rate}',
|
||||
|
||||
// Buttons
|
||||
withdrawBtn: 'Withdraw',
|
||||
|
||||
// Toast messages
|
||||
pleaseEnterWithdrawAmount: 'Please enter the withdrawal amount',
|
||||
withdrawAmountExceeds: 'Withdrawal amount exceeds available balance',
|
||||
withdrawAmountBelowMin: 'Withdrawal amount is below the minimum',
|
||||
pleaseAddWithdrawMethod: 'Please add a withdrawal method first',
|
||||
withdrawApplySuccess: 'Withdrawal application submitted successfully',
|
||||
}
|
||||
|
||||
@@ -1,5 +1,26 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
// title: 'Withdrawal Records'
|
||||
title: ''
|
||||
}
|
||||
title: '',
|
||||
|
||||
// Transfer type
|
||||
transferTypeBalance: 'Balance',
|
||||
transferTypeAlipay: 'Alipay',
|
||||
transferTypeBank: 'Bank Card',
|
||||
transferTypeWechatpay: 'WeChat',
|
||||
|
||||
// Status
|
||||
statusTransferred: 'Transferred',
|
||||
statusPendingReview: 'Pending Review',
|
||||
statusReviewed: 'Reviewed',
|
||||
statusRejected: 'Rejected',
|
||||
|
||||
// Empty state
|
||||
noWithdrawRecords: 'No withdrawal records',
|
||||
|
||||
// Title suffix
|
||||
detailSuffix: ' Details',
|
||||
|
||||
// Toast messages
|
||||
merchantNotOpenFenxiao: 'Merchant has not enabled distribution',
|
||||
}
|
||||
|
||||
@@ -9,5 +9,29 @@ export const lang = {
|
||||
newAddAccount: 'Add New Account',
|
||||
del: 'Delete',
|
||||
update: 'Modify',
|
||||
emptyText: 'No accounts available'
|
||||
}
|
||||
emptyText: 'No accounts available',
|
||||
// 提现到余额
|
||||
withdrawToBalance: 'Withdraw to Balance',
|
||||
// 提现账号:{account}
|
||||
withdrawalAccountLabel: 'Account: {account}',
|
||||
// 银行名称:{bankName}
|
||||
bankNameLabel: 'Bank Name: {bankName}',
|
||||
// 设为默认账户
|
||||
setAsDefault: 'Set as Default',
|
||||
// 暂无账户信息,请添加
|
||||
emptyTip: 'No account information yet, please add one',
|
||||
// 操作提示
|
||||
operationTip: 'Operation Tip',
|
||||
// 确定要删除该账户吗?
|
||||
confirmDeleteAccount: 'Are you sure you want to delete this account?',
|
||||
// 删除成功
|
||||
deleteSuccess: 'Deleted successfully',
|
||||
// 删除失败
|
||||
deleteFailed: 'Delete failed',
|
||||
// 提现类型:银行
|
||||
withdrawTypeBank: 'Bank',
|
||||
// 提现类型:支付宝
|
||||
withdrawTypeAlipay: 'Alipay',
|
||||
// 提现类型:微信
|
||||
withdrawTypeWechat: 'WeChat'
|
||||
}
|
||||
|
||||
@@ -1,9 +1,18 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
//title is the title of each page
|
||||
title: 'Shipping Address',
|
||||
newAddAddress: 'Add Shipping Address',
|
||||
getAddress: 'Get Address with One Click',
|
||||
is_default: 'Default',
|
||||
modify: 'Edit',
|
||||
del: 'Delete'
|
||||
}
|
||||
del: 'Delete',
|
||||
setAsDefault: 'Set as Default Address',
|
||||
emptyTip: 'No shipping address yet, please add one',
|
||||
operationTip: 'Operation Tip',
|
||||
confirmDelete: 'Are you sure you want to delete this address?',
|
||||
cannotDeleteDefault: 'Default address cannot be deleted',
|
||||
deleteSuccess: 'Deleted successfully',
|
||||
deleteFail: 'Delete failed',
|
||||
setDefaultSuccess: 'Default address updated successfully',
|
||||
pcWechatNotSupportGetAddress: 'PC WeChat does not support one-click address retrieval',
|
||||
}
|
||||
|
||||
@@ -1,4 +1,34 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: 'Apply for Withdrawal'
|
||||
}
|
||||
title: 'Apply for Withdrawal',
|
||||
// 提现到
|
||||
withdrawTo: 'Withdraw to',
|
||||
// 微信默认钱包
|
||||
wechatDefaultWallet: 'WeChat Default Wallet',
|
||||
// 请添加提现方式
|
||||
pleaseAddWithdrawMethod: 'Please add a withdrawal method',
|
||||
// 提现金额
|
||||
withdrawAmount: 'Withdrawal Amount',
|
||||
// 可提现余额:
|
||||
withdrawableBalance: 'Withdrawable Balance: ',
|
||||
// 全部提现
|
||||
withdrawAll: 'Withdraw All',
|
||||
// 最小提现金额为{min},手续费为{rate}
|
||||
minWithdrawAndFeeTip: 'Minimum withdrawal amount is {min}, fee is {rate}',
|
||||
// 提现
|
||||
withdraw: 'Withdraw',
|
||||
// 提现记录
|
||||
withdrawalRecords: 'Withdrawal Records',
|
||||
// 未开启提现
|
||||
withdrawalNotEnabled: 'Withdrawal not enabled',
|
||||
// 请输入提现金额
|
||||
pleaseEnterWithdrawAmount: 'Please enter withdrawal amount',
|
||||
// 提现金额超出可提现金额
|
||||
withdrawAmountExceedsBalance: 'Withdrawal amount exceeds available balance',
|
||||
// 提现金额小于最低提现金额
|
||||
withdrawAmountBelowMinimum: 'Withdrawal amount is below minimum',
|
||||
// 请先添加提现方式
|
||||
pleaseAddWithdrawMethodFirst: 'Please add a withdrawal method first',
|
||||
// 提现申请成功
|
||||
withdrawApplySuccess: 'Withdrawal application submitted successfully'
|
||||
}
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: 'Balance Details'
|
||||
}
|
||||
title: 'Balance Details',
|
||||
emptyTips: 'No balance details',
|
||||
yuan: ' Yuan',
|
||||
filterAll: 'All',
|
||||
filterIncome: 'Income',
|
||||
filterExpense: 'Expense',
|
||||
dateFormatYM: '{month}/{year}'
|
||||
}
|
||||
|
||||
@@ -1,3 +1,21 @@
|
||||
export const lang = {
|
||||
//title is the title of each page
|
||||
title: 'Account Cancellation',
|
||||
}
|
||||
// Step 1: Submit Application
|
||||
step1Name: 'Submit Application',
|
||||
step1Desc: 'Your application has been submitted, please wait patiently~',
|
||||
// Step 2: Pending Review
|
||||
step2Name: 'Pending Review',
|
||||
step2Desc: 'Under review. Your account will be deleted directly after approval',
|
||||
// Step 3: Approved, Cancellation Completed
|
||||
step3Name: 'Approved, Cancellation Completed',
|
||||
step3Desc: 'Your account has been successfully cancelled. Looking forward to meeting you again',
|
||||
// Back
|
||||
back: 'Back',
|
||||
// Revoke Application
|
||||
revokeApplication: 'Revoke Application',
|
||||
// Risk Warning
|
||||
riskTip: 'Risk Warning',
|
||||
// Are you sure you want to revoke the application?
|
||||
revokeConfirm: 'Are you sure you want to revoke the application?',
|
||||
}
|
||||
|
||||
21
lang/en-us/merch/list.js
Normal file
21
lang/en-us/merch/list.js
Normal file
@@ -0,0 +1,21 @@
|
||||
export const lang = {
|
||||
// Default button text
|
||||
buyText: 'Buy',
|
||||
|
||||
// Modal dialog
|
||||
modal: {
|
||||
title: 'Notice',
|
||||
merchantNotExist: 'Merchant does not exist',
|
||||
},
|
||||
|
||||
// Share title
|
||||
shareTitle: 'Found {count} quality products related to "{keyword}"',
|
||||
|
||||
// Price filter messages
|
||||
priceFilter: {
|
||||
pleaseEnterMaxPrice: 'Please enter the maximum price',
|
||||
priceCannotBeLessThanZero: 'Filter price cannot be less than 0',
|
||||
minCannotExceedMax: 'Minimum price cannot exceed maximum price',
|
||||
maxCannotBeLessThanMin: 'Maximum price cannot be less than minimum price',
|
||||
},
|
||||
}
|
||||
@@ -1,4 +1,32 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: 'Apply for Refund',
|
||||
}
|
||||
//title is the title of each page
|
||||
title: 'Batch Refund',
|
||||
|
||||
// ====== Refund Form ======
|
||||
form: {
|
||||
refundReason: 'Refund Reason:',
|
||||
refundType: 'Refund Type:',
|
||||
refundOnly: 'Refund Only',
|
||||
returnRefund: 'Return & Refund',
|
||||
refundAmount: 'Refund Amount:',
|
||||
refundRemark: 'Refund Remark',
|
||||
pleaseSelect: 'Please Select',
|
||||
remarkPlaceholder: 'Please enter refund remark (optional)'
|
||||
},
|
||||
|
||||
// ====== Refund Reason Popup ======
|
||||
reasonPopup: {
|
||||
title: 'Refund Reason',
|
||||
confirm: 'Confirm'
|
||||
},
|
||||
|
||||
// ====== Toast Messages ======
|
||||
toast: {
|
||||
noRefundInfo: 'Failed to get refund information for this order item'
|
||||
},
|
||||
|
||||
// ====== Form Validation ======
|
||||
validate: {
|
||||
pleaseSelectRefundReason: 'Please select a refund reason'
|
||||
}
|
||||
}
|
||||
|
||||
20
lang/en-us/pay/cashier.js
Normal file
20
lang/en-us/pay/cashier.js
Normal file
@@ -0,0 +1,20 @@
|
||||
export const lang = {
|
||||
pay: {
|
||||
cashier: {
|
||||
// Pay button
|
||||
confirmPay: 'Confirm Payment',
|
||||
// Empty states
|
||||
noPayMethodConfigured: 'No payment method configured!',
|
||||
orderAlreadyPaid: 'This order has been paid',
|
||||
noPayInfo: 'Payment information not found',
|
||||
// Payment methods
|
||||
alipay: 'Alipay',
|
||||
wechatpay: 'WeChat Pay',
|
||||
// Messages
|
||||
pleaseSelectPayMethod: 'Please select a payment method!',
|
||||
paying: 'Processing payment...',
|
||||
paymentCancelled: 'Payment cancelled',
|
||||
paymentFailed: 'Payment failed, reason: {reason}',
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -1,10 +1,25 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: 'Payment Result',
|
||||
paymentSuccess: 'Payment Successful',
|
||||
paymentFail: 'Payment Failed',
|
||||
goHome: 'Back to Home',
|
||||
memberCenter: 'Member Center',
|
||||
payMoney: 'Payment Amount',
|
||||
unit: 'Yuan'
|
||||
}
|
||||
pay: {
|
||||
result: {
|
||||
//title is the page title
|
||||
title: 'Payment Result',
|
||||
paymentSuccess: 'Payment Successful',
|
||||
paymentFail: 'Payment Failed',
|
||||
goHome: 'Back to Home',
|
||||
memberCenter: 'Member Center',
|
||||
payMoney: 'Payment Amount',
|
||||
unit: 'Yuan',
|
||||
// consumption rewards
|
||||
congratulations: 'Congratulations, you have received',
|
||||
points: 'Points',
|
||||
growthValue: 'Growth Value',
|
||||
couponsCount: '{count} Coupons',
|
||||
// action buttons
|
||||
rechargeRecords: 'Recharge Records',
|
||||
memberCard: 'Member Card',
|
||||
viewOrder: 'View Order',
|
||||
// toast messages
|
||||
noPayInfo: 'Payment information not found!',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,30 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: 'Points Exchange',
|
||||
emptyTips: 'No more data available'
|
||||
}
|
||||
emptyTips: 'No more data available',
|
||||
|
||||
// Order status
|
||||
statusAll: 'All',
|
||||
statusPendingPayment: 'Pending Payment',
|
||||
statusCompleted: 'Completed',
|
||||
statusClosed: 'Closed',
|
||||
|
||||
// Order info
|
||||
orderNo: 'Order No.: ',
|
||||
points: 'points',
|
||||
|
||||
// Action buttons
|
||||
closeBtn: 'Close',
|
||||
payBtn: 'Pay',
|
||||
viewDetails: 'View Details',
|
||||
|
||||
// Empty state
|
||||
emptyText: 'No point exchange orders yet',
|
||||
goBrowse: 'Go Browse',
|
||||
|
||||
// Tips
|
||||
merchantNotEnabled: 'Merchant has not enabled points mall',
|
||||
tip: 'Tip',
|
||||
confirmCloseExchange: 'Are you sure to close this exchange?',
|
||||
closeSuccess: 'Closed successfully'
|
||||
}
|
||||
|
||||
19
lang/zh-cn/components-diy/diy-bargain.js
Normal file
19
lang/zh-cn/components-diy/diy-bargain.js
Normal file
@@ -0,0 +1,19 @@
|
||||
export const lang = {
|
||||
// 头部文案:低至0元免费拿
|
||||
freeGet: '低至0元免费拿',
|
||||
|
||||
// 进度条文案:已砍
|
||||
bargained: '已砍',
|
||||
|
||||
// 进度条文案:,仅差
|
||||
onlyDiff: ',仅差',
|
||||
|
||||
// 进度条文案:最低可砍至
|
||||
minBargainTo: '最低可砍至',
|
||||
|
||||
// 按钮文案:继续砍价
|
||||
continueBargain: '继续砍价',
|
||||
|
||||
// 已砍件数
|
||||
soldCount: '已砍{num}件',
|
||||
}
|
||||
16
lang/zh-cn/components-diy/diy-pinfan.js
Normal file
16
lang/zh-cn/components-diy/diy-pinfan.js
Normal file
@@ -0,0 +1,16 @@
|
||||
export const lang = {
|
||||
// 拼团人数
|
||||
peopleGroup: '{num}人团',
|
||||
|
||||
// 已拼件数
|
||||
soldCount: '已拼{num}件',
|
||||
|
||||
// 奖励返积分
|
||||
backPoints: '返{num}积分',
|
||||
|
||||
// 奖励返现金
|
||||
backCash: '返¥{num}',
|
||||
|
||||
// 奖励返优惠券
|
||||
backCoupon: '返优惠券',
|
||||
}
|
||||
16
lang/zh-cn/components-diy/diy-pintuan.js
Normal file
16
lang/zh-cn/components-diy/diy-pintuan.js
Normal file
@@ -0,0 +1,16 @@
|
||||
export const lang = {
|
||||
// 头部副标题:参与人数(style-2)
|
||||
peopleParticipating: '人参与',
|
||||
|
||||
// 头部副标题:拼团成功人数
|
||||
peopleGroupSuccess: '人拼团成功',
|
||||
|
||||
// 拼团人数标签
|
||||
peopleGroup: '{num}人团',
|
||||
|
||||
// 已拼件数
|
||||
soldCount: '已拼{num}件',
|
||||
|
||||
// 去参团按钮
|
||||
joinGroup: '去参团',
|
||||
}
|
||||
27
lang/zh-cn/components/ns-birthday-gift.js
Normal file
27
lang/zh-cn/components/ns-birthday-gift.js
Normal file
@@ -0,0 +1,27 @@
|
||||
export const lang = {
|
||||
// ===== ns-birthday-gift 组件 =====
|
||||
nsBirthdayGift: {
|
||||
// 标题
|
||||
birthdayGift: '生日贺礼',
|
||||
|
||||
// 祝福语
|
||||
defaultBlessing: '感谢您一直以来的支持,在您生日到来之际,特为您送上最真诚的祝福!',
|
||||
|
||||
// 积分
|
||||
points: '积分',
|
||||
pointDesc: '用于下单时抵现或兑换商品等',
|
||||
|
||||
// 红包
|
||||
yuanRedPacket: '元红包',
|
||||
nonWithdrawable: '不可提现红包',
|
||||
withdrawable: '可提现红包',
|
||||
|
||||
// 优惠券
|
||||
yuanCoupon: '元优惠劵',
|
||||
discount: '折',
|
||||
couponDesc: '用于下单时抵现或兑换商品等',
|
||||
|
||||
// 操作按钮
|
||||
viewNow: '立即查看',
|
||||
}
|
||||
}
|
||||
24
lang/zh-cn/components/ns-new-gift.js
Normal file
24
lang/zh-cn/components/ns-new-gift.js
Normal file
@@ -0,0 +1,24 @@
|
||||
export const lang = {
|
||||
// ===== ns-new-gift 组件 =====
|
||||
nsNewGift: {
|
||||
// 感谢语 - 带活动名参数
|
||||
thankYouHint: '感谢您一直以来的支持,为回馈会员,商城{activityName}节日,为您提供以下福利',
|
||||
|
||||
// 积分
|
||||
points: '积分',
|
||||
pointDesc: '用于参与活动购买商品时抵扣',
|
||||
|
||||
// 红包
|
||||
yuanRedPacket: '元红包',
|
||||
nonWithdrawableDesc: '不可提现红包',
|
||||
withdrawableDesc: '可提现红包',
|
||||
|
||||
// 优惠券
|
||||
yuanCoupon: '元优惠劵',
|
||||
discount: '折',
|
||||
couponDesc: '用于下单时抵现或兑换商品等',
|
||||
|
||||
// 操作按钮
|
||||
viewNow: '立即查看',
|
||||
}
|
||||
}
|
||||
16
lang/zh-cn/components/nsGoodsPromotion.js
Normal file
16
lang/zh-cn/components/nsGoodsPromotion.js
Normal file
@@ -0,0 +1,16 @@
|
||||
export const lang = {
|
||||
// ===== ns-goods-promotion 组件 =====
|
||||
'nsGoodsPromotion': {
|
||||
// 促销活动标签
|
||||
discount: '限时折扣',
|
||||
groupbuy: '团购',
|
||||
pintuan: '拼团',
|
||||
seckill: '秒杀',
|
||||
topic: '专题活动',
|
||||
bargain: '砍价',
|
||||
pinfan: '拼团返利',
|
||||
|
||||
// 标题文案
|
||||
participatingTip: '当前商品正在参加{promotionName}',
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,36 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
// title: '分销商品列表',
|
||||
title: ''
|
||||
title: '',
|
||||
|
||||
// 分类导航
|
||||
all: '全部',
|
||||
|
||||
// 商品列表
|
||||
share: '分享',
|
||||
earnCommission: '赚{money}元',
|
||||
noGoods: '暂无分销商品',
|
||||
|
||||
// 底部操作按钮
|
||||
shareFriends: '分享好友',
|
||||
generatePoster: '生成海报',
|
||||
|
||||
// 分享弹窗
|
||||
shareTitle: '分享',
|
||||
shareToFriends: '分享给好友',
|
||||
shareToGoodsCircle: '分享到好物圈',
|
||||
generateSharePoster: '生成分享海报',
|
||||
copyLink: '复制链接',
|
||||
cancelShare: '取消分享',
|
||||
|
||||
// 海报弹窗
|
||||
saveImage: '保存图片',
|
||||
longPressSaveImage: '长按保存图片',
|
||||
|
||||
// Toast / Loading 提示
|
||||
merchantNotOpenFenxiao: '商家未开启分销',
|
||||
center: '中心',
|
||||
posterGenerating: '海报生成中...',
|
||||
saveSuccess: '保存成功',
|
||||
saveFail: '保存失败,请稍后重试',
|
||||
}
|
||||
|
||||
@@ -1,5 +1,34 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
// title: '分销订单',
|
||||
title: ''
|
||||
title: '',
|
||||
|
||||
// 顶部分类tab
|
||||
all: '全部',
|
||||
pendingSettlement: '待结算',
|
||||
settled: '已结算',
|
||||
refunded: '已退款',
|
||||
|
||||
// 订单状态
|
||||
statusPendingSettlement: '待结算',
|
||||
statusSettled: '已结算',
|
||||
statusRefunded: '已退款',
|
||||
|
||||
// 佣金相关
|
||||
earnPrefix: '返',
|
||||
|
||||
// 订单合计
|
||||
totalLabel: '合计:',
|
||||
|
||||
// 空状态
|
||||
noOrders: '暂无订单',
|
||||
noPendingSettlementOrders: '暂无待结算订单',
|
||||
noSettledOrders: '暂无已结算订单',
|
||||
noRefundedOrders: '暂无已退款订单',
|
||||
|
||||
// Toast 提示
|
||||
merchantNotOpenFenxiao: '商家未开启分销',
|
||||
|
||||
// 标题后缀
|
||||
orderSuffix: '订单'
|
||||
}
|
||||
|
||||
@@ -1,4 +1,26 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: '订单详情'
|
||||
title: '订单详情',
|
||||
|
||||
// 商品数量
|
||||
totalItems: '共{count}件商品',
|
||||
|
||||
// 订单状态
|
||||
statusRefunded: '已退款',
|
||||
statusSettled: '已结算',
|
||||
statusPendingSettlement: '待结算',
|
||||
|
||||
// 合计
|
||||
totalLabel: '合计:',
|
||||
|
||||
// 返佣详情
|
||||
commissionDetail: '返佣详情',
|
||||
orderNo: '订单编号:',
|
||||
commissionLevel: '分佣层级:',
|
||||
levelText: '{level}级',
|
||||
commissionAmount: '返佣金额:',
|
||||
|
||||
// Toast 提示
|
||||
merchantNotOpenFenxiao: '商家未开启分销',
|
||||
orderInfoNotFound: '未获取到订单信息!'
|
||||
}
|
||||
|
||||
@@ -1,4 +1,23 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: '推广海报'
|
||||
title: '推广海报',
|
||||
|
||||
// H5 提示
|
||||
longPressTip: '长按识别图中二维码',
|
||||
|
||||
// 按钮
|
||||
savePoster: '保存海报',
|
||||
|
||||
// 授权弹窗
|
||||
dialogTitle: '提示',
|
||||
authDeniedMessage: '您拒绝了保存图片到相册的授权请求,无法保存图片到相册,如需正常使用,请授权之后再进行操作。',
|
||||
cancel: '取消',
|
||||
authorizeNow: '立即授权',
|
||||
|
||||
// Toast 提示
|
||||
saveSuccess: '保存成功',
|
||||
saveFail: '保存失败,请稍后重试',
|
||||
downloadFail: '下载失败',
|
||||
posterGenerateFail: '海报生成失败',
|
||||
merchantNotOpenFenxiao: '商家未开启分销'
|
||||
}
|
||||
|
||||
@@ -1,4 +1,24 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: '排行榜',
|
||||
|
||||
// 顶部操作按钮
|
||||
clickToWithdraw: '点击提现',
|
||||
myTeam: '我的团队',
|
||||
|
||||
// 佣金排行(profit)
|
||||
distributionCommission: '分销佣金',
|
||||
todayCommission: '{amount}元',
|
||||
commissionRanking: '佣金排行',
|
||||
|
||||
// 推广排行(invited_num)
|
||||
promotionCount: '推广人数',
|
||||
promotionPeople: '{count}人',
|
||||
promotionRanking: '推广排行',
|
||||
|
||||
// 排名提示
|
||||
rankingTip: '您排行第{ranking}名',
|
||||
|
||||
// 空状态
|
||||
noData: '暂无数据',
|
||||
}
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
// title: '我的团队'
|
||||
title: ''
|
||||
title: '',
|
||||
|
||||
// 等级分类
|
||||
levelOne: '一级',
|
||||
levelTwo: '二级',
|
||||
|
||||
// 会员信息
|
||||
joinTime: '加入时间:',
|
||||
|
||||
// 统计单位
|
||||
peopleUnit: '人',
|
||||
orderUnit: '单',
|
||||
currencyUnit: '元',
|
||||
|
||||
// 空状态
|
||||
noData: '暂无数据',
|
||||
|
||||
// Toast 提示
|
||||
merchantNotOpenFenxiao: '商家未开启分销',
|
||||
}
|
||||
|
||||
@@ -1,5 +1,31 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
// title: '提现申请'
|
||||
title: ''
|
||||
title: '',
|
||||
|
||||
// 提现账户
|
||||
withdrawTo: '提现到',
|
||||
wechatDefaultWallet: '微信默认钱包',
|
||||
pleaseAddWithdrawAccount: '请添加提现账户',
|
||||
balance: '余额',
|
||||
|
||||
// 提现金额
|
||||
withdrawAmountLabel: '提现金额:',
|
||||
withdrawableAmountLabel: '可提现金额:',
|
||||
withdrawAll: '全部提现',
|
||||
|
||||
// 提现说明
|
||||
minWithdrawAmountTip: '最小提现金额为{symbol}{min},',
|
||||
maxWithdrawAmountTip: '最大提现金额为{symbol}{max},',
|
||||
serviceFeeTip: '手续费为{rate}',
|
||||
|
||||
// 按钮
|
||||
withdrawBtn: '提现',
|
||||
|
||||
// Toast 提示
|
||||
pleaseEnterWithdrawAmount: '请输入提现金额',
|
||||
withdrawAmountExceeds: '提现金额超出可提现金额',
|
||||
withdrawAmountBelowMin: '提现金额小于最低提现金额',
|
||||
pleaseAddWithdrawMethod: '请先添加提现方式',
|
||||
withdrawApplySuccess: '提现申请成功',
|
||||
}
|
||||
|
||||
@@ -1,5 +1,26 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
// title: '提现记录'
|
||||
title: ''
|
||||
title: '',
|
||||
|
||||
// 提现方式
|
||||
transferTypeBalance: '余额',
|
||||
transferTypeAlipay: '支付宝',
|
||||
transferTypeBank: '银行卡',
|
||||
transferTypeWechatpay: '微信',
|
||||
|
||||
// 状态
|
||||
statusTransferred: '已转账',
|
||||
statusPendingReview: '待审核',
|
||||
statusReviewed: '已审核',
|
||||
statusRejected: '已拒绝',
|
||||
|
||||
// 空状态
|
||||
noWithdrawRecords: '暂无提现记录',
|
||||
|
||||
// 标题后缀
|
||||
detailSuffix: '明细',
|
||||
|
||||
// Toast 提示
|
||||
merchantNotOpenFenxiao: '商家未开启分销',
|
||||
}
|
||||
|
||||
@@ -9,5 +9,29 @@ export const lang = {
|
||||
newAddAccount: '新增账户',
|
||||
del: '删除',
|
||||
update: "修改",
|
||||
emptyText:"当前暂无账户"
|
||||
emptyText:"当前暂无账户",
|
||||
// 提现到余额
|
||||
withdrawToBalance: '提现到余额',
|
||||
// 提现账号:{account}
|
||||
withdrawalAccountLabel: '提现账号:{account}',
|
||||
// 银行名称:{bankName}
|
||||
bankNameLabel: '银行名称:{bankName}',
|
||||
// 设为默认账户
|
||||
setAsDefault: '设为默认账户',
|
||||
// 暂无账户信息,请添加
|
||||
emptyTip: '暂无账户信息,请添加',
|
||||
// 操作提示
|
||||
operationTip: '操作提示',
|
||||
// 确定要删除该账户吗?
|
||||
confirmDeleteAccount: '确定要删除该账户吗?',
|
||||
// 删除成功
|
||||
deleteSuccess: '删除成功',
|
||||
// 删除失败
|
||||
deleteFailed: '删除失败',
|
||||
// 提现类型:银行
|
||||
withdrawTypeBank: '银行',
|
||||
// 提现类型:支付宝
|
||||
withdrawTypeAlipay: '支付宝',
|
||||
// 提现类型:微信
|
||||
withdrawTypeWechat: '微信'
|
||||
}
|
||||
|
||||
@@ -5,5 +5,14 @@ export const lang = {
|
||||
getAddress: '一键获取地址',
|
||||
is_default: '默认',
|
||||
modify: '编辑',
|
||||
del: '删除'
|
||||
del: '删除',
|
||||
setAsDefault: '设为默认地址',
|
||||
emptyTip: '暂无收货地址,请添加',
|
||||
operationTip: '操作提示',
|
||||
confirmDelete: '确定要删除该地址吗?',
|
||||
cannotDeleteDefault: '默认地址,不能删除',
|
||||
deleteSuccess: '删除成功',
|
||||
deleteFail: '删除失败',
|
||||
setDefaultSuccess: '修改默认地址成功',
|
||||
pcWechatNotSupportGetAddress: 'PC端微信不支持一键获取地址',
|
||||
}
|
||||
|
||||
@@ -1,4 +1,34 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: '申请提现'
|
||||
title: '申请提现',
|
||||
// 提现到
|
||||
withdrawTo: '提现到',
|
||||
// 微信默认钱包
|
||||
wechatDefaultWallet: '微信默认钱包',
|
||||
// 请添加提现方式
|
||||
pleaseAddWithdrawMethod: '请添加提现方式',
|
||||
// 提现金额
|
||||
withdrawAmount: '提现金额',
|
||||
// 可提现余额:
|
||||
withdrawableBalance: '可提现余额:',
|
||||
// 全部提现
|
||||
withdrawAll: '全部提现',
|
||||
// 最小提现金额为{min},手续费为{rate}
|
||||
minWithdrawAndFeeTip: '最小提现金额为{min},手续费为{rate}',
|
||||
// 提现
|
||||
withdraw: '提现',
|
||||
// 提现记录
|
||||
withdrawalRecords: '提现记录',
|
||||
// 未开启提现
|
||||
withdrawalNotEnabled: '未开启提现',
|
||||
// 请输入提现金额
|
||||
pleaseEnterWithdrawAmount: '请输入提现金额',
|
||||
// 提现金额超出可提现金额
|
||||
withdrawAmountExceedsBalance: '提现金额超出可提现金额',
|
||||
// 提现金额小于最低提现金额
|
||||
withdrawAmountBelowMinimum: '提现金额小于最低提现金额',
|
||||
// 请先添加提现方式
|
||||
pleaseAddWithdrawMethodFirst: '请先添加提现方式',
|
||||
// 提现申请成功
|
||||
withdrawApplySuccess: '提现申请成功'
|
||||
}
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: '余额明细'
|
||||
title: '余额明细',
|
||||
emptyTips: '暂无余额明细',
|
||||
yuan: '元',
|
||||
filterAll: '全部',
|
||||
filterIncome: '收入',
|
||||
filterExpense: '支出',
|
||||
dateFormatYM: '{year}年{month}月'
|
||||
}
|
||||
|
||||
@@ -1,3 +1,21 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: '账号注销',
|
||||
}
|
||||
// 步骤1:提交申请
|
||||
step1Name: '提交申请',
|
||||
step1Desc: '您已提交申请,请耐心等待~',
|
||||
// 步骤2:等待审核
|
||||
step2Name: '等待审核',
|
||||
step2Desc: '等待审核中,审核通过后您的账号将直接被删除',
|
||||
// 步骤3:审核通过,注销完成
|
||||
step3Name: '审核通过,注销完成',
|
||||
step3Desc: '您已成功注销账号,期待下一次与您相遇',
|
||||
// 返回
|
||||
back: '返回',
|
||||
// 撤销申请
|
||||
revokeApplication: '撤销申请',
|
||||
// 风险提示
|
||||
riskTip: '风险提示',
|
||||
// 确定要撤销申请吗?
|
||||
revokeConfirm: '确定要撤销申请吗?',
|
||||
}
|
||||
|
||||
21
lang/zh-cn/merch/list.js
Normal file
21
lang/zh-cn/merch/list.js
Normal file
@@ -0,0 +1,21 @@
|
||||
export const lang = {
|
||||
// 按钮默认文本
|
||||
buyText: '购买',
|
||||
|
||||
// 弹窗提示
|
||||
modal: {
|
||||
title: '提示',
|
||||
merchantNotExist: '商家不存在',
|
||||
},
|
||||
|
||||
// 分享标题
|
||||
shareTitle: '搜索到{count}件"{keyword}"相关的优质商品',
|
||||
|
||||
// 价格筛选提示
|
||||
priceFilter: {
|
||||
pleaseEnterMaxPrice: '请输入最高价',
|
||||
priceCannotBeLessThanZero: '筛选价格不能小于0',
|
||||
minCannotExceedMax: '最低价不能大于最高价',
|
||||
maxCannotBeLessThanMin: '最高价不能小于最低价',
|
||||
},
|
||||
}
|
||||
@@ -1,4 +1,32 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: '申请退款',
|
||||
title: '批量退款',
|
||||
|
||||
// ====== 退款表单 ======
|
||||
form: {
|
||||
refundReason: '退款原因:',
|
||||
refundType: '退款方式:',
|
||||
refundOnly: '退款无需退货',
|
||||
returnRefund: '退货退款',
|
||||
refundAmount: '退款金额:',
|
||||
refundRemark: '退款说明',
|
||||
pleaseSelect: '请选择',
|
||||
remarkPlaceholder: '请输入退款说明(选填)'
|
||||
},
|
||||
|
||||
// ====== 退款原因弹窗 ======
|
||||
reasonPopup: {
|
||||
title: '退款原因',
|
||||
confirm: '确定'
|
||||
},
|
||||
|
||||
// ====== 提示信息 ======
|
||||
toast: {
|
||||
noRefundInfo: '未获取到该订单项退款信息'
|
||||
},
|
||||
|
||||
// ====== 表单验证 ======
|
||||
validate: {
|
||||
pleaseSelectRefundReason: '请选择退款原因'
|
||||
}
|
||||
}
|
||||
|
||||
20
lang/zh-cn/pay/cashier.js
Normal file
20
lang/zh-cn/pay/cashier.js
Normal file
@@ -0,0 +1,20 @@
|
||||
export const lang = {
|
||||
pay: {
|
||||
cashier: {
|
||||
// 支付按钮
|
||||
confirmPay: '确认支付',
|
||||
// 空状态
|
||||
noPayMethodConfigured: '店铺尚未配置支付方式!',
|
||||
orderAlreadyPaid: '该支付单据已支付',
|
||||
noPayInfo: '未获取到支付信息',
|
||||
// 支付方式
|
||||
alipay: '支付宝支付',
|
||||
wechatpay: '微信支付',
|
||||
// 提示信息
|
||||
pleaseSelectPayMethod: '请选择支付方式!',
|
||||
paying: '支付中...',
|
||||
paymentCancelled: '您已取消支付',
|
||||
paymentFailed: '支付失败,失败原因: {reason}',
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -1,10 +1,25 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: '支付结果',
|
||||
paymentSuccess: '支付成功',
|
||||
paymentFail: '支付失败',
|
||||
goHome: '回到首页',
|
||||
memberCenter: '会员中心',
|
||||
payMoney: '支付金额',
|
||||
unit: '元'
|
||||
pay: {
|
||||
result: {
|
||||
//title为每个页面的标题
|
||||
title: '支付结果',
|
||||
paymentSuccess: '支付成功',
|
||||
paymentFail: '支付失败',
|
||||
goHome: '回到首页',
|
||||
memberCenter: '会员中心',
|
||||
payMoney: '支付金额',
|
||||
unit: '元',
|
||||
// 消费奖励
|
||||
congratulations: '恭喜您获得',
|
||||
points: '积分',
|
||||
growthValue: '成长值',
|
||||
couponsCount: '{count}张优惠券',
|
||||
// 操作按钮
|
||||
rechargeRecords: '充值记录',
|
||||
memberCard: '会员卡',
|
||||
viewOrder: '查看订单',
|
||||
// 提示信息
|
||||
noPayInfo: '未获取到支付信息!',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,30 @@
|
||||
export const lang = {
|
||||
//title为每个页面的标题
|
||||
title: '积分兑换',
|
||||
emptyTips: '暂无更多数据了'
|
||||
emptyTips: '暂无更多数据了',
|
||||
|
||||
// 订单状态
|
||||
statusAll: '全部',
|
||||
statusPendingPayment: '待支付',
|
||||
statusCompleted: '已完成',
|
||||
statusClosed: '已关闭',
|
||||
|
||||
// 订单信息
|
||||
orderNo: '订单号:',
|
||||
points: '积分',
|
||||
|
||||
// 操作按钮
|
||||
closeBtn: '关闭',
|
||||
payBtn: '支付',
|
||||
viewDetails: '查看详情',
|
||||
|
||||
// 空状态
|
||||
emptyText: '暂无积分兑换订单',
|
||||
goBrowse: '去逛逛',
|
||||
|
||||
// 提示
|
||||
merchantNotEnabled: '商家未开启积分商城',
|
||||
tip: '提示',
|
||||
confirmCloseExchange: '确定关闭此次兑换?',
|
||||
closeSuccess: '关闭成功'
|
||||
}
|
||||
|
||||
@@ -3,45 +3,45 @@
|
||||
<view class="ns-goods-promotion" v-if="goodsPromotion.length">
|
||||
<view v-for="(item, index) in goodsPromotion" v-if="promotion != item.promotion_type" :key="index">
|
||||
<view v-if="item.promotion_type == 'discount'" class="item" @click="redirectTo('/pages_goods/detail', { goods_id: item.goods_id })">
|
||||
<text class="promotion-mark ">限时折扣</text>
|
||||
<text class="title">当前商品正在参加{{ item.promotion_name }}</text>
|
||||
<text class="promotion-mark ">{{ $lang('components.nsGoodsPromotion.discount') }}</text>
|
||||
<text class="title">{{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }}</text>
|
||||
<text class="iconfont icon-right"></text>
|
||||
<!-- <view class="img-wrap"><image :src="$util.img('public/uniapp/goods/detail_more.png')" mode="aspectFit" show-menu-by-longpress/></view> -->
|
||||
</view>
|
||||
<view v-else-if="item.promotion_type == 'groupbuy'" class="item" @click="redirectTo('/pages_promotion/groupbuy/detail', { groupbuy_id: item.groupbuy_id })">
|
||||
<!-- <view v-else-if="item.promotion_type == 'groupbuy'" class="item" @click="redirectTo('/pages_promotion/groupbuy/detail', { id: item.groupbuy_id })"> -->
|
||||
<text class="promotion-mark ">团购</text>
|
||||
<text class="title">当前商品正在参加{{ item.promotion_name }}</text>
|
||||
<text class="promotion-mark ">{{ $lang('components.nsGoodsPromotion.groupbuy') }}</text>
|
||||
<text class="title">{{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }}</text>
|
||||
<text class="iconfont icon-right"></text>
|
||||
<!-- <view class="img-wrap"><image :src="$util.img('public/uniapp/goods/detail_more.png')" mode="aspectFit" show-menu-by-longpress/></view> -->
|
||||
</view>
|
||||
<view v-else-if="item.promotion_type == 'pintuan'" class="item" @click="redirectTo('/pages_promotion/pintuan/detail', { pintuan_id: item.pintuan_id })">
|
||||
<text class="promotion-mark ">拼团</text>
|
||||
<text class="title">当前商品正在参加{{ item.promotion_name }}</text>
|
||||
<text class="promotion-mark ">{{ $lang('components.nsGoodsPromotion.pintuan') }}</text>
|
||||
<text class="title">{{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }}</text>
|
||||
<text class="iconfont icon-right"></text>
|
||||
<!-- <view class="img-wrap"><image :src="$util.img('public/uniapp/goods/detail_more.png')" mode="aspectFit" show-menu-by-longpress/></view> -->
|
||||
</view>
|
||||
<view v-else-if="item.promotion_type == 'seckill'" class="item" @click="redirectTo('/pages_promotion/seckill/detail', { seckill_id: item.id })">
|
||||
<text class="promotion-mark ">秒杀</text>
|
||||
<text class="title">当前商品正在参加{{ item.promotion_name }}</text>
|
||||
<text class="promotion-mark ">{{ $lang('components.nsGoodsPromotion.seckill') }}</text>
|
||||
<text class="title">{{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }}</text>
|
||||
<text class="iconfont icon-right"></text>
|
||||
<!-- <view class="img-wrap"><image :src="$util.img('public/uniapp/goods/detail_more.png')" mode="aspectFit" show-menu-by-longpress/></view> -->
|
||||
</view>
|
||||
<view v-else-if="item.promotion_type == 'topic'" class="item" @click="redirectTo('/pages_promotion/topics/goods_detail', { id: item.id })">
|
||||
<text class="promotion-mark ">专题活动</text>
|
||||
<text class="title">当前商品正在参加{{ item.promotion_name }}</text>
|
||||
<text class="promotion-mark ">{{ $lang('components.nsGoodsPromotion.topic') }}</text>
|
||||
<text class="title">{{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }}</text>
|
||||
<text class="iconfont icon-right"></text>
|
||||
<!-- <view class="img-wrap"><image :src="$util.img('public/uniapp/goods/detail_more.png')" mode="aspectFit" show-menu-by-longpress/></view> -->
|
||||
</view>
|
||||
<view v-else-if="item.promotion_type == 'bargain'" class="item" @click="redirectTo('/pages_promotion/bargain/detail', { b_id: item.bargain_id })">
|
||||
<text class="promotion-mark ">砍价</text>
|
||||
<text class="title">当前商品正在参加{{ item.promotion_name }}</text>
|
||||
<text class="promotion-mark ">{{ $lang('components.nsGoodsPromotion.bargain') }}</text>
|
||||
<text class="title">{{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }}</text>
|
||||
<text class="iconfont icon-right"></text>
|
||||
<!-- <view class="img-wrap"><image :src="$util.img('public/uniapp/goods/detail_more.png')" mode="aspectFit" show-menu-by-longpress/></view> -->
|
||||
</view>
|
||||
<view v-else-if="item.promotion_type == 'pinfan'" class="item" @click="redirectTo('/pages_promotion/pinfan/detail', { pinfan_id: item.pintuan_id })">
|
||||
<text class="promotion-mark ">拼团返利</text>
|
||||
<text class="title">当前商品正在参加{{ item.promotion_name }}</text>
|
||||
<text class="promotion-mark ">{{ $lang('components.nsGoodsPromotion.pinfan') }}</text>
|
||||
<text class="title">{{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }}</text>
|
||||
<text class="iconfont icon-right"></text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<view class="uni-scroll-view-content">
|
||||
<!-- #endif -->
|
||||
<view class="quick-nav-item" :class="{ selected: categoryId == 0 }"
|
||||
@click="changeCategory(0)">全部</view>
|
||||
@click="changeCategory(0)">{{ $lang('all') }}</view>
|
||||
<view class="quick-nav-item" v-for="item in categoryList" :key="item.category_id"
|
||||
:class="{ selected: categoryId == item.category_id }"
|
||||
@click="changeCategory(item.category_id)">
|
||||
@@ -34,29 +34,29 @@
|
||||
</view>
|
||||
<view class="goods-bottom">
|
||||
<view class="goods-price color-base-text">
|
||||
<text class="font-size-tag">¥</text>
|
||||
<text class="font-size-tag">{{ $lang('common.currencySymbol') }}</text>
|
||||
{{ item.discount_price }}
|
||||
</view>
|
||||
<view class="goods-share" @click.stop="shareFn('goods', index)">
|
||||
<text class="icondiy icon-system-share"></text>
|
||||
<text class="txt" v-if="!is_fenxiao">分享</text>
|
||||
<text class="txt" v-else>赚{{ item.commission_money }}元</text>
|
||||
<text class="txt" v-if="!is_fenxiao">{{ $lang('share') }}</text>
|
||||
<text class="txt" v-else>{{ $lang('earnCommission', { money: item.commission_money }) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="empty" v-if="goodsList.length == 0">
|
||||
<ns-empty :isIndex="false" text="暂无分销商品" textColor="#fff"></ns-empty>
|
||||
<ns-empty :isIndex="false" :text="$lang('noGoods')" textColor="#fff"></ns-empty>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</mescroll-uni>
|
||||
<view class="active-btn" v-if="goodsList.length">
|
||||
<!-- #ifdef MP -->
|
||||
<button class="share-btn" :plain="true" open-type="share">分享好友</button>
|
||||
<button class="share-btn" :plain="true" open-type="share">{{ $lang('shareFriends') }}</button>
|
||||
<text class="tag">|</text>
|
||||
<!-- #endif -->
|
||||
<text class="btn" @click="shareFn('fenxiao')">生成海报</text>
|
||||
<text class="btn" @click="shareFn('fenxiao')">{{ $lang('generatePoster') }}</text>
|
||||
</view>
|
||||
<loading-cover ref="loadingCover"></loading-cover>
|
||||
|
||||
@@ -64,13 +64,13 @@
|
||||
<view @touchmove.prevent.stop>
|
||||
<uni-popup ref="sharePopup" type="bottom" class="share-popup">
|
||||
<view>
|
||||
<view class="share-title">分享</view>
|
||||
<view class="share-title">{{ $lang('shareTitle') }}</view>
|
||||
<view class="share-content">
|
||||
<!-- #ifdef MP -->
|
||||
<view class="share-box">
|
||||
<button class="share-btn" :plain="true" open-type="share">
|
||||
<view class="iconfont icon-share-friend"></view>
|
||||
<text>分享给好友</text>
|
||||
<text>{{ $lang('shareToFriends') }}</text>
|
||||
</button>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
@@ -79,7 +79,7 @@
|
||||
<view class="share-box" v-if="goodsCircle">
|
||||
<button class="share-btn" :plain="true" @click="openBusinessView">
|
||||
<view class="iconfont icon-haowuquan"></view>
|
||||
<text>分享到好物圈</text>
|
||||
<text>{{ $lang('shareToGoodsCircle') }}</text>
|
||||
</button>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
@@ -87,19 +87,19 @@
|
||||
<view class="share-box" @click="openPosterPopup">
|
||||
<button class="share-btn" :plain="true">
|
||||
<view class="iconfont icon-pengyouquan"></view>
|
||||
<text>生成分享海报</text>
|
||||
<text>{{ $lang('generateSharePoster') }}</text>
|
||||
</button>
|
||||
</view>
|
||||
<!-- #ifdef H5 -->
|
||||
<view class="share-box" @click="copyUrl">
|
||||
<button class="share-btn" :plain="true">
|
||||
<view class="iconfont icon-fuzhilianjie"></view>
|
||||
<text>复制链接</text>
|
||||
<text>{{ $lang('copyLink') }}</text>
|
||||
</button>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
<view class="share-footer" @click="closeSharePopup"><text>取消分享</text></view>
|
||||
<view class="share-footer" @click="closeSharePopup"><text>{{ $lang('cancelShare') }}</text></view>
|
||||
</view>
|
||||
</uni-popup>
|
||||
</view>
|
||||
@@ -112,10 +112,10 @@
|
||||
<image :src="$util.img(poster)" show-menu-by-longpress />
|
||||
</view>
|
||||
<!-- #ifdef MP || APP-PLUS -->
|
||||
<view class="save" @click="saveGoodsPoster()">保存图片</view>
|
||||
<view class="save" @click="saveGoodsPoster()">{{ $lang('saveImage') }}</view>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef H5 -->
|
||||
<view class="save">长按保存图片</view>
|
||||
<view class="save">{{ $lang('longPressSaveImage') }}</view>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
<view class="close iconfont icon-close" @click="closePosterPopup()"></view>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<view class="withdraw-cate">
|
||||
<block v-for="(item, index) in category" :key="index">
|
||||
<view @click="selectCate(item.id)" class="cate-li"
|
||||
:class="{ 'active color-base-text color-base-bg-before': selectId == item.id }">{{ item.name }}
|
||||
:class="{ 'active color-base-text color-base-bg-before': selectId == item.id }">{{ $lang(item.nameKey) }}
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
@@ -14,10 +14,10 @@
|
||||
@click="toDetail(orderItem.fenxiao_order_id)">
|
||||
<view class="order-header">
|
||||
<text class="site-name font-size-base">{{ orderItem.order_no }}</text>
|
||||
<text class="status-name color-base-text" v-if="orderItem.is_refund == 1">已退款</text>
|
||||
<text class="status-name color-base-text" v-if="orderItem.is_refund == 1">{{ $lang('statusRefunded') }}</text>
|
||||
<text class="status-name color-text-green"
|
||||
v-else-if="orderItem.is_settlement == 1">已结算</text>
|
||||
<text class="status-name color-text-orange" v-else>待结算</text>
|
||||
v-else-if="orderItem.is_settlement == 1">{{ $lang('statusSettled') }}</text>
|
||||
<text class="status-name color-text-orange" v-else>{{ $lang('statusPendingSettlement') }}</text>
|
||||
</view>
|
||||
|
||||
<view class="order-body">
|
||||
@@ -30,7 +30,7 @@
|
||||
<view class="top-wrap">
|
||||
<view class="goods-name font-size-base">{{ orderItem.sku_name }}</view>
|
||||
<view>
|
||||
<text class="color-tip">返{{ fenxiaoWords.account }}</text>
|
||||
<text class="color-tip">{{ $lang('earnPrefix') }}{{ fenxiaoWords.account }}</text>
|
||||
<text class="price-color price-style small">{{
|
||||
$lang('common.currencySymbol') }}</text>
|
||||
<text class="price-color price-style large">{{
|
||||
@@ -66,7 +66,7 @@
|
||||
<text class="color-base-text">{{ $lang('common.currencySymbol') }}{{ orderItem.commission }}</text> -->
|
||||
</view>
|
||||
<view class="total">
|
||||
<text>合计:</text>
|
||||
<text>{{ $lang('totalLabel') }}</text>
|
||||
<text class="price-color">{{ $lang('common.currencySymbol') }}</text>
|
||||
<text class="price-color font-size-toolbar">{{
|
||||
parseFloat(orderItem.real_goods_money).toFixed(2).split(".")[0] }}</text>
|
||||
@@ -78,13 +78,13 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="cart-empty">
|
||||
<ns-empty text="暂无订单" :isIndex="false"
|
||||
<ns-empty :text="$lang('noOrders')" :isIndex="false"
|
||||
v-if="selectId == 0 && orderList.length == 0 && emptyShow"></ns-empty>
|
||||
<ns-empty text="暂无待结算订单" :isIndex="false"
|
||||
<ns-empty :text="$lang('noPendingSettlementOrders')" :isIndex="false"
|
||||
v-if="selectId == 1 && orderList.length == 0 && emptyShow"></ns-empty>
|
||||
<ns-empty text="暂无已结算订单" :isIndex="false"
|
||||
<ns-empty :text="$lang('noSettledOrders')" :isIndex="false"
|
||||
v-if="selectId == 2 && orderList.length == 0 && emptyShow"></ns-empty>
|
||||
<ns-empty text="暂无已退款订单" :isIndex="false"
|
||||
<ns-empty :text="$lang('noRefundedOrders')" :isIndex="false"
|
||||
v-if="selectId == 3 && orderList.length == 0 && emptyShow"></ns-empty>
|
||||
</view>
|
||||
</view>
|
||||
@@ -108,22 +108,22 @@ export default {
|
||||
category: [
|
||||
{
|
||||
id: 0,
|
||||
name: '全部',
|
||||
nameKey: 'all',
|
||||
number: 2
|
||||
},
|
||||
{
|
||||
id: 1,
|
||||
name: '待结算',
|
||||
nameKey: 'pendingSettlement',
|
||||
number: 0
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: '已结算',
|
||||
nameKey: 'settled',
|
||||
number: 0
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: '已退款',
|
||||
nameKey: 'refunded',
|
||||
number: 0
|
||||
}
|
||||
],
|
||||
@@ -142,7 +142,7 @@ export default {
|
||||
setTimeout(() => {
|
||||
if (!this.addonIsExist.fenxiao) {
|
||||
this.$util.showToast({
|
||||
title: '商家未开启分销',
|
||||
title: this.$lang('merchantNotOpenFenxiao'),
|
||||
mask: true,
|
||||
duration: 2000
|
||||
});
|
||||
@@ -152,7 +152,7 @@ export default {
|
||||
}
|
||||
}, 1000);
|
||||
|
||||
if (this.fenxiaoWords && this.fenxiaoWords.concept) this.$langConfig.title(this.fenxiaoWords.concept + '订单');
|
||||
if (this.fenxiaoWords && this.fenxiaoWords.concept) this.$langConfig.title(this.fenxiaoWords.concept + this.$lang('orderSuffix'));
|
||||
|
||||
if (!this.storeToken) {
|
||||
this.$nextTick(() => {
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
<view class="order-detail-box">
|
||||
<view class="header">
|
||||
<view class="title">
|
||||
<text>共{{ orderData.num }}件商品</text>
|
||||
<text>{{ $lang('totalItems', { count: orderData.num }) }}</text>
|
||||
</view>
|
||||
<text class="color-base-text font-size-tag" v-if="orderData.is_refund == 1">已退款</text>
|
||||
<text class="color-base-text font-size-tag" v-else-if="orderData.is_settlement == 1">已结算</text>
|
||||
<text class="color-base-text font-size-tag" v-else>待结算</text>
|
||||
<text class="color-base-text font-size-tag" v-if="orderData.is_refund == 1">{{ $lang('statusRefunded') }}</text>
|
||||
<text class="color-base-text font-size-tag" v-else-if="orderData.is_settlement == 1">{{ $lang('statusSettled') }}</text>
|
||||
<text class="color-base-text font-size-tag" v-else>{{ $lang('statusPendingSettlement') }}</text>
|
||||
</view>
|
||||
<view class="detail-body">
|
||||
<view class="detail-body-box">
|
||||
@@ -18,7 +18,7 @@
|
||||
<view class="goods-sub-section margin-top">
|
||||
<view>
|
||||
<text class="goods-price">
|
||||
<text class="unit price-color">¥</text>
|
||||
<text class="unit price-color">{{ $lang('common.currencySymbol') }}</text>
|
||||
<text class="price-color font-size-toolbar" >{{ parseFloat(orderData.price).toFixed(2).split(".")[0] }}</text>
|
||||
<text class="unit price-color">.{{ parseFloat(orderData.price).toFixed(2).split(".")[1] }}</text>
|
||||
</text>
|
||||
@@ -37,29 +37,29 @@
|
||||
<view class="detail-footer">
|
||||
<text></text>
|
||||
<text>
|
||||
<text>合计:</text>
|
||||
<text class="price-color total">¥{{ orderData.real_goods_money }}</text>
|
||||
<text>{{ $lang('totalLabel') }}</text>
|
||||
<text class="price-color total">{{ $lang('common.currencySymbol') }}{{ orderData.real_goods_money }}</text>
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="order-detail-box commission">
|
||||
<view class="header">
|
||||
<view class="title color-base-bg-before"><text>返佣详情</text></view>
|
||||
<view class="title color-base-bg-before"><text>{{ $lang('commissionDetail') }}</text></view>
|
||||
<text class="color-base-text"> </text>
|
||||
</view>
|
||||
<view class="detail-content">
|
||||
<view class="order-info-item">
|
||||
<text class="tit">订单编号:</text>
|
||||
<text class="tit">{{ $lang('orderNo') }}</text>
|
||||
<text>{{ orderData.order_no }}</text>
|
||||
</view>
|
||||
<view class="order-info-item">
|
||||
<text class="tit">分佣层级:</text>
|
||||
<text>{{ orderData.commission_level }}级</text>
|
||||
<text class="tit">{{ $lang('commissionLevel') }}</text>
|
||||
<text>{{ $lang('levelText', { level: orderData.commission_level }) }}</text>
|
||||
</view>
|
||||
<view class="order-info-item">
|
||||
<text class="tit">返佣金额:</text>
|
||||
<text class="tit">{{ $lang('commissionAmount') }}</text>
|
||||
<text class="price-color font-size-toolbar">
|
||||
<text class="font-size-goods-tag">¥</text>
|
||||
<text class="font-size-goods-tag">{{ $lang('common.currencySymbol') }}</text>
|
||||
{{ parseFloat(orderData.commission).toFixed(2).split(".")[0] }}
|
||||
<text class="font-size-goods-tag">.{{ parseFloat(orderData.commission).toFixed(2).split(".")[1] }}</text>
|
||||
</text>
|
||||
@@ -100,7 +100,7 @@ export default {
|
||||
setTimeout( () => {
|
||||
if (!this.addonIsExist.fenxiao) {
|
||||
this.$util.showToast({
|
||||
title: '商家未开启分销',
|
||||
title: this.$lang('merchantNotOpenFenxiao'),
|
||||
mask: true,
|
||||
duration: 2000
|
||||
});
|
||||
@@ -133,7 +133,7 @@ export default {
|
||||
this.orderData = res.data;
|
||||
} else {
|
||||
this.$util.showToast({
|
||||
title: '未获取到订单信息!'
|
||||
title: this.$lang('orderInfoNotFound')
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$util.redirectTo('/pages_promotion/fenxiao/order', {}, 'redirectTo');
|
||||
|
||||
@@ -11,22 +11,22 @@
|
||||
</swiper>
|
||||
|
||||
<!-- #ifdef H5 -->
|
||||
<view class="tips">长按识别图中二维码</view>
|
||||
<view class="tips">{{ $lang('longPressTip') }}</view>
|
||||
<!-- #endif -->
|
||||
|
||||
<!-- #ifdef MP -->
|
||||
<view class="btn color-base-bg color-base-border" @click="save">保存海报</view>
|
||||
<view class="btn color-base-bg color-base-border" @click="save">{{ $lang('savePoster') }}</view>
|
||||
<!-- #endif -->
|
||||
|
||||
<uni-popup ref="popupDialog" :custom="true" :mask-click="false">
|
||||
<view class="dialog-popup">
|
||||
<view class="title">提示</view>
|
||||
<view class="message">您拒绝了保存图片到相册的授权请求,无法保存图片到相册,如需正常使用,请授权之后再进行操作。</view>
|
||||
<view class="title">{{ $lang('dialogTitle') }}</view>
|
||||
<view class="message">{{ $lang('authDeniedMessage') }}</view>
|
||||
<view class="action-wrap">
|
||||
<view @click="closeDialog">取消</view>
|
||||
<view @click="closeDialog">{{ $lang('cancel') }}</view>
|
||||
<view>
|
||||
<button type="default" open-type="openSetting" @opensetting="closeDialog"
|
||||
hover-class="none">立即授权</button>
|
||||
hover-class="none">{{ $lang('authorizeNow') }}</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -95,7 +95,7 @@ export default {
|
||||
filePath: res.tempFilePath,
|
||||
success: () => {
|
||||
this.$util.showToast({
|
||||
title: '保存成功'
|
||||
title: this.$lang('saveSuccess')
|
||||
});
|
||||
},
|
||||
fail: res => {
|
||||
@@ -104,20 +104,20 @@ export default {
|
||||
this.$refs.popupDialog.open();
|
||||
} else {
|
||||
this.$util.showToast({
|
||||
title: '保存失败,请稍后重试'
|
||||
title: this.$lang('saveFail')
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
this.$util.showToast({
|
||||
title: '下载失败'
|
||||
title: this.$lang('downloadFail')
|
||||
});
|
||||
}
|
||||
},
|
||||
fail: res => {
|
||||
this.$util.showToast({
|
||||
title: '下载失败'
|
||||
title: this.$lang('downloadFail')
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -136,7 +136,7 @@ export default {
|
||||
});
|
||||
} catch {
|
||||
this.$util.showToast({
|
||||
title: '海报生成失败'
|
||||
title: this.$lang('posterGenerateFail')
|
||||
});
|
||||
}
|
||||
},
|
||||
@@ -149,7 +149,7 @@ export default {
|
||||
setTimeout(() => {
|
||||
if (!this.addonIsExist.fenxiao) {
|
||||
this.$util.showToast({
|
||||
title: '商家未开启分销',
|
||||
title: this.$lang('merchantNotOpenFenxiao'),
|
||||
mask: true,
|
||||
duration: 2000
|
||||
});
|
||||
|
||||
@@ -22,7 +22,7 @@ export default {
|
||||
setTimeout(() => {
|
||||
if (!this.addonIsExist.fenxiao) {
|
||||
this.$util.showToast({
|
||||
title: '商家未开启分销',
|
||||
title: this.$lang('merchantNotOpenFenxiao'),
|
||||
mask: true,
|
||||
duration: 2000
|
||||
});
|
||||
@@ -48,7 +48,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.fenxiaoWords && this.fenxiaoWords.concept) this.$langConfig.title(this.fenxiaoWords.concept + '中心');
|
||||
if (this.fenxiaoWords && this.fenxiaoWords.concept) this.$langConfig.title(this.fenxiaoWords.concept + this.$lang('center'));
|
||||
this.is_fenxiao = Boolean(this.memberInfo.is_fenxiao);
|
||||
},
|
||||
methods: {
|
||||
@@ -157,7 +157,7 @@ export default {
|
||||
//生成海报
|
||||
getGoodsPoster() {
|
||||
uni.showLoading({
|
||||
'title': '海报生成中...'
|
||||
'title': this.$lang('posterGenerating')
|
||||
});
|
||||
let url = "";
|
||||
let data = {};
|
||||
@@ -204,12 +204,12 @@ export default {
|
||||
filePath: res.tempFilePath,
|
||||
success: () => {
|
||||
this.$util.showToast({
|
||||
title: "保存成功"
|
||||
title: this.$lang('saveSuccess')
|
||||
});
|
||||
},
|
||||
fail: () => {
|
||||
this.$util.showToast({
|
||||
title: "保存失败,请稍后重试"
|
||||
title: this.$lang('saveFail')
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
</view>
|
||||
<view class="withdrawal"
|
||||
@click="$util.redirectTo('/pages_promotion/fenxiao/withdraw_apply')"
|
||||
v-if="type == 'profit'">点击提现</view>
|
||||
v-if="type == 'profit'">{{ $lang('clickToWithdraw') }}</view>
|
||||
<view class="withdrawal" @click="$util.redirectTo('/pages_promotion/fenxiao/team')"
|
||||
v-if="type == 'invited_num'">我的团队</view>
|
||||
v-if="type == 'invited_num'">{{ $lang('myTeam') }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -30,8 +30,8 @@
|
||||
<text class="iconfont icon-fenxiao"></text>
|
||||
</view>
|
||||
<view class="all-money-tit-wrap">
|
||||
<text class="all-money-tit">分销佣金</text>
|
||||
<text class="all-money-num">{{ info.today_commission }}元</text>
|
||||
<text class="all-money-tit">{{ $lang('distributionCommission') }}</text>
|
||||
<text class="all-money-num">{{ $lang('todayCommission', { amount: info.today_commission }) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -41,8 +41,8 @@
|
||||
<text class="iconfont icon-baixingbeng"></text>
|
||||
</view>
|
||||
<view class="all-money-tit-wrap">
|
||||
<text class="all-money-tit">佣金排行</text>
|
||||
<text class="all-money-num">您排行第{{ ranking }}名</text>
|
||||
<text class="all-money-tit">{{ $lang('commissionRanking') }}</text>
|
||||
<text class="all-money-num">{{ $lang('rankingTip', { ranking: ranking }) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -54,8 +54,8 @@
|
||||
<text class="iconfont icon-huodongtuiyan"></text>
|
||||
</view>
|
||||
<view class="all-money-tit-wrap">
|
||||
<text class="all-money-tit">推广人数</text>
|
||||
<text class="all-money-num">{{ info.one_child_num }}人</text>
|
||||
<text class="all-money-tit">{{ $lang('promotionCount') }}</text>
|
||||
<text class="all-money-num">{{ $lang('promotionPeople', { count: info.one_child_num }) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -65,15 +65,15 @@
|
||||
<text class="iconfont icon-baixingbeng"></text>
|
||||
</view>
|
||||
<view class="all-money-tit-wrap">
|
||||
<text class="all-money-tit" v-if="type == 'invited_num'">推广排行</text>
|
||||
<text class="all-money-num">您排行第{{ ranking }}名</text>
|
||||
<text class="all-money-tit" v-if="type == 'invited_num'">{{ $lang('promotionRanking') }}</text>
|
||||
<text class="all-money-num">{{ $lang('rankingTip', { ranking: ranking }) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="title-rakn-text" v-if="type == 'profit'">佣金排行</view>
|
||||
<view class="title-rakn-text" v-if="type == 'invited_num'">推广排行</view>
|
||||
<view class="title-rakn-text" v-if="type == 'profit'">{{ $lang('commissionRanking') }}</view>
|
||||
<view class="title-rakn-text" v-if="type == 'invited_num'">{{ $lang('promotionRanking') }}</view>
|
||||
|
||||
<view class="ranking-list">
|
||||
<view class="ranking-item" v-for="(item, index) in list" :key="index">
|
||||
@@ -87,13 +87,13 @@
|
||||
</view>
|
||||
<view class="price-font price-style" v-if="type == 'profit'">
|
||||
¥{{ item.total_commission | moneyFormat }}</view>
|
||||
<view class="price-font price-style" v-if="type == 'invited_num'">{{ item.child_num }}人
|
||||
<view class="price-font price-style" v-if="type == 'invited_num'">{{ $lang('promotionPeople', { count: item.child_num }) }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block v-if="list.length == 0 && emptyShow">
|
||||
<ns-empty text="暂无数据" :isIndex="false"></ns-empty>
|
||||
<ns-empty :text="$lang('noData')" :isIndex="false"></ns-empty>
|
||||
</block>
|
||||
</view>
|
||||
</mescroll-uni>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<block v-for="(item, index) in levelList" :key="index">
|
||||
<view class="cate-li"
|
||||
:class="{ 'active color-base-text color-base-border': currentLevel == item.level }"
|
||||
@click="selectLevel(item.level)">{{ item.name }}</view>
|
||||
@click="selectLevel(item.level)">{{ $lang(item.nameKey) }}</view>
|
||||
</block>
|
||||
</view>
|
||||
<mescroll-uni ref="mescroll" @getData="getData" :top="levelNum > 1 ? 90 : 0" class="member-point" :size="8"
|
||||
@@ -25,21 +25,21 @@
|
||||
<view class="title color-base-border color-base-text">{{
|
||||
fenxiaoWords.fenxiao_name }}</view>
|
||||
</view>
|
||||
<view class="color-tip font-size-goods-tag">加入时间:{{
|
||||
<view class="color-tip font-size-goods-tag">{{ $lang('joinTime') }}{{
|
||||
$util.timeStampTurnTime(item.bind_fenxiao_time).substring(0, 10) }}</view>
|
||||
</view>
|
||||
<view class="consume-info">
|
||||
<view>
|
||||
<text>{{ item.one_child_num }}</text>
|
||||
人
|
||||
{{ $lang('peopleUnit') }}
|
||||
</view>
|
||||
<view>
|
||||
<text>{{ item.order_num }}</text>
|
||||
单
|
||||
{{ $lang('orderUnit') }}
|
||||
</view>
|
||||
<view>
|
||||
<text>{{ item.order_money | moneyFormat }}</text>
|
||||
元
|
||||
{{ $lang('currencyUnit') }}
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
@@ -50,21 +50,21 @@
|
||||
<text>{{ item.nickname }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="color-tip font-size-goods-tag">加入时间:{{
|
||||
<view class="color-tip font-size-goods-tag">{{ $lang('joinTime') }}{{
|
||||
$util.timeStampTurnTime(item.bind_fenxiao_time).substring(0, 10) }}</view>
|
||||
</view>
|
||||
<view class="consume-info">
|
||||
<view>
|
||||
<text>0</text>
|
||||
人
|
||||
{{ $lang('peopleUnit') }}
|
||||
</view>
|
||||
<view>
|
||||
<text>{{ item.order_num }}</text>
|
||||
单
|
||||
{{ $lang('orderUnit') }}
|
||||
</view>
|
||||
<view>
|
||||
<text>{{ item.order_money | moneyFormat }}</text>
|
||||
元
|
||||
{{ $lang('currencyUnit') }}
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
@@ -72,7 +72,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<block v-if="teamList.length == 0 && emptyShow"><ns-empty text="暂无数据" :isIndex="false"></ns-empty>
|
||||
<block v-if="teamList.length == 0 && emptyShow"><ns-empty :text="$lang('noData')" :isIndex="false"></ns-empty>
|
||||
</block>
|
||||
</block>
|
||||
</mescroll-uni>
|
||||
@@ -89,11 +89,11 @@ export default {
|
||||
return {
|
||||
levelList: [
|
||||
{
|
||||
name: '一级',
|
||||
nameKey: 'levelOne',
|
||||
level: 1
|
||||
},
|
||||
{
|
||||
name: '二级',
|
||||
nameKey: 'levelTwo',
|
||||
level: 2
|
||||
}
|
||||
],
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
setTimeout(() => {
|
||||
if (!this.addonIsExist.fenxiao) {
|
||||
this.$util.showToast({
|
||||
title: '商家未开启分销',
|
||||
title: this.$lang('merchantNotOpenFenxiao'),
|
||||
mask: true,
|
||||
duration: 2000
|
||||
});
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<view class="container" :style="themeColor">
|
||||
<view class="bank-account-wrap" @click="goAccount()">
|
||||
<view class="tx-wrap" v-if="bankAccountInfo.withdraw_type && !isBalance">
|
||||
<text class="tx-to">提现到</text>
|
||||
<view class="tx-bank" v-if="bankAccountInfo.withdraw_type == 'wechatpay'">微信默认钱包</view>
|
||||
<text class="tx-to">{{ $lang('withdrawTo') }}</text>
|
||||
<view class="tx-bank" v-if="bankAccountInfo.withdraw_type == 'wechatpay'">{{ $lang('wechatDefaultWallet') }}</view>
|
||||
<view class="tx-bank" v-else>{{ bankAccountInfo.bank_account }} </view>
|
||||
<view class="tx-img" v-if="bankAccountInfo.withdraw_type == 'alipay'">
|
||||
<image :src="$util.img('public/uniapp/member/apply_withdrawal/alipay.png')" mode="widthFix" show-menu-by-longpress></image>
|
||||
@@ -16,10 +16,10 @@
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
<text class="tx-to" v-else-if="!isBalance">请添加提现账户</text>
|
||||
<text class="tx-to" v-else-if="!isBalance">{{ $lang('pleaseAddWithdrawAccount') }}</text>
|
||||
<view class="tx-wrap" v-else="isBalance">
|
||||
<text class="tx-to">提现到</text>
|
||||
<view class="tx-bank">余额</view>
|
||||
<text class="tx-to">{{ $lang('withdrawTo') }}</text>
|
||||
<view class="tx-bank">{{ $lang('balance') }}</view>
|
||||
<view class="tx-img">
|
||||
<image :src="$util.img('public/uniapp/member/apply_withdrawal/tixian.png')" mode="widthFix" show-menu-by-longpress></image>
|
||||
</view>
|
||||
@@ -28,7 +28,7 @@
|
||||
</view>
|
||||
<view class="empty-box"></view>
|
||||
<view class="withdraw-wrap">
|
||||
<view class="withdraw-wrap-title">提现金额:</view>
|
||||
<view class="withdraw-wrap-title">{{ $lang('withdrawAmountLabel') }}</view>
|
||||
<view class="money-wrap">
|
||||
<text class="unit">{{ $lang('common.currencySymbol') }}</text>
|
||||
<input type="digit" class="withdraw-money" v-model="withdrawMoney" />
|
||||
@@ -38,14 +38,14 @@
|
||||
</view>
|
||||
<view class="bottom">
|
||||
<view>
|
||||
<text class="color-tip">可提现金额:{{ $lang('common.currencySymbol') }}{{ withdrawInfo.account | moneyFormat }}</text>
|
||||
<text class="all-tx color-base-text" @click="allTx">全部提现</text>
|
||||
<text class="color-tip">{{ $lang('withdrawableAmountLabel') }}{{ $lang('common.currencySymbol') }}{{ withdrawInfo.account | moneyFormat }}</text>
|
||||
<text class="all-tx color-base-text" @click="allTx">{{ $lang('withdrawAll') }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="desc">
|
||||
<text v-if="withdrawConfigInfo.withdraw > 0">最小提现金额为{{ $lang('common.currencySymbol') }}{{ withdrawConfigInfo.withdraw | moneyFormat }},</text>
|
||||
<text v-if="withdrawConfigInfo.max > 0">最大提现金额为{{ $lang('common.currencySymbol') }}{{ (withdrawConfigInfo.max > withdrawInfo.account ? withdrawInfo.account : withdrawConfigInfo.max) | moneyFormat }},</text>
|
||||
<text>手续费为{{ withdrawConfigInfo.withdraw_rate + '%' }}</text>
|
||||
<text v-if="withdrawConfigInfo.withdraw > 0">{{ $lang('minWithdrawAmountTip', { symbol: $lang('common.currencySymbol'), min: withdrawConfigInfo.withdraw | moneyFormat }) }}</text>
|
||||
<text v-if="withdrawConfigInfo.max > 0">{{ $lang('maxWithdrawAmountTip', { symbol: $lang('common.currencySymbol'), max: (withdrawConfigInfo.max > withdrawInfo.account ? withdrawInfo.account : withdrawConfigInfo.max) | moneyFormat }) }}</text>
|
||||
<text>{{ $lang('serviceFeeTip', { rate: withdrawConfigInfo.withdraw_rate + '%' }) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
<view class="grace-page-footer page-btm" style="z-index: 999999; background: rgb(255, 255, 255); padding-bottom: 0px;" @click="withdraw">
|
||||
<view data-v-800ec5da="" class="collectionBorder">
|
||||
<button data-v-800ec5da="" class="renren-btn do false middle">提现</button>
|
||||
<button data-v-800ec5da="" class="renren-btn do false middle">{{ $lang('withdrawBtn') }}</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -175,7 +175,7 @@
|
||||
verify() {
|
||||
if (this.withdrawMoney == '' || this.withdrawMoney < 0 || isNaN(parseFloat(this.withdrawMoney))) {
|
||||
this.$util.showToast({
|
||||
title: '请输入提现金额'
|
||||
title: this.$lang('pleaseEnterWithdrawAmount')
|
||||
});
|
||||
return false;
|
||||
}
|
||||
@@ -186,14 +186,14 @@
|
||||
}
|
||||
if (parseFloat(this.withdrawMoney) > 0 && (parseFloat(this.withdrawMoney) > parseFloat(money))) {
|
||||
this.$util.showToast({
|
||||
title: '提现金额超出可提现金额'
|
||||
title: this.$lang('withdrawAmountExceeds')
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (parseFloat(this.withdrawMoney) > 0 && (parseFloat(this.withdrawMoney) < parseFloat(this
|
||||
.withdrawConfigInfo.withdraw))) {
|
||||
this.$util.showToast({
|
||||
title: '提现金额小于最低提现金额'
|
||||
title: this.$lang('withdrawAmountBelowMin')
|
||||
});
|
||||
return false;
|
||||
}
|
||||
@@ -202,7 +202,7 @@
|
||||
withdraw() {
|
||||
if (!this.bankAccountInfo.withdraw_type && !this.isBalance) {
|
||||
this.$util.showToast({
|
||||
title: '请先添加提现方式'
|
||||
title: this.$lang('pleaseAddWithdrawMethod')
|
||||
});
|
||||
return;
|
||||
}
|
||||
@@ -235,7 +235,7 @@
|
||||
success: res => {
|
||||
if (res.code >= 0) {
|
||||
this.$util.showToast({
|
||||
title: '提现申请成功'
|
||||
title: this.$lang('withdrawApplySuccess')
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$util.redirectTo('/pages_promotion/fenxiao/withdraw_list', {},
|
||||
@@ -270,7 +270,7 @@
|
||||
success: res => {
|
||||
if (res.code >= 0) {
|
||||
this.$util.showToast({
|
||||
title: '提现申请成功'
|
||||
title: this.$lang('withdrawApplySuccess')
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$util.redirectTo('/pages_promotion/fenxiao/withdraw_list', {},
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
<view class="detailed-item" v-for="(item, index) in withdrawList" :key="index"
|
||||
@click="toDetail(item.id)">
|
||||
<view class="info">
|
||||
<view class="event">{{ item.transfer_type == 'balance' && '余额' ||
|
||||
item.transfer_type == 'alipay' && '支付宝' || item.transfer_type == 'bank' && '银行卡' ||
|
||||
item.transfer_type =='wechatpay'&&'微信' }}</view>
|
||||
<view class="event">{{ item.transfer_type == 'balance' && $lang('transferTypeBalance') ||
|
||||
item.transfer_type == 'alipay' && $lang('transferTypeAlipay') || item.transfer_type == 'bank' && $lang('transferTypeBank') ||
|
||||
item.transfer_type =='wechatpay'&& $lang('transferTypeWechatpay') }}</view>
|
||||
<view>
|
||||
<text class="time">{{ $util.timeStampTurnTime(item.create_time) }}</text>
|
||||
</view>
|
||||
@@ -25,7 +25,7 @@
|
||||
</view>
|
||||
</block>
|
||||
<block v-else>
|
||||
<ns-empty :isIndex="false" text="暂无提现记录"></ns-empty>
|
||||
<ns-empty :isIndex="false" :text="$lang('noWithdrawRecords')"></ns-empty>
|
||||
</block>
|
||||
</view>
|
||||
</mescroll-uni>
|
||||
@@ -65,7 +65,7 @@ export default {
|
||||
setTimeout(() => {
|
||||
if (!this.addonIsExist.fenxiao) {
|
||||
this.$util.showToast({
|
||||
title: '商家未开启分销',
|
||||
title: this.$lang('merchantNotOpenFenxiao'),
|
||||
mask: true,
|
||||
duration: 2000
|
||||
});
|
||||
@@ -75,7 +75,7 @@ export default {
|
||||
}
|
||||
}, 1000);
|
||||
|
||||
if (this.fenxiaoWords && this.fenxiaoWords.withdraw) this.$langConfig.title(this.fenxiaoWords.withdraw + '明细');
|
||||
if (this.fenxiaoWords && this.fenxiaoWords.withdraw) this.$langConfig.title(this.fenxiaoWords.withdraw + this.$lang('detailSuffix'));
|
||||
|
||||
if (!this.storeToken) {
|
||||
this.$nextTick(() => {
|
||||
|
||||
@@ -39,7 +39,7 @@ export default {
|
||||
fontWeight: false,
|
||||
padding: 0,
|
||||
cartEvent: "detail",
|
||||
text: "购买",
|
||||
text: this.$lang('buyText'),
|
||||
textColor: "#FFFFFF",
|
||||
theme: "default",
|
||||
aroundRadius: 25,
|
||||
@@ -76,8 +76,8 @@ export default {
|
||||
this.getMerch()
|
||||
}else{
|
||||
uni.showModal({
|
||||
title:'提示',
|
||||
content:'商家不存在',
|
||||
title: this.$lang('modal.title'),
|
||||
content: this.$lang('modal.merchantNotExist'),
|
||||
showCancel:false,
|
||||
success(e){
|
||||
uni.navigateBack({})
|
||||
@@ -120,8 +120,8 @@ export default {
|
||||
* 转发分享
|
||||
*/
|
||||
onShareAppMessage(res) {
|
||||
var title = '搜索到' + this.count + '件“' + this.keyword + this.category_title + this.coupon_name + '”相关的优质商品';
|
||||
let route = this.$util.getCurrentShareRoute(this.memberInfo ? this.memberInfo.member_id : 0);
|
||||
var title = this.$lang('shareTitle', { count: this.count, keyword: this.keyword + this.category_title + this.coupon_name });
|
||||
let route = this.$util.getCurrentShareRoute(this.memberInfo ? this.memberInfo.member_id : 0);
|
||||
var path = route.path;
|
||||
return {
|
||||
title: title,
|
||||
@@ -134,8 +134,8 @@ export default {
|
||||
},
|
||||
// 分享到微信朋友圈
|
||||
onShareTimeline() {
|
||||
var title = '搜索到' + this.count + '件“' + this.keyword + this.category_title + this.coupon_name + '”相关的优质商品';
|
||||
let route = this.$util.getCurrentShareRoute(this.memberInfo ? this.memberInfo.member_id : 0);
|
||||
var title = this.$lang('shareTitle', { count: this.count, keyword: this.keyword + this.category_title + this.coupon_name });
|
||||
let route = this.$util.getCurrentShareRoute(this.memberInfo ? this.memberInfo.member_id : 0);
|
||||
var query = route.query;
|
||||
return {
|
||||
title: title,
|
||||
@@ -336,26 +336,26 @@ export default {
|
||||
// }
|
||||
if (!Number(this.maxPrice) && this.maxPrice) {
|
||||
this.$util.showToast({
|
||||
title: '请输入最高价'
|
||||
title: this.$lang('priceFilter.pleaseEnterMaxPrice')
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (Number(this.minPrice) < 0 || Number(this.maxPrice) < 0) {
|
||||
this.$util.showToast({
|
||||
title: '筛选价格不能小于0'
|
||||
title: this.$lang('priceFilter.priceCannotBeLessThanZero')
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (this.minPrice != '' && Number(this.minPrice) > Number(this.maxPrice) && this.maxPrice) {
|
||||
|
||||
this.$util.showToast({
|
||||
title: '最低价不能大于最高价'
|
||||
title: this.$lang('priceFilter.minCannotExceedMax')
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (this.maxPrice != '' && Number(this.maxPrice) < Number(this.minPrice)) {
|
||||
this.$util.showToast({
|
||||
title: '最高价不能小于最低价'
|
||||
title: this.$lang('priceFilter.maxCannotBeLessThanMin')
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
:id="statusItem.id" :data-current="statusIndex" @click="ontabtap">
|
||||
<text class="uni-tab-item-title"
|
||||
:class="statusItem.status == orderStatus ? 'uni-tab-item-title-active color-base-text' : ''">
|
||||
{{ statusItem.name }}
|
||||
{{ $lang('point.orderList.' + statusItem.nameKey) }}
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -16,10 +16,10 @@
|
||||
<view class="order-item" v-for="(orderItem, orderIndex) in orderList" :key="orderIndex"
|
||||
@click="detail(orderItem)">
|
||||
<view class="order-header">
|
||||
<text class="order-no">订单号:{{ orderItem.order_no }}</text>
|
||||
<text class="order-no">{{ $lang('point.orderList.orderNo') }}{{ orderItem.order_no }}</text>
|
||||
<text class="status-name">
|
||||
{{ orderItem.order_status == 0 ? '待支付' : orderItem.order_status == 1 ? '已完成' :
|
||||
orderItem.order_status == -1 ? '已关闭' : '' }}
|
||||
{{ orderItem.order_status == 0 ? $lang('point.orderList.statusPendingPayment') : orderItem.order_status == 1 ? $lang('point.orderList.statusCompleted') :
|
||||
orderItem.order_status == -1 ? $lang('point.orderList.statusClosed') : '' }}
|
||||
</text>
|
||||
</view>
|
||||
<view class="order-body">
|
||||
@@ -46,7 +46,7 @@
|
||||
<view class="goods-sub-section">
|
||||
<text class="goods-price">
|
||||
<text class="price-style large">{{ orderItem.point }}</text>
|
||||
<text class="unit price-style small">积分</text>
|
||||
<text class="unit price-style small">{{ $lang('point.orderList.points') }}</text>
|
||||
<block v-if="orderItem.price > 0">
|
||||
+
|
||||
<text class="unit price-style small">{{
|
||||
@@ -69,20 +69,20 @@
|
||||
<view class="order-footer">
|
||||
<view class="order-action" v-if="orderItem.order_status == 0 && orderItem.type == 1">
|
||||
<view class="order-box-btn font-size-tag"
|
||||
@click.stop="orderClose(orderItem.order_id, orderIndex)">关闭</view>
|
||||
@click.stop="orderClose(orderItem.order_id, orderIndex)">{{ $lang('point.orderList.closeBtn') }}</view>
|
||||
<view class="order-box-btn color-base-bg color-base-border"
|
||||
@click.stop="openChoosePayment(orderItem.out_trade_no, orderItem.price)">支付</view>
|
||||
@click.stop="openChoosePayment(orderItem.out_trade_no, orderItem.price)">{{ $lang('point.orderList.payBtn') }}</view>
|
||||
</view>
|
||||
<view class="order-action" v-else>
|
||||
<view class="order-box-btn font-size-tag">查看详情</view>
|
||||
<view class="order-box-btn font-size-tag">{{ $lang('point.orderList.viewDetails') }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block v-if="showEmpty && !orderList.length">
|
||||
<view class="cart-empty">
|
||||
<ns-empty :isIndex="true" :emptyBtn="{ url: '/pages_promotion/point/list', text: '去逛逛' }"
|
||||
text="暂无积分兑换订单"></ns-empty>
|
||||
<ns-empty :isIndex="true" :emptyBtn="{ url: '/pages_promotion/point/list', text: $lang('point.orderList.goBrowse') }"
|
||||
:text="$lang('point.orderList.emptyText')"></ns-empty>
|
||||
</view>
|
||||
</block>
|
||||
</block>
|
||||
@@ -104,9 +104,9 @@ export default {
|
||||
outTradeNo: '',
|
||||
payMoney: 0,
|
||||
statusList: [
|
||||
{ status: 'all', id: 'all', name: '全部' },
|
||||
{ status: 0, id: 'pay', name: '待支付' },
|
||||
{ status: 1, id: 'complete', name: '已完成' },
|
||||
{ status: 'all', id: 'all', nameKey: 'statusAll' },
|
||||
{ status: 0, id: 'pay', nameKey: 'statusPendingPayment' },
|
||||
{ status: 1, id: 'complete', nameKey: 'statusCompleted' },
|
||||
],
|
||||
orderStatus: 'all',
|
||||
};
|
||||
@@ -115,7 +115,7 @@ export default {
|
||||
setTimeout(() => {
|
||||
if (!this.addonIsExist.pointexchange) {
|
||||
this.$util.showToast({
|
||||
title: '商家未开启积分商城',
|
||||
title: this.$lang('point.orderList.merchantNotEnabled'),
|
||||
mask: true,
|
||||
duration: 2000
|
||||
});
|
||||
@@ -182,8 +182,8 @@ export default {
|
||||
},
|
||||
orderClose(order_id, index) {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '确定关闭此次兑换?',
|
||||
title: this.$lang('point.orderList.tip'),
|
||||
content: this.$lang('point.orderList.confirmCloseExchange'),
|
||||
success: res => {
|
||||
if (res.confirm) {
|
||||
this.$api.sendRequest({
|
||||
@@ -195,7 +195,7 @@ export default {
|
||||
if (res.code >= 0) {
|
||||
this.orderList[index].order_status = -1;
|
||||
this.$util.showToast({
|
||||
title: '关闭成功'
|
||||
title: this.$lang('point.orderList.closeSuccess')
|
||||
});
|
||||
this.$forceUpdate();
|
||||
}
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
<view class="birthday-title-desc" v-if="birthday.blessing_content">
|
||||
{{ birthday.blessing_content }}
|
||||
</view>
|
||||
<view class="birthday-title-desc" v-else>感谢您一直以来的支持,在您生日到来之际,特为您送上最真诚的祝福!</view>
|
||||
<view class="birthday-title-desc" v-else>{{ $lang('components.nsBirthdayGift.defaultBlessing') }}</view>
|
||||
<view class="birthday-title-hint">
|
||||
<image :src="$util.img('public/uniapp/birthday_gift/birthday_gift_left.png')" mode="" class="birthday-img-all" show-menu-by-longpress/>
|
||||
<view class="font-size-toolbar">生日贺礼</view>
|
||||
<view class="font-size-toolbar">{{ $lang('components.nsBirthdayGift.birthdayGift') }}</view>
|
||||
<image :src="$util.img('public/uniapp/birthday_gift/birthday_gift_right.png')" mode="" class="birthday-img-all" show-menu-by-longpress/>
|
||||
</view>
|
||||
<scroll-view scroll-y="true" class="register-box">
|
||||
@@ -20,31 +20,31 @@
|
||||
<view class="info">
|
||||
<text class="num">
|
||||
{{ parseFloat(birthday.point) }}
|
||||
<text class="type">积分</text>
|
||||
<text class="type">{{ $lang('components.nsBirthdayGift.points') }}</text>
|
||||
</text>
|
||||
<view class="desc">用于下单时抵现或兑换商品等</view>
|
||||
<view class="desc">{{ $lang('components.nsBirthdayGift.pointDesc') }}</view>
|
||||
</view>
|
||||
<view class="tip" @click="closeRewardPopup('1')">立即查看</view>
|
||||
<view class="tip" @click="closeRewardPopup('1')">{{ $lang('components.nsBirthdayGift.viewNow') }}</view>
|
||||
</view>
|
||||
<view class="content" v-if="birthday.balance_type == 0 && birthday.balance > 0">
|
||||
<view class="info">
|
||||
<text class="num">
|
||||
{{ parseFloat(birthday.balance) }}
|
||||
<text class="type">元红包</text>
|
||||
<text class="type">{{ $lang('components.nsBirthdayGift.yuanRedPacket') }}</text>
|
||||
</text>
|
||||
<view class="desc">不可提现红包</view>
|
||||
<view class="desc">{{ $lang('components.nsBirthdayGift.nonWithdrawable') }}</view>
|
||||
</view>
|
||||
<view class="tip" @click="closeRewardPopup('2')">立即查看</view>
|
||||
<view class="tip" @click="closeRewardPopup('2')">{{ $lang('components.nsBirthdayGift.viewNow') }}</view>
|
||||
</view>
|
||||
<view class="content" v-if="birthday.balance_type == 1 && birthday.balance_money > 0">
|
||||
<view class="info">
|
||||
<text class="num">
|
||||
{{ parseFloat(birthday.balance_money) }}
|
||||
<text class="type">元红包</text>
|
||||
<text class="type">{{ $lang('components.nsBirthdayGift.yuanRedPacket') }}</text>
|
||||
</text>
|
||||
<view class="desc">可提现红包</view>
|
||||
<view class="desc">{{ $lang('components.nsBirthdayGift.withdrawable') }}</view>
|
||||
</view>
|
||||
<view class="tip" @click="closeRewardPopup('2')">立即查看</view>
|
||||
<view class="tip" @click="closeRewardPopup('2')">{{ $lang('components.nsBirthdayGift.viewNow') }}</view>
|
||||
</view>
|
||||
|
||||
<block v-if="birthday.coupon_list.length > 0">
|
||||
@@ -54,18 +54,18 @@
|
||||
<block v-if="item.type == 'reward'">
|
||||
<text class="num">
|
||||
{{ parseFloat(item.money) }}
|
||||
<text class="type">元优惠劵</text>
|
||||
<text class="type">{{ $lang('components.nsBirthdayGift.yuanCoupon') }}</text>
|
||||
</text>
|
||||
</block>
|
||||
<block v-else-if="item.type == 'discount'">
|
||||
<text class="num">
|
||||
{{ item.discount }}
|
||||
<text class="type">折</text>
|
||||
<text class="type">{{ $lang('components.nsBirthdayGift.discount') }}</text>
|
||||
</text>
|
||||
</block>
|
||||
<view class="desc">用于下单时抵现或兑换商品等</view>
|
||||
<view class="desc">{{ $lang('components.nsBirthdayGift.couponDesc') }}</view>
|
||||
</view>
|
||||
<view class="tip" @click="closeRewardPopup('3')">立即查看</view>
|
||||
<view class="tip" @click="closeRewardPopup('3')">{{ $lang('components.nsBirthdayGift.viewNow') }}</view>
|
||||
</view>
|
||||
</block>
|
||||
</block>
|
||||
|
||||
@@ -11,38 +11,38 @@
|
||||
</view>
|
||||
<view class="content-title-name" v-if="memberInfo">Dear {{ memberInfo.nickname }}</view>
|
||||
<view class="content-title-hint" v-if="newgift.remark">{{ newgift.remark }}</view>
|
||||
<view class="content-title-hint" v-else>感谢您一直以来的支持,为回馈会员,商城{{ newgift.activity_name ? newgift.activity_name : 'xx' }}节日,为您提供以下福利</view>
|
||||
<view class="content-title-hint" v-else>{{ $lang('components.nsNewGift.thankYouHint', { activityName: newgift.activity_name || 'xx' }) }}</view>
|
||||
<scroll-view scroll-y="true" class="register-box">
|
||||
<view :class="introduction > 38 ? 'reward-content' : 'reward-content-two'">
|
||||
<view class="content" v-if="newgift.award_list.point > 0">
|
||||
<view class="info">
|
||||
<text class="num">
|
||||
{{ newgift.award_list.point }}
|
||||
<text class="type">积分</text>
|
||||
<text class="type">{{ $lang('components.nsNewGift.points') }}</text>
|
||||
</text>
|
||||
<view class="desc">用于参与活动购买商品时抵扣</view>
|
||||
<view class="desc">{{ $lang('components.nsNewGift.pointDesc') }}</view>
|
||||
</view>
|
||||
<view class="tip" @click="closeRewardPopup('1')">立即查看</view>
|
||||
<view class="tip" @click="closeRewardPopup('1')">{{ $lang('components.nsNewGift.viewNow') }}</view>
|
||||
</view>
|
||||
<view class="content" v-if="newgift.award_list.balance_type == 0 && newgift.award_list.balance > 0">
|
||||
<view class="info">
|
||||
<text class="num">
|
||||
{{ newgift.award_list.balance | int }}
|
||||
<text class="type">元红包</text>
|
||||
<text class="type">{{ $lang('components.nsNewGift.yuanRedPacket') }}</text>
|
||||
</text>
|
||||
<view class="desc">不可提现红包</view>
|
||||
<view class="desc">{{ $lang('components.nsNewGift.nonWithdrawableDesc') }}</view>
|
||||
</view>
|
||||
<view class="tip" @click="closeRewardPopup('2')">立即查看</view>
|
||||
<view class="tip" @click="closeRewardPopup('2')">{{ $lang('components.nsNewGift.viewNow') }}</view>
|
||||
</view>
|
||||
<view class="content" v-if="newgift.award_list.balance_type == 1 && newgift.award_list.balance_money > 0">
|
||||
<view class="info">
|
||||
<text class="num">
|
||||
{{ newgift.award_list.balance_money | int }}
|
||||
<text class="type">元红包</text>
|
||||
<text class="type">{{ $lang('components.nsNewGift.yuanRedPacket') }}</text>
|
||||
</text>
|
||||
<view class="desc">可提现红包</view>
|
||||
<view class="desc">{{ $lang('components.nsNewGift.withdrawableDesc') }}</view>
|
||||
</view>
|
||||
<view class="tip" @click="closeRewardPopup('2')">立即查看</view>
|
||||
<view class="tip" @click="closeRewardPopup('2')">{{ $lang('components.nsNewGift.viewNow') }}</view>
|
||||
</view>
|
||||
<block v-if="newgift.award_list.coupon_list.length > 0">
|
||||
<block v-for="(item, index) in newgift.award_list.coupon_list" :key="index">
|
||||
@@ -50,15 +50,15 @@
|
||||
<view class="info">
|
||||
<text v-if="item.type == 'reward'" class="num">
|
||||
{{ parseFloat(item.money) }}
|
||||
<text class="type">元优惠劵</text>
|
||||
<text class="type">{{ $lang('components.nsNewGift.yuanCoupon') }}</text>
|
||||
</text>
|
||||
<text v-else-if="item.type == 'discount'" class="num">
|
||||
{{ item.discount | int }}
|
||||
<text class="type">折</text>
|
||||
<text class="type">{{ $lang('components.nsNewGift.discount') }}</text>
|
||||
</text>
|
||||
<view class="desc">用于下单时抵现或兑换商品等</view>
|
||||
<view class="desc">{{ $lang('components.nsNewGift.couponDesc') }}</view>
|
||||
</view>
|
||||
<view class="tip" @click="closeRewardPopup('3')">立即查看</view>
|
||||
<view class="tip" @click="closeRewardPopup('3')">{{ $lang('components.nsNewGift.viewNow') }}</view>
|
||||
</view>
|
||||
</block>
|
||||
</block>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
v-if="type == 'fenxiao' && payList && payList.balance">
|
||||
<view class="item-top">
|
||||
<view class="item-left">
|
||||
<view class="title-text">提现到余额</view>
|
||||
<view class="title-text">{{ $lang('withdrawToBalance') }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -22,19 +22,19 @@
|
||||
</view>
|
||||
<view class="content-bottom">
|
||||
<block v-if="item.withdraw_type == 'alipay'">
|
||||
提现账号:{{ item.bank_account }}
|
||||
{{ $lang('withdrawalAccountLabel', { account: item.bank_account }) }}
|
||||
</block>
|
||||
<block v-if="item.withdraw_type == 'bank'">
|
||||
银行名称 :{{ item.branch_bank_name }}
|
||||
{{ $lang('bankNameLabel', { bankName: item.branch_bank_name }) }}
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-btn" @click.stop="editAccount('edit', item.id)">修改</view>
|
||||
<view class="item-btn" @click.stop="editAccount('edit', item.id)">{{ $lang('update') }}</view>
|
||||
</view>
|
||||
|
||||
<view class="item-bottom">
|
||||
<view class="account-default" @click="setDefault(item.id, item.is_default)">
|
||||
<text class="default">设为默认账户</text>
|
||||
<text class="default">{{ $lang('setAsDefault') }}</text>
|
||||
<switch v-if="item.is_default == 1" checked disabled style="transform:scale(0.7)"
|
||||
:color="themeStyle.main_color" />
|
||||
<switch v-else style="transform:scale(0.7)" :color="themeStyle.main_color" />
|
||||
@@ -52,7 +52,7 @@
|
||||
v-if="dataList.length <= 0 && (type != 'fenxiao' || (type == 'fenxiao' && payList && !payList.balance))"
|
||||
class="empty-box">
|
||||
<image :src="$util.img('public/uniapp/member/account/empty.png')" mode="widthFix" show-menu-by-longpress></image>
|
||||
<view class="tips">暂无账户信息,请添加</view>
|
||||
<view class="tips">{{ $lang('emptyTip') }}</view>
|
||||
<button type="primary" class="add-account" @click="editAccount('add')">{{ $lang('newAddAccount')
|
||||
}}</button>
|
||||
</view>
|
||||
@@ -103,8 +103,8 @@ export default {
|
||||
},
|
||||
deleteAccount(id) {
|
||||
uni.showModal({
|
||||
title: '操作提示',
|
||||
content: '确定要删除该账户吗?',
|
||||
title: this.$lang('operationTip'),
|
||||
content: this.$lang('confirmDeleteAccount'),
|
||||
success: res => {
|
||||
if (res.confirm) {
|
||||
this.$api.sendRequest({
|
||||
@@ -115,12 +115,12 @@ export default {
|
||||
success: result => {
|
||||
if (result.code == 0) {
|
||||
this.$util.showToast({
|
||||
title: '删除成功'
|
||||
title: this.$lang('deleteSuccess')
|
||||
});
|
||||
this.$refs.mescroll.refresh();
|
||||
} else {
|
||||
this.$util.showToast({
|
||||
title: '删除失败'
|
||||
title: this.$lang('deleteFailed')
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -181,9 +181,9 @@ export default {
|
||||
this.dataList = this.dataList.concat(newArr); //追加新数据
|
||||
|
||||
let withdrawType = {
|
||||
bank: '银行',
|
||||
alipay: '支付宝',
|
||||
wechatpay: '微信'
|
||||
bank: this.$lang('withdrawTypeBank'),
|
||||
alipay: this.$lang('withdrawTypeAlipay'),
|
||||
wechatpay: this.$lang('withdrawTypeWechat')
|
||||
};
|
||||
|
||||
this.dataList.forEach(item => {
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
|
||||
<view class="address-item-bottom">
|
||||
<view class="address-default" @click="setDefault(item.id, item.is_default)">
|
||||
<text class="default" v-if="localType == 2 && item.local_data">设为默认地址</text>
|
||||
<text class="default" v-else>设为默认地址</text>
|
||||
<text class="default" v-if="localType == 2 && item.local_data">{{ $lang('setAsDefault') }}</text>
|
||||
<text class="default" v-else>{{ $lang('setAsDefault') }}</text>
|
||||
<switch v-if="item.is_default == 1" checked disabled style="transform:scale(0.7)"
|
||||
:color="themeStyle.main_color" />
|
||||
<switch v-else style="transform:scale(0.7)" :color="themeStyle.main_color" />
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
<view v-if="addressList.length == 0 && showEmpty" class="empty-box">
|
||||
<image :src="$util.img('public/uniapp/member/address/empty.png')" mode="widthFix" show-menu-by-longpress/>
|
||||
<view class="tips">暂无收货地址,请添加</view>
|
||||
<view class="tips">{{ $lang('emptyTip') }}</view>
|
||||
|
||||
<button type="primary" class="add-address" @click="addAddress('add')">{{ $lang('newAddAddress')
|
||||
}}</button>
|
||||
@@ -192,13 +192,13 @@ export default {
|
||||
/* 删除地址信息 */
|
||||
deleteAddress(id, is_default) {
|
||||
uni.showModal({
|
||||
title: '操作提示',
|
||||
content: '确定要删除该地址吗?',
|
||||
title: this.$lang('operationTip'),
|
||||
content: this.$lang('confirmDelete'),
|
||||
success: res => {
|
||||
if (res.confirm) {
|
||||
if (is_default == 1) {
|
||||
this.$util.showToast({
|
||||
title: '默认地址,不能删除'
|
||||
title: this.$lang('cannotDeleteDefault')
|
||||
});
|
||||
return;
|
||||
}
|
||||
@@ -210,11 +210,11 @@ export default {
|
||||
success: res => {
|
||||
if (res.code == 0) {
|
||||
this.$util.showToast({
|
||||
title: '删除成功'
|
||||
title: this.$lang('deleteSuccess')
|
||||
});
|
||||
} else {
|
||||
this.$util.showToast({
|
||||
title: '删除失败'
|
||||
title: this.$lang('deleteFail')
|
||||
});
|
||||
}
|
||||
this.$refs.mescroll.refresh();
|
||||
@@ -244,7 +244,7 @@ export default {
|
||||
this.addressList = [];
|
||||
this.$refs.mescroll.refresh();
|
||||
this.$util.showToast({
|
||||
title: '修改默认地址成功'
|
||||
title: this.$lang('setDefaultSuccess')
|
||||
});
|
||||
}
|
||||
} else {
|
||||
@@ -290,7 +290,7 @@ export default {
|
||||
});
|
||||
} else {
|
||||
this.$util.showToast({
|
||||
title: res.errMsg == 'openAddress:function not implement' ? 'PC端微信不支持一键获取地址' : res.errMsg
|
||||
title: res.errMsg == 'openAddress:function not implement' ? this.$lang('pcWechatNotSupportGetAddress') : res.errMsg
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<view class="container" :style="themeColor">
|
||||
<view class="bank-account-wrap" @click="goAccount()">
|
||||
<view class="tx-wrap" v-if="bankAccountInfo.withdraw_type">
|
||||
<text class="tx-to">提现到</text>
|
||||
<view class="tx-bank" v-if="bankAccountInfo.withdraw_type == 'wechatpay'">微信默认钱包</view>
|
||||
<text class="tx-to">{{ $lang('member.applyWithdrawal.withdrawTo') }}</text>
|
||||
<view class="tx-bank" v-if="bankAccountInfo.withdraw_type == 'wechatpay'">{{ $lang('member.applyWithdrawal.wechatDefaultWallet') }}</view>
|
||||
<view class="tx-bank" v-else>{{ bankAccountInfo.bank_account }}</view>
|
||||
<view class="tx-img" v-if="bankAccountInfo.withdraw_type == 'alipay'">
|
||||
<image :src="$util.img('public/uniapp/member/apply_withdrawal/alipay.png')" mode="widthFix" show-menu-by-longpress></image>
|
||||
@@ -16,12 +16,12 @@
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
<text class="tx-to" v-else>请添加提现方式</text>
|
||||
<text class="tx-to" v-else>{{ $lang('member.applyWithdrawal.pleaseAddWithdrawMethod') }}</text>
|
||||
<view class="iconfont icon-right"></view>
|
||||
</view>
|
||||
<view class="empty-box"></view>
|
||||
<view class="withdraw-wrap">
|
||||
<view class="withdraw-wrap-title">提现金额</view>
|
||||
<view class="withdraw-wrap-title">{{ $lang('member.applyWithdrawal.withdrawAmount') }}</view>
|
||||
<view class="money-wrap">
|
||||
<text class="unit">{{ $lang('common.currencySymbol') }}</text>
|
||||
<input type="digit" class="withdraw-money" v-model="withdrawMoney" />
|
||||
@@ -31,22 +31,21 @@
|
||||
</view>
|
||||
<view class="bootom">
|
||||
<view>
|
||||
<text class="color-tip">可提现余额:{{ $lang('common.currencySymbol') }}{{ withdrawInfo.member_info.balance_money | moneyFormat }}</text>
|
||||
<text class="all-tx color-base-text" @click="allTx">全部提现</text>
|
||||
<text class="color-tip">{{ $lang('member.applyWithdrawal.withdrawableBalance') }}{{ $lang('common.currencySymbol') }}{{ withdrawInfo.member_info.balance_money | moneyFormat }}</text>
|
||||
<text class="all-tx color-base-text" @click="allTx">{{ $lang('member.applyWithdrawal.withdrawAll') }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="desc">
|
||||
<text>最小提现金额为{{ $lang('common.currencySymbol') }}{{ withdrawInfo.config.min | moneyFormat }}</text>
|
||||
<text>,手续费为{{ withdrawInfo.config.rate + '%' }}</text>
|
||||
<text>{{ $lang('member.applyWithdrawal.minWithdrawAndFeeTip', { min: $lang('common.currencySymbol') + (withdrawInfo.config.min | moneyFormat), rate: withdrawInfo.config.rate + '%' }) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="btn color-base-border ns-gradient-otherpages-member-widthdrawal-withdrawal" :class="{ disabled: withdrawMoney == '' || withdrawMoney == 0 }" @click="withdraw">
|
||||
提现
|
||||
{{ $lang('member.applyWithdrawal.withdraw') }}
|
||||
</view>
|
||||
|
||||
<view class="recoend" @click="toWithdrawal">
|
||||
<view class="recoend-con">提现记录</view>
|
||||
<view class="recoend-con">{{ $lang('member.applyWithdrawal.withdrawalRecords') }}</view>
|
||||
</view>
|
||||
<loading-cover ref="loadingCover"></loading-cover>
|
||||
</view>
|
||||
@@ -106,7 +105,7 @@
|
||||
this.withdrawInfo = res.data;
|
||||
if (this.withdrawInfo.config.is_use == 0) {
|
||||
this.$util.showToast({
|
||||
title: '未开启提现'
|
||||
title: this.$lang('member.applyWithdrawal.withdrawalNotEnabled')
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$util.redirectTo(this.$util.MEMBER_PAGE_URL);
|
||||
@@ -136,19 +135,19 @@
|
||||
verify() {
|
||||
if (this.withdrawMoney == '' || this.withdrawMoney == 0 || isNaN(parseFloat(this.withdrawMoney))) {
|
||||
this.$util.showToast({
|
||||
title: '请输入提现金额'
|
||||
title: this.$lang('member.applyWithdrawal.pleaseEnterWithdrawAmount')
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (parseFloat(this.withdrawMoney) > parseFloat(this.withdrawInfo.member_info.balance_money)) {
|
||||
this.$util.showToast({
|
||||
title: '提现金额超出可提现金额'
|
||||
title: this.$lang('member.applyWithdrawal.withdrawAmountExceedsBalance')
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (parseFloat(this.withdrawMoney) < parseFloat(this.withdrawInfo.config.min)) {
|
||||
this.$util.showToast({
|
||||
title: '提现金额小于最低提现金额'
|
||||
title: this.$lang('member.applyWithdrawal.withdrawAmountBelowMinimum')
|
||||
});
|
||||
return false;
|
||||
}
|
||||
@@ -157,7 +156,7 @@
|
||||
withdraw() {
|
||||
if (!this.bankAccountInfo.withdraw_type) {
|
||||
this.$util.showToast({
|
||||
title: '请先添加提现方式'
|
||||
title: this.$lang('member.applyWithdrawal.pleaseAddWithdrawMethodFirst')
|
||||
});
|
||||
return;
|
||||
}
|
||||
@@ -188,7 +187,7 @@
|
||||
success: res => {
|
||||
if (res.code >= 0) {
|
||||
this.$util.showToast({
|
||||
title: '提现申请成功'
|
||||
title: this.$lang('member.applyWithdrawal.withdrawApplySuccess')
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$util.redirectTo(
|
||||
@@ -224,7 +223,7 @@
|
||||
success: res => {
|
||||
if (res.code >= 0) {
|
||||
this.$util.showToast({
|
||||
title: '提现申请成功'
|
||||
title: this.$lang('member.applyWithdrawal.withdrawApplySuccess')
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$util.redirectTo('/pages_tool/member/withdrawal', {},
|
||||
|
||||
@@ -37,13 +37,13 @@
|
||||
<text>{{ $util.timeStampTurnTime(item.create_time) }}</text>
|
||||
</view>
|
||||
<view class="balances-num">
|
||||
<text :class="item.account_data > 0 ? 'color-base-text' : ''">{{ item.account_data > 0 ?
|
||||
'+' + item.account_data : item.account_data }}元</text>
|
||||
<text :class="item.account_data > 0 ? 'color-base-text' : ''">{{ (item.account_data > 0 ?
|
||||
'+' + item.account_data : item.account_data) + $lang('yuan') }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
<block v-else><ns-empty :isIndex="false" text="暂无余额明细"></ns-empty></block>
|
||||
<block v-else><ns-empty :isIndex="false" :text="$lang('emptyTips')"></ns-empty></block>
|
||||
<!-- 无明细列表 -->
|
||||
</block>
|
||||
</mescroll-uni>
|
||||
@@ -62,13 +62,13 @@ export default {
|
||||
return {
|
||||
dataList: [],
|
||||
statusList: [{
|
||||
name: '全部',
|
||||
name: this.$lang('filterAll'),
|
||||
id: '0'
|
||||
}, {
|
||||
name: '收入',
|
||||
name: this.$lang('filterIncome'),
|
||||
id: '1'
|
||||
}, {
|
||||
name: '支出',
|
||||
name: this.$lang('filterExpense'),
|
||||
id: '2'
|
||||
}],
|
||||
scrollInto: '',
|
||||
@@ -79,7 +79,7 @@ export default {
|
||||
date: ''
|
||||
},
|
||||
balanceType: [{
|
||||
label: '全部',
|
||||
label: this.$lang('filterAll'),
|
||||
value: '0'
|
||||
}], //积分类型
|
||||
balanceIndex: 0,
|
||||
@@ -104,7 +104,7 @@ export default {
|
||||
bindDateChange: function (e) {
|
||||
var temp = e.target.value;
|
||||
var tempArr = temp.split('-');
|
||||
this.date = tempArr[0] + '年' + tempArr[1] + '月';
|
||||
this.date = this.$lang('dateFormatYM', { year: tempArr[0], month: tempArr[1] });
|
||||
this.searchType.date = e.target.value;
|
||||
this.$refs.mescroll.refresh();
|
||||
},
|
||||
@@ -121,7 +121,7 @@ export default {
|
||||
}
|
||||
month = month > 9 ? month : '0' + month;
|
||||
day = day > 9 ? day : '0' + day;
|
||||
return `${year}年${month}月`;
|
||||
return this.$lang('dateFormatYM', { year, month });
|
||||
},
|
||||
bindPickerChange(e) {
|
||||
this.balanceIndex = e.detail.value;
|
||||
@@ -135,7 +135,7 @@ export default {
|
||||
success: res => {
|
||||
let balanceType = Object.assign(res.balance, res.balance_money),
|
||||
typeArr = [{
|
||||
label: '全部',
|
||||
label: this.$lang('filterAll'),
|
||||
value: '0'
|
||||
}];
|
||||
for (var index in balanceType) {
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
<view class="cancelstatus-box">
|
||||
<view class="cancelstatus-box-sort color-base-bg">1</view>
|
||||
<view class="cancelstatus-box-con">
|
||||
<view class="cancelstatus-box-name">提交申请</view>
|
||||
<view class="cancelstatus-box-info">您已提交申请,请耐心等待~</view>
|
||||
<view class="cancelstatus-box-name">{{ $lang('member.cancelStatus.step1Name') }}</view>
|
||||
<view class="cancelstatus-box-info">{{ $lang('member.cancelStatus.step1Desc') }}</view>
|
||||
</view>
|
||||
<view class="cancelstatus-box-line color-base-bg"></view>
|
||||
</view>
|
||||
<view class="cancelstatus-box">
|
||||
<view class="cancelstatus-box-sort color-base-bg">2</view>
|
||||
<view class="cancelstatus-box-con">
|
||||
<view class="cancelstatus-box-name">等待审核</view>
|
||||
<view class="cancelstatus-box-info">等待审核中,审核通过后您的账号将直接被删除</view>
|
||||
<view class="cancelstatus-box-name">{{ $lang('member.cancelStatus.step2Name') }}</view>
|
||||
<view class="cancelstatus-box-info">{{ $lang('member.cancelStatus.step2Desc') }}</view>
|
||||
</view>
|
||||
<view class="cancelstatus-box-line color-base-bg" :class="{ 'opacity-4': state == 0 }"></view>
|
||||
</view>
|
||||
@@ -23,14 +23,14 @@
|
||||
3
|
||||
</view>
|
||||
<view class="cancelstatus-box-con">
|
||||
<view class="cancelstatus-box-name">审核通过,注销完成</view>
|
||||
<view class="cancelstatus-box-info">您已成功注销账号,期待下一次与您相遇</view>
|
||||
<view class="cancelstatus-box-name">{{ $lang('member.cancelStatus.step3Name') }}</view>
|
||||
<view class="cancelstatus-box-info">{{ $lang('member.cancelStatus.step3Desc') }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="cancelstatus-btn" v-if="state == 0">
|
||||
<button type="primary" @click="back">返回</button>
|
||||
<button class="color-base-bg" @click="revoke">撤销申请</button>
|
||||
<button type="primary" @click="back">{{ $lang('member.cancelStatus.back') }}</button>
|
||||
<button class="color-base-bg" @click="revoke">{{ $lang('member.cancelStatus.revokeApplication') }}</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -81,8 +81,8 @@
|
||||
},
|
||||
revoke() {
|
||||
uni.showModal({
|
||||
title: '风险提示',
|
||||
content: '确定要撤销申请吗?',
|
||||
title: this.$lang('member.cancelStatus.riskTip'),
|
||||
content: this.$lang('member.cancelStatus.revokeConfirm'),
|
||||
confirmColor: '#000000',
|
||||
success: res => {
|
||||
if (res.confirm) {
|
||||
|
||||
@@ -15,32 +15,32 @@
|
||||
|
||||
<view class="refund-form">
|
||||
<view class="item-wrap" @click="openPopup('refundReasonPopup')">
|
||||
<view class="label">退款原因:</view>
|
||||
<view class="label">{{ $lang('order.refundBatch.form.refundReason') }}</view>
|
||||
<view class="cont reason">
|
||||
<text class="color-tip" v-if="!refund_reason.length">请选择</text>
|
||||
<text class="color-tip" v-if="!refund_reason.length">{{ $lang('order.refundBatch.form.pleaseSelect') }}</text>
|
||||
<text class="color-tip" v-else>{{ refund_reason }}</text>
|
||||
</view>
|
||||
<text class="iconfont icon-right"></text>
|
||||
</view>
|
||||
<view class="item-wrap">
|
||||
<view class="label">退款方式:</view>
|
||||
<view class="cont color-base-text" v-if="refund_type == 1">退款无需退货</view>
|
||||
<view class="cont color-base-text" v-else>退货退款</view>
|
||||
<view class="label">{{ $lang('order.refundBatch.form.refundType') }}</view>
|
||||
<view class="cont color-base-text" v-if="refund_type == 1">{{ $lang('order.refundBatch.form.refundOnly') }}</view>
|
||||
<view class="cont color-base-text" v-else>{{ $lang('order.refundBatch.form.returnRefund') }}</view>
|
||||
</view>
|
||||
<view class="item-wrap">
|
||||
<view class="label">退款金额:</view>
|
||||
<view class="label">{{ $lang('order.refundBatch.form.refundAmount') }}</view>
|
||||
<view class="cont color-base-text">{{ $lang('common.currencySymbol') }}{{ refund_data.refund_money }}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="refund-form">
|
||||
<view class="item-wrap"><view class="label active">退款说明</view></view>
|
||||
<view class="item-wrap"><view class="label active">{{ $lang('order.refundBatch.form.refundRemark') }}</view></view>
|
||||
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<textarea
|
||||
v-if="!showText"
|
||||
class="newText"
|
||||
placeholder="请输入退款说明(选填)"
|
||||
:placeholder="$lang('order.refundBatch.form.remarkPlaceholder')"
|
||||
placeholder-class="color-tip font-size-tag"
|
||||
:auto-height="true"
|
||||
v-model="refund_remark"
|
||||
@@ -49,7 +49,7 @@
|
||||
<!-- #ifdef H5 -->
|
||||
<textarea
|
||||
class="newText"
|
||||
placeholder="请输入退款说明(选填)"
|
||||
:placeholder="$lang('order.refundBatch.form.remarkPlaceholder')"
|
||||
@blur="textBlur()"
|
||||
placeholder-class="color-tip font-size-tag"
|
||||
:auto-height="true"
|
||||
@@ -68,7 +68,7 @@
|
||||
<uni-popup ref="refundReasonPopup" type="bottom" @change="change()">
|
||||
<view class="refund-reason-popup popup">
|
||||
<view class="popup-header">
|
||||
<view><text class="tit">退款原因</text></view>
|
||||
<view><text class="tit">{{ $lang('order.refundBatch.reasonPopup.title') }}</text></view>
|
||||
<view class="align-right" @click="closePopup('refundReasonPopup')"><text class="iconfont icon-close"></text></view>
|
||||
</view>
|
||||
<view class="popup-body">
|
||||
@@ -82,7 +82,7 @@
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="popup-footer" :class="{ 'bottom-safe-area': isIphoneX }">
|
||||
<view class="confirm-btn color-base-bg" @click="closePopup('refundReasonPopup')">确定</view>
|
||||
<view class="confirm-btn color-base-bg" @click="closePopup('refundReasonPopup')">{{ $lang('order.refundBatch.reasonPopup.confirm') }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</uni-popup>
|
||||
@@ -164,7 +164,7 @@ export default {
|
||||
this.refund_data = res.data;
|
||||
if (this.$refs.loadingCover) this.$refs.loadingCover.hide();
|
||||
} else {
|
||||
this.$util.showToast({ title: '未获取到该订单项退款信息' });
|
||||
this.$util.showToast({ title: this.$lang('order.refundBatch.toast.noRefundInfo') });
|
||||
setTimeout(() => {
|
||||
this.$util.redirectTo('/pages_order/list');
|
||||
}, 1000);
|
||||
@@ -241,7 +241,7 @@ export default {
|
||||
},
|
||||
verify() {
|
||||
if (this.refund_reason == '') {
|
||||
this.$util.showToast({ title: '请选择退款原因' });
|
||||
this.$util.showToast({ title: this.$lang('order.refundBatch.validate.pleaseSelectRefundReason') });
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -13,18 +13,18 @@
|
||||
<view class="payment-item" v-for="(item, index) in payTypeList" :key="index" @click="payIndex = index">
|
||||
<view>
|
||||
<text class="iconfont" :class="item.icon"></text>
|
||||
<text class="name">{{ item.name }}</text>
|
||||
<text class="name">{{ $lang('pay.cashier.' + item.type) }}</text>
|
||||
</view>
|
||||
<text class="iconfont" :class="payIndex == index ? 'icon-yuan_checked color-base-text' : 'icon-checkboxblank'"></text>
|
||||
</view>
|
||||
</view>
|
||||
<button type="primary" @click="confirm">确认支付</button>
|
||||
<button type="primary" @click="confirm">{{ $lang('pay.cashier.confirmPay') }}</button>
|
||||
</block>
|
||||
<view v-else class="empty">店铺尚未配置支付方式!</view>
|
||||
<view v-else class="empty">{{ $lang('pay.cashier.noPayMethodConfigured') }}</view>
|
||||
</block>
|
||||
<ns-empty text="该支付单据已支付" :is-index="true" v-else></ns-empty>
|
||||
<ns-empty :text="$lang('pay.cashier.orderAlreadyPaid')" :is-index="true" v-else></ns-empty>
|
||||
</block>
|
||||
<ns-empty text="未获取到支付信息" :is-index="true" v-else></ns-empty>
|
||||
<ns-empty :text="$lang('pay.cashier.noPayInfo')" :is-index="true" v-else></ns-empty>
|
||||
<ns-login ref="login"></ns-login>
|
||||
</view>
|
||||
</template>
|
||||
@@ -131,12 +131,12 @@ export default {
|
||||
}
|
||||
if (this.payTypeList.length == 0 && this.payInfo.pay_money > 0) {
|
||||
this.$util.showToast({
|
||||
title: '请选择支付方式!'
|
||||
title: this.$lang('pay.cashier.pleaseSelectPayMethod')
|
||||
});
|
||||
return;
|
||||
}
|
||||
uni.showLoading({
|
||||
title: '支付中...',
|
||||
title: this.$lang('pay.cashier.paying'),
|
||||
mask: true
|
||||
});
|
||||
this.pay();
|
||||
@@ -265,9 +265,9 @@ export default {
|
||||
fail: res => {
|
||||
this.flag = false;
|
||||
if (res.errMsg == 'requestPayment:fail cancel') {
|
||||
this.$util.showToast({ title: '您已取消支付' });
|
||||
this.$util.showToast({ title: this.$lang('pay.cashier.paymentCancelled') });
|
||||
} else {
|
||||
uni.showModal({ content: '支付失败,失败原因: ' + res.errMsg, showCancel: false });
|
||||
uni.showModal({ content: this.$lang('pay.cashier.paymentFailed', { reason: res.errMsg }), showCancel: false });
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<view class="result-box">
|
||||
<template v-if="payInfo.pay_status">
|
||||
<image :src="$util.img('public/uniapp/pay/pay_success.png')" mode="widthFix" lazy-load="true" class="result-image" show-menu-by-longpress/>
|
||||
<view class="msg success">{{ $lang('paymentSuccess') }}</view>
|
||||
<view class="msg success">{{ $lang('pay.result.paymentSuccess') }}</view>
|
||||
<view class="pay-amount">
|
||||
<text class="unit price-style small">{{ $lang('common.currencySymbol') }}</text>
|
||||
<text class="price-style large">{{ parseFloat(payInfo.pay_money).toFixed(2).split(".")[0] }}</text>
|
||||
@@ -13,43 +13,43 @@
|
||||
</template>
|
||||
<template v-else>
|
||||
<image :src="$util.img('public/uniapp/pay/pay_fail.png')" mode="widthFix" class="result-image" show-menu-by-longpress/>
|
||||
<view class="msg fail">{{ $lang('paymentFail') }}</view>
|
||||
<view class="msg fail">{{ $lang('pay.result.paymentFail') }}</view>
|
||||
</template>
|
||||
|
||||
<view class="consume-box" v-if="addonIsExist.memberconsume && consumeStatus == 1 && payInfo.pay_status">
|
||||
<view class="consume-head">
|
||||
<view class="consume-head-text">恭喜您获得</view>
|
||||
<view class="consume-head-text">{{ $lang('pay.result.congratulations') }}</view>
|
||||
</view>
|
||||
<view class="consume-list">
|
||||
<view class="consume-item" v-if="consumeInfo.point_num > 0">
|
||||
<image :src="$util.img('public/uniapp/pay/point.png')" mode="widthFix" show-menu-by-longpress></image>
|
||||
<view class="consume-value color-base-text">{{ consumeInfo.point_num }}</view>
|
||||
<view class="consume-type">积分</view>
|
||||
<view class="consume-type">{{ $lang('pay.result.points') }}</view>
|
||||
</view>
|
||||
<view class="consume-item" v-if="consumeInfo.growth_num > 0">
|
||||
<image :src="$util.img('public/uniapp/pay/growth.png')" mode="widthFix" show-menu-by-longpress></image>
|
||||
<view class="consume-value color-base-text">{{ consumeInfo.growth_num }}</view>
|
||||
<view class="consume-type">成长值</view>
|
||||
<view class="consume-type">{{ $lang('pay.result.growthValue') }}</view>
|
||||
</view>
|
||||
<view class="consume-item" v-if="consumeInfo.coupon_list.length > 0">
|
||||
<image :src="$util.img('public/uniapp/pay/coupon.png')" mode="widthFix" show-menu-by-longpress></image>
|
||||
<view class="consume-value color-base-text">{{ consumeInfo.coupon_list.length }}</view>
|
||||
<view class="consume-type">张优惠券</view>
|
||||
<view class="consume-type">{{ $lang('pay.result.couponsCount', { count: consumeInfo.coupon_list.length }) }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="action">
|
||||
<template v-if="storeToken">
|
||||
<view v-if="paySource == 'recharge'" class="btn" @click="toRecharge()">充值记录</view>
|
||||
<view v-else-if="paySource == 'membercard'" class="btn" @click="toCard()">会员卡</view>
|
||||
<view v-else-if="paySource == 'presale'" class="btn" @click="toPresaleOrder()">查看订单</view>
|
||||
<view v-else-if="paySource == 'giftcard'" class="btn" @click="toOrder()">查看订单</view>
|
||||
<view v-else-if="paySource == 'pointexchange'" class="btn" @click="toExchangeOrder()">查看订单
|
||||
<view v-if="paySource == 'recharge'" class="btn" @click="toRecharge()">{{ $lang('pay.result.rechargeRecords') }}</view>
|
||||
<view v-else-if="paySource == 'membercard'" class="btn" @click="toCard()">{{ $lang('pay.result.memberCard') }}</view>
|
||||
<view v-else-if="paySource == 'presale'" class="btn" @click="toPresaleOrder()">{{ $lang('pay.result.viewOrder') }}</view>
|
||||
<view v-else-if="paySource == 'giftcard'" class="btn" @click="toOrder()">{{ $lang('pay.result.viewOrder') }}</view>
|
||||
<view v-else-if="paySource == 'pointexchange'" class="btn" @click="toExchangeOrder()">{{ $lang('pay.result.viewOrder') }}
|
||||
</view>
|
||||
<view v-else class="btn" @click="toOrderDetail(payInfo.order_id)">查看订单</view>
|
||||
<view v-else class="btn" @click="toOrderDetail(payInfo.order_id)">{{ $lang('pay.result.viewOrder') }}</view>
|
||||
</template>
|
||||
<view class="btn go-home" @click="goHome()">{{ $lang('goHome') }}</view>
|
||||
<view class="btn go-home" @click="goHome()">{{ $lang('pay.result.goHome') }}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
if (this.$refs.loadingCover) this.$refs.loadingCover.hide();
|
||||
} else {
|
||||
this.$util.showToast({
|
||||
title: '未获取到支付信息!'
|
||||
title: this.$lang('pay.result.noPayInfo')
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$util.redirectTo(this.$util.INDEX_PAGE_URL, {}, 'reLaunch');
|
||||
|
||||
Reference in New Issue
Block a user