Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
bbc2e785
Commit
bbc2e785
authored
Oct 26, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
73f80c9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
index.vue
components/search/index.vue
+1
-2
mystudy.vue
pages/school/mystudy/mystudy.vue
+10
-4
No files found.
components/search/index.vue
View file @
bbc2e785
...
...
@@ -38,7 +38,7 @@ export default {
},
created
()
{
if
(
this
.
styleStr
.
background
.
indexOf
(
"#"
)
==
-
1
&&
this
.
styleStr
.
background
&&
this
.
styleStr
.
background
.
indexOf
(
"#"
)
==
-
1
&&
this
.
styleStr
.
background
.
indexOf
(
"rgb"
)
==
-
1
)
{
this
.
bg
=
"#"
+
this
.
styleStr
.
background
;
...
...
@@ -46,7 +46,6 @@ export default {
this
.
bg
=
this
.
styleStr
.
background
;
}
this
.
marginStyle
=
`
${
this
.
styleStr
.
top
??
0
}
px
$
{
this
.
styleStr
.
right
??
0
}
px
$
{
this
.
styleStr
.
bottom
??
0
}
px
$
{
this
.
styleStr
.
left
??
0
}
px
`
console.log(this.styleStr.bg);
// if (this.styleStr.p) {
// let p = this.styleStr.p;
// this.postionStyle = `
position
:
$
{
p
.
position
};
left
:
$
{
p
.
left
}
px
;
width
:
$
{
p
.
width
};
top
:
$
{
p
.
top
}
px
;
z
-
index
:
9999999
;
`;
...
...
pages/school/mystudy/mystudy.vue
View file @
bbc2e785
...
...
@@ -9,7 +9,7 @@
]"
>
<view
class=
"arrow"
@
click=
"goback"
>
<
u-icon
name=
"arrow-left"
size=
"48"
color=
"#FFF"
></u-icon
>
<
!--
<u-icon
name=
"arrow-left"
size=
"48"
color=
"#FFF"
></u-icon>
--
>
</view>
<view
class=
"title"
style=
"color: #FFF;"
>
{{
pageTitle
}}
</view>
<view
class=
"arrow"
></view>
...
...
@@ -23,7 +23,7 @@
]"
>
<view
class=
"arrow"
@
click=
"goback"
>
<
u-icon
name=
"arrow-left"
size=
"48"
color=
"#FFF"
></u-icon
>
<
!--
<u-icon
name=
"arrow-left"
size=
"48"
color=
"#FFF"
></u-icon>
--
>
</view>
<view
class=
"title"
style=
"color: #FFF;"
>
{{
pageTitle
}}
</view>
<view
class=
"arrow"
></view>
...
...
@@ -78,7 +78,7 @@
<view
style=
"width: 100%;background: #FFF;"
v-if=
'RecentStudy.length==0'
>
<u-empty
text=
"暂无学习内容"
mode=
"list"
></u-empty>
</view>
<view
style=
"padding:0 15px;background: #FFF;width: 100%
;
"
>
<view
style=
"padding:0 15px;background: #FFF;width: 100%"
>
<view
class=
"studyB-lately"
@
click=
"gosignup()"
>
<text
style=
"font-size: 16px;color: #1B1D1E;font-weight: bold;"
>
报名记录
</text>
<view
style=
"display: flex;flex-direction: row;align-items: center;"
>
...
...
@@ -108,9 +108,13 @@
<view
style=
"width: 100%;background: #FFF;"
v-if=
"StudyRecord.length==0"
>
<u-empty
text=
"暂无报名记录"
mode=
"list"
></u-empty>
</view>
<view
style=
"100%;height: 100px;"
></view>
</view>
</view>
<auth
v-if=
"showAuth"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
'goback'
></auth>
<view>
<tabbar></tabbar>
</view>
</view>
</
template
>
...
...
@@ -119,6 +123,7 @@
import
hParse
from
"@/components/u-parse/parse.vue"
;
import
auth
from
"@/components/auth/index.vue"
;
import
uCharts
from
'../components/u-charts/u-charts.min.js'
;
import
tabbar
from
"@/components/tabbar/index"
;
var
_self
;
var
canvaLineA
=
null
;
export
default
{
...
...
@@ -149,7 +154,8 @@
},
components
:
{
hParse
,
auth
auth
,
tabbar
},
onLoad
(
options
)
{
_self
=
this
;
...
...
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