Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
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
viitto
mallapp
Commits
e9eb1314
Commit
e9eb1314
authored
May 08, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ba1b2ac4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
5 deletions
+43
-5
signUpList.vue
pages/school/components/signUpList.vue
+4
-4
JhphoneRz.vue
pages/school/personal/JhphoneRz.vue
+24
-1
user-center.vue
pages/user-center/user-center.vue
+15
-0
No files found.
pages/school/components/signUpList.vue
View file @
e9eb1314
...
...
@@ -139,7 +139,7 @@ export default {
msg
:{
pageIndex
:
1
,
pageSize
:
10
,
ActivityType
:
0
EnrollState
:
3
},
page_count
:
1
,
g
:
[],
...
...
@@ -189,9 +189,9 @@ export default {
change
(
index
)
{
this
.
current
=
index
if
(
index
==
0
){
this
.
msg
.
ActivityType
=
0
this
.
msg
.
EnrollState
=
3
}
else
{
this
.
msg
.
ActivityTyp
e
=
index
;
this
.
msg
.
EnrollStat
e
=
index
;
}
this
.
msg
.
pageIndex
=
1
;
...
...
@@ -272,7 +272,7 @@ export default {
icon
:
'success'
,
})
if
(
res
.
data
!=
1
){
if
(
this
.
msg
.
ActivityTyp
e
==
1
){
if
(
this
.
msg
.
EnrollStat
e
==
1
){
this
.
g
.
splice
(
this
.
bmobj
.
index
,
1
)
}
else
{
this
.
g
[
this
.
bmobj
.
index
].
Status
=
1
...
...
pages/school/personal/JhphoneRz.vue
View file @
e9eb1314
...
...
@@ -90,6 +90,10 @@
<view
class=
"tijiao"
@
click=
"tj()"
>
提交绑定
</view>
</view>
<view
v-if=
"isAttestationEdu==1"
style=
"width: 100%;display: flex;flex-direction: column;align-items: center;"
>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/Jhrenzcg.png"
style=
"width: 300rpx;height: 324rpx;margin-top: 256rpx;"
></image>
<text
style=
"font-size: 20px;color: #111111;margin-top: 53px;"
>
验证成功 成为学员
</text>
</view>
<auth
v-if=
"showAuth"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
'gbAuth'
></auth>
</div>
...
...
@@ -236,7 +240,12 @@
res
=>
{
uni
.
hideLoading
()
if
(
res
.
resultCode
==
1
)
{
uni
.
showToast
({
title
:
res
.
message
,
icon
:
'none'
})
this
.
isAttestationEdu
=
1
;
this
.
getHome
()
}
},
error
=>
{
...
...
@@ -249,11 +258,25 @@
reloadUserinfo
()
{
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
// this.showAuth=false;
this
.
getHome
()
},
//关闭登录窗口
gbAuth
(){
uni
.
navigateBack
()
},
getHome
(){
this
.
request2
({
url
:
"/api/Mall/GetHome"
,
data
:
{
page_id
:
0
,
open_school
:
0
,
StoreId
:
0
},
},
(
res
)
=>
{
uni
.
setStorageSync
(
"basedata"
,
res
.
data
);
let
basedata
=
wx
.
getStorageSync
(
"basedata"
)
this
.
isAttestationEdu
=
basedata
.
user_info
.
isAttestationEdu
?
basedata
.
user_info
.
isAttestationEdu
:
0
},
(
error
)
=>
{}
);
},
}
...
...
pages/user-center/user-center.vue
View file @
e9eb1314
...
...
@@ -19,6 +19,10 @@
<view
style=
"display: flex;flex-direction: column;justify-content: center;height: 50px;margin-left: 20rpx"
>
<Text
class=
"nickname"
style=
"color: #FFF;font-size: 40rpx;font-weight:800;max-width: 200px;overflow: hidden;display: inline-block;white-space: nowrap; text-overflow:ellipsis;"
@
click=
"login(user_info)"
>
{{
user_info
.
nickname
?
user_info
.
nickname
:
'立即登录'
}}
</Text>
<!-- 判断是甲鹤小程序 -->
<view
v-if=
"AppletID == 5"
>
<u-tag
text=
"甲鹤学员"
bg-color=
'#40766E'
color=
'#FFF'
size=
'mini'
border-color=
'#40766E'
/>
</view>
<view
style=
"display: flex; align-items: center;"
>
<view
class=
"member"
v-if=
"is_icon_members_grade == 1&& user_info.nickname"
>
<image
:src=
"user_info.identity.level_icon"
mode=
"aspectFill"
style=
"width: 22px;height: 22px;border-radius: 11px;"
></image>
...
...
@@ -48,6 +52,9 @@
<image
:src=
"user_info.identity.level_icon"
mode=
"aspectFill"
style=
"width: 22px;height: 22px;border-radius: 11px;"
></image>
<Text
style=
"margin-right: 10px;"
>
{{
user_info
.
identity
.
level_name
!=
null
?
user_info
.
identity
.
level_name
:
'普通用户'
}}
</Text>
</view>
<view
v-if=
"AppletID == 5"
>
<u-tag
text=
"甲鹤学员"
bg-color=
'#40766E'
color=
'#FFF'
size=
'mini'
border-color=
'#40766E'
/>
</view>
</view>
<view
class=
"top_b"
>
<view
class=
"top_b_item"
v-if=
"meueData.user_center.is_foot_bar_status == 1"
@
click=
"goUrl('/pages/favorite/favorite')"
>
...
...
@@ -237,6 +244,8 @@
companyName
:
""
,
is_show_korea
:
0
,
//是否显示认证标识
IsDeposit
:
0
,
//是否开启储蓄卡功能
AppletID
:
0
,
//小程序id 5-8日 判断是否是甲鹤
isAttestationEdu
:
0
,
//学员是否认证了 0否1是
};
},
components
:
{
...
...
@@ -254,6 +263,10 @@
this
.
userinfo
();
this
.
setting
=
uni
.
getStorageSync
(
"basedata"
).
mall
.
setting
;
this
.
isCompany
=
uni
.
getStorageSync
(
"user_type"
)?
uni
.
getStorageSync
(
"user_type"
)
==
"company"
:
true
;
//完成动态加载系统所属类型
let
basedata
=
uni
.
getStorageSync
(
"basedata"
)?
uni
.
getStorageSync
(
"basedata"
):
''
;
this
.
AppletID
=
basedata
.
home_pages
.
id
?
basedata
.
home_pages
.
id
:
0
;
this
.
isAttestationEdu
=
basedata
.
user_info
.
isAttestationEdu
?
basedata
.
user_info
.
isAttestationEdu
:
0
},
onLoad
()
{
this
.
navHeight
=
this
.
$navHeight
-
2
;
...
...
@@ -295,6 +308,8 @@
if
(
this
.
mall_UserInfo
)
{
this
.
getUserPoint
()
}
let
basedata
=
uni
.
getStorageSync
(
"basedata"
)?
uni
.
getStorageSync
(
"basedata"
):
''
;
this
.
isAttestationEdu
=
basedata
.
user_info
.
isAttestationEdu
?
basedata
.
user_info
.
isAttestationEdu
:
0
},
methods
:
{
goHome
()
{
...
...
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