From 0bc021a1c7515af5a0f102776488f0457d418d27 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期一, 30 十二月 2024 11:46:05 +0800
Subject: [PATCH] 获取最新代码
---
代码管理/淮安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