From 567fb186b00e8cb8cc90beb9e18c1b01b9c3f4ec Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期四, 28 八月 2025 10:52:11 +0800 Subject: [PATCH] 1.图标修改 --- src/pages/index.vue | 126 +++++++++++++++++++++++------------------ 1 files changed, 70 insertions(+), 56 deletions(-) diff --git a/src/pages/index.vue b/src/pages/index.vue index 8f1b48e..d62cae4 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -11,27 +11,27 @@ <view class="hero-section"> <view class="bg-img"> <view class="hero-content"> - <text class="hero-title">浜у搧搴撳瓨绠$悊绯荤粺</text> - <text class="hero-subtitle">楂樻晥銆佷究鎹风殑涓氬姟绠$悊鍏ュ彛</text> + <text class="hero-title"></text> + <text class="hero-subtitle"></text> </view> <view class="hero-wave"></view> </view> </view> - <view class="notice-section"> - <view class="notice"> - <view class="notice-content"> - <view class="notice-left"> - <text class="notice-status">閫氱煡</text> - </view> - <view class="notice-separator"></view> - <view class="notice-right"> - <text class="notice-label">{{currentStatus}}</text> - <text class="notice-text">褰撴棩閿�鍞澶囨暟:<text class="notice-number">{{number}}<text class="notice-unit">涓�</text></text></text> - </view> - </view> - </view> - </view> +<!-- <view class="notice-section">--> +<!-- <view class="notice">--> +<!-- <view class="notice-content">--> +<!-- <view class="notice-left">--> +<!-- <text class="notice-status">閫氱煡</text>--> +<!-- </view>--> +<!-- <view class="notice-separator"></view>--> +<!-- <view class="notice-right">--> +<!-- <text class="notice-label">{{currentStatus}}</text>--> +<!-- <text class="notice-text">褰撴棩閿�鍞澶囨暟:<text class="notice-number">{{number}}<text class="notice-unit">涓�</text></text></text>--> +<!-- </view>--> +<!-- </view>--> +<!-- </view>--> +<!-- </view>--> <!-- 钀ラ攢绠$悊妯″潡 --> <view class="common-module marketing-module"> @@ -53,7 +53,7 @@ <view class="icon-container" :style="{ background: item.bgColor }"> <up-icon :name="item.icon" - :size="26" + :size="58" color="#ffffff" ></up-icon> </view> @@ -83,7 +83,7 @@ <view class="icon-container" :style="{ background: item.bgColor }"> <up-icon :name="item.icon" - :size="26" + :size="58" color="#ffffff" ></up-icon> </view> @@ -113,7 +113,7 @@ <view class="icon-container" :style="{ background: item.bgColor }"> <up-icon :name="item.icon" - :size="26" + :size="58" color="#ffffff" ></up-icon> </view> @@ -143,7 +143,7 @@ <view class="icon-container" :style="{ background: item.bgColor }"> <up-icon :name="item.icon" - :size="26" + :size="58" color="#ffffff" ></up-icon> </view> @@ -188,101 +188,84 @@ // 钀ラ攢绠$悊鍔熻兘鏁版嵁 const marketingItems = reactive([ { - icon: 'account', + icon: '/static/images/icon/xiaoshoutaizhang@2x.png', label: '閿�鍞彴璐�', - bgColor: '#2979ff' }, { - icon: 'home', + icon: '/static/images/icon/kaipiaodengji@2x.png', label: '寮�绁ㄧ櫥璁�', - bgColor: '#1976d2' }, { - icon: 'file-text', + icon: '/static/images/icon/kaipiaotaizhang@2x.png', label: '寮�绁ㄥ彴璐�', - bgColor: '#42a5f5' }, { - icon: 'shopping-cart', + icon: '/static/images/icon/huikuandengji@2x.png', label: '鍥炴鐧昏', - bgColor: '#64b5f6' }, { - icon: 'chat', + icon: '/static/images/icon/huikuanliushui@2x.png', label: '鍥炴娴佹按', - bgColor: '#90caf9' }, { - icon: 'chat', + icon: '/static/images/icon/kehuwanglai@2x.png', label: '瀹㈡埛寰�鏉�', - bgColor: '#90caf9' } ]); // 閲囪喘绠$悊鍔熻兘鏁版嵁 const purchaseItems = reactive([ { - icon: 'order', + icon: '/static/images/icon/caigoutaizhang@2x.png', label: '閲囪喘鍙拌处', - bgColor: '#bbdefb' }, { - icon: 'truck', + icon: '/static/images/icon/laipiaodengji@2x.png', label: '鏉ョエ鐧昏', - bgColor: '#e3f2fd' }, { - icon: 'box', + icon: '/static/images/icon/laipiaotaizhang@2x.png', label: '鏉ョエ鍙拌处', - bgColor: '#f3e5f5' }, { - icon: 'chart-line', + icon: '/static/images/icon/fukuanjingji@2x.png', label: '浠樻鐧昏', - bgColor: '#e8eaf6' }, { - icon: 'settings', + icon: '/static/images/icon/fukuanliushui@2x.png', label: '浠樻娴佹按', - bgColor: '#f1f8e9' }, { - icon: 'settings', + icon: '/static/images/icon/gongyingshangwanglai@2x.png', label: '渚涘簲鍟嗗線鏉�', - bgColor: '#f1f8e9' }, ]); // 鍗忓悓鍔炲叕鍔熻兘鏁版嵁 const collaborationItems = reactive([ { - icon: 'checkmark-circle', + icon: '/static/images/icon/xietongshenpi@2x.png', label: '鍗忓悓瀹℃壒', - bgColor: '#4caf50' }, { - icon: 'map-pin', + icon: '/static/images/icon/kehubaifang@2x.png', label: '瀹㈡埛鎷滆', - bgColor: '#ff9800' } ]); // 璁惧绠$悊鍔熻兘鏁版嵁 const equipmentItems = reactive([ { - icon: 'list', + icon: '/static/images/icon/shebeitaizhang@2x.png', label: '璁惧鍙拌处', - bgColor: '#9c27b0' }, { - icon: 'wrench', + icon: '/static/images/icon/shbeibaoxiu@2x.png', label: '璁惧鎶ヤ慨', - bgColor: '#f44336' }, { - icon: 'shield-check', + icon: '/static/images/icon/shbeibaoyang@2x.png', label: '璁惧淇濆吇', - bgColor: '#00bcd4' } ]); @@ -335,14 +318,44 @@ url: '/pages/procurementManagement/procurementInvoiceLedger/index' }); break; + case '浠樻鐧昏': + uni.navigateTo({ + url: '/pages/procurementManagement/paymentEntry/index' + }); + break; + case '浠樻娴佹按': + uni.navigateTo({ + url: '/pages/procurementManagement/receiptPaymentHistory/index' + }); + break; + case '渚涘簲鍟嗗線鏉�': + uni.navigateTo({ + url: '/pages/procurementManagement/paymentLedger/index' + }); + break; case '鍗忓悓瀹℃壒': uni.navigateTo({ url: '/pages/cooperativeOffice/collaborativeApproval/index' }); break; - case '瀹㈡埛鎷滆': + case '瀹㈡埛鎷滆': uni.navigateTo({ url: '/pages/cooperativeOffice/clientVisit/index' + }); + break; + case '璁惧鍙拌处': + uni.navigateTo({ + url: '/pages/equipmentManagement/ledger/index' + }); + break; + case '璁惧鎶ヤ慨': + uni.navigateTo({ + url: '/pages/equipmentManagement/repair/index' + }); + break; + case '璁惧淇濆吇': + uni.navigateTo({ + url: '/pages/equipmentManagement/upkeep/index' }); break; default: @@ -479,7 +492,8 @@ .bg-img { width: 100%; height: 8.75rem; - background: linear-gradient(135deg, #2979ff 0%, #1565c0 100%); + background-image: url("../static/images/banner/view-background.png"); + background-size: cover; border-radius: 0.75rem; position: relative; overflow: hidden; -- Gitblit v1.9.3