Commit d51b6c85 by 肖康

复制BUG

parent 7b308e67
html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html *{outline:0;-webkit-text-size-adjust:none !important;-webkit-tap-highlight-color:transparent !important}html,body{font-family:sans-serif;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f8f8f8}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,menu,nav,section{margin:0;padding:0}button,input,select,textarea{font-size:100%;border:none;-webkit-appearance:none}input[type=button],input[type=file],input[type=submit]{cursor:pointer}table{border-collapse:collapse;border-spacing:0}ol,ul,dl{list-style:none}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:500}em,b,i{font-style:normal}a{text-decoration:none}img{border:none}.clr{*zoom:1;clear:both}.clr:after{content:".";clear:both;height:0;visibility:hidden;display:block}.fl{float:left;_display:inline}.f-orange{color:#FF693D !important}.fr{float:right;_display:inline}.va-t{vertical-align:top}.va-m{vertical-align:middle}.va-b{vertical-align:bottom}.i-hide{display:none}.i-show{display:block}.lineBlock{display:inline-block;*display:inline;zoom:1;letter-spacing:normal;word-spacing:normal}.lbBox{font-size:0 !important;*word-spacing:-1px !important}.boxsiz{-webkit-box-sizing:border-box;box-sizing:border-box}html,body{width:100%;height:100%;-webkit-overflow-scrolling:touch}body{overflow-x:hidden}.f-blue{color:#1080d0}.f-red{color:#ff0000}.f-999{color:#999}.f-333{color:#666}.fw{font-weight:bold}.ta-c{text-align:center}.ta-l{text-align:left}.ta-r{text-align:right}.mt-10{margin-top:10px}.emptys{margin-left:-1px;width:1px;height:100%;font-size:0;vertical-align:middle}@media (min-width: 750px){html{background:rgba(0,0,0,0.5)}html body{max-width:480px;margin:0 auto;background:#fff}html body .main-interface .container-wrap::-webkit-scrollbar{width:10px;height:11px}html body .main-interface .container-wrap::-webkit-scrollbar-thumb{background-color:#ffffff;box-shadow:0px 0px 0px 0px rgba(73,73,73,0.92);border-radius:10px;border:solid 1px #e5e5e5;padding:2px}html body .main-interface .container-wrap::-webkit-scrollbar-track{background-color:#eeeeee;box-shadow:inset 1px 3px 5px 0px rgba(192,186,186,0.75);border-radius:10px}}.column{display:flex;flex-direction:column}.row{display:flex;flex-direction:row}.boxsiz{-webkit-box-sizing:border-box;box-sizing:border-box}.bothSide{justify-content:space-between}.avarage{justify-content:space-around}.rowCenter{justify-content:center}.verCenter{align-items:center}.boxFlex{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}
html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html *{outline:0;-webkit-text-size-adjust:none !important;-webkit-tap-highlight-color:transparent !important}html,body{font-family:PingFangSC-Regular,PingFang SC "Microsoft Yahei",sans-serif;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f8f8f8}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,menu,nav,section{margin:0;padding:0}button,input,select,textarea{font-size:100%;border:none;-webkit-appearance:none}input[type=button],input[type=file],input[type=submit]{cursor:pointer}table{border-collapse:collapse;border-spacing:0}ol,ul,dl{list-style:none}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:500}em,b,i{font-style:normal}a{text-decoration:none}img{border:none}.clr{*zoom:1;clear:both}.clr:after{content:".";clear:both;height:0;visibility:hidden;display:block}.fl{float:left;_display:inline}.f-orange{color:#FF693D !important}.fr{float:right;_display:inline}.va-t{vertical-align:top}.va-m{vertical-align:middle}.va-b{vertical-align:bottom}.i-hide{display:none}.i-show{display:block}.lineBlock{display:inline-block;*display:inline;zoom:1;letter-spacing:normal;word-spacing:normal}.lbBox{font-size:0 !important;*word-spacing:-1px !important}.boxsiz{-webkit-box-sizing:border-box;box-sizing:border-box}html,body{width:100%;height:100%;-webkit-overflow-scrolling:touch}body{overflow-x:hidden}.f-blue{color:#1080d0}.f-red{color:#ff0000}.f-999{color:#999}.f-333{color:#666}.fw{font-weight:bold}.ta-c{text-align:center}.ta-l{text-align:left}.ta-r{text-align:right}.mt-10{margin-top:10px}.emptys{margin-left:-1px;width:1px;height:100%;font-size:0;vertical-align:middle}@media (min-width: 750px){html{background:rgba(0,0,0,0.5)}html body{max-width:480px;margin:0 auto;background:#fff}html body .main-interface .container-wrap::-webkit-scrollbar{width:10px;height:11px}html body .main-interface .container-wrap::-webkit-scrollbar-thumb{background-color:#ffffff;box-shadow:0px 0px 0px 0px rgba(73,73,73,0.92);border-radius:10px;border:solid 1px #e5e5e5;padding:2px}html body .main-interface .container-wrap::-webkit-scrollbar-track{background-color:#eeeeee;box-shadow:inset 1px 3px 5px 0px rgba(192,186,186,0.75);border-radius:10px}}.column{display:flex;flex-direction:column}.row{display:flex;flex-direction:row}.boxsiz{-webkit-box-sizing:border-box;box-sizing:border-box}.bothSide{justify-content:space-between}.avarage{justify-content:space-around}.rowCenter{justify-content:center}.verCenter{align-items:center}.boxFlex{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}
......@@ -10,7 +10,8 @@ html * {
}
html, body {
font-family: sans-serif;
font-family: PingFangSC-Regular, PingFang SC'Microsoft Yahei',sans-serif;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
......
......@@ -28,29 +28,15 @@
&.kfgh{
margin-right: 0.61rem;
}
&.kfgh::before{
content:"";
position: absolute;
border-width: 5px;
border-style: solid;
border-color:transparent transparent #fff transparent ;
bottom: 0.44rem;
left: 0.15rem;
}
span{
position: absolute;
height:0.4rem;
width:1.45rem;
line-height: 0.4rem;
text-align: center;
color:#6f6f6f;
font-size: 10px;
background: #fff;
border: 1px solid #E1E8F2;
width:55px;
height:23px;
bottom:0px;
left:-0.5rem;
left:-0.4rem;
background: url(../../images/user/userindexkf.png) no-repeat;
background-size: 100% 100%;
}
@media screen and (max-width: 320px) {
span{
......@@ -100,11 +86,12 @@
}
}
.o-group{
margin-top:0.93rem;
margin-top:0.73rem;
.item{
width:20%;
text-align: center;
font-size:12px;
font-weight: 500;
color:#6f6f6f;
position: relative;
span{
......@@ -161,7 +148,10 @@
color:#6f6f6f;
}
font-size: 12px;
i{font-size: 30px;}
font-weight: 400;
i{font-size: 30px;color:#808080;}
}
}
......
.user-index .customer-service{display:none}.user-index .header{background:#fff}.user-index .header .banner{width:10rem;height:2.78rem;background:url(../../images/user/htb.png) no-repeat;background-size:100%;padding-top:.55rem}.user-index .header .banner img{height:1.55rem;width:1.55rem;margin-left:.45rem}.user-index .header .banner .usernamelk{margin-left:.37rem;height:1.55rem;line-height:1.55rem;color:#333;font-size:18px;width:5.4rem}.user-index .header .banner a{position:relative;height:1.55rem;line-height:1.55rem;margin-right:.41rem;color:#333}.user-index .header .banner a.kfgh{margin-right:.61rem}.user-index .header .banner a.kfgh::before{content:"";position:absolute;border-width:5px;border-style:solid;border-color:transparent transparent #fff transparent;bottom:.44rem;left:.15rem}.user-index .header .banner a span{position:absolute;height:.4rem;width:1.45rem;line-height:.4rem;text-align:center;color:#6f6f6f;font-size:10px;background:#fff;border:1px solid #E1E8F2;bottom:0px;left:-0.5rem}@media screen and (max-width:320px){.user-index .header .banner a span{width:1.55rem}}.user-index .header .banner a i{font-size:22px}.user-index .header .link-con .item{width:25%;text-align:center}.user-index .header .link-con .item span{font-size:14px;color:#333;display:block}.user-index .header .link-con .item font{margin-top:.1rem;display:block;font-size:12px;color:#6F6F6F}.user-index .header .orders-con{width:9.67rem;height:4.53rem;background:#FFFFFF;box-shadow:.01rem .01rem .24rem .01rem rgba(120,140,177,0.5);border-radius:.05rem 0 0 0;margin:0 auto;font-size:12px;color:#6f6f6f;margin-top:.57rem}.user-index .header .orders-con .title-o{color:#333;font-size:16px;padding:.33rem}.user-index .header .orders-con .title-o a{color:#a4a4a4;font-size:12px}.user-index .header .orders-con .title-o a i{font-size:12px;margin-left:.2rem}.user-index .header .orders-con .o-group{margin-top:.93rem}.user-index .header .orders-con .o-group .item{width:20%;text-align:center;font-size:12px;color:#6f6f6f;position:relative}.user-index .header .orders-con .o-group .item span{position:absolute;width:.72rem;height:.49rem;text-align:center;line-height:.42rem;right:4px;top:-10px;background:url(../../images/user/duihua.png) no-repeat;background-size:100% 100%;font-size:10px;color:#FF693D}.user-index .header .orders-con .o-group .item img{width:.93rem;height:.93rem;display:block;margin:0 auto;margin-bottom:.28rem}.user-index .wl-box{height:1.22rem;padding:.53rem .88rem;font-size:12px;color:#6f6f6f;display:block;background:#f8f8f8;border:1px solid #ececec}.user-index .wl-box p{height:.6rem;line-height:.6rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-index .wl-box.nowl{height:1.62rem;text-align:center}.user-index .wl-box.nowl a{color:#1969F9}.user-index .wl-box img{width:1.23rem;height:1.23rem;margin:0 auto;display:block;margin-bottom:.1rem}.user-index .bottom{width:10rem;height:2.2rem;background:#fff;border-bottom:1px solid #ececec}.user-index .bottom .b-group{padding:.45rem 0;height:1.3rem;text-align:center;color:#6f6f6f;font-size:12px}.user-index .bottom .b-group .item{width:25%;color:#6f6f6f}.user-index .bottom .b-group i{font-size:30px}
\ No newline at end of file
.user-index .customer-service{display:none}.user-index .header{background:#fff}.user-index .header .banner{width:10rem;height:2.78rem;background:url(../../images/user/htb.png) no-repeat;background-size:100%;padding-top:.55rem}.user-index .header .banner img{height:1.55rem;width:1.55rem;margin-left:.45rem}.user-index .header .banner .usernamelk{margin-left:.37rem;height:1.55rem;line-height:1.55rem;color:#333;font-size:18px;width:5.4rem}.user-index .header .banner a{position:relative;height:1.55rem;line-height:1.55rem;margin-right:.41rem;color:#333}.user-index .header .banner a.kfgh{margin-right:.61rem}.user-index .header .banner a span{position:absolute;width:55px;height:23px;bottom:0px;left:-0.4rem;background:url(../../images/user/userindexkf.png) no-repeat;background-size:100% 100%}@media screen and (max-width:320px){.user-index .header .banner a span{width:1.55rem}}.user-index .header .banner a i{font-size:22px}.user-index .header .link-con .item{width:25%;text-align:center}.user-index .header .link-con .item span{font-size:14px;color:#333;display:block}.user-index .header .link-con .item font{margin-top:.1rem;display:block;font-size:12px;color:#6F6F6F}.user-index .header .orders-con{width:9.67rem;height:4.53rem;background:#FFFFFF;box-shadow:.01rem .01rem .24rem .01rem rgba(120,140,177,0.5);border-radius:.05rem 0 0 0;margin:0 auto;font-size:12px;color:#6f6f6f;margin-top:.57rem}.user-index .header .orders-con .title-o{color:#333;font-size:16px;padding:.33rem}.user-index .header .orders-con .title-o a{color:#a4a4a4;font-size:12px}.user-index .header .orders-con .title-o a i{font-size:12px;margin-left:.2rem}.user-index .header .orders-con .o-group{margin-top:.73rem}.user-index .header .orders-con .o-group .item{width:20%;text-align:center;font-size:12px;font-weight:500;color:#6f6f6f;position:relative}.user-index .header .orders-con .o-group .item span{position:absolute;width:.72rem;height:.49rem;text-align:center;line-height:.42rem;right:4px;top:-10px;background:url(../../images/user/duihua.png) no-repeat;background-size:100% 100%;font-size:10px;color:#FF693D}.user-index .header .orders-con .o-group .item img{width:.93rem;height:.93rem;display:block;margin:0 auto;margin-bottom:.28rem}.user-index .wl-box{height:1.22rem;padding:.53rem .88rem;font-size:12px;color:#6f6f6f;display:block;background:#f8f8f8;border:1px solid #ececec}.user-index .wl-box p{height:.6rem;line-height:.6rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-index .wl-box.nowl{height:1.62rem;text-align:center}.user-index .wl-box.nowl a{color:#1969F9}.user-index .wl-box img{width:1.23rem;height:1.23rem;margin:0 auto;display:block;margin-bottom:.1rem}.user-index .bottom{width:10rem;height:2.2rem;background:#fff;border-bottom:1px solid #ececec}.user-index .bottom .b-group{padding:.45rem 0;height:1.3rem;text-align:center;color:#6f6f6f;font-size:12px;font-weight:400}.user-index .bottom .b-group .item{width:25%;color:#6f6f6f}.user-index .bottom .b-group i{font-size:30px;color:#808080}
\ No newline at end of file
......@@ -7,7 +7,7 @@
<img v-else src="https://static.ichunt.com/dist/res/home/images/headimg/boy9.png" alt="猎芯网">
<div class="usernamelk">{{userInfo.user_info.user_name||userInfo.user_info.mobile}}</div>
<a href="/h5/view/#/settings"><i class="icon iconfont" >&#xe649;</i></a>
<a class="kfgh" @click="kfgo"><i class="icon iconfont" >&#xe640;</i><span>我的客服</span></a>
<a class="kfgh" @click="kfgo"><i class="icon iconfont" >&#xe640;</i><span></span></a>
</template>
</div>
<div class="link-con clr">
......@@ -32,23 +32,27 @@
<div class="title-o clr">我的订单 <a href="/h5/view/#/userOrder" class="fr">查看全部<i class="icon iconfont" >&#xe6d5;</i></a></div>
<div class="o-group clr">
<a class="item fl" href="/h5/view/#/userOrder?status=2">
<span>{{orderCounts['2']}}</span>
<span v-if="orderCounts['2']">{{orderCounts['2']}}</span>
<img src="../../assets/images/user/q1.png" alt="">
<p>待付款</p>
</a>
<a class="item fl" href="/h5/view/#/userOrder?status=3">
<span v-if="orderCounts['3']">{{orderCounts['3']}}</span>
<img src="../../assets/images/user/q2.png" alt="">
<p>待付尾款</p>
</a>
<a class="item fl" href="/h5/view/#/userOrder?status=4">
<span v-if="orderCounts['4']">{{orderCounts['4']}}</span>
<img src="../../assets/images/user/q3.png" alt="">
<p>待发货</p>
</a>
<a class="item fl" href="/h5/view/#/userOrder?status=7">
<span v-if="orderCounts['7']">{{orderCounts['7']}}</span>
<img src="../../assets/images/user/q4.png" alt="">
<p>部分发货</p>
</a>
<a class="item fl" href="/h5/view/#/userOrder?status=8">
<span v-if="orderCounts['8']">{{orderCounts['8']}}</span>
<img src="../../assets/images/user/q5.png" alt="">
<p>待收货</p>
</a>
......@@ -67,10 +71,7 @@
</div>
<div class="bottom" ref="bottom">
<div class="b-group clr">
<a class="item fl" href="/h5/view/#/settings">
<i class="icon iconfont" >&#xe649;</i>
<p>账号设置</p>
</a>
<a class="item fl" href="/h5/view/#/inqueryList">
<i class="icon iconfont" >&#xe64b;</i>
<p>我的询价单</p>
......@@ -79,6 +80,10 @@
<i class="icon iconfont" >&#xe647;</i>
<p>快速找料</p>
</a>
<a class="item fl" href="/h5/view/#/message">
<i class="icon iconfont" >&#xe64c;</i>
<p>我的消息</p>
</a>
<a class="item fl" href="/h5/view/#/shiplist">
<i class="icon iconfont" >&#xe648;</i>
<p>物流查询</p>
......
<template>
<section class="order">
<textarea id="domainxk" style="position:absolute;top:-9999px;">{{copyOrderSn}}</textarea>
<textarea id="domainxk" style="position:absolute;top:-9999px;" >{{copyOrderSn}}</textarea>
<!-- 弹出层 -->
<van-popup v-model="isPopShow" position="bottom">
<van-datetime-picker @cancel="cancelPicker" @confirm="confirmPicker" v-model="pickerTimeVal"
......@@ -21,10 +21,10 @@
</van-tabs>
</div>
<div class="o-list" v-if="currentList.length>0">
<div class="list-group van-hairline--surround" v-for="item in currentList">
<div class="list-group van-hairline--surround" @click="toDetail(item.order_id,item.status)" v-for="item in currentList">
<div class="l-h clr">
<a class="fl" :href="'/h5/view/#/orderDetail?order_id='+item.order_id+'&status='+item.status">订单号:{{item.order_sn}}</a>
<span class="fl" @click="copy(item.order_sn)">复制</span>
<a class="fl" >订单号:{{item.order_sn}}</a>
<span class="fl" @click.stop="copy(item.order_sn)">复制</span>
<p class="fl">{{item.create_time}}</p>
<font class="fr "
......@@ -33,10 +33,9 @@
</div>
<div class="l-c van-hairline--surround">
<div class="goods-group van-hairline--top" v-for="item2 in item.list">
<a class="fl van-ellipsis" v-if="(item2.goods_type==1||item2.goods_type==2)"
:href="'https://m.ichunt.com/goods_'+item2.goods_id+'.html'">{{item2.goods_name}}</a>
<a class="fl van-ellipsis" v-else
:href="'https://m.ichunt.com/item/'+item2.goods_id+'.html'">{{item2.goods_name}}</a>
<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)"
>{{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>
<p class="fl">商品金额:{{item2.goods_amount_format}}</p>
</div>
</div>
......@@ -51,15 +50,15 @@
</p>
</div>
<div class="btn-boxs clr">
<div class="btn fr" @click="nowPay(item.order_id)" v-if="item.status==2||item.status==3">立即支付</div>
<div class="btn fr" v-if="item.status==10||item.status==-1" @click="rebuy(item.order_id)">再次购买</div>
<div class="btn fr" v-if="item.status==4" @click="sendTip(item.order_sn,item.user_id)">提醒发货</div>
<div class="btn btn-lk fr" @click="downpd(item.order_id)" v-if="item.status!=1">下载合同</div>
<div class="btn fr" @click.stop="nowPay(item.order_id)" v-if="item.status==2||item.status==3">立即支付</div>
<div class="btn fr" v-if="item.status==10||item.status==-1" @click.stop="rebuy(item.order_id)">再次购买</div>
<div class="btn fr" v-if="item.status==4" @click.stop="sendTip(item.order_sn,item.user_id)">提醒发货</div>
<div class="btn btn-lk fr" @click.stop="downpd(item.order_id)" v-if="item.status!=1">下载合同</div>
<div class="btn fr btn-default" v-if="item.status==7||item.status==8||item.status==10"
@click="ship(item.order_id,item.order_sn)">查看物流</div>
@click.stop="ship(item.order_id,item.order_sn)">查看物流</div>
<div class="btn fr btn-default" v-if="item.status==2||item.status==1"
@click="cancelOrder(item.order_id)">取消订单</div>
<div class="btn fr" v-if="item.status==8" @click="sureSend(item.order_id)">确认收货</div>
@click.stop="cancelOrder(item.order_id)">取消订单</div>
<div class="btn fr" v-if="item.status==8" @click.stop="sureSend(item.order_id)">确认收货</div>
</div>
</div>
</div>
......@@ -263,6 +262,18 @@
status == 8 ? 6 : (status == 10 ? 7 : (status == -1 ? 8 : 0))))))
this.tab = index;
},
toDetail(order_id,status){
this.$router.push({
path: '/orderDetail',
query: {
status: status,
order_id:order_id
}
})
},
toUrl(url){
window.location.href=url
},
tabChange(index) {
this.tab = index
var status = index == 1 ? 1 : (index == 2 ? 2 : index == 3 ? 3 : (index == 4 ? 4 : (index == 5 ? 7 : (
......@@ -290,6 +301,7 @@
var copyobject = document.getElementById("domainxk");
copyobject.select();
document.execCommand("Copy");
copyobject.blur()
Toast('复制成功');
})
},
......
......@@ -27,12 +27,17 @@
</span>
</div>
<div class="t2-gro clr">
<span class="fl">下单时间 </span>
<span class="fr">{{orderDetailInfo.create_time}}</span>
<span class="fl">应付金额</span>
<span class="fr f-orange fw">{{orderDetailInfo.topay_amount_format}}</span>
</div>
</div>
<div class="t3-box" v-show="isShowMore">
<div class="t2-gro clr">
<span class="fl">下单时间 </span>
<span class="fr">{{orderDetailInfo.create_time}}</span>
</div>
<div class="t2-gro clr">
<span class="fl">交货地点</span>
<span class="fr">{{orderDetailInfo.delivery_place==1?'国内交货':'香港交货'}}</span>
</div>
......@@ -54,10 +59,7 @@
class="fr f-orange">{{orderDetailInfo.activity_price_format?orderDetailInfo.activity_price_format:orderDetailInfo.preferential_price_format}}</span>
</div>
<div class="t2-gro clr">
<span class="fl">应付金额</span>
<span class="fr f-orange fw">{{orderDetailInfo.topay_amount_format}}</span>
</div>
<div class="t2-gro clr">
<span class="fl">交易成功获得积分</span>
<span class="fr ">{{orderDetailInfo.mkt_point}}</span>
......@@ -171,6 +173,7 @@
var copyobject = document.getElementById("domainxk");
copyobject.select();
document.execCommand("Copy");
copyobject.blur()
Toast('复制成功');
})
},
......
......@@ -20,8 +20,8 @@
<div class="o-list" v-if="currentList.length>0">
<div class="list-group van-hairline--surround" v-for="item in currentList">
<div class="l-h clr">
<a class="fl" :href="'/h5/view/#/orderDetail?order_id='+item.order_id+'&status='+item.status">订单号:{{item.order_sn}}</a>
<span class="fl" @click="copy(item.order_sn)">复制</span>
<a class="fl" @click="toDetail(item.order_id,item.status)">订单号:{{item.order_sn}}</a>
<span class="fl" @click.stop="copy(item.order_sn)">复制</span>
<p class="fl">{{item.create_time}}</p>
<font class="fr "
......@@ -30,10 +30,9 @@
</div>
<div class="l-c van-hairline--surround">
<div class="goods-group van-hairline--top" v-for="item2 in item.list">
<a class="fl van-ellipsis" v-if="(item2.goods_type==1||item2.goods_type==2)"
:href="'https://m.ichunt.com/goods_'+item2.goods_id+'.html'">{{item2.goods_name}}</a>
<a class="fl van-ellipsis" v-else
:href="'https://m.ichunt.com/item/'+item2.goods_id+'.html'">{{item2.goods_name}}</a>
<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)"
>{{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>
<p class="fl">商品金额:{{item2.goods_amount_format}}</p>
</div>
</div>
......@@ -46,10 +45,10 @@
</div>
<div class="btn-boxs clr">
<div class="btn btn-lk fr" @click="downpd(item.order_id)" v-if="item.status!=1">下载合同</div>
<div class="btn btn-lk fr" @click.stop="downpd(item.order_id)" v-if="item.status!=1">下载合同</div>
<div class="btn fr btn-default" v-if="item.status==7||item.status==8||item.status==10"
@click="ship(item.order_id,item.order_sn)">查看物流</div>
<div class="btn fr" v-if="item.status==8" @click="sureSend(item.order_id)">确认收货</div>
@click.stop="ship(item.order_id,item.order_sn)">查看物流</div>
<div class="btn fr" v-if="item.status==8" @click.stop="sureSend(item.order_id)">确认收货</div>
</div>
</div>
</div>
......@@ -154,6 +153,18 @@
this.tab = index;
},
toDetail(order_id,status){
this.$router.push({
path: '/orderDetail',
query: {
status: status,
order_id:order_id
}
})
},
toUrl(url){
window.location.href=url
},
tabChange(index) {
this.tab = index
var status = index == 0?8:7;
......@@ -175,6 +186,7 @@
var copyobject = document.getElementById("domainxk");
copyobject.select();
document.execCommand("Copy");
copyobject.blur()
Toast('复制成功');
})
},
......
......@@ -77,6 +77,7 @@
var copyobject = document.getElementById("domainxk");
copyobject.select();
document.execCommand("Copy");
copyobject.blur()
Toast('复制成功');
})
},
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
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