|
@@ -31,7 +31,7 @@
|
|
</view>
|
|
</view>
|
|
</uni-section>
|
|
</uni-section>
|
|
<!-- 疫情 -->
|
|
<!-- 疫情 -->
|
|
- <uni-section titleFontSize="16px" class="mb-10 sectionBox" title="疫情防控" type="line">
|
|
|
|
|
|
+ <uni-section titleFontSize="16px" class="mb-10 sectionBox" title="便民服务" type="line">
|
|
<view class="card" v-for="(item, index) in list" :key="index" :border="false" @click="illnessBtn(item)">
|
|
<view class="card" v-for="(item, index) in list" :key="index" :border="false" @click="illnessBtn(item)">
|
|
<image style="width: 50%; height: 55px; margin: 0 auto; display: block;" :src="item.url"></image>
|
|
<image style="width: 50%; height: 55px; margin: 0 auto; display: block;" :src="item.url"></image>
|
|
<text class="title">{{ item.title }}</text>
|
|
<text class="title">{{ item.title }}</text>
|
|
@@ -103,7 +103,6 @@
|
|
},
|
|
},
|
|
illnessBtn(e) {
|
|
illnessBtn(e) {
|
|
const role = uni.getStorageSync('role');
|
|
const role = uni.getStorageSync('role');
|
|
- console.log(role, 'role')
|
|
|
|
if (e.isUser && role && role == 'guest') {
|
|
if (e.isUser && role && role == 'guest') {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: `/pages/register/index?path=${e.path}`
|
|
url: `/pages/register/index?path=${e.path}`
|