Commit 68903e05 authored by Mac's avatar Mac

1

parent 46cb8a87
......@@ -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未填写
})
}
},
......
......@@ -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(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment