diff --git a/homepage.html b/homepage.html index c449b0c..791d6d1 100644 --- a/homepage.html +++ b/homepage.html @@ -162,14 +162,14 @@
+ :placeholder="placeholder" @focus="(e)=>focusFn(e)"> + placeholder="请再次输入" @focus="(e)=>focusFn(e)"> + :placeholder="placeholder" @focus="(e)=>focusFn(e)"> + placeholder="请再次输入" @focus="(e)=>focusFn(e)">
确认 @@ -213,7 +213,7 @@ data() { return { swiperDataList: [], //轮播 - layout: 2, + layout: 3, maskshow: false, proname: '黄金爱奇艺', promtshow: false, @@ -226,7 +226,6 @@ placeholder: '请输入手机号', maxlen:11, iptshow: false, - orderNo: '', loading: true, lastid:0, acctype:'text', @@ -255,6 +254,10 @@ this.exchangeCommity = item; this.gstatus = item.available; }, + focusFn(a){ + let ele=document.querySelector('.ipt_frame'); + ele.scrollIntoView({block: "end", behavior: "smooth"}); + }, // 单条弹框 openDialog() { this.promtshow = true; @@ -265,7 +268,6 @@ }, //根据token获取商品信息 getGoods() { - let self = this; let data = { "token": sessionStorage.getItem('token'), diff --git a/index.html b/index.html index c0eee13..31eb76b 100644 --- a/index.html +++ b/index.html @@ -11,9 +11,8 @@ - + -