Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
study
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
Damon
study
Commits
160c92dd
Commit
160c92dd
authored
Jul 23, 2021
by
linwenqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:客服页样式修改
parent
0ed4ac7f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
24 deletions
+49
-24
pages.json
src/pages.json
+1
-0
mine.vue
src/pages/index/mine.vue
+1
-4
customer.vue
src/pages/mine/customer.vue
+47
-20
No files found.
src/pages.json
View file @
160c92dd
...
@@ -234,6 +234,7 @@
...
@@ -234,6 +234,7 @@
"name"
:
"mineCustomer"
,
"name"
:
"mineCustomer"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"联系客服"
,
"navigationBarTitleText"
:
"联系客服"
,
"navigationStyle"
:
"custom"
,
"enablePullDownRefresh"
:
false
,
"enablePullDownRefresh"
:
false
,
"disableScroll"
:
true
"disableScroll"
:
true
}
}
...
...
src/pages/index/mine.vue
View file @
160c92dd
...
@@ -151,13 +151,10 @@ export default {
...
@@ -151,13 +151,10 @@ export default {
},
},
onLoad
()
{},
onLoad
()
{},
onShow
()
{
onShow
()
{
this
.
$u
.
api
.
getCertList
({}).
then
((
res
)
=>
{
console
.
log
(
res
)
})
if
(
this
.
userInfo
.
nickName
)
{
if
(
this
.
userInfo
.
nickName
)
{
this
.
$u
.
api
.
getUserInfo
().
then
((
res
)
=>
{
this
.
$u
.
api
.
getUserInfo
().
then
((
res
)
=>
{
this
.
student
=
res
this
.
student
=
res
getApp
().
globalData
.
student
getApp
().
globalData
.
student
=
res
})
})
}
}
},
},
...
...
src/pages/mine/customer.vue
View file @
160c92dd
<
template
>
<
template
>
<view
class=
"content"
>
<view
class=
"begin-answer"
>
<view
class=
"kf-body"
>
<u-navbar
<!--
<text
class=
"title"
>
{{
title
}}
</text>
-->
back-icon-color=
"#ffffff"
<view
class=
"name-space"
>
background=
"transparent"
<view
class=
"head-photo"
>
title=
"我的题库"
<u-avatar
:src=
"avatar"
></u-avatar>
titleColor=
"#ffffff"
:border-bottom=
"false"
title-bold
></u-navbar>
<view
class=
"content"
>
<view
class=
"kf-body"
>
<view
class=
"kf-image"
>
<u-image
width=
"436rpx"
height=
"436rpx"
:src=
"erweima"
></u-image>
</view>
</view>
<view>
<view
class=
"tips"
>
<view
class=
"nick"
长按识别二维码添加官方客服
><text>
aaa
</text><u-icon
name=
"server-man"
></u-icon
></view>
<view
class=
"city"
><text>
安徽
</text><text>
合肥
</text></view>
</view>
</view>
</view>
</view>
<view
class=
"erweima"
>
<u-image
width=
"424rpx"
height=
"424rpx"
:src=
"erweima"
></u-image>
</view>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -34,16 +35,31 @@ export default {
...
@@ -34,16 +35,31 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
scoped
lang=
"scss"
>
page
{
::-webkit-scrollbar
{
background-color
:
rgb
(
229
,
229
,
236
);
width
:
0
;
height
:
0
;
color
:
transparent
;
display
:
none
;
}
.begin-answer
{
display
:
flex
;
flex-direction
:
column
;
background-color
:
#2953ff
;
background-size
:
100%
920rpx
;
background-repeat
:
no-repeat
;
height
:
120vh
;
position
:
absolute
;
top
:
0
;
width
:
100%
;
}
}
.content
{
.content
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
padding
:
130
rpx
30
rpx
0
rpx
30
rpx
;
padding
:
130rpx
24rpx
0rpx
24
rpx
;
}
}
.logo
{
.logo
{
...
@@ -64,9 +80,14 @@ page {
...
@@ -64,9 +80,14 @@ page {
.kf-body
{
.kf-body
{
width
:
100%
;
width
:
100%
;
height
:
70
0
rpx
;
height
:
88
0rpx
;
background-color
:
aliceblue
;
background-color
:
aliceblue
;
padding
:
50
rpx
;
text-align
:
center
;
}
.kf-image
{
margin-left
:
132rpx
;
margin-top
:
160rpx
;
}
}
.name-space
{
.name-space
{
...
@@ -78,4 +99,10 @@ page {
...
@@ -78,4 +99,10 @@ page {
margin-top
:
30rpx
;
margin-top
:
30rpx
;
padding-left
:
10%
;
padding-left
:
10%
;
}
}
.tips
{
color
:
#5a6073
;
font-size
:
28rpx
;
margin-top
:
114rpx
;
}
</
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