From 0c3f970af87eeb3e81782f48b7adcfe1a413bba0 Mon Sep 17 00:00:00 2001
From: cshenfu <men883234@gmail.com>
Date: 星期四, 11 五月 2023 12:02:28 +0800
Subject: [PATCH] change icon url
---
pages/index/home.vue | 6 ++++--
pages/index/index.vue | 1 +
pages/vip/vip.vue | 11 +++++++++--
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/pages/index/home.vue b/pages/index/home.vue
index 87b75bf..56acc7d 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-xl margin-top-lg">
- <image v-if="config.site_title" :src="main_model.icon ? main_model.icon : ''" mode="aspectFill"
+ <image v-if="config.site_title" :src="main_model.icon ? `http://ai.shsening.com${main_model.icon}` : ''" mode="aspectFill"
style="background-color: #f4f5f6;width: 160rpx;height: 160rpx;" class="round"></image>
<view class="text-bold text-xxl text-orange padding-tb"> {{ main_model.title ? main_model.title : '涓撲笟鐗�' }} </view>
<view style="width: 650rpx;" class="padding-bottom" v-if="config.home_notice">
@@ -18,6 +18,7 @@
<button @click="toChat" style="width: 650rpx;height: 100rpx;" class="cu-btn lines-orange text-bold round">
寮�濮嬪挩璇� (浣檣{num}}娆�) </button>
</view>
+ <!-- <text>{{ main_model.icon ? `http://ai.shsening.com${main_model.icon}` : '' }}</text> -->
<!-- <view class="flex justify-center align-center flex-direction padding-top">
<button @click="toTax" style="width: 650rpx;height: 100rpx;" class="cu-btn lines-orange text-bold round">
鑳栨櫤杈撅紙鏅虹◣鍜ㄨ锛� </button>
@@ -102,7 +103,8 @@
data() {
return {
showTab: false,
- tabIndex: 0
+ tabIndex: 0,
+ setting_data:'null'
}
},
computed: {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 979448c..b5e5d64 100755
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -97,6 +97,7 @@
...mapState(['config', 'num', 'userInfo'])
},
onLoad(op) {
+ console.log(op,'op')
if (op.model) {
this.now_model = JSON.parse(op.model)
} else {
diff --git a/pages/vip/vip.vue b/pages/vip/vip.vue
index a7bfd16..546d73d 100755
--- a/pages/vip/vip.vue
+++ b/pages/vip/vip.vue
@@ -67,6 +67,9 @@
</view>
<text class="tip">涓撳睘AI 1绉掑搷搴�</text>
+ <text >{{ data_content }}</text>
+ <text >{{ data_content2 }}</text>
+ <text >{{ data_content3 }}</text>
<view class="main-title">
<text>浼氬憳鐗规潈</text>
@@ -91,6 +94,9 @@
export default {
data() {
return {
+ data_content:'123',
+ data_content2:'123',
+ data_content3:'123',
statusBarHeight,
current: 0,
rechargeOptions: [],
@@ -139,11 +145,11 @@
comb_id: this.rechargeOptions[this.current].comb_id,
chanel: chanel
}).then(async (res) => {
- alert(res.data)
+ this.data_content = res
// #ifdef H5
if (/MicroMessenger/i.test(navigator.userAgent)) {
wxJsapiPay(res.data, (r) => {
- alert(r)
+ this.data_content2 = r
var msg = r.err_msg ? r.err_msg : r.errMsg;
console.log(msg)
if (msg == 'get_brand_wcpay_request:ok') {
@@ -152,6 +158,7 @@
content: "鏉冪泭宸插紑閫氭垚鍔燂紒"
})
this.$request('/api/Member/checkNum', 'POST').then(re => {
+ this.data_content3 = re
// 鏇存柊鏁伴噺
this.$store.commit('syncUserNum',re.data.num)
})
--
Gitblit v1.9.1