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

松下

parent 00260f64
...@@ -1914,6 +1914,9 @@ body{ ...@@ -1914,6 +1914,9 @@ body{
.autocomplete-suggestion strong { .autocomplete-suggestion strong {
color: #3498DA; color: #3498DA;
} }
.autocomplete-selected {
background-color: #f3f3f3;
}
/*极验证*/ /*极验证*/
.geetest_holder { .geetest_holder {
......
...@@ -91,9 +91,6 @@ ...@@ -91,9 +91,6 @@
}, },
mounted() { mounted() {
let self = this; let self = this;
common.checkLoginCllback(function () {
self.checkHasInvite();
});
var brandId = this.$route.params.brandId; var brandId = this.$route.params.brandId;
var categoryId = this.$route.params.categoryId; var categoryId = this.$route.params.categoryId;
var code = this.$route.query.code; var code = this.$route.query.code;
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
<div class="brand-box-fixed" id="category"> <div class="brand-box-fixed" id="category">
<div class="common-tit"><a href="javascript:;" class="back"><i class="iconfont icon-close"></i></a> <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="brand-list class-list" id="categoryBox">
<div class="item"> <div class="item">
<ul> <ul>
...@@ -181,7 +181,7 @@ export default { ...@@ -181,7 +181,7 @@ export default {
} }
}, },
searchable() { 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() { targetUrl() {
return {path: '/code/' + this.brandId + '/' + this.categoryId, query: {code: this.code}}; return {path: '/code/' + this.brandId + '/' + this.categoryId, query: {code: this.code}};
...@@ -355,7 +355,6 @@ export default { ...@@ -355,7 +355,6 @@ export default {
closeErrorFixed(){ closeErrorFixed(){
$('.error-code-fixed').hide(); $('.error-code-fixed').hide();
$('#codeSearchInput').focus();
}, },
getIcon(className){ getIcon(className){
...@@ -418,9 +417,12 @@ export default { ...@@ -418,9 +417,12 @@ export default {
}, },
onSelect: function (item) { onSelect: function (item) {
if (self.code != item.data) { if (self.code != item.data) {
if(self.isUseCaptcha){
location.href="/"; self.code = item.code;
}else{
if (!self.searchable) {
self.closeErrorFixed();
} else {
self.searchCode(); 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