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
090f2f54
Commit
090f2f54
authored
Aug 04, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 需求变更
parent
9b4b86fb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
index.vue
src/components/notice-bar/index.vue
+11
-3
index.vue
src/pages/index/index.vue
+3
-0
record.vue
src/pages/learn/record.vue
+2
-2
No files found.
src/components/notice-bar/index.vue
View file @
090f2f54
<
template
>
<
template
>
<view
class=
"u-flex top"
>
<view
class=
"u-flex top"
>
<view
class=
"u-flex avatar"
>
<
!--
<
view
class=
"u-flex avatar"
>
<view
class=
"avatar-list"
v-for=
"(item, index) in avatars"
:key=
"index"
>
<view
class=
"avatar-list"
v-for=
"(item, index) in avatars"
:key=
"index"
>
<image
:src=
"item"
mode=
"aspectFill"
/>
<image
:src=
"item"
mode=
"aspectFill"
/>
</view>
</view>
</view>
</view>
-->
<image
:src=
"tongzhiImage"
class=
"notice-image"
/>
<view
class=
"notice"
>
<view
class=
"notice"
>
<u-notice-bar
<u-notice-bar
mode=
"
horizont
al"
mode=
"
vertic
al"
type=
"none"
type=
"none"
font-size=
"26"
font-size=
"26"
:list=
"[noticeText]"
:list=
"[noticeText]"
...
@@ -116,6 +117,9 @@ export default {
...
@@ -116,6 +117,9 @@ export default {
defaultUrl
()
{
defaultUrl
()
{
return
process
.
uniEnv
.
qn_base_url
+
'heads/'
return
process
.
uniEnv
.
qn_base_url
+
'heads/'
},
},
tongzhiImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'tongzhi.png'
},
},
},
created
()
{
created
()
{
this
.
initData
()
this
.
initData
()
...
@@ -174,6 +178,10 @@ export default {
...
@@ -174,6 +178,10 @@ export default {
margin-left
:
15rpx
;
margin-left
:
15rpx
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
.notice-image
{
width
:
48rpx
;
height
:
48rpx
;
}
.avatar
{
.avatar
{
.avatar-list
{
.avatar-list
{
margin-left
:
-15rpx
;
margin-left
:
-15rpx
;
...
...
src/pages/index/index.vue
View file @
090f2f54
...
@@ -153,6 +153,9 @@ export default {
...
@@ -153,6 +153,9 @@ export default {
quanbutikuImage
()
{
quanbutikuImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'quanbutiku.png'
return
process
.
uniEnv
.
qn_base_url
+
'quanbutiku.png'
},
},
slognImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'slogn.png'
},
marks
()
{
marks
()
{
return
[
return
[
{
{
...
...
src/pages/learn/record.vue
View file @
090f2f54
...
@@ -262,8 +262,8 @@ export default {
...
@@ -262,8 +262,8 @@ export default {
const
ele
=
keys
[
index
]
const
ele
=
keys
[
index
]
console
.
log
(
'ele'
,
ele
)
console
.
log
(
'ele'
,
ele
)
this
.
chartData
.
categories
.
push
(
ele
.
replace
(
/
\-
/g
,
'.'
))
this
.
chartData
.
categories
.
push
(
ele
.
replace
(
/
\-
/g
,
'.'
))
this
.
chartData
.
series
[
0
].
data
.
push
(
res
[
ele
].
totalCount
)
this
.
chartData
.
series
[
0
].
data
.
push
(
res
[
ele
].
totalCount
||
''
)
this
.
chartData
.
series
[
1
].
data
.
push
(
res
[
ele
].
rightCount
)
this
.
chartData
.
series
[
1
].
data
.
push
(
res
[
ele
].
rightCount
||
''
)
}
}
})
})
.
catch
((
err
)
=>
{
.
catch
((
err
)
=>
{
...
...
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