فهرست منبع

chore: 更新分享配置

leo 12 ساعت پیش
والد
کامیت
2a6a6fe935
3فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 2 2
      App.vue
  2. 2 2
      main.js
  3. 2 2
      util/shareMixin.js

+ 2 - 2
App.vue

@@ -46,7 +46,7 @@
 	  },
 	  },
 	  onShareTimeline() {
 	  onShareTimeline() {
 	    return {
 	    return {
-	      title:  '云飞智控', // 分享标题
+	      title:  'AI 诊病虫,智控赋新农~', // 分享标题
 	      query: 'id=123', // 页面参数,不同于分享给朋友的path,这里用query
 	      query: 'id=123', // 页面参数,不同于分享给朋友的path,这里用query
 	      imageUrl: 'http://www.hnyfwlw.com:8006/data/home_logo/log1.jpg' // 分享图片,可选
 	      imageUrl: 'http://www.hnyfwlw.com:8006/data/home_logo/log1.jpg' // 分享图片,可选
 	    }
 	    }
@@ -54,7 +54,7 @@
 	  // 全局分享给朋友
 	  // 全局分享给朋友
 	  onShareAppMessage() {
 	  onShareAppMessage() {
 	    return {
 	    return {
-	      title: '云飞智控',
+	      title: 'AI 诊病虫,智控赋新农~',
 	      path: '/pages/index/index',
 	      path: '/pages/index/index',
 	      imageUrl: ''
 	      imageUrl: ''
 	    }
 	    }

+ 2 - 2
main.js

@@ -106,7 +106,7 @@ Vue.mixin({
     
     
     onShareAppMessage() {
     onShareAppMessage() {
       return {
       return {
-        title: this.shareTitle || '云飞智控',
+        title: this.shareTitle || 'AI 诊病虫,智控赋新农~',
         path: this.sharePath || '/pages/index/index',
         path: this.sharePath || '/pages/index/index',
         imageUrl: this.shareImage || ''
         imageUrl: this.shareImage || ''
       }
       }
@@ -114,7 +114,7 @@ Vue.mixin({
     
     
     onShareTimeline() {
     onShareTimeline() {
       return {
       return {
-        title: this.timelineTitle || '云飞智控',
+        title: this.timelineTitle || 'AI 诊病虫,智控赋新农~',
         query: this.timelineQuery || '',
         query: this.timelineQuery || '',
         imageUrl: this.timelineImage || ''
         imageUrl: this.timelineImage || ''
       }
       }

+ 2 - 2
util/shareMixin.js

@@ -10,7 +10,7 @@ export default {
   
   
   onShareAppMessage() {
   onShareAppMessage() {
     return {
     return {
-      title: this.shareTitle || '云飞智控',
+      title: this.shareTitle || 'AI 诊病虫,智控赋新农~',
       path: this.sharePath || '/pages/index/index',
       path: this.sharePath || '/pages/index/index',
       imageUrl: this.shareImage || ''
       imageUrl: this.shareImage || ''
     }
     }
@@ -19,7 +19,7 @@ export default {
   // 朋友圈
   // 朋友圈
   onShareTimeline() {
   onShareTimeline() {
     return {
     return {
-      title: this.timelineTitle || '云飞智控',
+      title: this.timelineTitle || 'AI 诊病虫,智控赋新农~',
       query: this.timelineQuery || '',
       query: this.timelineQuery || '',
       imageUrl: this.timelineImage || ''
       imageUrl: this.timelineImage || ''
     }
     }