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
68903e05
Commit
68903e05
authored
Dec 30, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
46cb8a87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
index.vue
pages/index/index.vue
+2
-2
investigation.vue
pages/school/investigation.vue
+9
-3
No files found.
pages/index/index.vue
View file @
68903e05
...
...
@@ -18,7 +18,7 @@
<u-icon
name=
"arrow-left"
size=
"44"
></u-icon>
</view>
</view>
<
view
@
click=
'yj'
style=
"width: 200px;height: 50px;"
>
意见调查
</view
>
<
!--
<view
@
click=
'yj'
style=
"width: 200px;height: 50px;"
>
意见调查
</view>
--
>
<u-tabs
v-if=
"myPageData.home_pages && myPageData.home_pages.navs.length > 1"
name=
"name"
:list=
"myPageData.home_pages.navs"
:is-scroll=
"true"
:active-color=
"mainColor"
:current=
"active"
:bar-width=
"80"
:font-size=
"32"
:bold=
"false"
@
change=
"changeHandler"
></u-tabs>
<template
v-for=
"(item, i) in myPageData.home_pages.navs"
>
...
...
@@ -1094,7 +1094,7 @@
},
yj
(){
uni
.
navigateTo
({
url
:
'/pages/school/investigation?ID=
4
'
//6未开始 9已填 10 //活动结束 //4未填写
url
:
'/pages/school/investigation?ID=
9
'
//6未开始 9已填 10 //活动结束 //4未填写
})
}
},
...
...
pages/school/investigation.vue
View file @
68903e05
...
...
@@ -331,10 +331,12 @@
},
receive
(){
//领取
if
(
this
.
surveyData
.
PrizeType
==
2
){
//站外
let
that
=
this
;
if
(
that
.
surveyData
.
PrizeType
==
2
){
//站外
let
mall
=
uni
.
getStorageSync
(
"basedata"
)?
uni
.
getStorageSync
(
"basedata"
).
mall
:{};
uni
.
navigateToMiniProgram
({
appId
:
'wx38e054ee42b054f4'
,
path
:
'pages/index/index?id=123'
,
appId
:
mall
.
setting
.
small_app_id
,
//要跳转小程序appid
path
:
that
.
surveyData
.
PrizeAddress
,
extraData
:
{
'data1'
:
'test'
},
...
...
@@ -342,6 +344,10 @@
// 打开成功
}
})
}
else
{
uni
.
navigateTo
({
url
:
that
.
surveyData
.
PrizeAddress
})
}
},
goindex
(){
...
...
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