From 2f5159e93f42609d22d0c565ad730560ee5ee21f Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期五, 03 一月 2025 16:39:16 +0800 Subject: [PATCH] 更新PDA --- 代码管理/淮安PDA/pages/index/index.vue | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/index/index.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/index/index.vue" index 67f9ff8..b562ab4 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/index/index.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/index/index.vue" @@ -2,10 +2,11 @@ <!-- <u-card :title="title" > --> <view class="" slot="body"> <!-- <view v-for="(item,index) in tree" :key="item.id"> --> - <u-grid :col="3"> - <u-grid-item @tap="clickCoupon(item.url,item.menuId,item.description)" v-for="(item) in tree" + <u-grid :col="2"> + <u-grid-item @tap="clickCoupon(item.url,item.menuId,item.description,item.menuName)" v-for="(item) in tree" :key="item.menuId"> - <u-icon name="home" :size="50"></u-icon> + <u-icon :name="item.icon" custom-prefix="custom-icon" size="50" + color="#888888"></u-icon> <view class="grid-text">{{item.menuName}}</view> </u-grid-item> </u-grid> @@ -115,14 +116,15 @@ // return true; return this.datas.find(x => x.text == text); }, - clickCoupon(url, menuid, warehouseid) { + clickCoupon(url, menuid, warehouseid, menuname) { // console.log("clickCoupon") if (this.hasLogin()) { this.$u.route({ url: url, params: { menuId: menuid, - warehouseId: warehouseid + warehouseId: warehouseid, + menuName: menuname } }) } else { -- Gitblit v1.9.3