Commit 178086af authored by 汪波's avatar 汪波

松下

parent 00260f64
......@@ -1914,6 +1914,9 @@ body{
.autocomplete-suggestion strong {
color: #3498DA;
}
.autocomplete-selected {
background-color: #f3f3f3;
}
/*极验证*/
.geetest_holder {
......
......@@ -91,9 +91,6 @@
},
mounted() {
let self = this;
common.checkLoginCllback(function () {
self.checkHasInvite();
});
var brandId = this.$route.params.brandId;
var categoryId = this.$route.params.categoryId;
var code = this.$route.query.code;
......
......@@ -80,7 +80,7 @@
<div class="brand-box-fixed" id="category">
<div class="common-tit"><a href="javascript:;" class="back"><i class="iconfont icon-close"></i></a>
<p>选择类别</p></div>
<p>选择产品</p></div>
<div class="brand-list class-list" id="categoryBox">
<div class="item">
<ul>
......@@ -181,7 +181,7 @@ export default {
}
},
searchable() {
return !(this.brandId == 0 || this.categoryId == 0 || this.code == '' || (this.isUseCaptcha && !this.isCheckCaptcha));
return !(this.categoryId == 0 || this.code == '' || (this.isUseCaptcha && !this.isCheckCaptcha));
},
targetUrl() {
return {path: '/code/' + this.brandId + '/' + this.categoryId, query: {code: this.code}};
......@@ -355,7 +355,6 @@ export default {
closeErrorFixed(){
$('.error-code-fixed').hide();
$('#codeSearchInput').focus();
},
getIcon(className){
......@@ -418,9 +417,12 @@ export default {
},
onSelect: function (item) {
if (self.code != item.data) {
if(self.isUseCaptcha){
location.href="/";
}else{
self.code = item.code;
if (!self.searchable) {
self.closeErrorFixed();
} else {
self.searchCode();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment