|
|
@@ -71,7 +71,7 @@ Page({
|
|
|
tabUnpay: function () {
|
|
|
if (this.data.type !== 'unpay') {
|
|
|
this.setData({
|
|
|
- tabLeft: '20%',
|
|
|
+ tabLeft: '16.6%',
|
|
|
type: 'unpay',
|
|
|
more: true,
|
|
|
page: 1,
|
|
|
@@ -83,7 +83,7 @@ Page({
|
|
|
tabProcessing: function () {
|
|
|
if (this.data.type !== 'processing') {
|
|
|
this.setData({
|
|
|
- tabLeft: '40%',
|
|
|
+ tabLeft: '33.2%',
|
|
|
type: 'processing',
|
|
|
more: true,
|
|
|
page: 1,
|
|
|
@@ -95,7 +95,7 @@ Page({
|
|
|
tabDispatch: function () {
|
|
|
if (this.data.type !== 'dispatch') {
|
|
|
this.setData({
|
|
|
- tabLeft: '60%',
|
|
|
+ tabLeft: '49.8%',
|
|
|
type: 'dispatch',
|
|
|
more: true,
|
|
|
page: 1,
|
|
|
@@ -104,10 +104,22 @@ Page({
|
|
|
this.getOrderList()
|
|
|
}
|
|
|
},
|
|
|
+ tabComment: function () {
|
|
|
+ if (this.data.type !== 'waitcommen') {
|
|
|
+ this.setData({
|
|
|
+ tabLeft: '66.4%',
|
|
|
+ type: 'waitcommen',
|
|
|
+ more: true,
|
|
|
+ page: 1,
|
|
|
+ tabChange: true
|
|
|
+ })
|
|
|
+ this.getOrderList()
|
|
|
+ }
|
|
|
+ },
|
|
|
tabComplete: function () {
|
|
|
if (this.data.type !== 'complete') {
|
|
|
this.setData({
|
|
|
- tabLeft: '80%',
|
|
|
+ tabLeft: '83%',
|
|
|
type: 'complete',
|
|
|
more: true,
|
|
|
page: 1,
|