|
@@ -15,6 +15,10 @@
|
|
|
*
|
|
|
* 参考: https://www.cnblogs.com/mr-wuxiansheng/p/6296646.html
|
|
|
*/
|
|
|
+/*
|
|
|
+ *dev4.7.7
|
|
|
+ *老用户无论有没有设置关键词,进入index设置页面 弹窗立显,点击修改和添加关键词 弹窗弹出。
|
|
|
+*/
|
|
|
Date.prototype.pattern = function (fmt) {
|
|
|
var o = {
|
|
|
'y+': this.getFullYear(),
|
|
@@ -193,7 +197,7 @@ var keySet = new Vue({
|
|
|
// 如果没有设置关键词,清除历史记录,直接跳转到去设置关键词
|
|
|
// 关键词超过 maxKeyLength 个显示底部框
|
|
|
if (r.a_key && r.a_key.length === 0) {
|
|
|
- location.replace('/jyapp/wxkeyset/keyset/filterset?type=add&index=0&from=historypush')
|
|
|
+ //location.replace('/jyapp/wxkeyset/keyset/filterset?type=add&index=0&from=historypush')
|
|
|
} else if (r.a_key && r.a_key.length >= _this.conf.maxKeyTip) {
|
|
|
_this.footerReminderShow = true
|
|
|
} else {
|
|
@@ -360,15 +364,16 @@ var keySet = new Vue({
|
|
|
},
|
|
|
// 去关键词详情
|
|
|
toSetKeyDetail: function (type, index) {
|
|
|
- if (index === -1) {
|
|
|
- index = this.keyList.length
|
|
|
- }
|
|
|
+ this.tipsType = true
|
|
|
+ //if (index === -1) {
|
|
|
+ // index = this.keyList.length
|
|
|
+ //}
|
|
|
// if (!this.userNewType) {
|
|
|
// this.tipsType = true
|
|
|
// } else {
|
|
|
// location.href = '/jyapp/wxkeyset/keyset/filterset?type=' + type + '&index=' + index
|
|
|
// }
|
|
|
- location.href = '/jyapp/wxkeyset/keyset/filterset?type=' + type + '&index=' + index
|
|
|
+ //location.href = '/jyapp/wxkeyset/keyset/filterset?type=' + type + '&index=' + index
|
|
|
},
|
|
|
// 调整底部按钮距离
|
|
|
adjustAddButtonPadding: function () {
|