qiushang 2 周之前
父節點
當前提交
afe288fb5a
共有 3 個文件被更改,包括 33 次插入5 次删除
  1. 3 3
      nsis/test.nsi
  2. 1 1
      package.json
  3. 29 1
      src/renderer/components/home.vue

+ 3 - 3
nsis/test.nsi

@@ -1,16 +1,16 @@
 # ====================== 自定义宏 产品信息==============================
 !define PRODUCT_MID        		    "b4X0GBHb95VN"
-!define PRODUCT_VERSION        		"2.1.0.7"
+!define PRODUCT_VERSION        		"2.1.0.0"
 !define PRODUCT_NAME           		"星优链接复制器"
 !define INSTALL_OUTPUT_NAME    		"XYLinks_XY.exe" 
 !define EXE_NAME               		"XYLinks.exe"
 !define PRODUCT_PATHNAME           	"XYLinks"     #安装卸载项用到的KEY,注册表
 !define INSTALL_APPEND_PATH         "XYLinks"     #安装路径追加的名称 
-!define APP_DOWNLOAD_URL    		"https://xy.xingyousoft.com/soft/XYLinks/lastest2.1.0.7.7z"
+!define APP_DOWNLOAD_URL    		"https://xy.xingyousoft.com/soft/XYLinks/lastest2.1.0.0.7z"
 !define PRODUCT_PUBLISHER      	    "苏州星优办公软件有限公司"
 !define PRODUCT_LEGAL          	    "苏州星优办公软件有限公司"
 !define STATISTICS_url              "https://www.xingyousoft.com/api/index/user_log"   # 统计网址
-!define UNINSTALL_url               "https://xy.xingyousoft.com/soft/XYLinks/uninstallWeb/?v=2.1.0.7"   # 接卸优惠网址
+!define UNINSTALL_url               "https://xy.xingyousoft.com/soft/XYLinks/uninstallWeb/?v=2.1.0.0"   # 接卸优惠网址
 
 # ====================== 自定义宏 安装信息==============================
 !define INSTALL_7Z_NAME 	   		"app.7z"

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 	"name": "XYLinks",
-	"version": "2.1.0.7",
+	"version": "2.1.0.0",
 	"author": "苏州星优办公软件有限公司",
 	"description": "An electron-vue project",
 	"license": "links",

+ 29 - 1
src/renderer/components/home.vue

@@ -161,6 +161,33 @@
 						</div>
 					</div>
 				</template>
+				
+				<el-dialog title="提示" :visible.sync="loginVisible" width="400px" :close-on-click-modal="false" :close-on-press-escape="false">
+					<div style="text-align: center; color: #999; font-size: 14px;">
+						<template v-if="menuIndex == '1'">
+							<p>阿里巴巴渠道需要登录后才能提取</p>
+							<p class="visible-tips-style">目前检测还未登录阿里巴巴账号,需立即登录</p>
+						</template>
+						<template v-else-if="menuIndex == '2'">
+							<p>京东渠道需要登录后才能提取</p>
+							<p class="visible-tips-style">目前检测还未登录京东账号,需立即登录</p>
+						</template>
+						<template v-else-if="menuIndex == '5'">
+							<p>小红书渠道需要登录后才能提取</p>
+							<p class="visible-tips-style">目前检测还未登录小红书账号,需立即登录</p>
+						</template>
+						<template v-else>
+							<p>天猫/淘宝渠道需要登录后才能提取</p>
+							<p class="visible-tips-style">目前检测还未登录天猫/淘宝账号,需立即登录</p>
+						</template>
+					</div>
+					<div slot="footer" class="dialog-footer-center">
+						<el-button v-if="menuIndex == '2'" @click="loginVisible = false; loginUrl('https://passport.jd.com/new/login.aspx')">点击登录京东账号</el-button>
+						<el-button v-else-if="menuIndex == '1'" @click="loginVisible = false; loginUrl('https://www.1688.com')">点击登录阿里巴巴账号</el-button>
+						<el-button v-else-if="menuIndex == '5'" @click="loginVisible = false; loginUrl('https://www.xiaohongshu.com')">点击登录小红书账号</el-button>
+						<el-button v-else @click="loginVisible = false; loginUrl('https://login.taobao.com')">点击登录天猫/淘宝账号</el-button>
+					</div>
+				</el-dialog>
 		
 			</el-main>
 			
@@ -232,6 +259,7 @@
 				jdStatus: 1, // 1、未检测 2、已经登录 3、未登录 
 				redStatus: 1, //同上
 				alibabaStatus: 1, //同上上
+				loginVisible: false,
 				
 				/** 浏览器名称 **/
 				alibabaBrowser: null,
@@ -614,7 +642,7 @@
 				this.tabLoading = true;
 				setTimeout(() => {
 					this.tabLoading = false;
-				}, 10000)
+				}, 20000)
 				if(this.loginBrowser){
 					await this.loginBrowser.close();
 					this.loginBrowser = null;