From fbb5c85fcde05465fdac4b686c034b1831342ab7 Mon Sep 17 00:00:00 2001 From: youngS Date: Thu, 18 Mar 2021 15:27:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=8B=E8=BD=BD=E9=A1=B5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/package.json | 1 + fir_client/src/assets/loading.gif | Bin 0 -> 8238 bytes fir_client/src/components/FirAppInfosBase.vue | 2 +- fir_client/src/components/FirApps.vue | 2 +- fir_client/src/components/FirDownload.vue | 41 ++++++++---------- fir_client/src/components/ShortDownload.vue | 41 ++++++++---------- fir_client/src/main.js | 5 +++ fir_client/src/main.short.js | 6 +++ fir_client/src/short.js | 5 +++ 9 files changed, 53 insertions(+), 50 deletions(-) create mode 100644 fir_client/src/assets/loading.gif diff --git a/fir_client/package.json b/fir_client/package.json index fbd1ae3..6d08dc9 100644 --- a/fir_client/package.json +++ b/fir_client/package.json @@ -18,6 +18,7 @@ "qrcodejs2": "^0.0.2", "vue": "^2.6.10", "vue-cookies": "^1.7.0", + "vue-lazyload": "^1.3.3", "vue-qr": "^2.3.0", "vue-router": "^3.1.3", "vuex": "^3.1.2" diff --git a/fir_client/src/assets/loading.gif b/fir_client/src/assets/loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..1e2ab093824324388817719365acd6d728d8c12a GIT binary patch literal 8238 zcmb8!XH-**)-K>=t(9I#0%AnK00E;EBh82c2^|y+B5aB%Rj~u2BA_lpuSS}P0-=cX zB2omzP((mfiYO{VC<=-w_Og$1ai6>Qcg}bJc=IzOV~zZH#{14Wm!-7@XQQVN!UypY zfmmEz)V_M9aP(2sK(BlIb+3-*(7Rn$P1W3n3dfuE$L@3->25p!XfXT91G|>mrC$n% z@B4MN8eA(y{N6|Dr<`e^uV;|2597qXAU}rZe$U{8M?8JB_8s1H1flc|LSU92q_jw| zGvDE0%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W3{F-a1J^%_UDcsYPF!_|E z@d^?xGv3IV`S|?9>`>Y6-4}Sly;V|Sc6>ujB!I(1O*^=)i;xLdD2B<*>Q$>q-7#?3 z8La#)cp9Z95qo-bCF4<{2qmR(TwhlVg0PmA8(~OUJ`s7|%zpyeex1#Q2*D=+5VW!4 zo^q6*T7`UptcF2u{wx3nvnJ&rPBNP-#30tFnBbum(}Bq=5I(8gJzweIc71CvZ?wlt zIOCkJ1t!$5Xlee`{s$!C{|jVzTR+#p*CwjnBh1wWD7hB$NmE{`Q*g&?>xyUN6K#7o zb(dM_JafDDmYRp~;tp-Yo;XA^q2LLG(`T516DH_b0y;r8JW0v~JV!}m9#2ArfFQ*` z?Z63IQMTpM@$w+5to-jrZ@JN`_UpEJ`KB>Q>*=}LrBchL^bUe|ZK&W;-KxPJT$c-h zN=?N@nFp`%Q@i!Jd(eh6xlx&gC@?=$ zW1)4vJ^?OSD znMHF8IQr_M%!!UC%hbOfc+?nkE6d}%u8AX!$Q*stkr7Er3=;bE5~@k zUEHP*+IOfLe|Qk{f&i3EPxa{^aL6u|<}JpjO}NmzHY(-o={w?+(fT6|@;hE}`w^$Q z=K~m*4lf<$B@q-0Eb2&u?}RuCzi_@&>C}jqI11xYY>C7%%@6`pUBqaVM(gbeq-s~D zyBwt&n-6Nep|~ePe9JflZgiFlY<$H=oLxPv4JVPmHVP00{d;rcs3H!O##7@)5%l(K zoWc3^g&AF#_99LsxxZm>Pm|FM;n&TuArO^YgQB~+hl@8 MZ2I-~{jbme0c5zt7ytkO literal 0 HcmV?d00001 diff --git a/fir_client/src/components/FirAppInfosBase.vue b/fir_client/src/components/FirAppInfosBase.vue index 8ef5d0c..1148ada 100644 --- a/fir_client/src/components/FirAppInfosBase.vue +++ b/fir_client/src/components/FirAppInfosBase.vue @@ -153,7 +153,7 @@ if (this.appinfos.preview_url && this.appinfos.preview_url.length > 6) { p_url = this.appinfos.preview_url + p_url } - window.open(p_url, 'target', ''); + window.open(p_url, '_blank', ''); }, defaulttimeline() { this.setfunactive('timeline', 5); diff --git a/fir_client/src/components/FirApps.vue b/fir_client/src/components/FirApps.vue index 27148e8..00dc024 100644 --- a/fir_client/src/components/FirApps.vue +++ b/fir_client/src/components/FirApps.vue @@ -757,7 +757,7 @@ if (app.preview_url && app.preview_url.length > 6) { p_url = app.preview_url + p_url } - window.open(p_url, 'target', ''); + window.open(p_url, '_blank', ''); } }, computed: { getDelappTitle() { diff --git a/fir_client/src/components/FirDownload.vue b/fir_client/src/components/FirDownload.vue index 7a3159e..d5615bf 100644 --- a/fir_client/src/components/FirDownload.vue +++ b/fir_client/src/components/FirDownload.vue @@ -107,7 +107,8 @@ 下载安装 - ? @@ -197,7 +198,7 @@
  • - +
@@ -220,7 +221,7 @@ -
+
超级签安装教程 关闭 @@ -228,33 +229,18 @@
    -
  • +
  • +

    - 安装引导
    第一步 允许打开配置描述文件 + 安装引导
    {{ sign.msg}}

  • -
  • -

    - 安装引导
    第二步 点击右上角安装按钮 -

    -
  • -
  • -

    - 安装引导
    第三步 输入开机解锁密码 -

    -
  • -
  • -

    - 安装引导
    第四步 点击下方安装按钮 -

    -
  • -
-
+
@@ -270,6 +256,12 @@ name: "FirDownload", data() { return { + signhelplist: [ + {msg: '第一步 允许打开配置描述文件', url: require('../assets/sign/step1.jpg')}, + {msg: '第二步 点击右上角安装按钮', url: require('../assets/sign/step2.jpg')}, + {msg: '第三步 输入开机解锁密码', url: require('../assets/sign/step3.jpg')}, + {msg: '第四步 点击下方安装按钮', url: require('../assets/sign/step4.jpg')}, + ], imagelist: [], currentappinfo: {}, iscomboappinfo: {}, @@ -296,11 +288,12 @@ }, methods: { jiaocheng(act) { - let signhelp = document.getElementById('signhelp'); - let bg = document.getElementById('bg'); + let signhelp = this.$refs.signhelp; + let bg = this.$refs.signhelp; if (act === 'open') { signhelp.style.display = "block"; bg.style.display = "block"; + window.scroll(0, 1) } else { signhelp.style.display = "none"; bg.style.display = "none"; diff --git a/fir_client/src/components/ShortDownload.vue b/fir_client/src/components/ShortDownload.vue index 2e85733..34d88d5 100644 --- a/fir_client/src/components/ShortDownload.vue +++ b/fir_client/src/components/ShortDownload.vue @@ -2,7 +2,7 @@
-
+
超级签安装教程 关闭 @@ -10,33 +10,18 @@
    -
  • +
  • +

    - 安装引导
    第一步 允许打开配置描述文件 + 安装引导
    {{ sign.msg}}

  • -
  • -

    - 安装引导
    第二步 点击右上角安装按钮 -

    -
  • -
  • -

    - 安装引导
    第三步 输入开机解锁密码 -

    -
  • -
  • -

    - 安装引导
    第四步 点击下方安装按钮 -

    -
  • -
-
+
@@ -137,7 +122,8 @@ - ?
@@ -224,7 +210,7 @@
  • - +
@@ -266,6 +252,12 @@ name: "ShortDownload", data() { return { + signhelplist: [ + {msg: '第一步 允许打开配置描述文件', url: require('../assets/sign/step1.jpg')}, + {msg: '第二步 点击右上角安装按钮', url: require('../assets/sign/step2.jpg')}, + {msg: '第三步 输入开机解锁密码', url: require('../assets/sign/step3.jpg')}, + {msg: '第四步 点击下方安装按钮', url: require('../assets/sign/step4.jpg')}, + ], imagelist: [], currentappinfo: {}, iscomboappinfo: {}, @@ -293,11 +285,12 @@ }, methods: { jiaocheng(act) { - let signhelp = document.getElementById('signhelp'); - let bg = document.getElementById('bg'); + let signhelp = this.$refs.signhelp; + let bg = this.$refs.signhelp; if (act === 'open') { signhelp.style.display = "block"; bg.style.display = "block"; + window.scroll(0, 1) } else { signhelp.style.display = "none"; bg.style.display = "none"; diff --git a/fir_client/src/main.js b/fir_client/src/main.js index eb8e8f8..c3872b6 100644 --- a/fir_client/src/main.js +++ b/fir_client/src/main.js @@ -154,7 +154,12 @@ Vue.prototype.$alert = MessageBox.alert; // Vue.use(ElementUI); Vue.use(Vuex); +import VueLazyload from 'vue-lazyload' +Vue.use(VueLazyload, { + loading: require('./assets/loading.gif'), + preLoad: 1 +}); new Vue({ render: h => h(App), diff --git a/fir_client/src/main.short.js b/fir_client/src/main.short.js index 6bb7ad4..8762e5b 100644 --- a/fir_client/src/main.short.js +++ b/fir_client/src/main.short.js @@ -24,6 +24,12 @@ Vue.prototype.$message = Message; Vue.config.productionTip = false; +import VueLazyload from 'vue-lazyload' + +Vue.use(VueLazyload, { + loading: require('./assets/loading.gif'), + preLoad: 1 +}); new Vue({ render: h => h(Download), diff --git a/fir_client/src/short.js b/fir_client/src/short.js index d394dc2..1f17532 100644 --- a/fir_client/src/short.js +++ b/fir_client/src/short.js @@ -2,7 +2,12 @@ import Vue from 'vue' import Download from "@/Download"; import router from "@/router/short"; +import VueLazyload from 'vue-lazyload' +Vue.use(VueLazyload, { + loading: require('./assets/loading.gif'), + preLoad: 1 +}); Vue.config.productionTip = false; new Vue({