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
d6082216
Commit
d6082216
authored
Jul 26, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: UI变更
parent
dca46123
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
15 deletions
+39
-15
index.vue
src/components/experience-pop/index.vue
+1
-1
index.vue
src/components/subject-statistics/index.vue
+1
-1
index.vue
src/pages/index/index.vue
+28
-0
detail.vue
src/pages/learn/detail.vue
+8
-12
manualBinding.vue
src/pages/learn/manualBinding.vue
+1
-1
No files found.
src/components/experience-pop/index.vue
View file @
d6082216
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
type=
"primary"
type=
"primary"
@
click=
"handleClick"
@
click=
"handleClick"
>
>
立即
练习
立即
体验
</u-button>
</u-button>
</view>
</view>
<view
class=
"colse-view"
>
<view
class=
"colse-view"
>
...
...
src/components/subject-statistics/index.vue
View file @
d6082216
...
@@ -94,7 +94,7 @@ export default {
...
@@ -94,7 +94,7 @@ export default {
return
process
.
uniEnv
.
qn_base_url
+
'lianxianniu.png'
return
process
.
uniEnv
.
qn_base_url
+
'lianxianniu.png'
},
},
buttonText
()
{
buttonText
()
{
return
this
.
info
.
experience
?
'
免费
体验答题'
:
'每日一练'
return
this
.
info
.
experience
?
'
立即
体验答题'
:
'每日一练'
},
},
},
},
created
()
{},
created
()
{},
...
...
src/pages/index/index.vue
View file @
d6082216
...
@@ -26,6 +26,16 @@
...
@@ -26,6 +26,16 @@
<view
v-if=
"noExam"
class=
"tip-view"
>
<view
v-if=
"noExam"
class=
"tip-view"
>
<text>
您还未选择题库,请先选择题库
</text>
<text>
您还未选择题库,请先选择题库
</text>
</view>
</view>
<view
v-else-if=
"!this.info.cardId"
class=
"card-tip-view"
@
click=
"$u.throttle(handleSelectTip, 500)"
>
题库未激活,请通过
<text
class=
"blue-text"
>
“绑卡”
</text>
或
<text
class=
"blue-text"
>
“购买”
</text
>
激活
</view>
<view
v-else
class=
"detail-view"
>
<view
v-else
class=
"detail-view"
>
<view
<view
v-for=
"(item, index) in detailItems"
v-for=
"(item, index) in detailItems"
...
@@ -506,6 +516,15 @@ export default {
...
@@ -506,6 +516,15 @@ export default {
)
)
:
0
:
0
},
},
handleSelectTip
()
{
this
.
$u
.
route
({
url
:
'pages/learn/detail'
,
params
:
{
relationId
:
this
.
relationId
,
id
:
this
.
info
.
id
,
},
})
},
},
},
}
}
</
script
>
</
script
>
...
@@ -574,6 +593,15 @@ export default {
...
@@ -574,6 +593,15 @@ export default {
margin-top
:
22rpx
;
margin-top
:
22rpx
;
margin-bottom
:
40rpx
;
margin-bottom
:
40rpx
;
}
}
.card-tip-view
{
font-size
:
28rpx
;
color
:
#9ea5bb
;
margin-top
:
22rpx
;
margin-bottom
:
40rpx
;
.blue-text
{
color
:
#2953ff
;
}
}
.detail-view
{
.detail-view
{
display
:
flex
;
display
:
flex
;
align-items
:
flex-start
;
align-items
:
flex-start
;
...
...
src/pages/learn/detail.vue
View file @
d6082216
...
@@ -34,11 +34,7 @@
...
@@ -34,11 +34,7 @@
><view
class=
"line-view"
></view>
><view
class=
"line-view"
></view>
</view>
</view>
</view>
</view>
<u-button
<u-button
:customStyle=
"buyButtonStyle"
@
click=
"handleClickBuy"
>
:customStyle=
"buyButtonStyle"
@
click=
"handleClickBuy"
type=
"primary"
>
立即购买
立即购买
</u-button>
</u-button>
</view>
</view>
...
@@ -83,7 +79,7 @@
...
@@ -83,7 +79,7 @@
type=
"primary"
type=
"primary"
shape=
"circle"
shape=
"circle"
>
>
持卡用户绑定
绑定学习卡
</u-button>
</u-button>
</view>
</view>
</view>
</view>
...
@@ -142,12 +138,12 @@ export default {
...
@@ -142,12 +138,12 @@ export default {
},
},
buyButtonStyle
()
{
buyButtonStyle
()
{
return
{
return
{
width
:
'160rpx'
,
marginRight
:
'12rpx'
,
height
:
'64rpx'
,
width
:
'144rpx'
,
backgroundColor
:
'#2953FF'
,
height
:
'56rpx'
,
color
:
'#FFFFFF'
,
background
:
'#FFFFFF'
,
color
:
'#2953FF'
,
fontSize
:
'26rpx'
,
fontSize
:
'26rpx'
,
borderRadius
:
'12rpx'
,
}
}
},
},
subItems
()
{
subItems
()
{
...
@@ -176,7 +172,7 @@ export default {
...
@@ -176,7 +172,7 @@ export default {
}
}
if
((
e
&&
e
.
id
)
||
this
.
questionWarehouseId
)
{
if
((
e
&&
e
.
id
)
||
this
.
questionWarehouseId
)
{
this
.
queryQuestionWarehouseById
(
e
.
id
||
this
.
questionWarehouseId
)
this
.
queryQuestionWarehouseById
(
(
e
&&
e
.
id
)
||
this
.
questionWarehouseId
)
}
}
},
},
methods
:
{
methods
:
{
...
...
src/pages/learn/manualBinding.vue
View file @
d6082216
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
type=
"primary"
type=
"primary"
shape=
"circle"
shape=
"circle"
>
>
绑
定
确
定
</u-button>
</u-button>
<view
class=
"change-button"
<view
class=
"change-button"
><u-icon
class=
"icon-view"
name=
"error-circle"
></u-icon
><u-icon
class=
"icon-view"
name=
"error-circle"
></u-icon
...
...
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