Commit 0369d346 authored by haitao's avatar haitao

fd

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