Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
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
向伟
educationStu
Commits
8ba979fa
Commit
8ba979fa
authored
Apr 11, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
bee586fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
10 deletions
+23
-10
index.vue
src/pages/index/index.vue
+16
-5
questionNaire.vue
src/pages/study/questionNaire.vue
+7
-5
No files found.
src/pages/index/index.vue
View file @
8ba979fa
<
template
>
<view
class=
"indexpage"
>
<div
class=
"wenjuan_dc"
@
click=
"goTongji()"
>
<img
src=
"../../static/image/wjdc.png"
alt=
""
/>
</div>
<navbar
class=
"navbarSticky"
bg=
"#F5F5F5"
>
<view
class=
"navbarCon"
>
<view
class=
"pagetitle"
>
...
...
@@ -45,9 +48,6 @@
<view
class=
"wordTitle"
>
单词练习
</view>
<view
@
click=
"goTongji()"
>
跳转
</view>
<view
class=
"flex_around_center "
>
<view
class=
"wordItem"
>
<text
class=
"wordItemTitle"
>
今日新词
</text>
...
...
@@ -191,7 +191,7 @@
let
methods
=
{
goTongji
(){
this
.
jumpPage
(
'/pages/study/questionNaire'
);
this
.
jumpPage
(
'/pages/study/questionNaire
?ActivitySurveyId=6
'
);
},
jumpPage
(
url
)
{
uni
.
navigateTo
({
...
...
@@ -326,7 +326,18 @@
background-color
:
#F5F5F5
;
box-sizing
:
border-box
;
}
.wenjuan_dc
{
position
:
fixed
;
width
:
83
rpx
;
height
:
83
rpx
;
right
:
30
rpx
;
bottom
:
200
rpx
;
z-index
:
999
;
}
.wenjuan_dc
img
{
width
:
100%
;
height
:
100%
;
}
.navbarSticky
{
display
:
sticky
;
top
:
0
;
...
...
src/pages/study/questionNaire.vue
View file @
8ba979fa
...
...
@@ -72,6 +72,9 @@
export
default
{
components
:
{},
onLoad
(
options
)
{
if
(
options
&&
options
.
ActivitySurveyId
)
{
this
.
msg
.
ActivitySurveyId
=
options
.
ActivitySurveyId
;
}
this
.
GetSurveyInfo
();
},
setup
(
props
)
{
...
...
@@ -79,16 +82,15 @@
proxy
}
=
getCurrentInstance
();
let
data
=
reactive
({
msg
:
{},
msg
:
{
ActivitySurveyId
:
0
},
count
:
5
,
dataObj
:
{}
})
let
methods
=
{
async
GetSurveyInfo
()
{
var
qMsg
=
{
ActivitySurveyId
:
6
};
let
res
=
await
querySurveyInfo
(
qMsg
);
let
res
=
await
querySurveyInfo
(
data
.
msg
);
if
(
res
)
{
//this.loading = false;
this
.
dataObj
=
res
.
data
;
...
...
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