|
@@ -12,7 +12,7 @@
|
|
|
<el-row type="flex" align="middle" justify="space-between">
|
|
<el-row type="flex" align="middle" justify="space-between">
|
|
|
<div>
|
|
<div>
|
|
|
<span class="span-w">功能选择:</span>
|
|
<span class="span-w">功能选择:</span>
|
|
|
- <el-radio-group v-model="menuIndex" size="mini" style="margin-right: 10px;">
|
|
|
|
|
|
|
+ <el-radio-group v-model="menuIndex" size="mini" style="margin-right: 10px;" @input="indexChange">
|
|
|
<el-radio-button label="1" size="mini">提取文字</el-radio-button>
|
|
<el-radio-button label="1" size="mini">提取文字</el-radio-button>
|
|
|
<el-radio-button label="2" size="mini">提取链接</el-radio-button>
|
|
<el-radio-button label="2" size="mini">提取链接</el-radio-button>
|
|
|
<el-radio-button label="3" size="mini">提取图片</el-radio-button>
|
|
<el-radio-button label="3" size="mini">提取图片</el-radio-button>
|
|
@@ -144,7 +144,7 @@
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
|
|
<div style="margin-top: 10px;">
|
|
<div style="margin-top: 10px;">
|
|
|
- <el-input id="aaa" type="textarea" :rows="3" placeholder="请输入需要提取的网址" v-model="formatUrl"></el-input>
|
|
|
|
|
|
|
+ <el-input id="aaa" type="textarea" :rows="3" placeholder="请输入需要提取的网址" v-model="formatUrl" :disabled="formatDisabled"></el-input>
|
|
|
|
|
|
|
|
<div class="content-top" style="padding: 10px 0; text-align: center; display: inherit;">
|
|
<div class="content-top" style="padding: 10px 0; text-align: center; display: inherit;">
|
|
|
<el-button size="small" type="danger" @click="addLinks()" :loading="addLoading">开始处理</el-button>
|
|
<el-button size="small" type="danger" @click="addLinks()" :loading="addLoading">开始处理</el-button>
|
|
@@ -258,6 +258,8 @@
|
|
|
tipsDesc: "暂无下载权限,请开通VIP会员使用",
|
|
tipsDesc: "暂无下载权限,请开通VIP会员使用",
|
|
|
|
|
|
|
|
formatUrl: '',
|
|
formatUrl: '',
|
|
|
|
|
+ formatDisabled: false,
|
|
|
|
|
+ tempUrl: '',
|
|
|
tabLoading: false,
|
|
tabLoading: false,
|
|
|
productName: pjson.softInfo.softName,
|
|
productName: pjson.softInfo.softName,
|
|
|
imgUrl: this.$api.imgUrl,
|
|
imgUrl: this.$api.imgUrl,
|
|
@@ -365,6 +367,19 @@
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ indexChange(e){
|
|
|
|
|
+ let authority = this.$refs.headerRef.authority.isAuthority;
|
|
|
|
|
+ if(!authority){
|
|
|
|
|
+ if(e == '4'){
|
|
|
|
|
+ this.formatUrl = 'https://www.xingyousoft.com';
|
|
|
|
|
+ this.formatDisabled = true;
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.formatUrl = '';
|
|
|
|
|
+ this.formatDisabled = false;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
// 实时获取页面滚动加载时间
|
|
// 实时获取页面滚动加载时间
|
|
|
initMs(){
|
|
initMs(){
|
|
|
let pageMs = this.$utils.getStorage('pageMs');
|
|
let pageMs = this.$utils.getStorage('pageMs');
|
|
@@ -536,6 +551,7 @@
|
|
|
let authority = this.$refs.headerRef.authority.isAuthority;
|
|
let authority = this.$refs.headerRef.authority.isAuthority;
|
|
|
if (!authority && !flag) { // 非会员点击转换弹出提示框
|
|
if (!authority && !flag) { // 非会员点击转换弹出提示框
|
|
|
this.$refs.headerRef.memberModel = true;
|
|
this.$refs.headerRef.memberModel = true;
|
|
|
|
|
+ this.$refs.headerRef.menuIndex = this.menuIndex;
|
|
|
this.$refs.headerRef.isClick = true;
|
|
this.$refs.headerRef.isClick = true;
|
|
|
this.downloadRow = row;
|
|
this.downloadRow = row;
|
|
|
return false;
|
|
return false;
|
|
@@ -1037,6 +1053,7 @@
|
|
|
let authority = this.$refs.headerRef.authority.isAuthority;
|
|
let authority = this.$refs.headerRef.authority.isAuthority;
|
|
|
if (!authority && !flag) { // 非会员点击转换弹出提示框
|
|
if (!authority && !flag) { // 非会员点击转换弹出提示框
|
|
|
this.$refs.headerRef.memberModel = true;
|
|
this.$refs.headerRef.memberModel = true;
|
|
|
|
|
+ this.$refs.headerRef.menuIndex = this.menuIndex;
|
|
|
this.$refs.headerRef.isClick = true;
|
|
this.$refs.headerRef.isClick = true;
|
|
|
return false;
|
|
return false;
|
|
|
} else {
|
|
} else {
|
|
@@ -1102,6 +1119,7 @@
|
|
|
let authority = this.$refs.headerRef.authority.isAuthority;
|
|
let authority = this.$refs.headerRef.authority.isAuthority;
|
|
|
if (!authority && !flag) { // 非会员点击转换弹出提示框
|
|
if (!authority && !flag) { // 非会员点击转换弹出提示框
|
|
|
this.$refs.headerRef.memberModel = true;
|
|
this.$refs.headerRef.memberModel = true;
|
|
|
|
|
+ this.$refs.headerRef.menuIndex = this.menuIndex;
|
|
|
this.$refs.headerRef.isClick = true;
|
|
this.$refs.headerRef.isClick = true;
|
|
|
return false;
|
|
return false;
|
|
|
} else {
|
|
} else {
|