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
df52d3dd
Commit
df52d3dd
authored
Nov 25, 2022
by
刘鑫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了BUG
parent
3151588f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
13 deletions
+27
-13
application.vue
...-app/pages_course/tjty_course_application/application.vue
+3
-3
appointment.vue
...-app/pages_course/tjty_course_appointment/appointment.vue
+17
-4
course.vue
tjty-app/pages_course/tjty_course_course/course.vue
+5
-5
my.vue
tjty-app/pages_my/my/my.vue
+1
-0
myCourse.vue
tjty-app/pages_my/my_course/myCourse.vue
+1
-1
No files found.
tjty-app/pages_course/tjty_course_application/application.vue
View file @
df52d3dd
...
@@ -85,13 +85,13 @@ import {
...
@@ -85,13 +85,13 @@ import {
{
{
minLength
:
2
,
minLength
:
2
,
maxLength
:
16
,
maxLength
:
16
,
errorMessage
:
'姓名长度在 {minLength} 到 {maxLength} 个汉字
或
字母'
,
errorMessage
:
'姓名长度在 {minLength} 到 {maxLength} 个汉字
和
字母'
,
},
},
{
{
validateFunction
:
function
(
rule
,
value
,
data
,
callback
)
{
validateFunction
:
function
(
rule
,
value
,
data
,
callback
)
{
let
nameReg
=
/^
[
A-z
]{2,16}
$|^
[\u
4E00-
\u
9FA5
]{2,16}
$/
let
nameReg
=
/^
[
\u
4E00-
\u
9FA5_a-zA-Z
]{2,16}
$/
if
(
!
nameReg
.
test
(
value
))
{
if
(
!
nameReg
.
test
(
value
))
{
callback
(
'姓名只能输入汉字
或
字母,请重新填写'
)
callback
(
'姓名只能输入汉字
和
字母,请重新填写'
)
}
}
return
true
return
true
}
}
...
...
tjty-app/pages_course/tjty_course_appointment/appointment.vue
View file @
df52d3dd
...
@@ -2,12 +2,21 @@
...
@@ -2,12 +2,21 @@
<view
class=
"appoint"
>
<view
class=
"appoint"
>
<view
class=
"appoint-card"
>
<view
class=
"appoint-card"
>
<swiper
circular
indicator-dots
>
<swiper
circular
v-if=
"bannerlist.length>1"
:indicator-dots=
"indicatorDot"
autoplay=
"true"
interval=
"3000"
duration=
"500"
>
<swiper-item
v-for=
"(item,i) in bannerlist "
:key=
"i"
>
<swiper-item
v-for=
"(item,i) in bannerlist "
:key=
"i"
>
<image
:src=
"item"
></image>
<image
:src=
"item"
></image>
</swiper-item>
</swiper-item>
</swiper>
</swiper>
<swiper
circular
v-else
:indicator-dots=
"indicatorDots"
autoplay=
"true"
interval=
"3000"
duration=
"500"
>
<swiper-item
v-for=
"(item,i) in bannerlist "
:key=
"i"
>
<image
:src=
"item"
></image>
</swiper-item>
</swiper>
<!--
<image
:src=
"appoin.bannerImage"
style=
"border-radius:16px 16px 0 0 "
mode=
""
></image>
-->
<!--
<image
:src=
"appoin.bannerImage"
style=
"border-radius:16px 16px 0 0 "
mode=
""
></image>
-->
<view
class=
"info"
>
<view
class=
"info"
>
<view
class=
"item"
>
课程名称:
<view
class=
"item_c"
>
{{
appoin
.
courseName
|
ellipsis
}}
</view></view>
<view
class=
"item"
>
课程名称:
<view
class=
"item_c"
>
{{
appoin
.
courseName
|
ellipsis
}}
</view></view>
...
@@ -36,8 +45,10 @@
...
@@ -36,8 +45,10 @@
return
{
return
{
bannerlist
:[],
bannerlist
:[],
appoin
:{},
appoin
:{},
Idscourse
:
''
Idscourse
:
''
,
indicatorDot
:
true
,
indicatorDots
:
false
,
}
}
},
},
...
@@ -50,6 +61,8 @@
...
@@ -50,6 +61,8 @@
return
value
return
value
}
}
},
},
methods
:
{
methods
:
{
getappoin
(
id
){
getappoin
(
id
){
...
...
tjty-app/pages_course/tjty_course_course/course.vue
View file @
df52d3dd
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
style=
"margin-left: 4
5%;margin-bottom: 20px
;"
@
tap=
"more"
v-show=
"total >= queryParams.pageNum * queryParams.pageSize"
>
加载更多~
</view>
<view
style=
"margin-left: 4
0%;margin-bottom: 20px;color: #666666
;"
@
tap=
"more"
v-show=
"total >= queryParams.pageNum * queryParams.pageSize"
>
加载更多~
</view>
</view>
</view>
</scroll-view>
</scroll-view>
</swiper-item>
</swiper-item>
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
style=
"margin-left: 4
5%;margin-bottom: 20px
;"
@
tap=
"more"
v-show=
"total >= queryParams.pageNum * queryParams.pageSize"
>
加载更多~
</view>
<view
style=
"margin-left: 4
0%;margin-bottom: 20px;color: #666666
;"
@
tap=
"more"
v-show=
"total >= queryParams.pageNum * queryParams.pageSize"
>
加载更多~
</view>
</view>
</view>
</scroll-view>
</scroll-view>
</swiper-item>
</swiper-item>
...
@@ -132,7 +132,7 @@
...
@@ -132,7 +132,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
style=
"margin-left: 4
5%;margin-bottom: 20px
;"
@
tap=
"more"
v-show=
"total >= queryParams.pageNum * queryParams.pageSize"
>
加载更多~
</view>
<view
style=
"margin-left: 4
0%;margin-bottom: 20px;color: #666666
;"
@
tap=
"more"
v-show=
"total >= queryParams.pageNum * queryParams.pageSize"
>
加载更多~
</view>
</view>
</view>
</scroll-view>
</scroll-view>
</swiper-item>
</swiper-item>
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
style=
"margin-left: 4
5%;margin-bottom: 20px
;"
@
tap=
"more"
v-show=
"total >= queryParams.pageNum * queryParams.pageSize"
>
加载更多~
</view>
<view
style=
"margin-left: 4
0%;margin-bottom: 20px;color: #666666
;"
@
tap=
"more"
v-show=
"total >= queryParams.pageNum * queryParams.pageSize"
>
加载更多~
</view>
</view>
</view>
</scroll-view>
</scroll-view>
</swiper-item>
</swiper-item>
...
@@ -213,7 +213,7 @@
...
@@ -213,7 +213,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
style=
"margin-left: 4
5%;margin-bottom: 20px
;"
@
tap=
"more"
v-show=
"total >= queryParams.pageNum * queryParams.pageSize"
>
加载更多~
</view>
<view
style=
"margin-left: 4
0%;margin-bottom: 20px;color: #666666
;"
@
tap=
"more"
v-show=
"total >= queryParams.pageNum * queryParams.pageSize"
>
加载更多~
</view>
</view>
</view>
</scroll-view>
</scroll-view>
</swiper-item>
</swiper-item>
...
...
tjty-app/pages_my/my/my.vue
View file @
df52d3dd
...
@@ -215,6 +215,7 @@
...
@@ -215,6 +215,7 @@
height
:
299px
;
height
:
299px
;
position
:
relative
;
position
:
relative
;
overflow-x
:
hidden
;
overflow-x
:
hidden
;
overflow-y
:
hidden
;
.home
{
.home
{
...
...
tjty-app/pages_my/my_course/myCourse.vue
View file @
df52d3dd
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<view
class=
"item"
>
上课地点:
{{
item
.
mechanismAddress
|
ellipsis
}}
</view>
<view
class=
"item"
>
上课地点:
{{
item
.
mechanismAddress
|
ellipsis
}}
</view>
</view>
</view>
</view>
</view>
<view
style=
"margin-left:
35%;margin-bottom: 20px;"
@
tap=
"more"
v-show=
"total >= queryParams.pageNum * queryParams.pageSize"
>
点击加载更多...
</view>
<view
style=
"margin-left:
40%;margin-bottom: 20px;color: #666666;margin-top: 20px;"
@
tap=
"more"
v-show=
"total >= queryParams.pageNum * queryParams.pageSize"
>
加载更多~
</view>
</view>
</view>
</
template
>
</
template
>
...
...
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