From 03cf7c151d1873ca8c6d6e49677971988be8236f Mon Sep 17 00:00:00 2001
From: cshenfu <men883234@gmail.com>
Date: 星期五, 12 五月 2023 11:07:03 +0800
Subject: [PATCH] change icon
---
pages/tab/assistant.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/pages/tab/assistant.vue b/pages/tab/assistant.vue
index ec52f50..e256f12 100755
--- a/pages/tab/assistant.vue
+++ b/pages/tab/assistant.vue
@@ -28,7 +28,7 @@
<view class="tool_name">{{item.title}}</view>
<view class="tool_hint">{{item.description}}</view>
</view>
- <u--image :showLoading="true" :src="item.icon" width="80rpx" height="80rpx"></u--image>
+ <u--image :showLoading="true" :src="`${setting_data.base_url+item.icon}`" width="80rpx" height="80rpx"></u--image>
</view>
</view>
</view>
@@ -38,6 +38,7 @@
</template>
<script>
+ import setting from "@/common/config.js"
// import {
// handleConfig,
// handleTime
@@ -55,12 +56,14 @@
// },
data() {
return {
+ setting_data:'null'
};
},
computed: {
...mapState(['models','tabbar'])
},
async onLoad() {
+ this.setting_data = setting
this.getTabIndex()
// await recognition()
// const flag = await handleTime()
--
Gitblit v1.9.1