Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
tjty-app
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
王永飞
tjty-app
Commits
cfdff04b
Commit
cfdff04b
authored
Nov 24, 2022
by
刘鑫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善页面
parent
98bb75c4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
85 additions
and
13 deletions
+85
-13
application.vue
...-app/pages_course/tjty_course_application/application.vue
+1
-1
my.vue
tjty-app/pages_my/my/my.vue
+22
-4
myActivity.vue
tjty-app/pages_my/myActicity/myActivity.vue
+53
-2
myCourse.vue
tjty-app/pages_my/my_course/myCourse.vue
+2
-1
my_faceback.vue
tjty-app/pages_my/my_faceback/my_faceback.vue
+7
-5
No files found.
tjty-app/pages_course/tjty_course_application/application.vue
View file @
cfdff04b
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
</view>
</view>
<view
class=
"appoint-footer"
>
<view
class=
"appoint-footer"
>
<button
@
click=
"submitForm"
>
立即预约
</button>
<button
@
click=
"submitForm"
style=
"color: #FFFFFF;"
>
立即预约
</button>
</view>
</view>
<uni-popup
ref=
"popup"
background-color=
"#fff"
:mask-click=
"false"
>
<uni-popup
ref=
"popup"
background-color=
"#fff"
:mask-click=
"false"
>
<view
class=
"popup-content-text"
>
<view
class=
"popup-content-text"
>
...
...
tjty-app/pages_my/my/my.vue
View file @
cfdff04b
<
template
>
<
template
>
<view>
<view>
<view
class=
"head_bg"
>
<view
class=
"head_bg"
>
<view
class=
"home"
>
<uni-icons
type=
"back"
size=
"26px"
@
click=
"gohome"
></uni-icons>
</view>
<view>
<view>
<view
class=
"avatar"
>
<view
class=
"avatar"
>
<image
:src=
"userInfo.userPortrait"
></image>
<image
:src=
"userInfo.userPortrait"
></image>
...
@@ -37,7 +39,6 @@
...
@@ -37,7 +39,6 @@
</view>
</view>
<view
style=
"line-height: 26px;height: 100%;width: 50%;"
>
我的证书
</view>
<view
style=
"line-height: 26px;height: 100%;width: 50%;"
>
我的证书
</view>
</view>
</view>
</navigator>
</navigator>
</li>
</li>
</ul>
</ul>
...
@@ -145,6 +146,11 @@
...
@@ -145,6 +146,11 @@
onLoad
()
{
onLoad
()
{
this
.
login
()
this
.
login
()
},
},
methods
:
{
methods
:
{
...
mapMutations
(
'm_user'
,
[
'updateToken'
]),
...
mapMutations
(
'm_user'
,
[
'updateToken'
]),
...
mapMutations
(
'm_user'
,
[
'updateUserInfo'
]),
...
mapMutations
(
'm_user'
,
[
'updateUserInfo'
]),
...
@@ -160,6 +166,12 @@
...
@@ -160,6 +166,12 @@
this
.
getWXUserCode
()
this
.
getWXUserCode
()
}
}
},
},
gohome
(){
uni
.
navigateBack
({
url
:
"/pages_home/tjty_home_page/tjty_home_page"
})
},
//退出登录
//退出登录
logout
()
{
logout
()
{
// uni.clearStorageSync();
// uni.clearStorageSync();
...
@@ -206,8 +218,14 @@
...
@@ -206,8 +218,14 @@
width
:
100%
;
width
:
100%
;
height
:
299px
;
height
:
299px
;
position
:
relative
;
position
:
relative
;
overflow-x
:hidden
;
overflow-x
:
hidden
;
.home
{
position
:
absolute
;
z-index
:
2
;
margin
:
8%
0
0
3%
;
}
.avatar
{
.avatar
{
position
:
absolute
;
position
:
absolute
;
...
...
tjty-app/pages_my/myActicity/myActivity.vue
View file @
cfdff04b
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
</view>
</view>
<view
style=
"display: flex;"
>
<view
style=
"display: flex;"
>
<button
@
click=
"goActivity(item.type,wechatId,item.activityId)
"
style=
"width: 50%;background-color: #3b7cde;border-radius:0 0 0 16px;"
>
报名详情
</button>
<button
@
tap=
"tapPopup
"
style=
"width: 50%;background-color: #3b7cde;border-radius:0 0 0 16px;"
>
报名详情
</button>
<button
@
click=
"goDetail(item.type,wechatId,item.activityId)"
<button
@
click=
"goDetail(item.type,wechatId,item.activityId)"
style=
"width: 50%;background-color: #3b7cde;border-radius:0 0 16px 0;"
>
活动详情
</button>
style=
"width: 50%;background-color: #3b7cde;border-radius:0 0 16px 0;"
>
活动详情
</button>
...
@@ -64,8 +64,20 @@
...
@@ -64,8 +64,20 @@
</view>
</view>
</view>
</view>
<view
class=
"popup"
v-show=
"show"
>
<view
class=
"popup-info"
>
<view
style=
"margin-bottom: 20px;margin-left: 45px;"
>
学校
:------
</view>
<view
style=
"margin-bottom: 20px; margin-left:15px;"
>
家长姓名
:------
</view>
<view
style=
"margin-bottom: 20px; margin-left:15px;"
>
联系手机
:------
</view>
<view
style=
"margin-bottom: 20px; margin-left:15px;"
>
孩子姓名
:------
</view>
<view
style=
"margin-bottom: 20px;"
>
孩子证件号
:------
</view>
<view
>
<view
style=
"margin: 30% 30px 5% 20px;"
><button
style=
"width: 80px;height: 28px;line-height: 24px;"
type=
"default"
@
tap=
"cancel"
><text
style=
"font-size: 15px;"
>
关闭
</text></button></view>
</view>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -85,6 +97,8 @@
...
@@ -85,6 +97,8 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
show
:
false
,
wechatId
:
null
,
wechatId
:
null
,
status
:
1
,
status
:
1
,
myActivitylist
:
[],
myActivitylist
:
[],
...
@@ -102,6 +116,16 @@
...
@@ -102,6 +116,16 @@
// this.getlista(this.wechatId,this.activityId)
// this.getlista(this.wechatId,this.activityId)
},
},
methods
:
{
methods
:
{
tapPopup
()
{
this
.
show
=
true
;
},
// 点击弹窗取消
cancel
()
{
this
.
show
=
false
;
},
getList
(
wechatId
)
{
getList
(
wechatId
)
{
getMyActivitySignupByWechatId
(
wechatId
).
then
(
response
=>
{
getMyActivitySignupByWechatId
(
wechatId
).
then
(
response
=>
{
console
.
log
(
response
)
console
.
log
(
response
)
...
@@ -164,6 +188,8 @@
...
@@ -164,6 +188,8 @@
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background
:
#f5f5f5
;
background
:
#f5f5f5
;
position
:
relative
;
overflow-x
:
hidden
;
}
}
.actions-card
{
.actions-card
{
...
@@ -259,6 +285,31 @@
...
@@ -259,6 +285,31 @@
// line-height: 38px;
// line-height: 38px;
}
}
//蒙层
.popup
{
position
:
fixed
;
left
:
0
;
right
:
0
;
top
:
0
;
height
:
100vh
;
background-color
:
rgba
(
0
,
0
,
0
,
0
.6
);
z-index
:
9998
;
}
//弹窗
.popup-info
{
position
:
fixed
;
width
:
550upx
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,-
50%
);
font-size
:
30upx
;
padding
:
40upx
;
border-radius
:
20upx
;
background-color
:
#fff
;
z-index
:
9999
;
}
.none
{
.none
{
width
:
90%
;
width
:
90%
;
...
...
tjty-app/pages_my/my_course/myCourse.vue
View file @
cfdff04b
...
@@ -108,7 +108,8 @@ import { userInfo } from 'os'
...
@@ -108,7 +108,8 @@ import { userInfo } from 'os'
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background
:
#f5f5f5
;
background
:
#f5f5f5
;
position
:
relative
;
overflow-x
:
hidden
;
}
}
.mycourse-card
{
.mycourse-card
{
margin
:
22rpx
;
margin
:
22rpx
;
...
...
tjty-app/pages_my/my_faceback/my_faceback.vue
View file @
cfdff04b
...
@@ -14,16 +14,17 @@
...
@@ -14,16 +14,17 @@
</view>
</view>
<view
v-else
class=
"face_card"
v-for=
"(item,index) in Facelist"
:key=
"index"
>
<view
v-else
class=
"face_card"
v-for=
"(item,index) in Facelist"
:key=
"index"
>
<view
class=
"info"
>
<view
class=
"info"
>
<view
class=
"item"
>
咨询时间:
{{
item
.
createTime
}}
</view>
<view
class=
"item"
>
咨询时间
:
{{
item
.
createTime
}}
</view>
<view
class=
"item"
>
姓名:
{{
item
.
nickName
}}
</view>
<view
class=
"item"
>
姓名
:
{{
item
.
nickName
}}
</view>
<view
class=
"item"
>
手机:
{{
item
.
phone
}}
</view>
<view
class=
"item"
>
手机
:
{{
item
.
phone
}}
</view>
<!--
<view
class=
"item"
>
咨询问题
:
</view>
-->
</view>
</view>
<view
class=
"question"
></view>
<view
class=
"question"
>
{{
item
.
consultContent
}}
</view>
<dividerface></dividerface>
<dividerface></dividerface>
<view
class=
"info"
>
<view
class=
"info"
>
<view
class=
"item"
>
答复:
</view>
<view
class=
"item"
>
答复:
</view>
</view>
</view>
<view
class=
"question"
>
{{
item
.
dispose
}}
</view>
<view
class=
"question"
>
{{
item
.
replyContent
}}
</view>
</view>
</view>
</view>
</view>
...
@@ -107,6 +108,7 @@
...
@@ -107,6 +108,7 @@
margin-top
:
5%
;
margin-top
:
5%
;
margin
:
4%
;
margin
:
4%
;
height
:
auto
;
height
:
auto
;
line-height
:
25px
;
font-size
:
16px
;
font-size
:
16px
;
font-family
:
Source
Han
Sans
CN
,
Source
Han
Sans
CN-Regular
;
font-family
:
Source
Han
Sans
CN
,
Source
Han
Sans
CN-Regular
;
color
:
#666666
;
color
:
#666666
;
...
...
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