Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
X
XiTianSenMall
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
leiqingsong
XiTianSenMall
Commits
e9c15db3
Commit
e9c15db3
authored
Mar 18, 2021
by
leiqingsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
4da8e182
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
45 additions
and
37 deletions
+45
-37
BaseRefreshScroll.vue
H5/src/components/BaseRefreshScroll.vue
+1
-1
bank.vue
H5/src/views/bank.vue
+2
-2
canCashOut.vue
H5/src/views/canCashOut.vue
+1
-1
cash-out-record.vue
H5/src/views/cashOut/cash-out-record.vue
+1
-1
cash-out.vue
H5/src/views/cashOut/cash-out.vue
+4
-4
customer-service.vue
H5/src/views/customer-service.vue
+1
-1
grade.vue
H5/src/views/grade.vue
+1
-1
allIncome.vue
H5/src/views/income/allIncome.vue
+1
-1
income-detail.vue
H5/src/views/income/income-detail.vue
+2
-2
wallet.vue
H5/src/views/income/wallet.vue
+2
-4
modefyAvatar.vue
H5/src/views/modefyAvatar.vue
+1
-1
moments.vue
H5/src/views/moments/moments.vue
+1
-1
publish.vue
H5/src/views/moments/publish.vue
+1
-1
myStatus.vue
H5/src/views/my/myStatus.vue
+5
-5
register.vue
H5/src/views/register.vue
+1
-1
rankItem.vue
H5/src/views/rewards/compoments/rankItem.vue
+7
-3
fastest-progress.vue
H5/src/views/rewards/fastest-progress.vue
+3
-1
month-award.vue
H5/src/views/rewards/month-award.vue
+2
-2
settings.vue
H5/src/views/settings.vue
+8
-4
No files found.
H5/src/components/BaseRefreshScroll.vue
View file @
e9c15db3
...
...
@@ -34,7 +34,7 @@ export default {
up
:
{
offset
:
50
,
isAuto
:
true
,
contentnomore
:
'没有数据了~'
,
contentnomore
:
"没有数据了~"
,
toTop
:
{
isEnable
:
false
},
...
...
H5/src/views/bank.vue
View file @
e9c15db3
...
...
@@ -112,7 +112,7 @@ export default {
});
}
else
{
const
addParams
=
params
;
addParams
.
userId
=
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
;
addParams
.
userId
=
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
;
addUserBankInfo
(
params
)
.
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
...
...
@@ -131,7 +131,7 @@ export default {
},
getBankInfo
()
{
const
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
getUserBankInfo
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
&&
res
.
data
)
{
...
...
H5/src/views/canCashOut.vue
View file @
e9c15db3
...
...
@@ -59,7 +59,7 @@ export default {
methods
:
{
getWithdrawal
()
{
const
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
getWithdrawalAmount
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
...
...
H5/src/views/cashOut/cash-out-record.vue
View file @
e9c15db3
...
...
@@ -74,7 +74,7 @@ export default {
},
getRecordList
(
yearMonth
)
{
const
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
,
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
,
yearMonth
:
yearMonth
};
getWithdrawalRecord
(
params
).
then
(
res
=>
{
...
...
H5/src/views/cashOut/cash-out.vue
View file @
e9c15db3
...
...
@@ -96,7 +96,7 @@ export default {
name
:
"CashOut"
,
data
()
{
return
{
userPhone
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
,
userPhone
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
,
bank
:
""
,
money
:
null
,
account
:
0
,
...
...
@@ -128,7 +128,7 @@ export default {
},
canCashOut
()
{
const
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
getWithdrawalAmount
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
...
...
@@ -158,7 +158,7 @@ export default {
return
;
}
const
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
sendSms
(
params
).
then
();
this
.
validCode
=
null
;
...
...
@@ -176,7 +176,7 @@ export default {
},
getUserInfo
()
{
const
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
getUserBankInfo
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
...
...
H5/src/views/customer-service.vue
View file @
e9c15db3
...
...
@@ -52,7 +52,7 @@ export default {
},
getCustomerData
()
{
let
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
getCustomer
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
...
...
H5/src/views/grade.vue
View file @
e9c15db3
...
...
@@ -115,7 +115,7 @@ export default {
this
.
$router
.
push
({
name
:
urlName
});
},
getstatus
()
{
const
userId
=
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
;
const
userId
=
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
;
console
.
log
(
userId
);
const
_this
=
this
;
getForestStatus
(
userId
).
then
(
res
=>
{
...
...
H5/src/views/income/allIncome.vue
View file @
e9c15db3
...
...
@@ -28,7 +28,7 @@ export default {
methods
:
{
getAllRecord
()
{
const
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
showIncomeRecord
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
...
...
H5/src/views/income/income-detail.vue
View file @
e9c15db3
...
...
@@ -231,7 +231,7 @@ export default {
},
getDetail
()
{
const
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
queryIncomeDetail
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
...
...
@@ -259,7 +259,7 @@ export default {
});
this
.
pieOption
.
legend
=
legend
;
if
(
!
res
.
data
.
totalIncome
)
{
this
.
pieOption
.
graphic
.
children
[
1
].
style
.
text
=
"暂无数据~"
this
.
pieOption
.
graphic
.
children
[
1
].
style
.
text
=
"暂无数据~"
;
}
}
});
...
...
H5/src/views/income/wallet.vue
View file @
e9c15db3
...
...
@@ -2,9 +2,7 @@
<div
class=
"wallet"
>
<div
class=
"content"
>
<img
class=
"balance-img"
src=
"@/assets/images/余额.png"
alt
/>
<p
class=
"currentprofitlabel"
>
当月收益
</p>
<p
class=
"currentprofitlabel"
>
当月收益
</p>
<div
class=
"currentprofit"
@
click=
"jumpToIncomeDetail"
>
<span
class=
"month-income"
>
{{
walletInfo
.
moneyIncome
}}
</span>
<img
src=
"@/assets/images/右箭头.png"
alt
class=
"month-income-arrow"
/>
...
...
@@ -75,7 +73,7 @@ export default {
// 获取用户钱包展示信息
getWalletInfo
()
{
const
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
getMoneyPackage
(
params
)
.
then
(
res
=>
{
...
...
H5/src/views/modefyAvatar.vue
View file @
e9c15db3
...
...
@@ -50,7 +50,7 @@ export default {
this
.
canSubmit
=
false
;
const
params
=
{
headImage
:
this
.
imageUrl
,
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
setAvatar
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
...
...
H5/src/views/moments/moments.vue
View file @
e9c15db3
...
...
@@ -20,7 +20,7 @@ export default {
methods
:
{
getMoment
()
{
const
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
findByUserId
(
params
).
then
(
res
=>
{
console
.
log
(
res
);
...
...
H5/src/views/moments/publish.vue
View file @
e9c15db3
...
...
@@ -51,7 +51,7 @@ export default {
fd
.
append
(
"files"
,
file
.
file
);
});
fd
.
append
(
"zxField"
,
this
.
message
);
fd
.
append
(
"userId"
,
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
);
fd
.
append
(
"userId"
,
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
);
uploadImage
(
fd
).
then
();
},
openPopup
()
{
...
...
H5/src/views/my/myStatus.vue
View file @
e9c15db3
...
...
@@ -88,7 +88,7 @@ export default {
},
data
()
{
return
{
avatar
:
''
,
avatar
:
""
,
inviteeArr
:
[],
userRecommendInfo
:
{},
activeTab
:
""
,
...
...
@@ -149,8 +149,8 @@ export default {
this
.
getRecommendDetail
(
0
);
},
mounted
()
{
const
userAvatar
=
JSON
.
parse
(
localStorage
.
getItem
(
'user'
)).
headImage
;
this
.
avatar
=
process
.
env
.
VUE_APP_BASE_URL
+
userAvatar
const
userAvatar
=
JSON
.
parse
(
localStorage
.
getItem
(
"user"
)).
headImage
;
this
.
avatar
=
process
.
env
.
VUE_APP_BASE_URL
+
userAvatar
;
},
methods
:
{
changeTab
(
name
)
{
...
...
@@ -164,7 +164,7 @@ export default {
},
getRecommendInfo
()
{
const
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
recomendInfo
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
...
...
@@ -181,7 +181,7 @@ export default {
},
getRecommendDetail
(
level
)
{
const
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
,
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
,
userlevel
:
level
};
recommendDetail
(
params
).
then
(
res
=>
{
...
...
H5/src/views/register.vue
View file @
e9c15db3
...
...
@@ -78,7 +78,7 @@ export default {
data
()
{
return
{
form
:
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
,
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
,
sms
:
""
,
beInvitedCode
:
""
},
...
...
H5/src/views/rewards/compoments/rankItem.vue
View file @
e9c15db3
...
...
@@ -4,7 +4,11 @@
{{
RankIndex
>
9
?
RankIndex
:
"0"
+
RankIndex
}}
</span>
<div
style=
"flex:1"
>
<img
class=
"avatar"
:src=
"imgBaseUrl + prizeVos.headImage"
alt=
"用户头像"
/>
<img
class=
"avatar"
:src=
"imgBaseUrl + prizeVos.headImage"
alt=
"用户头像"
/>
</div>
<span
class=
"userName"
style=
"flex:2;text-align:center"
>
{{
prizeVos
.
userId
...
...
@@ -30,10 +34,10 @@ export default {
data
()
{
return
{
imgBaseUrl
:
""
}
}
;
},
created
()
{
this
.
imgBaseUrl
=
process
.
env
.
VUE_APP_BASE_URL
this
.
imgBaseUrl
=
process
.
env
.
VUE_APP_BASE_URL
;
}
};
</
script
>
...
...
H5/src/views/rewards/fastest-progress.vue
View file @
e9c15db3
...
...
@@ -3,7 +3,9 @@
<div
class=
"bg"
>
<van-icon
name=
"arrow-left"
@
click=
"handlerBack"
/>
<span
class=
"title"
>
本月进步最大奖励池
</span>
<span
class=
"award"
><span
v-if=
"growthTotal > 0"
>
¥
</span>
{{
growthTotal
}}
</span>
<span
class=
"award"
><span
v-if=
"growthTotal > 0"
>
¥
</span>
{{
growthTotal
}}
</span
>
</div>
<div
class=
"rank"
>
<div
class=
"header rank-flex"
>
...
...
H5/src/views/rewards/month-award.vue
View file @
e9c15db3
...
...
@@ -61,7 +61,7 @@
</div>
</div>
<div
class=
"my"
>
<p>
¥
{{
awardInfo
.
userMonthAward
}}
</p>
<p>
¥
{{
awardInfo
.
userMonthAward
||
0
}}
</p>
<div
class=
"bottom"
>
<img
src=
"@/assets/images/我的份额.png"
alt
/>
<span>
我的份额
</span>
...
...
@@ -120,7 +120,7 @@ export default {
},
getData
()
{
const
params
=
{
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
monthRewards
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
...
...
H5/src/views/settings.vue
View file @
e9c15db3
...
...
@@ -71,7 +71,7 @@ export default {
methods
:
{
getUser
()
{
const
params
=
{
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"user"
)).
userId
};
console
.
log
(
"setting-userId"
,
params
);
getUserInfo2
(
params
).
then
(
res
=>
{
...
...
@@ -79,7 +79,8 @@ export default {
localStorage
.
setItem
(
"user"
,
JSON
.
stringify
(
res
));
this
.
$nextTick
(()
=>
{
this
.
userName
=
res
.
userId
;
this
.
inviteeCode
=
res
.
beInvitedCode
==
1
?
'请填写推荐人邀请码'
:
res
.
beInvitedCode
;
this
.
inviteeCode
=
res
.
beInvitedCode
==
1
?
"请填写推荐人邀请码"
:
res
.
beInvitedCode
;
this
.
avatar
=
res
.
headImage
;
});
}
...
...
@@ -124,12 +125,15 @@ export default {
this
.
inviteeCode
=
this
.
fillCode
;
const
params
=
{
inviteCode
:
this
.
fillCode
,
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
'user'
)).
userId
userId
:
JSON
.
parase
(
localStorage
.
getItem
(
"user"
)).
userId
};
fillInviteCode
(
params
).
then
();
},
fillInviterCode
()
{
if
(
this
.
inviteeCode
===
"请填写推荐人邀请码"
||
this
.
inviteeCode
==
"1"
)
{
if
(
this
.
inviteeCode
===
"请填写推荐人邀请码"
||
this
.
inviteeCode
==
"1"
)
{
this
.
inviteeCodeDialog
=
true
;
this
.
fillCode
=
""
;
}
...
...
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