From e5257e3b37aaca22a80e5e07f5e13bfc9260122d Mon Sep 17 00:00:00 2001 From: lihenian <2629534615@qq.com> Date: Thu, 16 Sep 2021 15:05:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=82=B9=E5=87=BB=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- epdc-resident-mp-yushan/pages/index/index.wxml | 2 +- epdc-resident-mp-yushan/pages/index/index.wxss | 4 ++++ .../subpages/gridArmy/pages/index/index.js | 6 ++++++ .../subpages/gridArmy/pages/index/index.wxml | 8 ++++---- .../subpages/gridArmy/pages/index/index.wxss | 4 ++++ 5 files changed, 19 insertions(+), 5 deletions(-) diff --git a/epdc-resident-mp-yushan/pages/index/index.wxml b/epdc-resident-mp-yushan/pages/index/index.wxml index 6e1cfc1..31d4e41 100644 --- a/epdc-resident-mp-yushan/pages/index/index.wxml +++ b/epdc-resident-mp-yushan/pages/index/index.wxml @@ -72,7 +72,7 @@ - + diff --git a/epdc-resident-mp-yushan/pages/index/index.wxss b/epdc-resident-mp-yushan/pages/index/index.wxss index 52a310c..f20250a 100644 --- a/epdc-resident-mp-yushan/pages/index/index.wxss +++ b/epdc-resident-mp-yushan/pages/index/index.wxss @@ -282,6 +282,10 @@ page { justify-content: center; } +.module-list .hover-module-item { + background: #eee; +} + .module-list .module-item .icon { width: 126rpx; height: 126rpx; diff --git a/epdc-resident-mp-yushan/subpages/gridArmy/pages/index/index.js b/epdc-resident-mp-yushan/subpages/gridArmy/pages/index/index.js index ace1ee9..4bead79 100644 --- a/epdc-resident-mp-yushan/subpages/gridArmy/pages/index/index.js +++ b/epdc-resident-mp-yushan/subpages/gridArmy/pages/index/index.js @@ -107,10 +107,16 @@ Page({ console.error(err) }) }, + // 打电话 callGrider(e) { const { phone } = e.currentTarget.dataset wx.makePhoneCall({ phoneNumber: phone }) + }, + previewImage(e) { + wx.previewImage({ + urls: [e.currentTarget.dataset.src] + }) } }) \ No newline at end of file diff --git a/epdc-resident-mp-yushan/subpages/gridArmy/pages/index/index.wxml b/epdc-resident-mp-yushan/subpages/gridArmy/pages/index/index.wxml index 9af986a..42c3da1 100644 --- a/epdc-resident-mp-yushan/subpages/gridArmy/pages/index/index.wxml +++ b/epdc-resident-mp-yushan/subpages/gridArmy/pages/index/index.wxml @@ -11,7 +11,7 @@ - + {{item.name}} @@ -19,7 +19,7 @@ 职责:{{item.duty}} 负责区域:{{item.territory}} 电话:{{item.mobile}} - + @@ -29,7 +29,7 @@ - + {{item.name}} @@ -37,7 +37,7 @@ 职责:{{item.duty}} 负责区域:{{item.territory}} 电话:{{item.mobile}} - + diff --git a/epdc-resident-mp-yushan/subpages/gridArmy/pages/index/index.wxss b/epdc-resident-mp-yushan/subpages/gridArmy/pages/index/index.wxss index 8c81090..08f0b2b 100644 --- a/epdc-resident-mp-yushan/subpages/gridArmy/pages/index/index.wxss +++ b/epdc-resident-mp-yushan/subpages/gridArmy/pages/index/index.wxss @@ -122,6 +122,10 @@ image { color: #ffffff; } +.grider-list .grid-item .hover-call-phone { + background: red; +} + .grider-list .grid-item .call-phone .phone { width:23rpx; height:27rpx;