@@ -17,7 +17,7 @@ | |||
<image class="icon" :src="fileURL + 'image/index/icon-notice.png'" lazy-load="false" | |||
mode="aspectFill"> | |||
</image> | |||
<uni-notice-bar style="width: 100%;" scrollable single :text="state.notice" @click="tip()"> | |||
<uni-notice-bar style="width: 100%;" scrollable single :text="state.notice"> | |||
</uni-notice-bar> | |||
</view> | |||
</view> | |||
@@ -293,10 +293,10 @@ | |||
onReachBottom(() => { | |||
highMsg(); //高速快讯 | |||
}) | |||
const tip = () => { | |||
const params = encodeURIComponent(JSON.stringify("https://webzeus.hltgz.com/throughBilManager/index")) | |||
tools.toUrl(`/subpackage/personal-center/webview?url=` + params); | |||
} | |||
// const tip = () => { | |||
// const params = encodeURIComponent(JSON.stringify("https://webzeus.hltgz.com/throughBilManager/index")) | |||
// tools.toUrl(`/subpackage/personal-center/webview?url=` + params); | |||
// } | |||
//获取轮播 | |||
const getSwiper = () => { | |||
@@ -84,8 +84,9 @@ | |||
} else if (item.type == 2) { | |||
navTo(item.hyperLink) | |||
} else if (item.type == 3) { | |||
const items = encodeURIComponent(JSON.stringify(item)) | |||
uni.navigateTo({ | |||
url: `/subpackage/orders/moreHighMsg/textDetails` | |||
url: `/subpackage/orders/moreHighMsg/textDetails?item=`+items | |||
}) | |||
} else if (item.type == 4) { | |||
uni.navigateToMiniProgram({ |
@@ -19,6 +19,7 @@ | |||
data: [] | |||
}) | |||
onLoad((option) => { | |||
console.log("option",option) | |||
const params = JSON.parse(decodeURIComponent(option.item)) | |||
state.data.push(params) | |||
console.log("params", params) |
@@ -73,8 +73,8 @@ export function request(code, options = {}, start = false) { | |||
opId: getItem(StorageKeys.OpenId), | |||
} | |||
// options.url = envs[process.env.NODE_ENV].baseUrl + '/api/interfaceMidGroundIn' | |||
options.url = envs[process.env.NODE_ENV].baseUrl + '/dev/api/interfaceMidGroundIn' | |||
options.url = envs[process.env.NODE_ENV].baseUrl + '/api/interfaceMidGroundIn' | |||
// options.url = envs[process.env.NODE_ENV].baseUrl + '/dev/api/interfaceMidGroundIn' | |||
//默认json数据格式提交` | |||
let contentType = 'application/x-www-form-urlencoded' | |||