Commit 0369d346 authored by haitao's avatar haitao

fd

parent 15a88031
......@@ -6,9 +6,7 @@
},
onLaunch: function() {
// #ifdef APP-PLUS
let cID = plus.push.getClientInfo();
let cID = plus.push.getClientInfo();
this.cid = cID.clientid
// console.log(cid)
......
......@@ -3,8 +3,8 @@
//"appid" : "__UNI__FC9419E",
"appid" : "__UNI__1EA80F1", //这个是 web
"description" : "商家",
"versionName" : "1.0.87",
"versionCode" : 187,
"versionName" : "1.0.88",
"versionCode" : 188,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
......
<template>
<!-- 订单列表页面 -->
<view class="content">
<view class="fl-fx">
<view class="navbar">
<view
v-for="(item, index) in navListTow" :key="index"
class="nav-item"
:class="{current: tabCurrentIndex === index}"
@click="tabClick(index,item)"
>
{{item.status_name}}
</view>
</view>
<scroll-view :scroll-x="true" style="width: 100vw;" :scroll-left="scrleft" :scroll-with-animation="true" >
<view class="ali-c">
<view
v-for="(item, index) in navListTow" :key="index"
class="nav-item"
:class="{current: tabCurrentIndex === index}"
@click="tabClick(index,item)"
>
{{item.status_name}}
</view>
</view>
</scroll-view>
</view>
<view class="orderlist">
<orderItemss @reload="reload" v-for="(item,index) in orderlist" :index='index' :status="status" :dataorder="item" :key="index" ></orderItemss>
</view>
......@@ -46,6 +49,7 @@
is_loading_done: false,
action:'',
isClick:true,//是否能点击
scrleft:0,
};
},
onLoad(options){
......@@ -212,6 +216,7 @@
},
//顶部tab点击 切换数据
tabClick(index,item){
if(this.isClick){
this.tabCurrentIndex = index;
this.page = 0;
......@@ -219,6 +224,7 @@
this.isshowall = true;
this.is_loading_done= false,
this.status = item.status;
this.scrleft = index*45;
this.eleOrderListfun();
}
},
......@@ -292,14 +298,16 @@
}
.navbar{
width: 100vw;
display: flex;
height: 80upx;
line-height: 80upx;
padding: 0 10upx;
background: #fff;
box-shadow: 0 1px 10upx rgba(0,0,0,.06);
position: relative;
z-index: 10;
.nav-item{
min-width: 160upx;
flex: 1;
display: flex;
justify-content: center;
......
......@@ -5,8 +5,8 @@ module.exports = {
isdebug:false,//正式
// isdebug:true,//测试
//isdebug:false,//正式
isdebug:true,//测试
......
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