diff --git a/jshERP-web/public/static/Android.png b/jshERP-web/public/static/Android.png new file mode 100644 index 00000000..a4174f7b Binary files /dev/null and b/jshERP-web/public/static/Android.png differ diff --git a/jshERP-web/public/static/android-code.png b/jshERP-web/public/static/android-code.png new file mode 100644 index 00000000..d495e304 Binary files /dev/null and b/jshERP-web/public/static/android-code.png differ diff --git a/jshERP-web/public/static/iPhone.png b/jshERP-web/public/static/iPhone.png new file mode 100644 index 00000000..9b81d5b9 Binary files /dev/null and b/jshERP-web/public/static/iPhone.png differ diff --git a/jshERP-web/public/static/mini-program.png b/jshERP-web/public/static/mini-program.png new file mode 100644 index 00000000..2a1b8509 Binary files /dev/null and b/jshERP-web/public/static/mini-program.png differ diff --git a/jshERP-web/src/components/layouts/UserLayout.vue b/jshERP-web/src/components/layouts/UserLayout.vue index 72f785c7..c1223a76 100644 --- a/jshERP-web/src/components/layouts/UserLayout.vue +++ b/jshERP-web/src/components/layouts/UserLayout.vue @@ -23,12 +23,41 @@ + + +
+
+ + +
+
@@ -44,6 +73,9 @@ return { systemTitle: window.SYS_TITLE, systemUrl: window.SYS_URL, + isShowRight: false, + isAndroidShow: false, + isMiniProgramShow: false, } }, mounted () { @@ -52,6 +84,31 @@ beforeDestroy () { document.body.classList.remove('userLayout') }, + created () { + let host = window.location.host + if(host === 'cloud.huaxiaerp.vip' || host === 'cloud.huaxiaerp.com') { + this.isShowRight = true + } else { + this.isShowRight = false + } + }, + methods: { + handleAndroidCancel() { + this.isAndroidShow = false + }, + handleMiniProgramCancel() { + this.isMiniProgramShow = false + }, + openAndroid() { + this.isAndroidShow = true + }, + openIPhone() { + this.$message.warning('敬请期待!'); + }, + openMiniProgram() { + this.isMiniProgramShow = true + } + } } @@ -71,6 +128,25 @@ top: 10%; margin-left: 0px; } + .third-party-platform { + display: flex; + flex-direction: row; + justify-content: center; + margin-bottom:15px; + opacity:0.7 + } + .third-party-platform .platform-info { + display: flex; + flex-direction: column; + align-items: center; + cursor: pointer; + color:#1890ff + } + .platform-modal { + padding:20px; + margin:20px 50px; + border:1px solid #eee; + }