소스 검색

feat: 修复分享图标

zhangyuhan 3 년 전
부모
커밋
6ea837eba6

BIN
src/web/staticres/common-module/public/image/share-report.png


+ 2 - 4
src/web/staticres/common-module/yearEndReport/js/index.js

@@ -322,9 +322,8 @@ var vPage = new Vue({
                             res.data.exp_list = []
                         }
                         _this.pageInfo = res.data
-                        _this.$swiper.update()
                         _this.$nextTick(function () {
-                            _this.$swiper.update()
+                            initSwiper.bind(_this)()
                         })
                     } else {
                         location.replace('/swordfish/about')
@@ -363,9 +362,8 @@ var vPage = new Vue({
                     res.data = pageInfo
                     if (res && res.error_msg === '' && res.data) {
                         _this.pageInfo = res.data
-                        _this.$swiper.update()
                         _this.$nextTick(function () {
-                            _this.$swiper.update()
+                            initSwiper.bind(_this)()
                         })
                     }
                 }

+ 1 - 1
src/web/staticres/common-module/yearEndReport/js/share.js

@@ -32,7 +32,7 @@ var shareFn = {
     title: '「我的剑鱼标讯2021」年度报告已经生成,请查收',
     desc: '点击领取你的年度回忆',
     link: sessionStorage.getItem('shareReportLink') || location.origin + '/active/yearEndReport',
-    imgUrl: 'https://cdn-ali.jianyu360.com/images/appext/fixed-sm.jpg'
+    imgUrl: 'https://cdn-ali.jianyu360.com/images/appext/share-icon.png'
   },
   init: function () {
     if (this.isWeiXinBrowser) {

BIN
src/web/staticres/images/appext/share-icon.png