<image class="icon" :src="fileURL + 'image/index/icon-notice.png'" lazy-load="false" | <image class="icon" :src="fileURL + 'image/index/icon-notice.png'" lazy-load="false" | ||||
mode="aspectFill"> | mode="aspectFill"> | ||||
</image> | </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> | </uni-notice-bar> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
onReachBottom(() => { | onReachBottom(() => { | ||||
highMsg(); //高速快讯 | 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 = () => { | const getSwiper = () => { | ||||
} else if (item.type == 2) { | } else if (item.type == 2) { | ||||
navTo(item.hyperLink) | navTo(item.hyperLink) | ||||
} else if (item.type == 3) { | } else if (item.type == 3) { | ||||
const items = encodeURIComponent(JSON.stringify(item)) | |||||
uni.navigateTo({ | uni.navigateTo({ | ||||
url: `/subpackage/orders/moreHighMsg/textDetails` | |||||
url: `/subpackage/orders/moreHighMsg/textDetails?item=`+items | |||||
}) | }) | ||||
} else if (item.type == 4) { | } else if (item.type == 4) { | ||||
uni.navigateToMiniProgram({ | uni.navigateToMiniProgram({ |
data: [] | data: [] | ||||
}) | }) | ||||
onLoad((option) => { | onLoad((option) => { | ||||
console.log("option",option) | |||||
const params = JSON.parse(decodeURIComponent(option.item)) | const params = JSON.parse(decodeURIComponent(option.item)) | ||||
state.data.push(params) | state.data.push(params) | ||||
console.log("params", params) | console.log("params", params) |
opId: getItem(StorageKeys.OpenId), | 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数据格式提交` | //默认json数据格式提交` | ||||
let contentType = 'application/x-www-form-urlencoded' | let contentType = 'application/x-www-form-urlencoded' | ||||