Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
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
游洁
thinkApp
Commits
fbd54671
Commit
fbd54671
authored
May 26, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
820745d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
117 additions
and
5 deletions
+117
-5
examComponents.vue
src/components/index/examComponents.vue
+9
-5
pages.json
src/pages.json
+5
-0
scoreDetails.vue
src/pages/index/scoreDetails.vue
+103
-0
No files found.
src/components/index/examComponents.vue
View file @
fbd54671
...
...
@@ -13,7 +13,7 @@
</view>
</view>
</view>
<view
class=
"examComponents-center-box"
>
<view
class=
"examComponents-center-box"
@
click=
"scoreDetails"
>
<view
class=
"examComponents-center-line"
></view>
<view
class=
"examComponents-center flex"
>
<view
class=
"examComponents-left"
>
...
...
@@ -67,15 +67,19 @@
setup
()
{
let
data
=
reactive
({
obj
:
{
Name
:
''
,
Photo
:
''
,
},
showPhone
:
false
,
showLogin
:
true
,
//多次点击
});
let
methods
=
{
scoreDetails
(){
uni
.
reLaunch
({
url
:
'/pages/index/scoreDetails'
});
}
}
return
{
...
toRefs
(
data
),
...
methods
};
},
};
...
...
src/pages.json
View file @
fbd54671
...
...
@@ -9,6 +9,11 @@
"style"
:
{
"navigationStyle"
:
"custom"
}
},{
"path"
:
"pages/index/scoreDetails"
,
"style"
:
{
"navigationStyle"
:
"custom"
}
},{
"path"
:
"pages/login/login"
,
"style"
:
{
...
...
src/pages/index/scoreDetails.vue
0 → 100644
View file @
fbd54671
<
template
>
<view
class=
"indexpage"
>
<navbar
class=
"navbarSticky"
bg=
"#F6F6F6"
>
<view
class=
"index-header-box"
>
111
</view>
</navbar>
</view>
</
template
>
<
script
>
import
vue
,
{
ref
,
reactive
,
toRefs
,
toRef
,
getCurrentInstance
,
watch
,
computed
,
onMounted
,
provide
,
nextTick
,
}
from
"vue"
;
import
{
getSweepCode
}
from
'../../api/index.js'
import
{
getImageColor
}
from
'../../utils/index.js'
import
indexassembly
from
'./components/indexassembly.vue'
import
navbar
from
'../../components/navbar.vue'
import
bottom
from
'../../components/bottom.vue'
export
default
{
components
:
{
navbar
,
},
setup
(
props
)
{
let
{
proxy
}
=
getCurrentInstance
();
let
data
=
reactive
({
ActiveMsg
:
{
pageIndex
:
1
,
pageSize
:
10
,
ActivityType
:
0
,
SelectIsEnd
:
0
,
},
ActivityList
:
[],
pageData
:
{
LearningGardenList
:
[]
},
SurveyObj
:{
ActivitySurveyId
:
0
,
ActivitySurveyGuestId
:
0
,
},
userData
:
{}
});
let
methods
=
{
};
onMounted
(()
=>
{
});
return
{
...
toRefs
(
data
),
...
methods
,
};
},
onShow
()
{
this
.
getActivityData
();
this
.
getIndexData
();
this
.
userData
=
uni
.
getStorageSync
(
'userInfo'
);
},
onShareAppMessage
()
{
return
{
title
:
"甲小鹤"
,
query
:
"/pages/index/index"
,
imageUrl
:
""
,
};
},
onShareTimeline
()
{
return
{
title
:
"甲小鹤"
,
query
:
"/pages/index/index"
,
imageUrl
:
""
,
};
},
};
</
script
>
<
style
scoped
>
.navbarSticky
{
display
:
sticky
;
top
:
0
;
z-index
:
9
;
}
</
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