Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
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
游洁
thinkApp
Commits
83c99a26
Commit
83c99a26
authored
May 27, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/youjie/thinkapp
parents
2acfd29f
ef9d42a2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
750 additions
and
823 deletions
+750
-823
JobComponents.vue
src/components/index/JobComponents.vue
+243
-212
commentsComponents.vue
src/components/index/commentsComponents.vue
+129
-122
course-card.vue
src/components/index/course-card.vue
+93
-134
examComponents.vue
src/components/index/examComponents.vue
+223
-196
index.vue
src/pages/index/index.vue
+62
-159
No files found.
src/components/index/JobComponents.vue
View file @
83c99a26
This diff is collapsed.
Click to expand it.
src/components/index/commentsComponents.vue
View file @
83c99a26
<
template
>
<
template
>
<view
class=
"CommentsComponents-box"
>
<view
class=
"CommentsComponents-box"
>
<view
class=
"CommentsComponents activeOne flex"
>
<view
class=
"CommentsComponents activeOne flex"
>
<view
class=
"CommentsComponents-time-box flex"
>
<view
class=
"CommentsComponents-time-box flex"
>
<view
class=
"CommentsComponents-time"
>
<view
class=
"CommentsComponents-time"
>
<view>
{{
jobData
.
CreateTime
}}
</view>
<view>
05/25 17:13
</view>
</view>
</view>
<view
class=
"CommentsComponents-line"
>
<view
class=
"CommentsComponents-line"
>
<view
class=
"CommentsComponents-point"
></view>
<view
class=
"CommentsComponents-point"
></view>
</view>
</view>
</view>
</view>
<view
class=
"CommentsComponents-center-box"
>
<view
class=
"CommentsComponents-center-box"
>
<view
class=
"CommentsComponents-center-line"
></view>
<view
class=
"CommentsComponents-center-line"
></view>
<view
class=
"CommentsComponents-center flex"
>
<view
class=
"CommentsComponents-center flex"
>
<view
class=
"CommentsComponents-left flex"
>
<view
class=
"CommentsComponents-left flex"
>
<van-image
width=
"38rpx"
height=
"38rpx"
fit=
"cover"
class=
"operation-img"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_713.png"
/>
<van-image
width=
"38rpx"
height=
"38rpx"
fit=
"cover"
class=
"operation-img"
<view
class=
"operation-name"
>
{{
jobData
.
Title
}}
</view>
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_713.png"
/>
</view>
<view
class=
"operation-name"
>
周老师的评语
</view>
<view
class=
"CommentsComponents-right"
>
</view>
{{
jobData
.
DataObj
.
Comment
}}
<view
class=
"CommentsComponents-right"
>
</view>
你是个做事小心翼翼,感情细腻丰富的女孩
</view>
,每次看你认真的样子老师都很感动。你也是幸运的,周
</view>
边有很多人都在关爱着你,所以,对他们,尤其是父母,记得不要
</view>
太莽撞,不要太任性,要学着体谅,学着换位思考
,学着懂事。另外,今后要多运动、多锻炼,有健康才能成就美好未来!
</view>
</view>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -40,12 +34,9 @@
...
@@ -40,12 +34,9 @@
}
from
"vue"
;
}
from
"vue"
;
export
default
{
export
default
{
props
:
{
props
:
[
"jobData"
],
},
components
:
{},
components
:
{},
setup
()
{
setup
()
{
let
data
=
reactive
({
let
data
=
reactive
({
obj
:
{
obj
:
{
Name
:
''
,
Name
:
''
,
...
@@ -61,95 +52,111 @@
...
@@ -61,95 +52,111 @@
};
};
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.CommentsComponents-right
{
.CommentsComponents-right
{
color
:
#FFFFFF
;
color
:
#FFFFFF
;
font-size
:
20
rpx
;
font-size
:
20
rpx
;
line-height
:
35
rpx
;
line-height
:
35
rpx
;
letter-spacing
:
1
rpx
;
letter-spacing
:
1
rpx
;
}
}
.CommentsComponents.activeThree
.operation-name
{
color
:
#282828
;
.CommentsComponents.activeThree
.operation-name
{
}
color
:
#282828
;
.CommentsComponents.activeTwo
.operation-name
{
}
color
:
#282828
;
}
.CommentsComponents.activeTwo
.operation-name
{
.CommentsComponents.activeOne
.operation-name
{
color
:
#282828
;
color
:
#FFFFFF
;
}
}
.operation-name
{
.CommentsComponents.activeOne
.operation-name
{
font-size
:
26
rpx
;
color
:
#FFFFFF
;
letter-spacing
:
1px
;
}
font-weight
:
500
;
flex-grow
:
1
;
.operation-name
{
}
font-size
:
26
rpx
;
.operation-img
{
letter-spacing
:
1px
;
margin-right
:
12
rpx
;
font-weight
:
500
;
border-radius
:
50%
;
flex-grow
:
1
;
flex-shrink
:
0
;
}
}
.CommentsComponents-left
{
.operation-img
{
flex
:
1
;
margin-right
:
12
rpx
;
flex-grow
:
1
;
border-radius
:
50%
;
margin-top
:
-5
rpx
;
flex-shrink
:
0
;
margin-bottom
:
10
rpx
;
}
}
.CommentsComponents-center
{
.CommentsComponents-left
{
flex-direction
:
column
;
flex
:
1
;
}
flex-grow
:
1
;
.CommentsComponents-center-line
{
margin-top
:
-5
rpx
;
width
:
4
rpx
;
margin-bottom
:
10
rpx
;
height
:
23
rpx
;
}
background
:
#FEFEFE
;
position
:
absolute
;
.CommentsComponents-center
{
left
:
0
;
flex-direction
:
column
;
top
:
33
rpx
;
}
}
.CommentsComponents.activeOne
.CommentsComponents-center-box
{
.CommentsComponents-center-line
{
background
:
#52C1CA
;
width
:
4
rpx
;
}
height
:
23
rpx
;
.CommentsComponents-center-box
{
background
:
#FEFEFE
;
flex-grow
:
1
;
position
:
absolute
;
position
:
relative
;
left
:
0
;
border-radius
:
30
rpx
;
top
:
33
rpx
;
padding
:
31
rpx
18
rpx
21
rpx
24
rpx
;
}
margin-bottom
:
50
rpx
;
}
.CommentsComponents.activeOne
.CommentsComponents-center-box
{
.CommentsComponents.activeOne
.CommentsComponents-point
{
background
:
#52C1CA
;
background
:
#1E7BF5
;
}
box-shadow
:
0px
0px
12px
0px
rgba
(
30
,
123
,
245
,
0.46
);
}
.CommentsComponents-center-box
{
.CommentsComponents-point
{
flex-grow
:
1
;
width
:
19
rpx
;
position
:
relative
;
height
:
19
rpx
;
border-radius
:
30
rpx
;
position
:
absolute
;
padding
:
31
rpx
18
rpx
21
rpx
24
rpx
;
top
:
20
rpx
;
margin-bottom
:
50
rpx
;
left
:
-13
rpx
;
}
border-radius
:
50%
;
border
:
3px
solid
#FFFFFF
;
.CommentsComponents.activeOne
.CommentsComponents-point
{
box-shadow
:
0px
0px
12px
0px
rgba
(
255
,
255
,
255
,
0.46
);
background
:
#1E7BF5
;
}
box-shadow
:
0px
0px
12px
0px
rgba
(
30
,
123
,
245
,
0.46
);
.CommentsComponents-line
{
}
width
:
4
rpx
;
height
:
100%
;
.CommentsComponents-point
{
background
:
#F1F1F1
;
width
:
19
rpx
;
margin-left
:
46
rpx
;
height
:
19
rpx
;
margin-right
:
46
rpx
;
position
:
absolute
;
position
:
relative
;
top
:
20
rpx
;
}
left
:
-13
rpx
;
.CommentsComponents-time
{
border-radius
:
50%
;
width
:
61
rpx
;
border
:
3px
solid
#FFFFFF
;
height
:
55
rpx
;
box-shadow
:
0px
0px
12px
0px
rgba
(
255
,
255
,
255
,
0.46
);
color
:
#CCC8C6
;
}
font-size
:
20
rpx
;
border-radius
:
20
rpx
;
.CommentsComponents-line
{
padding
:
14
rpx
13
rpx
;
width
:
4
rpx
;
background
:
#F6F6F6
;
height
:
100%
;
}
background
:
#F1F1F1
;
.CommentsComponents
{
margin-left
:
46
rpx
;
justify-content
:
space-between
;
margin-right
:
46
rpx
;
padding
:
0
50
rpx
;
position
:
relative
;
}
}
.CommentsComponents-box
{
background
:
#FFFFFF
;
.CommentsComponents-time
{
}
width
:
61
rpx
;
height
:
55
rpx
;
color
:
#CCC8C6
;
font-size
:
20
rpx
;
border-radius
:
20
rpx
;
padding
:
14
rpx
13
rpx
;
background
:
#F6F6F6
;
}
.CommentsComponents
{
justify-content
:
space-between
;
padding
:
0
50
rpx
;
}
.CommentsComponents-box
{
background
:
#FFFFFF
;
}
</
style
>
</
style
>
src/components/index/course-card.vue
View file @
83c99a26
This diff is collapsed.
Click to expand it.
src/components/index/examComponents.vue
View file @
83c99a26
This diff is collapsed.
Click to expand it.
src/pages/index/index.vue
View file @
83c99a26
...
@@ -3,32 +3,34 @@
...
@@ -3,32 +3,34 @@
<navbar
class=
"navbarSticky"
bg=
"#F6F6F6"
>
<navbar
class=
"navbarSticky"
bg=
"#F6F6F6"
>
<view
class=
"index-header-box"
>
<view
class=
"index-header-box"
>
<view
class=
"index-header-img"
>
<view
class=
"index-header-img"
>
<van-image
width=
"100%"
height=
"100%"
fit=
"cover"
class=
"img"
<van-image
width=
"100%"
height=
"100%"
fit=
"cover"
class=
"img"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_713.png"
/>
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_713.png"
/>
</view>
</view>
<view
class=
"index-header-tetx"
>
<view
class=
"index-header-tetx"
>
<view
class=
"index-header-title"
>
<view
class=
"index-header-title"
>
welcome
{{
userData
}}
welcome
</view>
</view>
<view
class=
"index-header-name"
>
周一围
</view>
<view
class=
"index-header-name"
>
{{
userData
.
AccountName
}}
</view>
</view>
</view>
</view>
</view>
</navbar>
</navbar>
<view
style=
"margin: 40rpx 0 10rpx 0;"
>
<view
style=
"margin: 40rpx 0 10rpx 0;"
>
<view
style=
"padding:0 50rpx;font-weight: 800;color: #282828;"
>
<view
style=
"padding:0 50rpx;font-weight: 800;color: #282828;"
>
<view
style=
"font-size: 36rpx;"
>
Hello,
</view>
<view
style=
"font-size: 36rpx;"
>
Hello,
{{
userData
.
AccountName
}}
</view>
<view
style=
"font-size: 50rpx;"
>
您的学情反馈已准备好
</view>
<view
style=
"font-size: 50rpx;"
>
您的学情反馈已准备好
</view>
</view>
</view>
</view>
</view>
<course-card></course-card>
<course-card
:stuCourseList=
"stuCourseList"
></course-card>
<view
class=
"index-student-title flex"
>
<view
class=
"index-student-title flex"
>
<text>
考情详情
</text>
<text>
考情详情
</text>
<view>
(共
53
条)
</view>
<view>
(共
{{
workList
!=
null
&&
workList
.
length
>
0
?
workList
.
length
:
0
}}
条)
</view>
</view>
</view>
<view
class=
"index-student-information"
>
<view
class=
"index-student-information"
>
<JobComponents></JobComponents>
<template
v-for=
"(item,index) in workList"
>
<examComponents></examComponents>
<JobComponents
v-if=
"item.ResultType==1"
:jobData=
"item"
></JobComponents>
<commentsComponents></commentsComponents>
<examComponents
v-if=
"item.ResultType==2"
:jobData=
"item"
></examComponents>
<commentsComponents
v-if=
"item.ResultType==3"
:jobData=
"item"
></commentsComponents>
</
template
>
</view>
</view>
</view>
</view>
</template>
</template>
...
@@ -51,9 +53,9 @@
...
@@ -51,9 +53,9 @@
nextTick
,
nextTick
,
}
from
"vue"
;
}
from
"vue"
;
import
{
import
{
getSweepCode
getSweepCode
}
from
'../../api/index.js'
}
from
'../../api/index.js'
import
{
import
{
getImageColor
getImageColor
}
from
'../../utils/index.js'
}
from
'../../utils/index.js'
...
@@ -61,11 +63,6 @@
...
@@ -61,11 +63,6 @@
import
navbar
from
'../../components/navbar.vue'
import
navbar
from
'../../components/navbar.vue'
import
bottom
from
'../../components/bottom.vue'
import
bottom
from
'../../components/bottom.vue'
export
default
{
export
default
{
// data(){
// return{
// }
// }
components
:
{
components
:
{
indexassembly
,
indexassembly
,
navbar
,
navbar
,
...
@@ -80,25 +77,16 @@
...
@@ -80,25 +77,16 @@
proxy
proxy
}
=
getCurrentInstance
();
}
=
getCurrentInstance
();
let
data
=
reactive
({
let
data
=
reactive
({
ActiveMsg
:
{
stuCourseList
:
[],
//学员课程列表
pageIndex
:
1
,
userData
:
{},
//用户信息
pageSize
:
10
,
//学员作业和考试查询参数
ActivityType
:
0
,
workMsg
:
{
SelectIsEnd
:
0
,
courseId
:
0
,
},
ActivityList
:
[],
pageData
:
{
LearningGardenList
:
[]
},
SurveyObj
:{
ActivitySurveyId
:
0
,
ActivitySurveyGuestId
:
0
,
},
},
userData
:
{}
workList
:
[],
//学员作业、考试、评语数据
});
});
let
methods
=
{
let
methods
=
{
jumpPage
(
url
)
{
jumpPage
(
url
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
url
,
url
:
url
,
...
@@ -109,10 +97,7 @@
...
@@ -109,10 +97,7 @@
url
:
'/pages/timetable/timeTable'
,
url
:
'/pages/timetable/timeTable'
,
})
})
},
},
//跳转至详情
goActiveDetail
(
Id
)
{
// this.jumpPage(`/pages/activity/activityDetails?Id=${Id}`);
},
base64_decode
(
data
)
{
base64_decode
(
data
)
{
var
b64
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
;
var
b64
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
;
var
o1
,
var
o1
,
...
@@ -149,91 +134,26 @@
...
@@ -149,91 +134,26 @@
}
}
}
while
(
i
<
data
.
length
);
}
while
(
i
<
data
.
length
);
dec
=
tmp_arr
.
join
(
""
);
dec
=
tmp_arr
.
join
(
""
);
//dec = utf8_decode(dec);
return
dec
;
return
dec
;
},
},
//{"cmd":"checkin","params":{"classId":0,"ClassDate":"2022-4-19","ClassRoomId":27,
//获取学员课程列表
//"School_Id":0,"TeacherId":8,"CheckStatus":0,"StudyNum":"90","ClassTimeId":16531}}
getStuCourse
()
{
scan
()
{
//调起条码扫描
console
.
log
(
"进来了"
)
let
that
=
this
uni
.
scanCode
({
scanType
:
[
'qrCode'
],
success
:
function
(
res
)
{
// 解码
var
saveObj
=
{};
try
{
saveObj
=
that
.
base64_decode
(
res
.
result
)
// console.log(saveObj)
}
catch
(
e
)
{
//TODO handle the exception
// console.log(e)
}
var
jsonObj
=
JSON
.
parse
(
saveObj
)
if
(
jsonObj
.
cmd
==
"checkin"
){
var
userData
=
uni
.
getStorageSync
(
'userInfo'
);
console
.
log
(
"userData"
,
userData
);
jsonObj
.
params
.
StuId
=
userData
.
AccountId
;
var
array
=
[];
array
.
push
(
jsonObj
.
params
);
console
.
log
(
"jsonObj.params"
,
jsonObj
.
params
)
let
result
=
getSweepCode
(
array
);
if
(
result
)
{
// console.log(result)
if
(
result
.
Code
==
1
)
{
console
.
log
(
'扫码成功'
)
uni
.
navigateTo
({
url
:
'./success'
,
})
}
else
{
console
.
log
(
'扫码失败'
)
uni
.
navigateTo
({
url
:
'./fail'
})
}
}
}
},
});
},
async
getActivityData
()
{
// let res = await getActivityList(data.ActiveMsg);
// if (res.resultCode == 1) {
// data.ActivityList = res.data.pageData;
// }
},
getIndexData
()
{
proxy
.
$request
(
"/Stu/GetStuCourse"
,
{}).
then
(
res
=>
{
proxy
.
$request
(
"/Stu/GetStuCourse"
,
{}).
then
(
res
=>
{
data
.
pageData
=
res
.
Data
let
tempArray
=
res
.
Data
;
uni
.
setStorageSync
(
"indexData"
,
res
.
Data
);
data
.
stuCourseList
=
tempArray
;
data
.
SurveyObj
.
ActivitySurveyId
=
res
.
Data
.
ActivitySurveyId
;
if
(
tempArray
&&
tempArray
.
length
>
0
)
{
data
.
SurveyObj
.
ActivitySurveyGuestId
=
res
.
Data
.
ActivitySurveyGuestId
;
this
.
getStuHomeWorkAndExam
(
tempArray
[
0
].
courseId
)
if
(
data
.
pageData
.
LearningGardenList
.
length
>
0
)
{
data
.
pageData
.
LearningGardenList
.
forEach
((
x
,
y
)
=>
{
if
(
x
.
List
.
length
>
0
)
{
x
.
List
.
forEach
(
async
(
item
,
index
)
=>
{
await
this
.
getColor
(
item
.
Img
,
index
,
y
).
then
(
v
=>
{
data
.
pageData
.
LearningGardenList
[
v
.
y
]
.
List
[
v
.
index
].
bgcolor
=
v
.
formatres
;
data
.
pageData
.
LearningGardenList
[
v
.
y
]
.
List
[
v
.
index
].
bgcolor1
=
v
.
formatres1
;
data
.
pageData
.
LearningGardenList
[
v
.
y
]
.
List
[
v
.
index
].
bgcolor2
=
v
.
formatres2
;
})
})
}
})
}
}
})
})
},
},
//获取学员作业、考试、评语
getStuHomeWorkAndExam
(
courseId
)
{
this
.
workMsg
.
courseId
=
courseId
;
data
.
workList
=
[];
proxy
.
$request
(
"/Stu/GetStuWork"
,
this
.
workMsg
).
then
(
res
=>
{
data
.
workList
=
res
.
Data
;
})
},
async
getColor
(
src
,
index
,
y
)
{
async
getColor
(
src
,
index
,
y
)
{
let
res
=
await
getImageColor
(
'myCanvas'
,
'img'
+
index
,
src
)
let
res
=
await
getImageColor
(
'myCanvas'
,
'img'
+
index
,
src
)
let
obj
=
{}
let
obj
=
{}
...
@@ -244,33 +164,6 @@
...
@@ -244,33 +164,6 @@
obj
.
y
=
y
obj
.
y
=
y
return
obj
return
obj
},
},
againdata
()
{
data
.
userData
=
uni
.
getStorageSync
(
'userInfo'
);
methods
.
getIndexData
();
methods
.
getActivityData
();
},
jumpGarden
(
id
)
{
if
(
id
==
1
)
{
uni
.
navigateTo
({
url
:
"/pages/learningGarden/learningGardenList"
})
}
else
if
(
id
==
2
)
{
// uni.navigateTo({
// url:"/pages/learningGarden/learningGardenList"
// })
}
},
jumpJiahemini
()
{
let
userinfo
=
uni
.
getStorageSync
(
'userInfo'
);
wx
.
navigateToMiniProgram
({
appId
:
'wx38e054ee42b054f4'
,
path
:
''
,
//为空则打开首页
extraData
:
{
Id
:
userinfo
.
Id
||
0
}
})
}
};
};
onMounted
(()
=>
{
onMounted
(()
=>
{
...
@@ -282,8 +175,7 @@
...
@@ -282,8 +175,7 @@
};
};
},
},
onShow
()
{
onShow
()
{
this
.
getActivityData
();
this
.
getStuCourse
();
this
.
getIndexData
();
this
.
userData
=
uni
.
getStorageSync
(
'userInfo'
);
this
.
userData
=
uni
.
getStorageSync
(
'userInfo'
);
},
},
onShareAppMessage
()
{
onShareAppMessage
()
{
...
@@ -304,35 +196,41 @@
...
@@ -304,35 +196,41 @@
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.index-student-title
view
{
.index-student-title
view
{
font-size
:
25
rpx
;
font-size
:
25
rpx
;
color
:
#ABABAB
;
color
:
#ABABAB
;
margin-left
:
20
rpx
;
margin-left
:
20
rpx
;
padding
:
13
rpx
0
0
0
;
padding
:
13
rpx
0
0
0
;
}
}
.index-student-title
text
{
.index-student-title
text
{
font-size
:
36
rpx
;
font-size
:
36
rpx
;
font-weight
:
800
;
font-weight
:
800
;
color
:
#282828
;
color
:
#282828
;
}
}
.index-student-title
{
.index-student-title
{
padding
:
0
50
rpx
45
rpx
;
padding
:
0
50
rpx
45
rpx
;
}
}
.index-student-information
{
.index-student-information
{
min-height
:
500
rpx
;
min-height
:
500
rpx
;
background
:
rgba
(
255
,
255
,
255
,
.7
);
background
:
rgba
(
255
,
255
,
255
,
.7
);
border-radius
:
50
rpx
50
rpx
0
0
;
border-radius
:
50
rpx
50
rpx
0
0
;
padding
:
71
rpx
0
0
0
;
padding
:
71
rpx
0
0
0
;
}
}
.index-header-name
{
.index-header-name
{
font-size
:
30
rpx
;
font-size
:
30
rpx
;
color
:
#474747
;
color
:
#474747
;
}
}
.index-header-tetx
{
.index-header-tetx
{
color
:
#D0D0D0
;
color
:
#D0D0D0
;
font-size
:
24
rpx
;
font-size
:
24
rpx
;
}
}
.index-header-img
.img
{
.index-header-img
.img
{
display
:
block
;
display
:
block
;
border
:
2
rpx
solid
rgba
(
164
,
164
,
164
,
0.32
);
border
:
2
rpx
solid
rgba
(
164
,
164
,
164
,
0.32
);
border-radius
:
50%
;
border-radius
:
50%
;
...
@@ -342,7 +240,8 @@
...
@@ -342,7 +240,8 @@
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
4
rpx
;
margin
:
4
rpx
;
}
}
.index-header-img
{
.index-header-img
{
width
:
68
rpx
;
width
:
68
rpx
;
height
:
68
rpx
;
height
:
68
rpx
;
border-radius
:
50%
;
border-radius
:
50%
;
...
@@ -351,6 +250,7 @@
...
@@ -351,6 +250,7 @@
margin-right
:
20
rpx
;
margin-right
:
20
rpx
;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
}
}
.indexpage
{
.indexpage
{
min-height
:
100vh
;
min-height
:
100vh
;
background-color
:
#f6f6f6
;
background-color
:
#f6f6f6
;
...
@@ -360,26 +260,29 @@
...
@@ -360,26 +260,29 @@
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-size
:
100%
auto
;
background-size
:
100%
auto
;
}
}
.index-header-box
{
.index-header-box
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
align-items
:
center
;
align-items
:
center
;
padding
:
0
rpx
42
rpx
;
padding
:
0
rpx
42
rpx
;
}
}
.index-header-box
.index-header-title
{
.index-header-box
.index-header-title
{
font-size
:
24
rpx
;
font-size
:
24
rpx
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#B8B8B8
;
color
:
#B8B8B8
;
}
}
.index-header-box
.index-header-name
{
.index-header-box
.index-header-name
{
font-size
:
30
rpx
;
font-size
:
30
rpx
;
font-weight
:
800
;
font-weight
:
800
;
color
:
#282828
;
color
:
#282828
;
}
}
.navbarSticky
{
.navbarSticky
{
display
:
sticky
;
display
:
sticky
;
top
:
0
;
top
:
0
;
z-index
:
9
;
z-index
:
9
;
}
}
</
style
>
</
style
>
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