From 7f80e857d1d677440ab09376f2d8052a2f591dad Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Mon, 16 Oct 2023 11:24:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/gather/gather.vue | 11 ++++++++++- pages/nongKe/cloud_entrepot/index.vue | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue index 6db9e13..6fc59ee 100644 --- a/pages/gather/gather.vue +++ b/pages/gather/gather.vue @@ -203,7 +203,16 @@ url: 'https://ceshi-worker-task.lihaink.cn/api/common/getMiniProgramInfo?name=yangzhi', }, type: 3, - } + }, + { + name: '大屏控制', + icon: '/static/applet/yz.png', + data: { + id: '__UNI__83ABA97', + url: 'https://ceshi-worker-task.lihaink.cn/uploads/files/20231016/20231016112144fac6d9128.wgt, + }, + type: 3, + } ], nowMenuList: [], street: '', diff --git a/pages/nongKe/cloud_entrepot/index.vue b/pages/nongKe/cloud_entrepot/index.vue index 97304b3..91a7775 100644 --- a/pages/nongKe/cloud_entrepot/index.vue +++ b/pages/nongKe/cloud_entrepot/index.vue @@ -778,8 +778,8 @@ let that = this uni.createSelectorQuery().in(this).select(`.act_class${i}`).boundingClientRect(data1 => { - that.trnList[i].left = that.cartTagInfo.left - data1.left; - that.trnList[i].bottom = that.cartTagInfo.top - data1.top; + that.trnList[i].left = that.cartTagInfo?.left - data1.left; + that.trnList[i].bottom = that.cartTagInfo?.top - data1.top; let timer = setTimeout(() => { that.trnList[i].left = 0