Commit e8738e49 by 肖康

H5会员中心BUG

parent 30a2e1ba
...@@ -214,7 +214,7 @@ body { ...@@ -214,7 +214,7 @@ body {
bottom: 0; bottom: 0;
left: 0; left: 0;
right: 0; right: 0;
z-index: 2019; } z-index: 10; }
.navigator ul { .navigator ul {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
......
...@@ -25,7 +25,7 @@ $imgUrl: '../images/'; ...@@ -25,7 +25,7 @@ $imgUrl: '../images/';
bottom: 0; bottom: 0;
left: 0; left: 0;
right: 0; right: 0;
z-index: 2019; z-index: 10;
ul { ul {
@include dispFlex(); @include dispFlex();
...@@ -171,7 +171,7 @@ $imgUrl: '../images/'; ...@@ -171,7 +171,7 @@ $imgUrl: '../images/';
position: fixed; position: fixed;
right: 0; right: 0;
bottom: 23%; bottom: 23%;
z-index: 3000; z-index: 3;
.customer-service { .customer-service {
margin-top: 5px; margin-top: 5px;
......
...@@ -87,7 +87,7 @@ const actions = { ...@@ -87,7 +87,7 @@ const actions = {
if (datas.err_code == 0) { if (datas.err_code == 0) {
Toast({ Toast({
message: "您的寻料申请已提交,将有专员与您联系", message: "您的寻价申请已提交,将有专员与您联系,请在会员中心-我的询价单查看进度",
duration: 3000 duration: 3000
}); });
} else { } else {
......
...@@ -31,6 +31,7 @@ const actions = { ...@@ -31,6 +31,7 @@ const actions = {
var params = { var params = {
order_id: payload.order_id order_id: payload.order_id
} }
state.againBuy.isShow=0
Services.rebuy(qs.stringify(params)).then((res) => { Services.rebuy(qs.stringify(params)).then((res) => {
state.loading = false; state.loading = false;
......
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
}; };
</script> </script>
<style > <style >
.van-overlay{z-index: 9999!important;} /* .van-overlay{z-index: 9999!important;} */
.slide-bar .iconimg{ .slide-bar .iconimg{
width:50px; width:50px;
height:50px; height:50px;
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
data() { data() {
return { return {
lineWidth:55, lineWidth:55,
tab:0, tab:"0",
status:"" status:""
} }
}, },
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</div> </div>
</div> </div>
<div class="btn row rowCenter verCenter"> <div class="btn row rowCenter verCenter">
<a href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&amp;key=XzgwMDE1ODQzMl80ODY0NDVfODAwMTU4NDMyXzJf" target="_blank" class="btn1 row rowCenter verCenter">批量询价</a> <a :href="phpParams.kfqq_xk" target="_blank" class="btn1 row rowCenter verCenter">批量询价</a>
<a @click="submit()" href="javascript:;" class="btn2 row rowCenter verCenter">快速询价</a> <a @click="submit()" href="javascript:;" class="btn2 row rowCenter verCenter">快速询价</a>
</div> </div>
</div> </div>
...@@ -79,7 +79,8 @@ ...@@ -79,7 +79,8 @@
computed: { computed: {
...mapState({ ...mapState({
formImgShow: state => state.inquiry.formImgShow, formImgShow: state => state.inquiry.formImgShow,
countDown: state => state.inquiry.countDown countDown: state => state.inquiry.countDown,
phpParams: state => state.common.phpParams,
}) })
}, },
watch: { watch: {
...@@ -152,6 +153,29 @@ ...@@ -152,6 +153,29 @@
}, },
submit() { submit() {
var myreg = /^[1][3,4,5,7,8][0-9]{9}$/;
if (!this.account) {
Toast({
message: '填写手机号',
duration: 2000
});
return;
}
if (!myreg.test(this.account)) {
Toast({
message: '请输入正确手机号',
duration: 2000
});
return;
}
if(!(this.typetext.trim())){
Toast({
message: '请输入型号/参数',
duration: 2000
});
return;
}
this.$store.dispatch({ this.$store.dispatch({
type: 'actionLoginInquiry', type: 'actionLoginInquiry',
account: this.account, account: this.account,
......
...@@ -33,9 +33,9 @@ ...@@ -33,9 +33,9 @@
</div> </div>
<div class="l-c van-hairline--surround"> <div class="l-c van-hairline--surround">
<div class="goods-group van-hairline--top" v-for="item2 in item.list"> <div class="goods-group van-hairline--top" v-for="item2 in item.list">
<a class="fl van-ellipsis" @click.stop="toUrl('https://m.ichunt.com/goods_'+item2.goods_id+'.html')" v-if="(item2.goods_type==1||item2.goods_type==2)" <a class="fl van-ellipsis" @click.stop="toUrl('https://m.ichunt.com/goods_'+item2.goods_id+'.html',item2.goods_id)" v-if="(item2.goods_type==1||item2.goods_type==2)"
>{{item2.goods_name}}</a> >{{item2.goods_name}}</a>
<a class="fl van-ellipsis" @click.stop="toUrl('https://m.ichunt.com/item/'+item2.goods_id+'.html')" v-else>{{item2.goods_name}}</a> <a class="fl van-ellipsis" @click.stop="toUrl('https://m.ichunt.com/item/'+item2.goods_id+'.html',item2.goods_id)" v-else>{{item2.goods_name}}</a>
<p class="fl">商品金额:{{item2.goods_amount_format}}</p> <p class="fl">商品金额:{{item2.goods_amount_format}}</p>
</div> </div>
</div> </div>
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
name: 'order', name: 'order',
data() { data() {
return { return {
tab: 0, tab: "0",
orderStatus: 0, //订单状态 orderStatus: 0, //订单状态
lineWidth: 55, //tab 底线宽 lineWidth: 55, //tab 底线宽
isEmpty: false, //是否没结果 isEmpty: false, //是否没结果
...@@ -228,6 +228,7 @@ ...@@ -228,6 +228,7 @@
}, },
againBuy: { againBuy: {
handler(newVal, oldVal) { handler(newVal, oldVal) {
console.log(newVal.isShow)
this.isMask=newVal.isShow this.isMask=newVal.isShow
}, },
deep:true deep:true
...@@ -247,6 +248,7 @@ ...@@ -247,6 +248,7 @@
}, },
created() { created() {
console.log("订单页面初始化")
this.tabUi(); this.tabUi();
this.getData(); this.getData();
this.$store.dispatch({ this.$store.dispatch({
...@@ -271,8 +273,12 @@ ...@@ -271,8 +273,12 @@
} }
}) })
}, },
toUrl(url){ toUrl(url,goods_id){
window.location.href=url
if(goods_id!=0){
window.location.href=url
}
}, },
tabChange(index) { tabChange(index) {
this.tab = index this.tab = index
......
...@@ -83,8 +83,8 @@ ...@@ -83,8 +83,8 @@
class="icon iconfont">&#xe610;</i></div> class="icon iconfont">&#xe610;</i></div>
</div> </div>
<div class="order-sec" v-if="orderDetailInfo.list"> <div class="order-sec" v-if="orderDetailInfo.list">
<a class="oda-group" v-for="item in orderDetailInfo.list" <a class="oda-group" v-for="item in orderDetailInfo.list" @click="toUrl(((item.goods_type==1||item.goods_type==2)?('/goods_'+item.goods_id+'.html'):('/item/'+item.goods_id+'.html')),item.goods_id)"
:href="(item.goods_type==1||item.goods_type==2)?('/goods_'+item.goods_id+'.html'):('/item/'+item.goods_id+'.html')"> >
<div class="title-goods"><span>{{item.goods_name}}</span><i class="icon iconfont">&#xe67c;</i></div> <div class="title-goods"><span>{{item.goods_name}}</span><i class="icon iconfont">&#xe67c;</i></div>
<div class="attrs"> <div class="attrs">
<div class="group-trr clr"> <div class="group-trr clr">
...@@ -188,6 +188,13 @@ ...@@ -188,6 +188,13 @@
window.location.href = window.location.origin + "/v3/pay/online?id=" + order_id window.location.href = window.location.origin + "/v3/pay/online?id=" + order_id
}, },
toUrl(url,goods_id){
if(goods_id!=0){
window.location.href=url
}
},
//确认收货 //确认收货
sureSend(order_id) { sureSend(order_id) {
Dialog.confirm({ Dialog.confirm({
......
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
</div> </div>
<div class="l-c van-hairline--surround"> <div class="l-c van-hairline--surround">
<div class="goods-group van-hairline--top" v-for="item2 in item.list"> <div class="goods-group van-hairline--top" v-for="item2 in item.list">
<a class="fl van-ellipsis" @click.stop="toUrl('https://m.ichunt.com/goods_'+item2.goods_id+'.html')" v-if="(item2.goods_type==1||item2.goods_type==2)" <a class="fl van-ellipsis" @click.stop="toUrl('https://m.ichunt.com/goods_'+item2.goods_id+'.html',item2.goods_id)" v-if="(item2.goods_type==1||item2.goods_type==2)"
>{{item2.goods_name}}</a> >{{item2.goods_name}}</a>
<a class="fl van-ellipsis" @click.stop="toUrl('https://m.ichunt.com/item/'+item2.goods_id+'.html')" v-else>{{item2.goods_name}}</a> <a class="fl van-ellipsis" @click.stop="toUrl('https://m.ichunt.com/item/'+item2.goods_id+'.html',item2.goods_id)" v-else>{{item2.goods_name}}</a>
<p class="fl">商品金额:{{item2.goods_amount_format}}</p> <p class="fl">商品金额:{{item2.goods_amount_format}}</p>
</div> </div>
</div> </div>
...@@ -162,8 +162,12 @@ ...@@ -162,8 +162,12 @@
} }
}) })
}, },
toUrl(url){ toUrl(url,goods_id){
window.location.href=url
if(goods_id!=0){
window.location.href=url
}
}, },
tabChange(index) { tabChange(index) {
this.tab = index this.tab = index
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<meta name="x5-page-mode" content="app"> <meta name="x5-page-mode" content="app">
<meta name="keywords" content="电子元器件,ic交易网,电子元件,元器件,电子元件商城,IC芯片,猎芯网"> <meta name="keywords" content="电子元器件,ic交易网,电子元件,元器件,电子元件商城,IC芯片,猎芯网">
<meta name="description" content="猎芯网(www.Ichunt.com)是国内外知名的买电子元器件、电子元件、元器件采购商城平台,IC交易网站。为客户提供电子元器件现货批发采购,IC采购,进口报关,元器件寄售,供应链金融等一站式电子元器件采购服务"> <meta name="description" content="猎芯网(www.Ichunt.com)是国内外知名的买电子元器件、电子元件、元器件采购商城平台,IC交易网站。为客户提供电子元器件现货批发采购,IC采购,进口报关,元器件寄售,供应链金融等一站式电子元器件采购服务">
<link rel="icon" href="//static.leixin.com/favicon.ico"> <link rel="icon" href="//szh5static.ichunt.com/favicon.ico">
<link rel="stylesheet" href="/v3/dist/res/m/css/font/iconfont.css"> <link rel="stylesheet" href="/v3/dist/res/m/css/font/iconfont.css">
<link rel="stylesheet" href="/v3/dist/res/m/css/font2/iconfont.css"> <link rel="stylesheet" href="/v3/dist/res/m/css/font2/iconfont.css">
<script type="text/javascript" src="/h5/view/get_time.php"></script> <script type="text/javascript" src="/h5/view/get_time.php"></script>
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
</script> </script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js" type="text/javascript" charset="utf-8"></script> <script src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js" type="text/javascript" charset="utf-8"></script>
<script src="https://qzonestyle.gtimg.cn/qzone/qzact/common/share/share.js" type="text/javascript" charset="utf-8"></script> <script src="https://qzonestyle.gtimg.cn/qzone/qzact/common/share/share.js" type="text/javascript" charset="utf-8"></script>
<script src="//static.leixin.com/static/js/flexible.min.js" type="text/javascript" charset="utf-8"></script> <script src="//szh5static.ichunt.com/static/js/flexible.min.js" type="text/javascript" charset="utf-8"></script>
<script src="//static.leixin.com/static/js/shence.min.js" type="text/javascript" charset="utf-8"></script> <script src="//szh5static.ichunt.com/static/js/shence.min.js" type="text/javascript" charset="utf-8"></script>
<link href="//static.leixin.com/0.js" rel="prefetch"><link href="//static.leixin.com/1.js" rel="prefetch"><link href="//static.leixin.com/10.js" rel="prefetch"><link href="//static.leixin.com/11.js" rel="prefetch"><link href="//static.leixin.com/12.js" rel="prefetch"><link href="//static.leixin.com/13.js" rel="prefetch"><link href="//static.leixin.com/14.js" rel="prefetch"><link href="//static.leixin.com/15.js" rel="prefetch"><link href="//static.leixin.com/16.js" rel="prefetch"><link href="//static.leixin.com/17.js" rel="prefetch"><link href="//static.leixin.com/18.js" rel="prefetch"><link href="//static.leixin.com/19.js" rel="prefetch"><link href="//static.leixin.com/2.js" rel="prefetch"><link href="//static.leixin.com/20.js" rel="prefetch"><link href="//static.leixin.com/21.js" rel="prefetch"><link href="//static.leixin.com/22.js" rel="prefetch"><link href="//static.leixin.com/23.js" rel="prefetch"><link href="//static.leixin.com/24.js" rel="prefetch"><link href="//static.leixin.com/25.js" rel="prefetch"><link href="//static.leixin.com/26.js" rel="prefetch"><link href="//static.leixin.com/27.js" rel="prefetch"><link href="//static.leixin.com/28.js" rel="prefetch"><link href="//static.leixin.com/29.js" rel="prefetch"><link href="//static.leixin.com/3.js" rel="prefetch"><link href="//static.leixin.com/30.js" rel="prefetch"><link href="//static.leixin.com/31.js" rel="prefetch"><link href="//static.leixin.com/32.js" rel="prefetch"><link href="//static.leixin.com/33.js" rel="prefetch"><link href="//static.leixin.com/34.js" rel="prefetch"><link href="//static.leixin.com/35.js" rel="prefetch"><link href="//static.leixin.com/36.js" rel="prefetch"><link href="//static.leixin.com/37.js" rel="prefetch"><link href="//static.leixin.com/38.js" rel="prefetch"><link href="//static.leixin.com/39.js" rel="prefetch"><link href="//static.leixin.com/4.js" rel="prefetch"><link href="//static.leixin.com/40.js" rel="prefetch"><link href="//static.leixin.com/41.js" rel="prefetch"><link href="//static.leixin.com/42.js" rel="prefetch"><link href="//static.leixin.com/43.js" rel="prefetch"><link href="//static.leixin.com/44.js" rel="prefetch"><link href="//static.leixin.com/45.js" rel="prefetch"><link href="//static.leixin.com/46.js" rel="prefetch"><link href="//static.leixin.com/47.js" rel="prefetch"><link href="//static.leixin.com/48.js" rel="prefetch"><link href="//static.leixin.com/49.js" rel="prefetch"><link href="//static.leixin.com/5.js" rel="prefetch"><link href="//static.leixin.com/50.js" rel="prefetch"><link href="//static.leixin.com/51.js" rel="prefetch"><link href="//static.leixin.com/52.js" rel="prefetch"><link href="//static.leixin.com/53.js" rel="prefetch"><link href="//static.leixin.com/54.js" rel="prefetch"><link href="//static.leixin.com/55.js" rel="prefetch"><link href="//static.leixin.com/56.js" rel="prefetch"><link href="//static.leixin.com/57.js" rel="prefetch"><link href="//static.leixin.com/58.js" rel="prefetch"><link href="//static.leixin.com/59.js" rel="prefetch"><link href="//static.leixin.com/6.js" rel="prefetch"><link href="//static.leixin.com/60.js" rel="prefetch"><link href="//static.leixin.com/61.js" rel="prefetch"><link href="//static.leixin.com/62.js" rel="prefetch"><link href="//static.leixin.com/63.js" rel="prefetch"><link href="//static.leixin.com/64.js" rel="prefetch"><link href="//static.leixin.com/7.js" rel="prefetch"><link href="//static.leixin.com/8.js" rel="prefetch"><link href="//static.leixin.com/9.js" rel="prefetch"><link href="//static.leixin.com/app.js" rel="preload" as="script"></head> <link href="//szh5static.ichunt.com/0.js" rel="prefetch"><link href="//szh5static.ichunt.com/1.js" rel="prefetch"><link href="//szh5static.ichunt.com/10.js" rel="prefetch"><link href="//szh5static.ichunt.com/11.js" rel="prefetch"><link href="//szh5static.ichunt.com/12.js" rel="prefetch"><link href="//szh5static.ichunt.com/13.js" rel="prefetch"><link href="//szh5static.ichunt.com/14.js" rel="prefetch"><link href="//szh5static.ichunt.com/15.js" rel="prefetch"><link href="//szh5static.ichunt.com/16.js" rel="prefetch"><link href="//szh5static.ichunt.com/17.js" rel="prefetch"><link href="//szh5static.ichunt.com/18.js" rel="prefetch"><link href="//szh5static.ichunt.com/19.js" rel="prefetch"><link href="//szh5static.ichunt.com/2.js" rel="prefetch"><link href="//szh5static.ichunt.com/20.js" rel="prefetch"><link href="//szh5static.ichunt.com/21.js" rel="prefetch"><link href="//szh5static.ichunt.com/22.js" rel="prefetch"><link href="//szh5static.ichunt.com/23.js" rel="prefetch"><link href="//szh5static.ichunt.com/24.js" rel="prefetch"><link href="//szh5static.ichunt.com/25.js" rel="prefetch"><link href="//szh5static.ichunt.com/26.js" rel="prefetch"><link href="//szh5static.ichunt.com/27.js" rel="prefetch"><link href="//szh5static.ichunt.com/28.js" rel="prefetch"><link href="//szh5static.ichunt.com/29.js" rel="prefetch"><link href="//szh5static.ichunt.com/3.js" rel="prefetch"><link href="//szh5static.ichunt.com/30.js" rel="prefetch"><link href="//szh5static.ichunt.com/31.js" rel="prefetch"><link href="//szh5static.ichunt.com/32.js" rel="prefetch"><link href="//szh5static.ichunt.com/33.js" rel="prefetch"><link href="//szh5static.ichunt.com/34.js" rel="prefetch"><link href="//szh5static.ichunt.com/35.js" rel="prefetch"><link href="//szh5static.ichunt.com/36.js" rel="prefetch"><link href="//szh5static.ichunt.com/37.js" rel="prefetch"><link href="//szh5static.ichunt.com/38.js" rel="prefetch"><link href="//szh5static.ichunt.com/39.js" rel="prefetch"><link href="//szh5static.ichunt.com/4.js" rel="prefetch"><link href="//szh5static.ichunt.com/40.js" rel="prefetch"><link href="//szh5static.ichunt.com/41.js" rel="prefetch"><link href="//szh5static.ichunt.com/42.js" rel="prefetch"><link href="//szh5static.ichunt.com/43.js" rel="prefetch"><link href="//szh5static.ichunt.com/44.js" rel="prefetch"><link href="//szh5static.ichunt.com/45.js" rel="prefetch"><link href="//szh5static.ichunt.com/46.js" rel="prefetch"><link href="//szh5static.ichunt.com/47.js" rel="prefetch"><link href="//szh5static.ichunt.com/48.js" rel="prefetch"><link href="//szh5static.ichunt.com/49.js" rel="prefetch"><link href="//szh5static.ichunt.com/5.js" rel="prefetch"><link href="//szh5static.ichunt.com/50.js" rel="prefetch"><link href="//szh5static.ichunt.com/51.js" rel="prefetch"><link href="//szh5static.ichunt.com/52.js" rel="prefetch"><link href="//szh5static.ichunt.com/53.js" rel="prefetch"><link href="//szh5static.ichunt.com/54.js" rel="prefetch"><link href="//szh5static.ichunt.com/55.js" rel="prefetch"><link href="//szh5static.ichunt.com/56.js" rel="prefetch"><link href="//szh5static.ichunt.com/57.js" rel="prefetch"><link href="//szh5static.ichunt.com/58.js" rel="prefetch"><link href="//szh5static.ichunt.com/59.js" rel="prefetch"><link href="//szh5static.ichunt.com/6.js" rel="prefetch"><link href="//szh5static.ichunt.com/60.js" rel="prefetch"><link href="//szh5static.ichunt.com/61.js" rel="prefetch"><link href="//szh5static.ichunt.com/62.js" rel="prefetch"><link href="//szh5static.ichunt.com/63.js" rel="prefetch"><link href="//szh5static.ichunt.com/64.js" rel="prefetch"><link href="//szh5static.ichunt.com/7.js" rel="prefetch"><link href="//szh5static.ichunt.com/8.js" rel="prefetch"><link href="//szh5static.ichunt.com/9.js" rel="prefetch"><link href="//szh5static.ichunt.com/app.js" rel="preload" as="script"></head>
<body class="boxsiz"> <body class="boxsiz">
<noscript> <noscript>
<strong>网站出现了一点小问题,正在紧急修复中.......</strong> <strong>网站出现了一点小问题,正在紧急修复中.......</strong>
...@@ -280,5 +280,5 @@ ...@@ -280,5 +280,5 @@
sensors.quick('autoTrack'); sensors.quick('autoTrack');
} }
</script> </script>
<script type="text/javascript" src="//static.leixin.com/app.js"></script></body> <script type="text/javascript" src="//szh5static.ichunt.com/app.js"></script></body>
</html> </html>
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 sign in to comment