|
@@ -193,6 +193,13 @@ var fleaMarketForm = new Vue({
|
|
|
contains:function(arr, val) {// 校验
|
|
|
return arr.some(item => item === val)
|
|
|
},
|
|
|
+ handleMobileCodeInput(){//
|
|
|
+ this.vShow_checkCode = false;
|
|
|
+ },
|
|
|
+ handleMobileAddresInput(){//
|
|
|
+ this.vShow_TownId = false;
|
|
|
+ this.vShow_Address = false;
|
|
|
+ },
|
|
|
handleMobileInput:function () {// 控制联系人手机号显示获取验证码按钮
|
|
|
var re = /^1\d{10}$/;
|
|
|
if(re.test(this.secondParams.contactMobile)){
|
|
@@ -279,7 +286,7 @@ var fleaMarketForm = new Vue({
|
|
|
if(_this.secondParams.checkCode == ''){
|
|
|
_this.vShow_checkCode = true;
|
|
|
_this.fromMessage = '请输入短信验证码';
|
|
|
- _this.scrollIntoView('vShow_Price');
|
|
|
+ _this.scrollIntoView('secondHandrelease');
|
|
|
setTimeout(function(){
|
|
|
_this.vShow_checkCode = false;
|
|
|
},3000);
|
|
@@ -317,7 +324,7 @@ var fleaMarketForm = new Vue({
|
|
|
if(_this.secondParams.name == ''){
|
|
|
_this.vShow_Name = true;
|
|
|
_this.fromMessage = '请输入商品名称';
|
|
|
- _this.scrollIntoView('vShowsecondHandType');
|
|
|
+ _this.scrollIntoView('secondHandrelease');
|
|
|
setTimeout(function(){
|
|
|
_this.vShow_Name = false;
|
|
|
},3000);
|
|
@@ -327,7 +334,7 @@ var fleaMarketForm = new Vue({
|
|
|
if(_this.secondParams.companyName == ''){
|
|
|
_this.vShow_companyName = true;
|
|
|
_this.fromMessage = '请输入公司名称';
|
|
|
- _this.scrollIntoView('vShowsecondHandType');
|
|
|
+ _this.scrollIntoView('vShow_Name');
|
|
|
setTimeout(function(){
|
|
|
_this.vShow_companyName = false;
|
|
|
},3000);
|
|
@@ -337,7 +344,7 @@ var fleaMarketForm = new Vue({
|
|
|
if(_this.secondParams.productQuality == ''){
|
|
|
_this.vShow_shopColor = true;
|
|
|
_this.fromMessage = '请输入商品成色';
|
|
|
- _this.scrollIntoView('vShow_FixedYears');
|
|
|
+ _this.scrollIntoView('vShow_Name');
|
|
|
setTimeout(function(){
|
|
|
_this.vShow_shopColor = false;
|
|
|
},3000);
|
|
@@ -346,7 +353,7 @@ var fleaMarketForm = new Vue({
|
|
|
if(_this.secondParams.townId == ''|| _this.secondParams.townId == undefined){
|
|
|
_this.vShow_TownId = true;
|
|
|
_this.fromMessage = '请完善联系地址';
|
|
|
- _this.scrollIntoView('vShow_caimeiMobile');
|
|
|
+ _this.scrollIntoView('vShow_Name');
|
|
|
setTimeout(function(){
|
|
|
_this.vShow_TownId = false;
|
|
|
},3000);
|
|
@@ -355,7 +362,7 @@ var fleaMarketForm = new Vue({
|
|
|
if(_this.secondParams.address == ''){
|
|
|
_this.vShow_Address = true;
|
|
|
_this.fromMessage = '请填写详细地址';
|
|
|
- _this.scrollIntoView('vShow_caimeiMobile');
|
|
|
+ _this.scrollIntoView('vShow_Name');
|
|
|
setTimeout(function(){
|
|
|
_this.vShow_Address = false;
|
|
|
},3000);
|