|
|
@@ -394,17 +394,17 @@ |
|
|
|
|
|
|
|
|
|
|
|
// 页面初次渲染完成时触发 |
|
|
|
onReady(()=>{ |
|
|
|
setTimeout(()=>{ |
|
|
|
onReady(() => { |
|
|
|
setTimeout(() => { |
|
|
|
quanKeyAction() |
|
|
|
},5000) |
|
|
|
}, 5000) |
|
|
|
}) |
|
|
|
// 页面初次渲染完成时触发 |
|
|
|
onReady(()=>{ |
|
|
|
setTimeout(()=>{ |
|
|
|
quanKeyAction() |
|
|
|
},5000) |
|
|
|
}) |
|
|
|
onReady(() => { |
|
|
|
setTimeout(() => { |
|
|
|
quanKeyAction() |
|
|
|
}, 5000) |
|
|
|
}) |
|
|
|
|
|
|
|
onMounted(() => { |
|
|
|
uni.getSystemInfo({ |
|
|
@@ -482,7 +482,7 @@ |
|
|
|
//调用方式 |
|
|
|
request(queryHighMsg, options).then((res) => { |
|
|
|
console.log("高速快讯查询接口", stringToJson(res.bizContent)); |
|
|
|
state.highMsgData = stringToJson(res.bizContent).data |
|
|
|
state.highMsgData = stringToJson(res.bizContent).data.slice(0, 4) |
|
|
|
for (var i = 0; i < state.highMsgData.length; i++) { |
|
|
|
state.highMsgData[i]["copywriting"] = getCodeName('COPYWRITING', state.highMsgData[i]["copywriting"]) |
|
|
|
state.highMsgData[i]["updateTime"] = state.highMsgData[i]["updateTime"].replace('T', ' ') |