|
|
@ -23,15 +23,6 @@
|
|
|
|
swiper_h.value = store.systemInfo.windowHeight
|
|
|
|
swiper_h.value = store.systemInfo.windowHeight
|
|
|
|
}
|
|
|
|
}
|
|
|
|
getList()
|
|
|
|
getList()
|
|
|
|
uni.requestSubscribeMessage({
|
|
|
|
|
|
|
|
tmplIds: ['PgxoZOOSDgBcmIGd_EVLDkRzNPA6Cr4MWeG9m4OO3n0'],
|
|
|
|
|
|
|
|
success: (res) => {
|
|
|
|
|
|
|
|
console.log(res);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
fail(res) {
|
|
|
|
|
|
|
|
console.log(res);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
onPullDownRefresh(()=> { // 下拉刷新
|
|
|
|
onPullDownRefresh(()=> { // 下拉刷新
|
|
|
|
init()
|
|
|
|
init()
|
|
|
@ -86,6 +77,17 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
])
|
|
|
|
])
|
|
|
|
// 函数
|
|
|
|
// 函数
|
|
|
|
|
|
|
|
function subscribeFunc() {
|
|
|
|
|
|
|
|
uni.requestSubscribeMessage({
|
|
|
|
|
|
|
|
tmplIds: ['PgxoZOOSDgBcmIGd_EVLDnYUmL3eu6NQTAZCsHQeuWY'],
|
|
|
|
|
|
|
|
success: (res) => {
|
|
|
|
|
|
|
|
console.log(res);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
fail(res) {
|
|
|
|
|
|
|
|
console.log(res);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
function init(){
|
|
|
|
function init(){
|
|
|
|
// list.value = []
|
|
|
|
// list.value = []
|
|
|
|
list_box.value[c_index.value].list = []
|
|
|
|
list_box.value[c_index.value].list = []
|
|
|
@ -147,6 +149,7 @@
|
|
|
|
handle_info.value = item
|
|
|
|
handle_info.value = item
|
|
|
|
handle_info_index.value = i
|
|
|
|
handle_info_index.value = i
|
|
|
|
inputDialog.value.open()
|
|
|
|
inputDialog.value.open()
|
|
|
|
|
|
|
|
subscribeFunc()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function finishFunc() {
|
|
|
|
function finishFunc() {
|
|
|
|
// api.todoFinished
|
|
|
|
// api.todoFinished
|
|
|
|