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/index/home.vue | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/pages/index/home.vue b/pages/index/home.vue
index 35e7d6d..2e15f59 100755
--- a/pages/index/home.vue
+++ b/pages/index/home.vue
@@ -2,7 +2,7 @@
<view>
<view class="margin-top-xl">
<view v-if="config.site_title" class="flex align-center justify-center flex-direction padding margin-top-lg">
- <image v-if="config.site_title" :src="main_model.icon ? `http://ai.shsening.com${main_model.icon}` : ''" mode="aspectFill"
+ <image v-if="config.site_title" :src="main_model.icon ? `${setting_data.base_url+main_model.icon}` : ''" mode="aspectFill"
style="background-color: #f4f5f6;width: 160rpx;height: 160rpx;" class="round"></image>
<view class="text-bold text-xxl text-cyan padding-tb"> {{ main_model.title ? main_model.title : '涓撲笟鐗�' }} </view>
<view style="width: calc(100vw - 60rpx);" class="padding-bottom" v-if="config.home_notice">
@@ -94,6 +94,8 @@
</template>
<script>
+ import setting from "@/common/config.js"
+ import wx from '../../node_modules/jweixin-module/lib/index.js'
import {
mapState
} from 'vuex';
@@ -115,6 +117,10 @@
// #ifdef MP-WEIXIN || MP-JD
uni.hideHomeButton()
// #endif
+
+ this.setting_data = setting
+
+
},
onShareAppMessage() {
console.log('杞彂+1')
--
Gitblit v1.9.1