Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-customer-new-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-customer-new-master
Commits
076fabe4
Commit
076fabe4
authored
Sep 13, 2024
by
chenwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature' into 'release'
修复9/13的问题 See merge request
!9
parents
be3dbdc9
52e3d4a9
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
78 additions
and
45 deletions
+78
-45
activity_detail.vue
src/pages/activity_detail/activity_detail.vue
+3
-3
points.vue
src/pages/integral/components/points.vue
+4
-4
detail.js
src/static/lang/en/detail.js
+27
-19
integral.js
src/static/lang/en/integral.js
+9
-0
detail.js
src/static/lang/zh/detail.js
+26
-19
integral.js
src/static/lang/zh/integral.js
+9
-0
No files found.
src/pages/activity_detail/activity_detail.vue
View file @
076fabe4
<
template
>
<
template
>
<view
class=
"activity_detail"
>
<view
class=
"activity_detail"
>
<dHeader
:title=
"detail.activity"
></dHeader>
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"img-box"
>
<view
class=
"img-box"
>
<image
<image
...
@@ -16,7 +15,7 @@
...
@@ -16,7 +15,7 @@
class=
"activity-remark"
class=
"activity-remark"
v-if=
"detailInfo.type == 4"
v-if=
"detailInfo.type == 4"
v-html=
"
v-html=
"
locale === 'zh
_CN
'
locale === 'zh'
? detailInfo.extraShare.activityDescZh
? detailInfo.extraShare.activityDescZh
: detailInfo.extraShare.activityDescEn
: detailInfo.extraShare.activityDescEn
"
"
...
@@ -115,6 +114,7 @@ export default {
...
@@ -115,6 +114,7 @@ export default {
}
,
}
,
// 时间范围返回
// 时间范围返回
getTimeRange
(
start
,
end
)
{
getTimeRange
(
start
,
end
)
{
const
formatDate
=
(
timestamp
)
=>
{
const
formatDate
=
(
timestamp
)
=>
{
const
date
=
new
Date
(
timestamp
)
const
date
=
new
Date
(
timestamp
)
const
year
=
date
.
getFullYear
()
const
year
=
date
.
getFullYear
()
...
...
src/pages/integral/components/points.vue
View file @
076fabe4
...
@@ -56,7 +56,7 @@ export default {
...
@@ -56,7 +56,7 @@ export default {
.
post
(
'
/app-api/member/score-rule/share-record/create
'
,
{
memberId
:
this
.
$store
.
getters
.
id
,
.
post
(
'
/app-api/member/score-rule/share-record/create
'
,
{
memberId
:
this
.
$store
.
getters
.
id
,
ruleId
:
item
.
id
})
ruleId
:
item
.
id
})
.
then
(({
code
,
data
})
=>
{
.
then
(({
code
,
data
})
=>
{
if
(
code
==
0
&&
data
)
{
if
(
code
==
0
)
{
const
str
=
this
.
getCopyText
(
item
)
const
str
=
this
.
getCopyText
(
item
)
uni
.
setClipboardData
({
uni
.
setClipboardData
({
data
:
str
,
data
:
str
,
...
@@ -103,11 +103,11 @@ export default {
...
@@ -103,11 +103,11 @@ export default {
position
:
relative
;
position
:
relative
;
.btn
{
.btn
{
position
:
absolute
;
position
:
absolute
;
right
:
6
px
;
right
:
14u
px
;
bottom
:
10upx
;
bottom
:
10upx
;
padding
:
2upx
12
px
;
padding
:
6upx
28u
px
;
border-radius
:
100px
;
border-radius
:
100px
;
font-size
:
2
0
upx
;
font-size
:
2
4
upx
;
border
:
1px
solid
#5382fe
;
border
:
1px
solid
#5382fe
;
color
:
#5382fe
;
color
:
#5382fe
;
}
}
...
...
src/static/lang/en/detail.js
View file @
076fabe4
export
default
{
export
default
{
"
activity
"
:
"
Event Details
"
,
activity
:
'
Event Details
'
,
"
illustrate
"
:
"
Points Description
"
,
illustrate
:
'
Points Description
'
,
"
maxIntegral
"
:
"
Accumulate the highest number of points
"
,
maxIntegral
:
'
Accumulate the highest number of points
'
,
"
date
"
:
"
expiration date
"
,
date
:
'
expiration date
'
,
"
rulesIllustrate
"
:
"
Rule Description
"
,
rulesIllustrate
:
'
Rule Description
'
,
"
total
"
:
"
total
"
,
total
:
'
total
'
,
"
integral
"
:
"
integral
"
,
integral
:
'
integral
'
,
"
exchangeTitle
"
:
"
Redemption details
"
,
num
:
val
=>
{
"
activityTime
"
:
"
Event time
"
,
return
`'total
${
val
}
pieces'`
"
exchangeOutlets
"
:
"
Redemption outlets
"
,
},
"
exchangeType
"
:
"
Redemption Method
"
,
exchangeTitle
:
'
Redemption details
'
,
"
address
"
:
"
Delivery address
"
,
activityTime
:
'
Event time
'
,
"
courierNum
"
:
"
The tracking number
"
,
exchangeOutlets
:
'
Redemption outlets
'
,
"
courierCompany
"
:
"
Courier companies
"
,
exchangeType
:
'
Redemption Method
'
,
"
courierTime
"
:
"
The date of delivery
"
,
address
:
'
Delivery address
'
,
"
remark
"
:
"
remark
"
,
courierNum
:
'
The tracking number
'
,
"
errorMsg
"
:
"
The address cannot be modified after submission, if you need to modify the address, please contact customer service
"
,
courierCompany
:
'
Courier companies
'
,
"
to
"
:
"
to
"
courierTime
:
'
The date of delivery
'
,
remark
:
'
remark
'
,
errorMsg
:
'
The address cannot be modified after submission, if you need to modify the address, please contact customer service
'
,
registerLabel
:
val
=>
`
${
val
}
points for successful registration`
,
referralCodeLabel
:
val
=>
`Earn
${
val
}
points for each person invited to register and log in`
,
shareLabel
:
val
=>
`Get
${
val
}
points per click after sharing on social platforms`
,
orderRuleLabel
:
params
=>
`
${
params
.
low
}${
params
.
unit
}
-
${
params
.
high
}${
params
.
unit
}
Get
${
params
.
score
}
`
,
to
:
'
to
'
,
}
}
src/static/lang/en/integral.js
View file @
076fabe4
...
@@ -10,15 +10,24 @@ export default {
...
@@ -10,15 +10,24 @@ export default {
pointsCampaign
:
'
points campaign
'
,
pointsCampaign
:
'
points campaign
'
,
pointsRemark
:
'
Points can be redeemed differently at different outlets
'
,
pointsRemark
:
'
Points can be redeemed differently at different outlets
'
,
outlets
:
'
Please select a location
'
,
outlets
:
'
Please select a location
'
,
remainder
:
val
=>
{
return
`剩余
${
val
}
份`
},
orderMail
:
'
Confirm the order
'
,
orderMail
:
'
Confirm the order
'
,
code
:
'
Get a verification code
'
,
code
:
'
Get a verification code
'
,
codePlaceloader
:
'
Please enter a verification code
'
,
codePlaceloader
:
'
Please enter a verification code
'
,
codeError
:
'
The verification code is incorrect
'
,
codeError
:
'
The verification code is incorrect
'
,
codeTimeText
:
val
=>
{
return
`
${
val
}
秒后重新获取`
},
remark
:
'
Please enter a comment
'
,
remark
:
'
Please enter a comment
'
,
submitOrder
:
'
Submit your order
'
,
submitOrder
:
'
Submit your order
'
,
redeemType
:
'
Redemption Method
'
,
redeemType
:
'
Redemption Method
'
,
activityTime
:
'
Event time
'
,
activityTime
:
'
Event time
'
,
textLength
:
'
Enter up to 100 words
'
,
textLength
:
'
Enter up to 100 words
'
,
totalScore
:
num
=>
{
return
`已选
${
num
}
件,合计积分:`
},
totalScore1
:
'
integral
'
,
totalScore1
:
'
integral
'
,
addAddress
:
'
new address for additional shipments
'
,
addAddress
:
'
new address for additional shipments
'
,
totalScoreError
:
'
Insufficient points
'
,
totalScoreError
:
'
Insufficient points
'
,
...
...
src/static/lang/zh/detail.js
View file @
076fabe4
export
default
{
export
default
{
"
activity
"
:
"
活动详情
"
,
activity
:
'
活动详情
'
,
"
illustrate
"
:
"
积分说明
"
,
illustrate
:
'
积分说明
'
,
"
maxIntegral
"
:
"
累计最高积分
"
,
maxIntegral
:
'
累计最高积分
'
,
"
date
"
:
"
有效期
"
,
date
:
'
有效期
'
,
"
rulesIllustrate
"
:
"
规则说明
"
,
rulesIllustrate
:
'
规则说明
'
,
"
total
"
:
"
共计
"
,
total
:
'
共计
'
,
"
integral
"
:
"
积分
"
,
integral
:
'
积分
'
,
"
exchangeTitle
"
:
"
兑换详情
"
,
num
:
val
=>
{
"
activityTime
"
:
"
活动时间
"
,
return
`共
${
val
}
件`
"
exchangeOutlets
"
:
"
兑换网点
"
,
},
"
exchangeType
"
:
"
兑换方式
"
,
exchangeTitle
:
'
兑换详情
'
,
"
address
"
:
"
收货地址
"
,
activityTime
:
'
活动时间
'
,
"
courierNum
"
:
"
快递单号
"
,
exchangeOutlets
:
'
兑换网点
'
,
"
courierCompany
"
:
"
快递公司
"
,
exchangeType
:
'
兑换方式
'
,
"
courierTime
"
:
"
快递日期
"
,
address
:
'
收货地址
'
,
"
remark
"
:
"
备注
"
,
courierNum
:
'
快递单号
'
,
"
errorMsg
"
:
"
地址提交后无法修改,如需修改地址请联系客服
"
,
courierCompany
:
'
快递公司
'
,
"
to
"
:
"
至
"
courierTime
:
'
快递日期
'
,
remark
:
'
备注
'
,
errorMsg
:
'
地址提交后无法修改,如需修改地址请联系客服
'
,
registerLabel
:
val
=>
`注册成功即可获得
${
val
}
积分`
,
referralCodeLabel
:
val
=>
`每邀请1人注册并登录获得
${
val
}
积分`
,
shareLabel
:
val
=>
`分享到社交平台后,每次点击获得
${
val
}
积分`
,
orderRuleLabel
:
params
=>
`
${
params
.
low
}${
params
.
unit
}
-
${
params
.
high
}${
params
.
unit
}
获得
${
params
.
score
}
积分`
,
to
:
'
至
'
,
}
}
src/static/lang/zh/integral.js
View file @
076fabe4
...
@@ -10,15 +10,24 @@ export default {
...
@@ -10,15 +10,24 @@ export default {
pointsCampaign
:
'
积分活动
'
,
pointsCampaign
:
'
积分活动
'
,
pointsRemark
:
'
不同网点兑换积分不同
'
,
pointsRemark
:
'
不同网点兑换积分不同
'
,
outlets
:
'
请选择网点
'
,
outlets
:
'
请选择网点
'
,
remainder
:
val
=>
{
return
`剩余
${
val
}
份`
},
orderMail
:
'
确定订单
'
,
orderMail
:
'
确定订单
'
,
code
:
'
获取验证码
'
,
code
:
'
获取验证码
'
,
codePlaceloader
:
'
请输入验证码
'
,
codePlaceloader
:
'
请输入验证码
'
,
codeError
:
'
验证码错误
'
,
codeError
:
'
验证码错误
'
,
codeTimeText
:
val
=>
{
return
`
${
val
}
秒后重新获取`
},
remark
:
'
请输入备注
'
,
remark
:
'
请输入备注
'
,
submitOrder
:
'
提交订单
'
,
submitOrder
:
'
提交订单
'
,
redeemType
:
'
兑换方式
'
,
redeemType
:
'
兑换方式
'
,
activityTime
:
'
活动时间
'
,
activityTime
:
'
活动时间
'
,
textLength
:
'
最多输入100字
'
,
textLength
:
'
最多输入100字
'
,
totalScore
:
num
=>
{
return
`已选
${
num
}
件,合计积分:`
},
totalScore1
:
'
积分
'
,
totalScore1
:
'
积分
'
,
addAddress
:
'
新增收货地址
'
,
addAddress
:
'
新增收货地址
'
,
totalScoreError
:
'
积分不足
'
,
totalScoreError
:
'
积分不足
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment