Browse Source

no message

aXin-0810 9 months ago
parent
commit
0dd93a783d

+ 7 - 1
src/packageMine/pages/salesProfit/index.vue

@@ -43,7 +43,7 @@
       <view class="right" @tap="navToPage(`/packageMine/pages/salesProfit/orderList`)">查看全部</view>
     </view>
     <view class="list-container">
-      <view class="item" v-for="(item, index) in dataList" :key="index">
+      <view class="item" v-for="(item, index) in dataList" :key="index" @click="toDetail(item)">
         <view class="row">
           <view class="label">订单单号</view>
           <view class="value">{{ item.orderId }}</view>
@@ -181,6 +181,12 @@ export default {
         url
       })
     },
+
+    toDetail(item) {
+       this.$navToPage({
+         url: `/packageMaterial/pages/sale/orderDetail?id=${item.orderId}`
+       })
+     },
   },
 }
 

+ 615 - 0
src/packageMine/pages/salesProfit/orderDetail.vue

@@ -0,0 +1,615 @@
+<template>
+  <view class="all-container">
+    <view class="bg"></view>
+    <zj-page-layout
+      :isScroll="true"
+      :hasFooter="true"
+      :refresherTriggered="refresherTriggered"
+      @refresherrefresh="refresherrefresh"
+    >
+      <!-- 状态 -->
+      <view class="status-container">
+        <view class="status">{{ detail ? detail.orderStatusText : '' }}</view>
+      </view>
+      <view class="content-container" v-if="detail">
+        <view class="goods-container card mt30">
+          <view class="common-title">商品信息</view>
+          <view class="item" v-for="(item, index) in detail.pgOrderProducts" :key="index">
+            <view class="main">
+              <image :src="item.imgUrl ? item.imgUrl : require('@/static/images/logo.png')" mode="aspectFill"></image>
+              <view class="info">
+                <view class="name">
+                  <view class="left" v-if="detail.isZl">{{ item.mainName || '' }}</view>
+                  <view class="left" v-else>{{ item.smallName || '' }} {{ item.productName || '' }}</view>
+                  <view class="right">x{{ item.num }}</view>
+                </view>
+                <view class="tags" v-if="!detail.isZl">
+                  <view class="it">{{ item.brandName }}</view>
+                  <!-- <view class="it">家用空调</view> -->
+                </view>
+              </view>
+            </view>
+          </view>
+        </view>
+        <!-- 订单信息 -->
+        <view class="info-container card mt30" v-if="detail.saleOrderId && !detail.pgIncreId">
+          <view class="common-title">订单信息</view>
+          <view>
+            <view class="row">
+              <view class="label">订单编号</view>
+              <view class="value">{{ detail.saleOrderId }}</view>
+              <view v-if="detail && detail.orderStatus !== 'DQD'" class="ctrl" @tap="$copy(detail.saleOrderId)"
+                >复制</view
+              >
+            </view>
+            <view class="row">
+              <view class="label">下单时间</view>
+              <view class="value">{{ detail.saleCreateTime || '' }}</view>
+            </view>
+            <view class="row">
+              <view class="label">订单金额</view>
+              <view class="value">¥{{ detail.saleTotalAmount | priceFilter }}</view>
+            </view>
+            <view class="row">
+              <view class="label">订单备注</view>
+              <view class="value">{{ detail.saleRemark || '' }}</view>
+            </view>
+          </view>
+        </view>
+      </view>
+    </zj-page-layout>
+  </view>
+</template>
+
+<script>
+export default {
+  components: {},
+
+  data() {
+    return {
+      id: null,
+      imageUrl: this.$imageUrl,
+      detail: null,
+      increDetail: null,
+      loadStatus: 1,
+      errorText: '',
+      refresherTriggered: false,
+      curTab: 1,
+      tabList: [
+        { name: '基本信息', value: 1 },
+        { name: '服务信息', value: 2 },
+        { name: '电子支付', value: 3 },
+        { name: '员工结算', value: 4 }
+      ],
+      isOpenGoods: false,
+
+      payList: [], // 支付信息列表
+      settleList: [], // 结算列表
+
+      isShowFeedback: false,
+      feedbackList: [],
+      behavior: ''
+    }
+  },
+
+  async onLoad({ id }) {
+    this.id = id
+  },
+
+  methods: {
+    // 触发下拉刷新
+    async refresherrefresh(e) {
+      this.refresherTriggered = true
+      await this.refreshData()
+    },
+
+    async changeTab(e) {
+      await this.refreshData()
+    },
+
+    async refreshData() {
+      try {
+        await this.getDetail()
+        this.refresherTriggered = false
+      } catch (e) {}
+    },
+
+    // 获取详情
+    getDetail() {
+      return new Promise((resolve, reject) => {
+        this.$api
+          .post('/settlementOrder/detail', {
+            id: this.id
+          })
+          .then(res => {
+            this.detail = res.data
+            resolve(1)
+          })
+          .catch(res => {
+            reject(0)
+          })
+      })
+    }
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+.all-container {
+  position: relative;
+}
+
+.bg {
+  position: absolute;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 300rpx;
+  background: linear-gradient(179.48deg, rgba(200, 224, 251, 1) 0.45%, rgba(247, 247, 247, 1) 98.96%);
+}
+
+.status-container {
+  padding: 30rpx;
+
+  .status {
+    font-size: 36rpx;
+    font-weight: 500;
+
+    text {
+      margin-left: 12rpx;
+    }
+  }
+
+  .time {
+    font-size: 24rpx;
+    color: $sec-font;
+    margin-top: 12rpx;
+  }
+}
+
+.tab-container {
+  margin-bottom: 30rpx;
+}
+
+.card {
+  @include zj-card;
+}
+
+.common-title {
+  font-size: 36rpx;
+  font-weight: 600;
+  padding-bottom: 20rpx;
+}
+
+.common-title2 {
+  padding-bottom: 20rpx;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+
+  .title {
+    font-size: 36rpx;
+    font-weight: 600;
+  }
+
+  .right {
+    font-size: 28rpx;
+    color: $theme-color;
+    display: flex;
+    align-items: center;
+
+    text {
+      font-size: 28rpx;
+      opacity: 0.5;
+    }
+  }
+}
+
+.content-container {
+  padding: 0 30rpx 30rpx;
+}
+
+.user-container {
+  .top {
+    padding: 30rpx;
+
+    .type {
+      display: flex;
+      align-items: center;
+      justify-content: space-between;
+
+      .left {
+        font-size: 36rpx;
+        color: $theme-color;
+        font-weight: 500;
+      }
+
+      .right {
+        font-size: 28rpx;
+        color: $theme-color;
+      }
+    }
+
+    .user {
+      font-weight: 500;
+      margin-top: 20rpx;
+    }
+
+    .address {
+      display: flex;
+      justify-content: space-between;
+      margin-top: 20rpx;
+
+      .text {
+        font-size: 28rpx;
+        flex: 1;
+        margin-right: 20rpx;
+      }
+
+      .ctrl {
+        font-size: 28rpx;
+        color: $theme-color;
+
+        .iconfont {
+          font-size: 28rpx;
+          margin-right: 4rpx;
+        }
+      }
+    }
+  }
+
+  .bottom {
+    border-top: 1px solid #eaeaea;
+    display: flex;
+    height: 80rpx;
+
+    .it {
+      flex: 1;
+      display: flex;
+      align-items: center;
+      justify-content: center;
+      font-size: 28rpx;
+      color: $theme-color;
+
+      &:last-child {
+        border-left: 1px solid #eaeaea;
+      }
+
+      .iconfont {
+        font-size: 36rpx;
+        margin-right: 8rpx;
+      }
+    }
+  }
+}
+
+.goods-container {
+  padding: 30rpx;
+
+  .item {
+    border-bottom: 1px solid #d6e0f2;
+    padding: 20rpx 0;
+
+    &:last-child {
+      border: none;
+    }
+
+    .main {
+      display: flex;
+
+      image {
+        width: 140rpx;
+        height: 140rpx;
+        flex-shrink: 0;
+      }
+
+      .info {
+        flex: 1;
+        margin-left: 20rpx;
+
+        .name {
+          display: flex;
+          justify-content: space-between;
+
+          .left {
+            font-weight: 500;
+          }
+
+          .right {
+            margin-left: 30rpx;
+            color: $sec-font;
+          }
+        }
+
+        .tags {
+          display: flex;
+          flex-wrap: wrap;
+
+          .it {
+            height: 42rpx;
+            padding: 0 16rpx;
+            background: #f4f5f9;
+            border-radius: 8rpx;
+            font-size: 24rpx;
+            display: flex;
+            align-items: center;
+            justify-content: center;
+            margin-top: 12rpx;
+            margin-right: 8rpx;
+
+            &:last-child {
+              margin-right: 0;
+            }
+          }
+        }
+      }
+    }
+
+    .images {
+      display: flex;
+      flex-wrap: wrap;
+      margin-top: 24rpx;
+
+      .it {
+        margin-right: 30rpx;
+
+        image {
+          width: 116rpx;
+          height: 116rpx;
+        }
+
+        .text {
+          text-align: center;
+          color: $sec-font;
+          margin-top: 8rpx;
+        }
+      }
+    }
+  }
+
+  .ctrl {
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    margin-top: 10rpx;
+
+    text {
+      color: $sec-font;
+    }
+
+    .iconfont {
+      font-size: 24rpx;
+      transform: rotate(-90deg);
+      margin-left: 10rpx;
+
+      &.is {
+        transform: rotate(90deg);
+      }
+    }
+  }
+}
+
+.info-container {
+  padding: 30rpx;
+
+  .row {
+    display: flex;
+    margin-top: 20rpx;
+
+    &:first-child {
+      margin-top: 0;
+    }
+
+    .label {
+      font-size: 28rpx;
+      color: $sec-font;
+      margin-right: 20rpx;
+      flex-shrink: 0;
+    }
+
+    .value {
+      font-size: 28rpx;
+    }
+
+    .ctrl {
+      font-size: 28rpx;
+      color: $theme-color;
+      margin-left: 20rpx;
+    }
+  }
+}
+
+.product-container {
+  padding: 30rpx;
+  margin-bottom: 30rpx;
+
+  .row {
+    display: flex;
+
+    .label {
+      font-size: 28rpx;
+      color: $sec-font;
+      margin-right: 20rpx;
+      flex-shrink: 0;
+    }
+
+    .value {
+      font-size: 28rpx;
+      flex: 1;
+    }
+  }
+
+  .product {
+    background: #f5f5f5;
+    border-radius: 12rpx;
+    padding: 20rpx;
+
+    .it {
+      display: flex;
+      align-items: flex-end;
+      margin-bottom: 20rpx;
+
+      .name {
+        flex: 1;
+        font-size: 28rpx;
+        font-weight: 500;
+
+        text {
+          color: $sec-font;
+          margin-left: 12rpx;
+          font-weight: normal;
+        }
+      }
+
+      .price {
+        margin-left: 30rpx;
+        font-size: 28rpx;
+        font-weight: 500;
+      }
+    }
+
+    .total {
+      display: flex;
+      align-items: center;
+      justify-content: flex-end;
+      margin-top: 30rpx;
+
+      .text {
+        font-size: 28rpx;
+        color: $sec-font;
+      }
+
+      .price {
+        font-size: 28rpx;
+        color: $minor-color;
+        font-weight: 500;
+      }
+    }
+  }
+
+  .bottom {
+    margin-top: 20rpx;
+    display: flex;
+    align-items: center;
+    justify-content: space-between;
+
+    .left {
+      font-size: 28rpx;
+      font-weight: 500;
+    }
+
+    .right {
+      display: flex;
+      align-items: center;
+
+      .text {
+        font-size: 28rpx;
+        color: $sec-font;
+      }
+
+      .price {
+        font-size: 28rpx;
+        color: $minor-color;
+        font-weight: 500;
+      }
+    }
+  }
+}
+
+.feedback-container {
+  padding: 30rpx;
+
+  .list {
+    .item {
+      display: flex;
+      padding: 10rpx 0;
+
+      .main {
+        margin-left: 20rpx;
+
+        .name {
+          font-weight: 500;
+          line-height: 32rpx;
+        }
+
+        .time {
+          font-size: 28rpx;
+          margin-top: 12rpx;
+          color: $sec-font;
+          line-height: 32rpx;
+        }
+
+        .content {
+          font-size: 28rpx;
+          margin-top: 12rpx;
+          line-height: 32rpx;
+        }
+      }
+    }
+  }
+}
+
+.bottom-container {
+  padding: 20rpx;
+  display: flex;
+  justify-content: space-between;
+
+  .right {
+    display: flex;
+
+    ::v-deep .u-button {
+      width: 160rpx;
+      margin-left: 20rpx;
+    }
+  }
+}
+
+.feedback-dialog {
+  padding: 30rpx 30rpx 0;
+  .title {
+    margin-bottom: 30rpx;
+    text-align: center;
+    font-weight: 600;
+    font-size: 36rpx;
+  }
+  .content {
+    padding-bottom: 30rpx;
+    max-height: 800rpx;
+    overflow-y: scroll;
+  }
+}
+.imgs {
+  display: flex;
+  flex-wrap: wrap;
+
+  .it {
+    display: flex;
+    flex-direction: column;
+    align-items: center;
+    position: relative;
+    margin-top: 30rpx;
+    margin-right: 30rpx;
+
+    &:nth-child(3n) {
+      margin-right: 0;
+    }
+
+    image {
+      width: 190rpx;
+      height: 190rpx;
+      background: #f4f4f7;
+      border-radius: 20rpx;
+      overflow: hidden;
+    }
+
+    .name {
+      margin-top: 24rpx;
+      color: $sec-font;
+
+      text {
+        color: $minor-color;
+      }
+    }
+  }
+}
+</style>

+ 1 - 1
src/packageMine/pages/salesProfit/orderList.vue

@@ -38,7 +38,7 @@
       </template>
 
       <view class="list-container">
-        <view class="item" v-for="(item, index) in dataList" :key="index">
+        <view class="item" v-for="(item, index) in dataList" :key="index" @click="toDetail(item)">
           <view class="row">
             <view class="label">订单单号</view>
             <view class="value">{{ item.orderId }}</view>

+ 955 - 940
src/pages.json

@@ -1,960 +1,975 @@
 {
   "insetLoader": {
-  	//配置
-  	"config": {
-  		//将需要引入的组件名起了个confirm的名字在下面label中使用
-  		//右侧"<floatButton ref='confirm' />"为需要插入的组件标签
-  		"confirm": "<floatButton ref='confirm' />"
-  	},
-  	// 全局配置
-  	//需要挂在的组件名
-  	"label": ["confirm"],
-  	//根元素的标签类型 也就是插入到页面哪个根元素下默认为div 但是uniapp中需要写为view
-  	"rootEle": "view"
+    //配置
+    "config": {
+      //将需要引入的组件名起了个confirm的名字在下面label中使用
+      //右侧"<floatButton ref='confirm' />"为需要插入的组件标签
+      "confirm": "<floatButton ref='confirm' />"
+    },
+    // 全局配置
+    //需要挂在的组件名
+    "label": ["confirm"],
+    //根元素的标签类型 也就是插入到页面哪个根元素下默认为div 但是uniapp中需要写为view
+    "rootEle": "view"
   },
 
-  "pages": [{
-    "path": "pages/index/index",
-    "style": {
-      "navigationBarTitleText": "首页"
-      // "enablePullDownRefresh": true
-    }
-  },
-  {
-    "path": "pages/bind",
-    "style": {
-      "navigationBarTitleText": "授权绑定"
-    }
-  },
-  {
-    "path": "pages/index/webview",
-    "style": {
-      "navigationBarTitleText": "打开企业微信小程序"
-    }
-  },
-  {
-    "path": "pages/login/index",
-    "style": {
-      "navigationBarTitleText": "登录"
-    }
-  },
-  {
-    "path": "pages/login/indexs",
-    "style": {
-      "navigationBarTitleText": "登录"
-    }
-  },
-  {
-    "path": "pages/goods/index",
-    "style": {
-      "navigationBarTitleText": "商城"
-    }
-  },
-  {
-    "path": "pages/mine/index",
-    "style": {
-      "navigationStyle": "custom",
-      "navigationBarTitleText": "我的"
-    }
-  },
-  {
-    "path": "pages/workorder/index",
-    "style": {
-      "navigationBarTitleText": "工单"
-    }
-  },
-  {
-    "path": "pages/workorder/indexView",
-    "style": {
-      "navigationBarTitleText": "工单"
+  "pages": [
+    {
+      "path": "pages/index/index",
+      "style": {
+        "navigationBarTitleText": "首页"
+        // "enablePullDownRefresh": true
+      }
+    },
+    {
+      "path": "pages/bind",
+      "style": {
+        "navigationBarTitleText": "授权绑定"
+      }
+    },
+    {
+      "path": "pages/index/webview",
+      "style": {
+        "navigationBarTitleText": "打开企业微信小程序"
+      }
+    },
+    {
+      "path": "pages/login/index",
+      "style": {
+        "navigationBarTitleText": "登录"
+      }
+    },
+    {
+      "path": "pages/login/indexs",
+      "style": {
+        "navigationBarTitleText": "登录"
+      }
+    },
+    {
+      "path": "pages/goods/index",
+      "style": {
+        "navigationBarTitleText": "商城"
+      }
+    },
+    {
+      "path": "pages/mine/index",
+      "style": {
+        "navigationStyle": "custom",
+        "navigationBarTitleText": "我的"
+      }
+    },
+    {
+      "path": "pages/workorder/index",
+      "style": {
+        "navigationBarTitleText": "工单"
+      }
+    },
+    {
+      "path": "pages/workorder/indexView",
+      "style": {
+        "navigationBarTitleText": "工单"
+      }
     }
-  }
-
   ],
 
   "subpackages": [
-  {
-    "root": "packageHome",
-    "name": "packageHome",
-    "pages": [
-      {
-      	"path": "pages/service/chargeStandard",
-      	"style": {
-      		"navigationBarTitleText": "收费标准"
-      	}
-      },
-      {
-      	"path": "pages/service/troubleshoot",
-      	"style": {
-      		"navigationBarTitleText": "故障自查"
-      	}
-      },
-      {
-      	"path": "pages/service/classify",
-      	"style": {
-      		"navigationBarTitleText": "选择服务产品"
-      	}
-      },
-	  {
-	  	"path": "pages/service/tenancy",
-	  	"style": {
-	  		"navigationBarTitleText": "选择产品"
-	  	}
-	  },
-	  {
-	  	"path": "pages/service/tenancyDetail",
-	  	"style": {
-	  		"navigationBarTitleText": "商品详情"
-	  	}
-	  },
-	  {
-	  	"path": "pages/service/confirmTenancyOrder",
-	  	"style": {
-	  		"navigationBarTitleText": "确认订单"
-	  	}
-	  },
-      {
-      	"path": "pages/addvalue/serviceBuy",
-      	"style": {
-      		"navigationBarTitleText": "购买延保"
-      	}
-      },
-      {
-      	"path": "pages/addvalue/serviceUse",
-      	"style": {
-      		"navigationBarTitleText": "创建延保单"
-      	}
-      },
-      {
-      	"path": "pages/addvalue/explainList",
-      	"style": {
-      		"navigationBarTitleText": "延保服务"
-      	}
-      },
-      {
-      	"path": "pages/addvalue/explainDetail",
-      	"style": {
-      		"navigationBarTitleText": "服务说明"
-      	}
-      },
-      {
-      	"path": "pages/addvalue/orderList",
-      	"style": {
-      		"navigationBarTitleText": "我的延保"
-      	}
-      },
-      {
-      	"path": "pages/addvalue/orderDetail",
-      	"style": {
-      		"navigationBarTitleText": "延保详情"
-      	}
-      },
-      {
-      	"path": "pages/addvalue/websiteList",
-      	"style": {
-      		"navigationBarTitleText": "服务网点"
-      	}
-      },
-      {
-      	"path": "pages/addvalue/check",
-      	"style": {
-      		"navigationBarTitleText": "延保查询"
-      	}
-      },
-      {
-      	"path": "pages/maintenance/applyList",
-      	"style": {
-      		"navigationBarTitleText": "费用申请单"
-      	}
-      },
-      {
-      	"path": "pages/maintenance/applyDetail",
-      	"style": {
-      		"navigationBarTitleText": "费用申请详情"
-      	}
-      },
-      {
-      	"path": "pages/maintenance/create",
-      	"style": {
-      		"navigationBarTitleText": "创建维保单"
-      	}
-      },
-      {
-      	"path": "pages/maintenance/project",
-      	"style": {
-      		"navigationBarTitleText": "选择项目信息"
-      	}
-      },
-      {
-      	"path": "pages/maintenance/product",
-      	"style": {
-      		"navigationBarTitleText": "选择产品"
-      	}
-      },
-      {
-      	"path": "pages/codeActivity/activityList",
-      	"style": {
-      		"navigationBarTitleText": "活动列表"
-      	}
-      },
-      {
-      	"path": "pages/codeActivity/activityForm",
-      	"style": {
-      		"navigationBarTitleText": "填写信息"
-      	}
-      },
-      {
-      	"path": "pages/codeActivity/activityExplain",
-      	"style": {
-      		"navigationBarTitleText": "活动说明"
-      	}
-      },
-      {
-      	"path": "pages/codeActivity/applyList",
-      	"style": {
-      		"navigationBarTitleText": "报名记录"
-      	}
-      },
-      {
-      	"path": "pages/codeActivity/applyDetail",
-      	"style": {
-      		"navigationBarTitleText": "报名详情"
-      	}
-      },
-      {
-      	"path": "pages/recycle/index",
-      	"style": {
-      		"navigationBarTitleText": "二手商城"
-      	}
-      },
-      {
-      	"path": "pages/recycle/search",
-      	"style": {
-      		"navigationBarTitleText": "搜索商品"
-      	}
-      },
-      {
-      	"path": "pages/recycle/issue",
-      	"style": {
-      		"navigationBarTitleText": "发布"
-      	}
-      },
-      {
-      	"path": "pages/recycle/goodsDetail",
-      	"style": {
-      		"navigationBarTitleText": "商品详情"
-      	}
-      },
-      {
-      	"path": "pages/recycle/order",
-      	"style": {
-      		"navigationBarTitleText": "确认订单"
-      	}
-      },
-      {
-      	"path": "pages/recycle/issue/list",
-      	"style": {
-      		"navigationBarTitleText": "已发布的"
-      	}
-      },
-      {
-      	"path": "pages/recycle/issue/detail",
-      	"style": {
-      		"navigationBarTitleText": "详情"
-      	}
-      },
-      {
-      	"path": "pages/recycle/order/list",
-      	"style": {
-      		"navigationBarTitleText": "我买到的"
-      	}
-      },
-      {
-      	"path": "pages/recycle/order/detail",
-      	"style": {
-      		"navigationBarTitleText": "详情"
-      	}
-      },
-      {
-      	"path": "pages/recycle/order/logistics",
-      	"style": {
-      		"navigationBarTitleText": "查看物流"
-      	}
-      },
-      {
-      	"path": "pages/recycle/order/refundForm",
-      	"style": {
-      		"navigationBarTitleText": "申请售后"
-      	}
-      },
-      {
-      	"path": "pages/recycle/order/refundDetail",
-      	"style": {
-      		"navigationBarTitleText": "售后详情"
-      	}
-      }
-    ]
-  }, {
-    "root": "packageGoods",
-    "name": "packageGoods",
-    "pages": [
-      {
-        "path": "pages/classify",
-        "style": {
-          "navigationBarTitleText": "分类"
-        }
-      },
-      {
-        "path": "pages/list",
-        "style": {
-          "navigationBarTitleText": "列表"
-        }
-      },
-      {
-        "path": "pages/cart",
-        "style": {
-          "navigationBarTitleText": "购物车"
-        }
-      },
-      {
-        "path": "pages/search",
-        "style": {
-          "navigationBarTitleText": "搜索商品"
-        }
-      },
-      {
-        "path": "pages/detail",
-        "style": {
-          "navigationBarTitleText": "商品详情"
-        }
-      },
-      {
-        "path": "pages/evaluate",
-        "style": {
-          "navigationBarTitleText": "全部评价"
-        }
-      },
-      {
-        "path": "pages/order",
-        "style": {
-          "navigationBarTitleText": "确认订单"
-        }
-      },
-      {
-        "path": "pages/coupon",
-        "style": {
-          "navigationBarTitleText": "我的优惠券"
-        }
-      },
-      {
-        "path": "pages/seckill",
-        "style": {
-          "navigationBarTitleText": "限时秒杀"
-        }
-      },
-      {
-        "path": "pages/index",
-        "style": {
-          "navigationBarTitleText": "商品列表"
-        }
-      },
-      {
-        "path": "pages/activity",
-        "style": {
-          "navigationBarTitleText": "活动专区"
-        }
-      },
-      {
-        "path": "pages/tradein/category",
-        "style": {
-          "navigationBarTitleText": "选择分类"
-        }
-      },
-      {
-        "path": "pages/tradein/form",
-        "style": {
-          "navigationBarTitleText": "旧机信息"
-        }
-      }
-    ]
-  }, {
-    "root": "packageMine",
-    "name": "packageMine",
-    "pages": [
-      {
-        "path": "pages/mySecurityFee",
-        "style": {
-          "navigationBarTitleText": "我的安维费"
-        }
-      },
-      {
-        "path": "pages/securityFeeDetails",
-        "style": {
-          "navigationBarTitleText": "费用明细"
-        }
-      },
-      {
-        "path": "pages/phone",
-        "style": {
-          "navigationBarTitleText": "绑定手机号"
-        }
-      },
-      {
-        "path": "pages/agreement",
-        "style": {
-          "navigationBarTitleText": "用户协议"
-        }
-      },
-      {
-        "path": "pages/userinfo",
-        "style": {
-          "navigationBarTitleText": "个人资料"
-        }
-      },
-      {
-        "path": "pages/address/list",
-        "style": {
-          "navigationBarTitleText": "我的收货地址"
-        }
-      },
-      {
-        "path": "pages/address/form",
-        "style": {
-          "navigationBarTitleText": "新增收货地址"
-        }
-      },
-      {
-        "path": "pages/coupon/list",
-        "style": {
-          "navigationBarTitleText": "优惠券"
-        }
-      },
-      {
-        "path": "pages/collection",
-        "style": {
-          "navigationBarTitleText": "我的收藏"
-        }
-      },
-      {
-        "path": "pages/ranking/list",
-        "style": {
-          "navigationStyle": "custom",
-          "navigationBarTitleText": "收益排行榜"
-        }
-      },
-      {
-        "path": "pages/ranking/report",
-        "style": {
-          "navigationBarTitleText": "我的月报"
-        }
-      },
-      {
-        "path": "pages/mallCode",
-        "style": {
-          "navigationBarTitleText": "商城二维码"
-        }
-      },
-      {
-        "path": "pages/profit/list",
-        "style": {
-          "navigationBarTitleText": "我的收益"
-        }
-      },
-      {
-        "path": "pages/profit/return",
-        "style": {
-          "navigationBarTitleText": "退款明细"
-        }
-      },
-      {
-        "path": "pages/profit/detail",
-        "style": {
-          "navigationBarTitleText": "收益详情"
-        }
-      },
-      {
-        "path": "pages/profit/ybdetail",
-        "style": {
-          "navigationBarTitleText": "收益详情"
-        }
-      },
-      {
-        "path": "pages/salesProfit/index",
-        "style": {
-          "navigationBarTitleText": "销售收益",
-          "navigationBarBackgroundColor": "#3D8FFD",
-          "navigationBarTextStyle": "white"
-        }
-      },
-      {
-        "path": "pages/salesProfit/orderList",
-        "style": {
-          "navigationBarTitleText": "销售订单"
-        }
-      },
-      {
-        "path": "pages/salesProfit/withdraw/list",
-        "style": {
-          "navigationBarTitleText": "提现明细"
-        }
-      },
-      {
-        "path": "pages/salesProfit/withdraw/orderList",
-        "style": {
-          "navigationBarTitleText": "提现订单明细"
-        }
-      },
-      {
-        "path": "pages/salesProfit/withdraw/detail",
-        "style": {
-          "navigationBarTitleText": "提现详情"
-        }
-      },
-      {
-        "path": "pages/salesProfit/withdraw/index",
-        "style": {
-          "navigationBarTitleText": "我要提现"
-        }
-      },
-      {
-        "path": "pages/salesProfit/account/index",
-        "style": {
-          "navigationBarTitleText": "账户管理"
-        }
-      },
-      {
-        "path": "pages/salesProfit/account/form",
-        "style": {
-          "navigationBarTitleText": "新增账户"
-        }
-      },
-      {
-        "path": "pages/order/list",
-        "style": {
-          "navigationBarTitleText": "我的订单"
-        }
-      },
-      {
-        "path": "pages/order/detail",
-        "style": {
-          "navigationBarTitleText": "订单详情"
-        }
-      },
-      {
-        "path": "pages/order/invoice",
-        "style": {
-          "navigationBarTitleText": "查看发票"
-        }
-      },
-      {
-        "path": "pages/order/logistics",
-        "style": {
-          "navigationBarTitleText": "物流详情"
-        }
-      },
-      {
-        "path": "pages/order/changeAddress",
-        "style": {
-          "navigationBarTitleText": "修改地址"
-        }
-      },
-      {
-        "path": "pages/order/evaluate",
-        "style": {
-          "navigationBarTitleText": "评价"
-        }
-      },
-      {
-        "path": "pages/order/return/apply",
-        "style": {
-          "navigationBarTitleText": "退货申请"
-        }
-      },
-      {
-        "path": "pages/order/return/detail",
-        "style": {
-          "navigationBarTitleText": "售后详情"
-        }
-      },
-		{
-			"path": "pages/workerEnter",
-			"style": {
-				"navigationBarTitleText": "成为师傅"
-			}
-		},
-		{
-			"path": "pages/distributorEnter",
-			"style": {
-				"navigationBarTitleText": "成为分销员"
-			}
-		},
-		{
-			"path": "pages/myWebsit",
-			"style": {
-				"navigationBarTitleText": "入驻网点"
-			}
-		},
-		{
-			"path": "pages/notice/list",
-			"style": {
-				"navigationBarTitleText": "消息中心"
-			}
-		},
-		{
-			"path": "pages/notice/detail",
-			"style": {
-				"navigationBarTitleText": "详情"
-			}
-		},
-		{
-			"path": "pages/invoice/form",
-			"style": {
-				"navigationBarTitleText": "请填写发票信息"
-			}
-		},
-		{
-			"path": "pages/invoice/result",
-			"style": {
-				"navigationBarTitleText": "请填写发票信息"
-			}
-		},
-		{
-			"path": "pages/invoice/detail",
-			"style": {
-				"navigationBarTitleText": "发票详情"
-			}
-		},
-		{
-			"path": "pages/invoice/list",
-			"style": {
-				"navigationBarTitleText": "发票申请记录"
-			}
-		}
-      // {
-      //   "path": "pages/mine/groupbuy/list",
-      //   "style": {
-      //     "navigationBarTitleText": "我的团购",
-      //     "enablePullDownRefresh": true
-      //   }
-      // }
-    ]
-  }, {
-    "root": "packageMaterial",
-    "name": "packageMaterial",
-    "pages": [
-      {
-      	"path": "pages/index",
-      	"style": {
-      		"navigationBarTitleText": "辅配件"
-      	}
-      },
-      {
-      	"path": "pages/stock/index",
-      	"style": {
-      		"navigationBarTitleText": "我的库存"
-      	}
-      },
-      {
-      	"path": "pages/stock/stockDetail",
-      	"style": {
-      		"navigationBarTitleText": "库存明细"
-      	}
-      },
-      {
-      	"path": "pages/stock/useRecord",
-      	"style": {
-      		"navigationBarTitleText": "使用记录"
-      	}
-      },
-      {
-      	"path": "pages/stock/buyRecord",
-      	"style": {
-      		"navigationBarTitleText": "购买记录"
-      	}
-      },
-      {
-      	"path": "pages/stock/buyDetail",
-      	"style": {
-      		"navigationBarTitleText": "订单详情",
-          "navigationBarBackgroundColor": "#C8E0FB"
-      	}
-      },
-      {
-      	"path": "pages/stock/returnList",
-      	"style": {
-      		"navigationBarTitleText": "新旧件返还"
-      	}
-      },
-      {
-      	"path": "pages/stock/returnDetail",
-      	"style": {
-      		"navigationBarTitleText": "订单详情",
-          "navigationBarBackgroundColor": "#C8E0FB"
-      	}
-      },
-      {
-      	"path": "pages/stock/orderDetail",
-      	"style": {
-      		"navigationBarTitleText": "订单详情",
-          "navigationBarBackgroundColor": "#C8E0FB"
-      	}
-      },
-      {
-      	"path": "pages/apply/index",
-      	"style": {
-      		"navigationBarTitleText": "新增申领"
-      	}
-      },
-      {
-      	"path": "pages/apply/website",
-      	"style": {
-      		"navigationBarTitleText": "选择购买网点"
-      	}
-      },
-      {
-      	"path": "pages/apply/product",
-      	"style": {
-      		"navigationBarTitleText": "选择产品"
-      	}
-      },
-      {
-      	"path": "pages/apply/order",
-      	"style": {
-      		"navigationBarTitleText": "确认订单"
-      	}
-      },
-      {
-      	"path": "pages/apply/pay",
-      	"style": {
-      		"navigationBarTitleText": "确认支付"
-      	}
-      },
-      {
-      	"path": "pages/sale/index",
-      	"style": {
-      		"navigationBarTitleText": "辅材收款"
-      	}
-      },
-      {
-      	"path": "pages/sale/product",
-      	"style": {
-      		"navigationBarTitleText": "选择产品"
-      	}
-      },
-      {
-      	"path": "pages/sale/orderList",
-      	"style": {
-      		"navigationBarTitleText": "订单列表"
-      	}
-      },
-      {
-      	"path": "pages/sale/orderDetail",
-      	"style": {
-      		"navigationBarTitleText": "订单详情",
-          "navigationBarBackgroundColor": "#C8E0FB"
-      	}
-      },
-      {
-      	"path": "pages/sale/order",
-      	"style": {
-      		"navigationBarTitleText": "确认订单"
-      	}
-      },
-      {
-      	"path": "pages/sale/pay",
-      	"style": {
-      		"navigationBarTitleText": "确认支付"
-      	}
-      },
-      {
-      	"path": "pages/sale/result",
-      	"style": {
-      		"navigationBarTitleText": "支付结果"
-      	}
-      },
-      {
-      	"path": "pages/partsApply/form",
-      	"style": {
-      		"navigationBarTitleText": "配件申请"
-      	}
-      },
-      {
-      	"path": "pages/partsApply/list",
-      	"style": {
-      		"navigationBarTitleText": "配件申请记录"
-      	}
-      },
-      {
-      	"path": "pages/partsApply/detail",
-      	"style": {
-      		"navigationBarTitleText": "详情",
-          "navigationBarBackgroundColor": "#C8E0FB"
-      	}
-      }
-    ]
+    {
+      "root": "packageHome",
+      "name": "packageHome",
+      "pages": [
+        {
+          "path": "pages/service/chargeStandard",
+          "style": {
+            "navigationBarTitleText": "收费标准"
+          }
+        },
+        {
+          "path": "pages/service/troubleshoot",
+          "style": {
+            "navigationBarTitleText": "故障自查"
+          }
+        },
+        {
+          "path": "pages/service/classify",
+          "style": {
+            "navigationBarTitleText": "选择服务产品"
+          }
+        },
+        {
+          "path": "pages/service/tenancy",
+          "style": {
+            "navigationBarTitleText": "选择产品"
+          }
+        },
+        {
+          "path": "pages/service/tenancyDetail",
+          "style": {
+            "navigationBarTitleText": "商品详情"
+          }
+        },
+        {
+          "path": "pages/service/confirmTenancyOrder",
+          "style": {
+            "navigationBarTitleText": "确认订单"
+          }
+        },
+        {
+          "path": "pages/addvalue/serviceBuy",
+          "style": {
+            "navigationBarTitleText": "购买延保"
+          }
+        },
+        {
+          "path": "pages/addvalue/serviceUse",
+          "style": {
+            "navigationBarTitleText": "创建延保单"
+          }
+        },
+        {
+          "path": "pages/addvalue/explainList",
+          "style": {
+            "navigationBarTitleText": "延保服务"
+          }
+        },
+        {
+          "path": "pages/addvalue/explainDetail",
+          "style": {
+            "navigationBarTitleText": "服务说明"
+          }
+        },
+        {
+          "path": "pages/addvalue/orderList",
+          "style": {
+            "navigationBarTitleText": "我的延保"
+          }
+        },
+        {
+          "path": "pages/addvalue/orderDetail",
+          "style": {
+            "navigationBarTitleText": "延保详情"
+          }
+        },
+        {
+          "path": "pages/addvalue/websiteList",
+          "style": {
+            "navigationBarTitleText": "服务网点"
+          }
+        },
+        {
+          "path": "pages/addvalue/check",
+          "style": {
+            "navigationBarTitleText": "延保查询"
+          }
+        },
+        {
+          "path": "pages/maintenance/applyList",
+          "style": {
+            "navigationBarTitleText": "费用申请单"
+          }
+        },
+        {
+          "path": "pages/maintenance/applyDetail",
+          "style": {
+            "navigationBarTitleText": "费用申请详情"
+          }
+        },
+        {
+          "path": "pages/maintenance/create",
+          "style": {
+            "navigationBarTitleText": "创建维保单"
+          }
+        },
+        {
+          "path": "pages/maintenance/project",
+          "style": {
+            "navigationBarTitleText": "选择项目信息"
+          }
+        },
+        {
+          "path": "pages/maintenance/product",
+          "style": {
+            "navigationBarTitleText": "选择产品"
+          }
+        },
+        {
+          "path": "pages/codeActivity/activityList",
+          "style": {
+            "navigationBarTitleText": "活动列表"
+          }
+        },
+        {
+          "path": "pages/codeActivity/activityForm",
+          "style": {
+            "navigationBarTitleText": "填写信息"
+          }
+        },
+        {
+          "path": "pages/codeActivity/activityExplain",
+          "style": {
+            "navigationBarTitleText": "活动说明"
+          }
+        },
+        {
+          "path": "pages/codeActivity/applyList",
+          "style": {
+            "navigationBarTitleText": "报名记录"
+          }
+        },
+        {
+          "path": "pages/codeActivity/applyDetail",
+          "style": {
+            "navigationBarTitleText": "报名详情"
+          }
+        },
+        {
+          "path": "pages/recycle/index",
+          "style": {
+            "navigationBarTitleText": "二手商城"
+          }
+        },
+        {
+          "path": "pages/recycle/search",
+          "style": {
+            "navigationBarTitleText": "搜索商品"
+          }
+        },
+        {
+          "path": "pages/recycle/issue",
+          "style": {
+            "navigationBarTitleText": "发布"
+          }
+        },
+        {
+          "path": "pages/recycle/goodsDetail",
+          "style": {
+            "navigationBarTitleText": "商品详情"
+          }
+        },
+        {
+          "path": "pages/recycle/order",
+          "style": {
+            "navigationBarTitleText": "确认订单"
+          }
+        },
+        {
+          "path": "pages/recycle/issue/list",
+          "style": {
+            "navigationBarTitleText": "已发布的"
+          }
+        },
+        {
+          "path": "pages/recycle/issue/detail",
+          "style": {
+            "navigationBarTitleText": "详情"
+          }
+        },
+        {
+          "path": "pages/recycle/order/list",
+          "style": {
+            "navigationBarTitleText": "我买到的"
+          }
+        },
+        {
+          "path": "pages/recycle/order/detail",
+          "style": {
+            "navigationBarTitleText": "详情"
+          }
+        },
+        {
+          "path": "pages/recycle/order/logistics",
+          "style": {
+            "navigationBarTitleText": "查看物流"
+          }
+        },
+        {
+          "path": "pages/recycle/order/refundForm",
+          "style": {
+            "navigationBarTitleText": "申请售后"
+          }
+        },
+        {
+          "path": "pages/recycle/order/refundDetail",
+          "style": {
+            "navigationBarTitleText": "售后详情"
+          }
+        }
+      ]
+    },
+    {
+      "root": "packageGoods",
+      "name": "packageGoods",
+      "pages": [
+        {
+          "path": "pages/classify",
+          "style": {
+            "navigationBarTitleText": "分类"
+          }
+        },
+        {
+          "path": "pages/list",
+          "style": {
+            "navigationBarTitleText": "列表"
+          }
+        },
+        {
+          "path": "pages/cart",
+          "style": {
+            "navigationBarTitleText": "购物车"
+          }
+        },
+        {
+          "path": "pages/search",
+          "style": {
+            "navigationBarTitleText": "搜索商品"
+          }
+        },
+        {
+          "path": "pages/detail",
+          "style": {
+            "navigationBarTitleText": "商品详情"
+          }
+        },
+        {
+          "path": "pages/evaluate",
+          "style": {
+            "navigationBarTitleText": "全部评价"
+          }
+        },
+        {
+          "path": "pages/order",
+          "style": {
+            "navigationBarTitleText": "确认订单"
+          }
+        },
+        {
+          "path": "pages/coupon",
+          "style": {
+            "navigationBarTitleText": "我的优惠券"
+          }
+        },
+        {
+          "path": "pages/seckill",
+          "style": {
+            "navigationBarTitleText": "限时秒杀"
+          }
+        },
+        {
+          "path": "pages/index",
+          "style": {
+            "navigationBarTitleText": "商品列表"
+          }
+        },
+        {
+          "path": "pages/activity",
+          "style": {
+            "navigationBarTitleText": "活动专区"
+          }
+        },
+        {
+          "path": "pages/tradein/category",
+          "style": {
+            "navigationBarTitleText": "选择分类"
+          }
+        },
+        {
+          "path": "pages/tradein/form",
+          "style": {
+            "navigationBarTitleText": "旧机信息"
+          }
+        }
+      ]
+    },
+    {
+      "root": "packageMine",
+      "name": "packageMine",
+      "pages": [
+        {
+          "path": "pages/mySecurityFee",
+          "style": {
+            "navigationBarTitleText": "我的安维费"
+          }
+        },
+        {
+          "path": "pages/securityFeeDetails",
+          "style": {
+            "navigationBarTitleText": "费用明细"
+          }
+        },
+        {
+          "path": "pages/phone",
+          "style": {
+            "navigationBarTitleText": "绑定手机号"
+          }
+        },
+        {
+          "path": "pages/agreement",
+          "style": {
+            "navigationBarTitleText": "用户协议"
+          }
+        },
+        {
+          "path": "pages/userinfo",
+          "style": {
+            "navigationBarTitleText": "个人资料"
+          }
+        },
+        {
+          "path": "pages/address/list",
+          "style": {
+            "navigationBarTitleText": "我的收货地址"
+          }
+        },
+        {
+          "path": "pages/address/form",
+          "style": {
+            "navigationBarTitleText": "新增收货地址"
+          }
+        },
+        {
+          "path": "pages/coupon/list",
+          "style": {
+            "navigationBarTitleText": "优惠券"
+          }
+        },
+        {
+          "path": "pages/collection",
+          "style": {
+            "navigationBarTitleText": "我的收藏"
+          }
+        },
+        {
+          "path": "pages/ranking/list",
+          "style": {
+            "navigationStyle": "custom",
+            "navigationBarTitleText": "收益排行榜"
+          }
+        },
+        {
+          "path": "pages/ranking/report",
+          "style": {
+            "navigationBarTitleText": "我的月报"
+          }
+        },
+        {
+          "path": "pages/mallCode",
+          "style": {
+            "navigationBarTitleText": "商城二维码"
+          }
+        },
+        {
+          "path": "pages/profit/list",
+          "style": {
+            "navigationBarTitleText": "我的收益"
+          }
+        },
+        {
+          "path": "pages/profit/return",
+          "style": {
+            "navigationBarTitleText": "退款明细"
+          }
+        },
+        {
+          "path": "pages/profit/detail",
+          "style": {
+            "navigationBarTitleText": "收益详情"
+          }
+        },
+        {
+          "path": "pages/profit/ybdetail",
+          "style": {
+            "navigationBarTitleText": "收益详情"
+          }
+        },
+        {
+          "path": "pages/salesProfit/index",
+          "style": {
+            "navigationBarTitleText": "销售收益",
+            "navigationBarBackgroundColor": "#3D8FFD",
+            "navigationBarTextStyle": "white"
+          }
+        },
+        {
+          "path": "pages/salesProfit/orderList",
+          "style": {
+            "navigationBarTitleText": "销售订单"
+          }
+        },
+        {
+          "path": "pages/salesProfit/orderDetail",
+          "style": {
+            "navigationBarTitleText": "订单详情",
+            "navigationBarBackgroundColor": "#C8E0FB"
+          }
+        },
+        {
+          "path": "pages/salesProfit/withdraw/list",
+          "style": {
+            "navigationBarTitleText": "提现明细"
+          }
+        },
+        {
+          "path": "pages/salesProfit/withdraw/orderList",
+          "style": {
+            "navigationBarTitleText": "提现订单明细"
+          }
+        },
+        {
+          "path": "pages/salesProfit/withdraw/detail",
+          "style": {
+            "navigationBarTitleText": "提现详情"
+          }
+        },
+        {
+          "path": "pages/salesProfit/withdraw/index",
+          "style": {
+            "navigationBarTitleText": "我要提现"
+          }
+        },
+        {
+          "path": "pages/salesProfit/account/index",
+          "style": {
+            "navigationBarTitleText": "账户管理"
+          }
+        },
+        {
+          "path": "pages/salesProfit/account/form",
+          "style": {
+            "navigationBarTitleText": "新增账户"
+          }
+        },
+        {
+          "path": "pages/order/list",
+          "style": {
+            "navigationBarTitleText": "我的订单"
+          }
+        },
+        {
+          "path": "pages/order/detail",
+          "style": {
+            "navigationBarTitleText": "订单详情"
+          }
+        },
+        {
+          "path": "pages/order/invoice",
+          "style": {
+            "navigationBarTitleText": "查看发票"
+          }
+        },
+        {
+          "path": "pages/order/logistics",
+          "style": {
+            "navigationBarTitleText": "物流详情"
+          }
+        },
+        {
+          "path": "pages/order/changeAddress",
+          "style": {
+            "navigationBarTitleText": "修改地址"
+          }
+        },
+        {
+          "path": "pages/order/evaluate",
+          "style": {
+            "navigationBarTitleText": "评价"
+          }
+        },
+        {
+          "path": "pages/order/return/apply",
+          "style": {
+            "navigationBarTitleText": "退货申请"
+          }
+        },
+        {
+          "path": "pages/order/return/detail",
+          "style": {
+            "navigationBarTitleText": "售后详情"
+          }
+        },
+        {
+          "path": "pages/workerEnter",
+          "style": {
+            "navigationBarTitleText": "成为师傅"
+          }
+        },
+        {
+          "path": "pages/distributorEnter",
+          "style": {
+            "navigationBarTitleText": "成为分销员"
+          }
+        },
+        {
+          "path": "pages/myWebsit",
+          "style": {
+            "navigationBarTitleText": "入驻网点"
+          }
+        },
+        {
+          "path": "pages/notice/list",
+          "style": {
+            "navigationBarTitleText": "消息中心"
+          }
+        },
+        {
+          "path": "pages/notice/detail",
+          "style": {
+            "navigationBarTitleText": "详情"
+          }
+        },
+        {
+          "path": "pages/invoice/form",
+          "style": {
+            "navigationBarTitleText": "请填写发票信息"
+          }
+        },
+        {
+          "path": "pages/invoice/result",
+          "style": {
+            "navigationBarTitleText": "请填写发票信息"
+          }
+        },
+        {
+          "path": "pages/invoice/detail",
+          "style": {
+            "navigationBarTitleText": "发票详情"
+          }
+        },
+        {
+          "path": "pages/invoice/list",
+          "style": {
+            "navigationBarTitleText": "发票申请记录"
+          }
+        }
+        // {
+        //   "path": "pages/mine/groupbuy/list",
+        //   "style": {
+        //     "navigationBarTitleText": "我的团购",
+        //     "enablePullDownRefresh": true
+        //   }
+        // }
+      ]
+    },
+    {
+      "root": "packageMaterial",
+      "name": "packageMaterial",
+      "pages": [
+        {
+          "path": "pages/index",
+          "style": {
+            "navigationBarTitleText": "辅配件"
+          }
+        },
+        {
+          "path": "pages/stock/index",
+          "style": {
+            "navigationBarTitleText": "我的库存"
+          }
+        },
+        {
+          "path": "pages/stock/stockDetail",
+          "style": {
+            "navigationBarTitleText": "库存明细"
+          }
+        },
+        {
+          "path": "pages/stock/useRecord",
+          "style": {
+            "navigationBarTitleText": "使用记录"
+          }
+        },
+        {
+          "path": "pages/stock/buyRecord",
+          "style": {
+            "navigationBarTitleText": "购买记录"
+          }
+        },
+        {
+          "path": "pages/stock/buyDetail",
+          "style": {
+            "navigationBarTitleText": "订单详情",
+            "navigationBarBackgroundColor": "#C8E0FB"
+          }
+        },
+        {
+          "path": "pages/stock/returnList",
+          "style": {
+            "navigationBarTitleText": "新旧件返还"
+          }
+        },
+        {
+          "path": "pages/stock/returnDetail",
+          "style": {
+            "navigationBarTitleText": "订单详情",
+            "navigationBarBackgroundColor": "#C8E0FB"
+          }
+        },
+        {
+          "path": "pages/stock/orderDetail",
+          "style": {
+            "navigationBarTitleText": "订单详情",
+            "navigationBarBackgroundColor": "#C8E0FB"
+          }
+        },
+        {
+          "path": "pages/apply/index",
+          "style": {
+            "navigationBarTitleText": "新增申领"
+          }
+        },
+        {
+          "path": "pages/apply/website",
+          "style": {
+            "navigationBarTitleText": "选择购买网点"
+          }
+        },
+        {
+          "path": "pages/apply/product",
+          "style": {
+            "navigationBarTitleText": "选择产品"
+          }
+        },
+        {
+          "path": "pages/apply/order",
+          "style": {
+            "navigationBarTitleText": "确认订单"
+          }
+        },
+        {
+          "path": "pages/apply/pay",
+          "style": {
+            "navigationBarTitleText": "确认支付"
+          }
+        },
+        {
+          "path": "pages/sale/index",
+          "style": {
+            "navigationBarTitleText": "辅材收款"
+          }
+        },
+        {
+          "path": "pages/sale/product",
+          "style": {
+            "navigationBarTitleText": "选择产品"
+          }
+        },
+        {
+          "path": "pages/sale/orderList",
+          "style": {
+            "navigationBarTitleText": "订单列表"
+          }
+        },
+        {
+          "path": "pages/sale/orderDetail",
+          "style": {
+            "navigationBarTitleText": "订单详情",
+            "navigationBarBackgroundColor": "#C8E0FB"
+          }
+        },
+        {
+          "path": "pages/sale/order",
+          "style": {
+            "navigationBarTitleText": "确认订单"
+          }
+        },
+        {
+          "path": "pages/sale/pay",
+          "style": {
+            "navigationBarTitleText": "确认支付"
+          }
+        },
+        {
+          "path": "pages/sale/result",
+          "style": {
+            "navigationBarTitleText": "支付结果"
+          }
+        },
+        {
+          "path": "pages/partsApply/form",
+          "style": {
+            "navigationBarTitleText": "配件申请"
+          }
+        },
+        {
+          "path": "pages/partsApply/list",
+          "style": {
+            "navigationBarTitleText": "配件申请记录"
+          }
+        },
+        {
+          "path": "pages/partsApply/detail",
+          "style": {
+            "navigationBarTitleText": "详情",
+            "navigationBarBackgroundColor": "#C8E0FB"
+          }
+        }
+      ]
+    },
+    {
+      "root": "packageWorkorder",
+      "name": "packageWorkorder",
+      "pages": [
+        {
+          "path": "pages/create/index",
+          "style": {
+            "navigationBarTitleText": "创建服务单"
+          }
+        },
+        {
+          "path": "pages/create/classify",
+          "style": {
+            "navigationBarTitleText": "选择产品"
+          }
+        },
+        {
+          "path": "pages/orderList",
+          "style": {
+            "navigationBarTitleText": "工单",
+            "navigationBarBackgroundColor": "#3D8FFD",
+            "navigationBarTextStyle": "white"
+          }
+        },
+        {
+          "path": "pages/tenancyOrderList",
+          "style": {
+            "navigationBarTitleText": "我的租赁单"
+          }
+        },
+        {
+          "path": "pages/tenancyOrderDetail",
+          "style": {
+            "navigationBarTitleText": "租赁详情"
+          }
+        },
+        {
+          "path": "pages/tenancyRepairOrder",
+          "style": {
+            "navigationBarTitleText": "租赁报修单"
+          }
+        },
+        {
+          "path": "pages/tenancyReletOrder",
+          "style": {
+            "navigationBarTitleText": "确认续租"
+          }
+        },
+        {
+          "path": "pages/search",
+          "style": {
+            "navigationBarTitleText": "工单搜索"
+          }
+        },
+        {
+          "path": "pages/orderDetail",
+          "style": {
+            "navigationBarTitleText": "服务详情",
+            "navigationBarBackgroundColor": "#C8E0FB"
+          }
+        },
+        {
+          "path": "pages/userWorkorderList",
+          "style": {
+            "navigationBarTitleText": "我的服务单"
+          }
+        },
+        {
+          "path": "pages/userWorkorderDetail",
+          "style": {
+            "navigationBarTitleText": "服务详情"
+          }
+        },
+        {
+          "path": "pages/processFeedback",
+          "style": {
+            "navigationBarTitleText": "过程反馈"
+          }
+        },
+        {
+          "path": "pages/bookTime",
+          "style": {
+            "navigationBarTitleText": "预约"
+          }
+        },
+        {
+          "path": "pages/signName",
+          "style": {
+            "navigationBarTitleText": "签名"
+          }
+        },
+        {
+          "path": "pages/feedbackList",
+          "style": {
+            "navigationBarTitleText": "过程反馈"
+          }
+        },
+        {
+          "path": "pages/overDetail",
+          "style": {
+            "navigationBarTitleText": "完工明细"
+          }
+        },
+        {
+          "path": "pages/infoCollect/list",
+          "style": {
+            "navigationBarTitleText": "信息采集"
+          }
+        },
+        {
+          "path": "pages/infoCollect/form",
+          "style": {
+            "navigationBarTitleText": "信息采集"
+          }
+        },
+        {
+          "path": "pages/appraise",
+          "style": {
+            "navigationBarTitleText": "服务评价"
+          }
+        }
+      ]
+    }
+  ],
+  "easycom": {
+    // "zj-(.*)": "@/components/zj-container/zj-$1.vue",
+    "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
   },
-  {
-    "root": "packageWorkorder",
-    "name": "packageWorkorder",
-    "pages": [
-      {
-      	"path": "pages/create/index",
-      	"style": {
-      		"navigationBarTitleText": "创建服务单"
-      	}
-      },
-      {
-      	"path": "pages/create/classify",
-      	"style": {
-      		"navigationBarTitleText": "选择产品"
-      	}
-      },
-      {
-      	"path": "pages/orderList",
-      	"style": {
-      		"navigationBarTitleText": "工单",
-          "navigationBarBackgroundColor": "#3D8FFD",
-          "navigationBarTextStyle": "white"
-      	}
-      },
-		{
-			"path": "pages/tenancyOrderList",
-			"style": {
-				"navigationBarTitleText": "我的租赁单"
-			}
-		},
-		{
-			"path": "pages/tenancyOrderDetail",
-			"style": {
-				"navigationBarTitleText": "租赁详情"
-			}
-		},
-		{
-			"path": "pages/tenancyRepairOrder",
-			"style": {
-				"navigationBarTitleText": "租赁报修单"
-			}
-		},
-		{
-			"path": "pages/tenancyReletOrder",
-			"style": {
-				"navigationBarTitleText": "确认续租"
-			}
-		},
-      {
-      	"path": "pages/search",
-      	"style": {
-      		"navigationBarTitleText": "工单搜索"
-      	}
-      },
-      {
-      	"path": "pages/orderDetail",
-      	"style": {
-      		"navigationBarTitleText": "服务详情",
-          "navigationBarBackgroundColor": "#C8E0FB"
-      	}
-      },
-      {
-      	"path": "pages/userWorkorderList",
-      	"style": {
-      		"navigationBarTitleText": "我的服务单"
-      	}
-      },
-      {
-      	"path": "pages/userWorkorderDetail",
-      	"style": {
-      		"navigationBarTitleText": "服务详情"
-      	}
-      },
-      {
-      	"path": "pages/processFeedback",
-      	"style": {
-      		"navigationBarTitleText": "过程反馈"
-      	}
-      },
-      {
-      	"path": "pages/bookTime",
-      	"style": {
-      		"navigationBarTitleText": "预约"
-      	}
-      },
-      {
-      	"path": "pages/signName",
-      	"style": {
-      		"navigationBarTitleText": "签名"
-      	}
-      },
-      {
-      	"path": "pages/feedbackList",
-      	"style": {
-      		"navigationBarTitleText": "过程反馈"
-      	}
-      },
+  "globalStyle": {
+    "navigationBarTextStyle": "black",
+    "navigationBarTitleText": "商城",
+    "navigationBarBackgroundColor": "#FFFFFF",
+    "backgroundColor": "#F7F8FF",
+    "app-plus": {
+      "background": "#efeff4"
+    }
+  },
+  "tabBar": {
+    "color": "#7A7E83",
+    "selectedColor": "#3D8FFD",
+    "borderStyle": "black",
+    "backgroundColor": "#ffffff",
+    "list": [
       {
-      	"path": "pages/overDetail",
-      	"style": {
-      		"navigationBarTitleText": "完工明细"
-      	}
+        "pagePath": "pages/index/index",
+        "iconPath": "static/tabBar/icon_1.png",
+        "selectedIconPath": "static/tabBar/icon_1_cur.png",
+        "text": "首页"
       },
       {
-      	"path": "pages/infoCollect/list",
-      	"style": {
-      		"navigationBarTitleText": "信息采集"
-      	}
+        "pagePath": "pages/workorder/index",
+        "iconPath": "static/tabBar/icon_2.png",
+        "selectedIconPath": "static/tabBar/icon_2_cur.png",
+        "text": "工单"
       },
       {
-      	"path": "pages/infoCollect/form",
-      	"style": {
-      		"navigationBarTitleText": "信息采集"
-      	}
+        "pagePath": "pages/goods/index",
+        "iconPath": "static/tabBar/icon_3.png",
+        "selectedIconPath": "static/tabBar/icon_3_cur.png",
+        "text": "商城"
       },
       {
-      	"path": "pages/appraise",
-      	"style": {
-      		"navigationBarTitleText": "服务评价"
-      	}
+        "pagePath": "pages/mine/index",
+        "iconPath": "static/tabBar/icon_4.png",
+        "selectedIconPath": "static/tabBar/icon_4_cur.png",
+        "text": "我的"
       }
     ]
   }
-  ],
-  "easycom": {
-    // "zj-(.*)": "@/components/zj-container/zj-$1.vue",
-    "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
-  },
-  "globalStyle": {
-  	"navigationBarTextStyle": "black",
-  	"navigationBarTitleText": "商城",
-  	"navigationBarBackgroundColor": "#FFFFFF",
-  	"backgroundColor": "#F7F8FF",
-  	"app-plus": {
-  		"background": "#efeff4"
-  	}
-  },
-  "tabBar": {
-  	"color": "#7A7E83",
-  	"selectedColor": "#3D8FFD",
-  	"borderStyle": "black",
-  	"backgroundColor": "#ffffff",
-  	"list": [{
-  		"pagePath": "pages/index/index",
-  		"iconPath": "static/tabBar/icon_1.png",
-  		"selectedIconPath": "static/tabBar/icon_1_cur.png",
-  		"text": "首页"
-  	}, {
-  		"pagePath": "pages/workorder/index",
-  		"iconPath": "static/tabBar/icon_2.png",
-  		"selectedIconPath": "static/tabBar/icon_2_cur.png",
-  		"text": "工单"
-  	}, {
-  		"pagePath": "pages/goods/index",
-  		"iconPath": "static/tabBar/icon_3.png",
-  		"selectedIconPath": "static/tabBar/icon_3_cur.png",
-  		"text": "商城"
-  	}, {
-  		"pagePath": "pages/mine/index",
-  		"iconPath": "static/tabBar/icon_4.png",
-  		"selectedIconPath": "static/tabBar/icon_4_cur.png",
-  		"text": "我的"
-  	}]
-  }
 }

+ 1 - 1
src/pages/mine/index.vue

@@ -452,7 +452,7 @@ export default {
           .post('/withdrawal/amount/count')
           .then(res => {
             const data = res.data || {}
-            this.salesProfitList[0].num = data.ktx
+            this.salesProfitList[0].num = data.yjs
             this.salesProfitList[1].num = data.djs
             resolve(data)
           })