cshenfu
2023-05-12 03cf7c151d1873ca8c6d6e49677971988be8236f
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')