doum
2 小时以前 b9b64778f693ebe82fcbc97837b6012dadb3b084
经销商管理
已添加1个文件
已修改3个文件
253 ■■■■ 文件已修改
mini-program/pages/distributor/distributor.vue 244 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
mini-program/static/icon/ic_invisible@2x.png 补丁 | 查看 | 原始文档 | blame | 历史
mini-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/distributor/distributor.js.map 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
mini-program/utils/http.api.js 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
mini-program/pages/distributor/distributor.vue
@@ -44,11 +44,12 @@
                    <view class="data-c-item">
                        <view class="data-c-item-top">
                            <text>销售额(元)</text>
                            <image src="/static/icon/ic_visible@2x.png" mode="widthFix"></image>
                            <image :src="showMoney?'/static/icon/ic_visible@2x.png':'/static/icon/ic_invisible@2x.png'" @click="showMoney=!showMoney" mode="widthFix"></image>
                        </view>
                        <view class="data-c-item-bottom">
                            <text>{{(countData.saleTotal||0).toFixed(0)}}</text>
                            <text>.{{countData.saleTotalFloat || '00'}}</text>
                            <text v-if="showMoney">{{(countData.saleTotalNum||0).toFixed(0)}}</text>
                            <text  v-if="showMoney">{{countData.saleTotalFloat || '.00'}}</text>
                            <text  v-if="!showMoney">****</text>
                        </view>
                    </view>
                    <view class="data-c-item">
@@ -56,8 +57,9 @@
                            <text>结算利润(元)</text>
                        </view>
                        <view class="data-c-item-bottom">
                            <text>{{(countData.profitTotal||0).toFixed(0)}}</text>
                            <text>.{{countData.profitTotalFloat || '00'}}</text>
                            <text  v-if="showMoney">{{(countData.profitTotalNum||0).toFixed(0)}}</text>
                            <text  v-if="showMoney">{{countData.profitTotalFloat || '.00'}}</text>
                            <text  v-if="!showMoney">****</text>
                        </view>
                    </view>
                    <view class="data-c-item">
@@ -65,7 +67,8 @@
                            <text>订单数</text>
                        </view>
                        <view class="data-c-item-bottom">
                            <text>{{countData.orderNum||0}}</text>
                            <text  v-if="showMoney">{{countData.orderNum||0}}</text>
                            <text  v-if="!showMoney">****</text>
                        </view>
                    </view>
                </view>
@@ -102,45 +105,61 @@
                <view style="width: 25%; height: 0;"></view>
                <view style="width: 25%; height: 0;"></view>
            </view>
            <view class="title"  v-if="!show">待处理订单 (2)</view>
            <view class="title"  v-if="!show">待处理订单 ({{total}})</view>
            <view class="list"  v-if="!show">
                <view class="list-item" v-for="(item, index) in 5" :key="index">
                <view class="list-item" v-for="(item, index) in dataList" :key="index">
                    <view class="a">
                        <view class="a-left">
                            <view class="a-left-tips">自提</view>
                            <text>订单号:71379283984239</text>
                            <view class="a-left-tips">{{item.receiveType==1?'自提':'快递配送'}}</view>
                            <text>订单号:{{item.id}}</text>
                        </view>
                        <view class="a-right">待自提</view>
                        <text v-if="item.status ==0" class="a-right">待支付</text>
                        <text  v-if="item.status ==1" class="a-right">{{item.receiveType==1?'待自提':'待发货'}}</text>
                        <text  v-if="item.status ==2" class="a-right">待收货</text>
                        <text  v-if="item.status ==3" class="a-right">交易完成</text>
                        <text  v-if="item.status ==4"class="a-right">已取消</text>
                        <text  v-if="item.status ==6" class="a-right">已退款</text>
                    </view>
                    <view class="b">
                        <view class="b-item">
                        <view class="b-item" v-for="(item1, index1) in (item.goodsorderDetailList||[])">
                            <view class="b-item-image">
                                <image src="/static/logo.png" mode="widthFix"></image>
                                <image :src="item1.imgurl||'/static/logo.png'" mode="widthFix"></image>
                            </view>
                            <view class="b-item-title">中联艾禾宽齿 适用雷沃/中联/久保田</view>
                            <view class="b-item-title">{{item1.name||''}}</view>
                            <view class="b-item-jia">
                                <text>¥499.00</text>
                                <text>x1</text>
                                <text>¥{{(item1.price||0).toFixed(2)}}</text>
                                <text>x{{item1.goodsNum||0}}</text>
                            </view>
                        </view>
                        <view class="b-item" v-for="(item1, index1) in (item.goodsorderDetailList||[])">
                            <view class="b-item-image">
                                <image :src="item1.imgurl||'/static/logo.png'" mode="widthFix"></image>
                            </view>
                            <view class="b-item-title">{{item1.name||''}}</view>
                            <view class="b-item-jia">
                                <text>¥{{(item1.price||0).toFixed(2)}}</text>
                                <text>x{{item1.goodsNum||0}}</text>
                            </view>
                        </view>
                    </view>
                    <view class="c">
                        <view class="c-label">
                            <view class="c-label-title">需付款:</view>
                            <view class="c-label-title">实付款:</view>
                            <view class="c-label-price">
                                <text>998</text>
                                <text>.00</text>
                                <text>{{(item.price||0).toFixed(2)}}</text>
                                <text></text>
                            </view>
                        </view>
                        <view class="c-btns">
                            <view class="c-btns-item blue">联系客户</view>
                            <view class="c-btns-item blue" @click="contactPhone(item)">联系客户</view>
                            <view class="c-btns-item bg">自提核销</view>
                        </view>
                    </view>
                    <view class="d">
                        订单备注:11月22日来拿
                    <view class="d" v-if="item.memberInfo">
                        订单备注:{{item.memberInfo||''}}
                    </view>
                </view>
                <view v-if="!hasNext" class="nomore">已加载全部</view>
            </view>
        </view>
        <!-- 确认退出登陆 -->
@@ -158,6 +177,30 @@
                </view>
            </view>
        </u-popup>
        <u-popup :show="showPhone" round="15" mode="bottom" :safeAreaInsetBottom="true"  @close="contactPhone()" :closeable="true" :closeOnClickOverlay="true">
            <view class="phone">
                <view class="phone-head">
                    <view></view>
                    <text>联系客户</text>
                </view>
                <!-- <view class="phone-item">
                    <view>
                        <image style="width: 36rpx;height: 36rpx" src="/static/icon/ic_kefu.png" mode="widthFix"></image>
                        <button open-type="contact" plain="true" bindcontact="handleContact">在线客服</button>
                    </view>
                     <view class="line" v-if="serverPhone && serverPhone.length"></view>
                </view> -->
                 <view class="phone-item" >
                     <view>
                        <image src="/static/icon/ic_call@2x.png" mode="widthFix" @click="contactPhoneDo()"></image>
                        <text>{{linkItem.linkname}} </text>
                        <text style="margin-left: 10px;"> {{linkItem.linkphone}}</text>
                    </view>
                 </view>
                 <view style="width: 100%; height: 30rpx;"></view>
                <!-- <view class="phone-botton"  @click="contactPhone()" >关闭</view> -->
            </view>
        </u-popup>
    </view>
</template>
@@ -171,7 +214,15 @@
            return { 
                show:false,
                active:0,
                loading:false,
                showMoney:false,
                showPhone:false,
                currentPage:1,
                total:0,
                hasNext:true,
                dataList:[],
                shop:{}, 
                linkItem:{},
                countData:{},
                backgroundImage: require('@/static/images/bg_card@2x.png')
            };
@@ -179,20 +230,86 @@
        onShow() {
             this.shop  ={}
             this.checkShopLogin()
             this.active=0
             this.shop = this.shopInfo || {}
             this.getCountData()
             this.currentPage = 0
             this.getOrderList()
        },
        onReachBottom(){
        onReachBottom(){
            this.getOrderList( );
        },
        methods:{ 
            contactPhone(item){
                 this.showPhone = !this.showPhone
                 this.linkItem = item ||{}
                 console.log("==================================",this.showPhone)
            },
            contactPhoneDo(){
                if(this.linkItem.linkphone !=null && this.linkItem.linkphone!=''){
                    uni.makePhoneCall({
                       phoneNumber: this.linkItem.linkphone
                    })
                }
            },
            changeActive(index){
                this.active = index
                this.getCountData(index)
            },
            checkShopLogin(){
                var that =this
                if( this.shopInfo ==null || this.shopInfo.id==null ||  this.shopToken==null || this.shopToken==''){
                     this.jumpShopLogin()
                } 
            },
            async  getCountData(index){
                    var that =this
                    let res = await that.$u.api.saleReport({  dateType: index,  endDate: null, startDate: null, tokenType:1  })
                    if (res.code === 200) {
                        this.active = index
                        this.countData = res.data
                        this.countData.profitTotal = (this.countData.profitTotal||0.00 ).toFixed(2)
                        this.countData.saleTotal = (this.countData.saleTotal||0.00).toFixed(2)
                        this.countData.profitTotalNum = Math.floor(this.countData.profitTotal)
                        this.countData.saleTotalNum = Math.floor( this.countData.saleTotal)
                        var t1 =(this.countData.profitTotal - this.countData.profitTotalNum).toFixed(2)
                        var t2 =(this.countData.saleTotal - this.countData.saleTotalNum).toFixed(2)
                        this.countData.profitTotalFloat =( t1+'').slice(1, 4)
                        this.countData.saleTotalFloat = ( t2+'').slice(1, 4)
                    }
            },
            async  getOrderList(){
                    if(this.loading || !this.hasNext){
                        return
                    }
                    this.loading=true
                    this.currentPage =   this.currentPage+1
                    if(this.currentPage == 1){
                        this.hasNext =true
                        this.dataList=[]
                    }
                    var that =this
                    let res = await that.$u.api.shopOrderPage({
                            capacity:10,
                            model: {
                                receiveType: 1,
                                status: 1
                            },
                            page:this.currentPage
                        });
                        console.log(res)
                    if (res.code === 200 ) {
                        if ( res.data && res.data.page ===this.currentPage) {
                            res.data.records = res.data.records||[]
                             that.dataList.push(...res.data.records)
                             that.total=res.data.total
                             if( this.currentPage >= res.data.pageCount||0){
                                 that.hasNext=false
                             }else{
                                 that.hasNext=true
                             }
                        }
                    }
                    this.loading=false
            },
            logoutCom(){
                this.show=!this.show
@@ -275,6 +392,13 @@
            .list {
                width: 100%;
                margin-top: 30rpx;
                padding-bottom: 60rpx;
                .nomore{
                    width: 100%;
                    text-align: center;
                    font-size: 24rpx;
                    color: #666666;
                }
                .list-item {
                    width: 100%;
                    padding: 30rpx;
@@ -317,8 +441,7 @@
                        }
                    }
                    .b {
                        width: 100%;
                        height: 136rpx;
                        width: 100%;
                        display: flex;
                        flex-direction: column;
                        margin-top: 22rpx;
@@ -350,6 +473,10 @@
                                font-size: 30rpx;
                                color: #222222;
                                margin-right: 30rpx;
                                display: -webkit-box;
                                -webkit-line-clamp: 2; /* 限制文本为2行 */
                                -webkit-box-orient: vertical;
                                overflow: hidden;
                            }
                            .b-item-jia {
                                flex-shrink: 0;
@@ -636,5 +763,68 @@
                }
            }
        }
        .phone {
            width: 100%;
            padding-top: 40rpx;
            box-sizing: border-box;
            .phone-botton {
                width: 100%;
                height: 88rpx;
                line-height: 88rpx;
                text-align: center;
                font-weight: 500;
                font-size: 32rpx;
                color: #FFFFFF;
                background: #00BC12;
                border-radius: 44rpx;
                margin-top: 60rpx;
            }
            .phone-head {
                width: 100%;
                text-align: center;
                justify-content: space-between;
                margin-bottom: 40rpx;
                text {
                    font-weight: 800;
                    font-size: 32rpx;
                    color: #222222;
                }
            }
            .phone-item {
                width: 100%;
                text-align: center;
                display: flex;
                justify-content: center;
                flex-direction: column;
                // border-bottom: 1rpx solid #eeeeee;
                line-height: 78rpx;
                button{
                    border: 1rpx white solid;
                    display: inline;
                    width: 300rpx;
                    font-weight: 500;
                    font-size: 32rpx;
                    line-height: 32rpx;
                    color: #222222;
                }
                image{
                    width: 28rpx;
                    height: 28rpx;
                    margin-right: 30rpx;
                }
                .line{
                    width: 100%;
                    height: 1rpx;
                    background-color: #f2f2f2
                }
                text {
                    font-weight: 500;
                    font-size: 28rpx;
                    line-height: 28rpx;
                    color: #222222;
                }
            }
        }
    }
</style>
mini-program/static/icon/ic_invisible@2x.png
mini-program/unpackage/dist/dev/.sourcemap/mp-weixin/pages/distributor/distributor.js.map
@@ -1 +1 @@
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?d788","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?21d3","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?3920","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?c07e","uni-app:///pages/distributor/distributor.vue","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?25ca","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?5758","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?c614","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?59e6"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","computed","data","show","active","shop","countData","backgroundImage","onShow","onReachBottom","methods","changeActive","checkShopLogin","logoutCom","logout","that","tokenType","res","jumpShopLogin","uni","url"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,oBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACa;AACyB;;;AAGhG;AACiL;AACjL,gBAAgB,kLAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,kGAAM;AACR,EAAE,2GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACxBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC9CA;AAAA;AAAA;AAAA;AAA8qB,CAAgB,8oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACoKlsB;AAAA;AAAA;AAAA,eACA;EACAC,4BACA,+EACA;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;IACA;IACA;EACA;EACAC,yCAEA;EACAC;IACAC;MACA;IACA;IACAC;MACA;MACA;QACA;MACA;IACA;IACAC;MACA;MACA,gBAEA,QAEA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAC;gBAAA;gBAAA,OACAA;kBAAAC;gBAAA;cAAA;gBAAAC;gBAAA,MACAA;kBAAA;kBAAA;gBAAA;gBAAA;gBAAA,OACAF;cAAA;gBAAA;gBAAA,OACAA;cAAA;gBACAA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAEA;IACAG;MACAC;QACAC;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC3NA;AAAA;AAAA;AAAA;AAA69B,CAAgB,64BAAG,EAAC,C;;;;;;;;;;;ACAj/B;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA;AAAA;AAAyyC,CAAgB,yqCAAG,EAAC,C;;;;;;;;;;;ACA7zC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/distributor/distributor.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/distributor/distributor.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./distributor.vue?vue&type=template&id=2094abd6&scoped=true&\"\nvar renderjs\nimport script from \"./distributor.vue?vue&type=script&lang=js&\"\nexport * from \"./distributor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./distributor.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./distributor.vue?vue&type=style&index=1&id=2094abd6&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"2094abd6\",\n  null,\n  false,\n  components,\n  renderjs\n)\n\ncomponent.options.__file = \"pages/distributor/distributor.vue\"\nexport default component.exports","export * from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=template&id=2094abd6&scoped=true&\"","var components\ntry {\n  components = {\n    uPopup: function () {\n      return import(\n        /* webpackChunkName: \"node-modules/uview-ui/components/u-popup/u-popup\" */ \"uview-ui/components/u-popup/u-popup.vue\"\n      )\n    },\n  }\n} catch (e) {\n  if (\n    e.message.indexOf(\"Cannot find module\") !== -1 &&\n    e.message.indexOf(\".vue\") !== -1\n  ) {\n    console.error(e.message)\n    console.error(\"1. 排查组件名称拼写是否正确\")\n    console.error(\n      \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n    )\n    console.error(\n      \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n    )\n  } else {\n    throw e\n  }\n}\nvar render = function () {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  var g0 = (_vm.shop.integral || 0).toFixed(0)\n  var g1 = (_vm.countData.saleTotal || 0).toFixed(0)\n  var g2 = (_vm.countData.profitTotal || 0).toFixed(0)\n  _vm.$mp.data = Object.assign(\n    {},\n    {\n      $root: {\n        g0: g0,\n        g1: g1,\n        g2: g2,\n      },\n    }\n  )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"box\" :style=\"\">\r\n\t\t<view class=\"head\" :style=\"{ height: 'calc(' + (navHeight + statusbarHeight + 'px + 400rpx)') }\">\r\n\t\t\t<view class=\"head-bar\" :style=\"{ height: navHeight + statusbarHeight + 'px' }\">\r\n\t\t\t\t<view :style=\"{ width: '100%', height: statusbarHeight + 'px' }\"></view>\r\n\t\t\t\t<view class=\"head-bar-nav\" :style=\"{ height: navHeight + 'px' }\">\r\n\t\t\t\t\t<view class=\"loginOut\" @click=\"logoutCom()\">\r\n\t\t\t\t\t\t<image src=\"/static/icon/ic_tixing@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<text>登出</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"user\">\r\n\t\t\t\t<view class=\"user-left\">\r\n\t\t\t\t\t<view class=\"user-left-image\">\r\n\t\t\t\t\t\t<image :src=\"shop.imgurl||'/static/logo.png'\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"user-left-info\">\r\n\t\t\t\t\t\t<view class=\"user-left-info-title\">{{shop.name||''}}</view>\r\n\t\t\t\t\t\t<view class=\"user-left-info-val\">\r\n\t\t\t\t\t\t\t<text>门店ID:{{shop.code}}</text>\r\n\t\t\t\t\t\t\t<text>积分:{{(shop.integral||0).toFixed(0)}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"user-qrcode\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_QRcode@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"data\" :style=\"{ backgroundImage: 'url(' + backgroundImage + ')' }\">\r\n\t\t\t\t<view class=\"data-a\">\r\n\t\t\t\t\t<view class=\"data-a-left\">\r\n\t\t\t\t\t\t<view :class=\"'data-a-left-item '+(active ==0?'active':'')\" @click=\"changeActive(0)\">今日</view>\r\n\t\t\t\t\t\t<view :class=\"'data-a-left-item '+(active ==1?'active':'')\" @click=\"changeActive(1)\">本月</view>\r\n\t\t\t\t\t\t<view :class=\"'data-a-left-item '+(active ==2?'active':'')\" @click=\"changeActive(2)\">上月</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"data-a-to\">\r\n\t\t\t\t\t\t<text>销售明细</text>\r\n\t\t\t\t\t\t<image src=\"/static/icon/ic_ar2@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"data-b\"></view>\r\n\t\t\t\t<view class=\"data-c\">\r\n\t\t\t\t\t<view class=\"data-c-item\">\r\n\t\t\t\t\t\t<view class=\"data-c-item-top\">\r\n\t\t\t\t\t\t\t<text>销售额(元)</text>\r\n\t\t\t\t\t\t\t<image src=\"/static/icon/ic_visible@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"data-c-item-bottom\">\r\n\t\t\t\t\t\t\t<text>{{(countData.saleTotal||0).toFixed(0)}}</text>\r\n\t\t\t\t\t\t\t<text>.{{countData.saleTotalFloat || '00'}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"data-c-item\">\r\n\t\t\t\t\t\t<view class=\"data-c-item-top\">\r\n\t\t\t\t\t\t\t<text>结算利润(元)</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"data-c-item-bottom\">\r\n\t\t\t\t\t\t\t<text>{{(countData.profitTotal||0).toFixed(0)}}</text>\r\n\t\t\t\t\t\t\t<text>.{{countData.profitTotalFloat || '00'}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"data-c-item\">\r\n\t\t\t\t\t\t<view class=\"data-c-item-top\">\r\n\t\t\t\t\t\t\t<text>订单数</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"data-c-item-bottom\">\r\n\t\t\t\t\t\t\t<text>{{countData.orderNum||0}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"func\">\r\n\t\t\t\t<view class=\"func-item\" style=\"margin-bottom: 30rpx;\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_shangpingl@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>商品管理</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"func-item\" style=\"margin-bottom: 30rpx;\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_dingdanguanli@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>订单管理</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"func-item\" style=\"margin-bottom: 30rpx;\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_xunizhanghu@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>虚拟账号</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"func-item\" style=\"margin-bottom: 30rpx;\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_zitihexiao@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>自提核销</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"func-item\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_wodezizhi@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>我的资质</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"func-item\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_wodehuiyuan@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>我的会员</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"func-item\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_zhuanshuhaibao@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>专属海报</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"width: 25%; height: 0;\"></view>\r\n\t\t\t\t<view style=\"width: 25%; height: 0;\"></view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"title\"  v-if=\"!show\">待处理订单 (2)</view>\r\n\t\t\t<view class=\"list\"  v-if=\"!show\">\r\n\t\t\t\t<view class=\"list-item\" v-for=\"(item, index) in 5\" :key=\"index\">\r\n\t\t\t\t\t<view class=\"a\">\r\n\t\t\t\t\t\t<view class=\"a-left\">\r\n\t\t\t\t\t\t\t<view class=\"a-left-tips\">自提</view>\r\n\t\t\t\t\t\t\t<text>订单号:71379283984239</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"a-right\">待自提</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"b\">\r\n\t\t\t\t\t\t<view class=\"b-item\">\r\n\t\t\t\t\t\t\t<view class=\"b-item-image\">\r\n\t\t\t\t\t\t\t\t<image src=\"/static/logo.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"b-item-title\">中联艾禾宽齿 适用雷沃/中联/久保田</view>\r\n\t\t\t\t\t\t\t<view class=\"b-item-jia\">\r\n\t\t\t\t\t\t\t\t<text>¥499.00</text>\r\n\t\t\t\t\t\t\t\t<text>x1</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"c\">\r\n\t\t\t\t\t\t<view class=\"c-label\">\r\n\t\t\t\t\t\t\t<view class=\"c-label-title\">需付款:</view>\r\n\t\t\t\t\t\t\t<view class=\"c-label-price\">\r\n\t\t\t\t\t\t\t\t<text>998</text>\r\n\t\t\t\t\t\t\t\t<text>.00</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"c-btns\">\r\n\t\t\t\t\t\t\t<view class=\"c-btns-item blue\">联系客户</view>\r\n\t\t\t\t\t\t\t<view class=\"c-btns-item bg\">自提核销</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"d\">\r\n\t\t\t\t\t\t订单备注:11月22日来拿\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 确认退出登陆 -->\r\n\t\t<u-popup :show=\"show\" round=\"15\" :safeAreaInsetBottom=\"false\" mode=\"center\"  >\r\n\t\t\t<view class=\"tc\">\r\n\t\t\t\t<view class=\"tc-contemt\">\r\n\t\t\t\t\t<view class=\"tc-contemt-title\">确认退出登陆</view>\r\n\t\t\t\t\t<view class=\"tc-contemt-nr\">\r\n\t\t\t\t\t\t您确认退出登陆吗?\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tc-btn\">\r\n\t\t\t\t\t<view class=\"tc-btn-item\" @click=\"logoutCom\">取消</view>\r\n\t\t\t\t\t<view class=\"tc-btn-item\" @click=\"logout\" style=\"color: red;\">确认退出</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</u-popup>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport { mapState } from 'vuex'\r\n\texport default {\r\n\t\tcomputed: {\r\n\t\t\t...mapState(['navHeight', 'statusbarHeight','shopInfo', 'shopToken'])\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn { \r\n\t\t\t\tshow:false,\r\n\t\t\t\tactive:0,\r\n\t\t\t\tshop:{}, \r\n\t\t\t\tcountData:{},\r\n\t\t\t\tbackgroundImage: require('@/static/images/bg_card@2x.png')\r\n\t\t\t};\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\t this.shop  ={}\r\n\t\t\t this.checkShopLogin()\r\n\t\t\t this.shop = this.shopInfo || {}\r\n\t\t},\r\n\t\tonReachBottom(){\r\n\t\t\t\r\n\t\t},\r\n\t\tmethods:{ \r\n\t\t\tchangeActive(index){\r\n\t\t\t\tthis.active = index\r\n\t\t\t},\r\n\t\t    checkShopLogin(){\r\n\t\t\t\tvar that =this\r\n\t\t\t\tif( this.shopInfo ==null || this.shopInfo.id==null ||  this.shopToken==null || this.shopToken==''){\r\n\t\t\t\t\t this.jumpShopLogin()\r\n\t\t\t\t} \r\n\t\t\t},\r\n\t\t\tlogoutCom(){\r\n\t\t\t\tthis.show=!this.show\r\n\t\t\t\tif(this.show){\r\n\t\t\t\t\t\r\n\t\t\t\t}else{\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}, \r\n\t\t\tasync  logout(){ \r\n\t\t\t\tvar that =this\r\n\t\t\t\tlet res = await that.$u.api.shopLogout({tokenType:1  })\r\n\t\t\t\tif (res.code === 200) {\r\n\t\t\t\t\tawait that.$store.commit('setShopInfo',null) \r\n\t\t\t\t\tawait that.$store.commit('setShopToken',null) \r\n\t\t\t\t\tthat.jumpShopLogin()\r\n\t\t\t\t} \r\n\t\t\t},\r\n\t\t\tjumpShopLogin() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/login/login'\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\tpage {\r\n\t\tbackground-color: #F9F9FB;\r\n\t}\r\n</style>\r\n<style lang=\"scss\" scoped>\r\n\t.box {\r\n\t\twidth: 100%;\r\n\t\t.head {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 424rpx;\r\n\t\t\tpadding: 0 30rpx;\r\n\t\t\tposition: sticky;\r\n\t\t\ttop: 0;\r\n\t\t\tleft: 0;\r\n\t\t\tz-index: 999;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\tbackground: linear-gradient(180deg, #C8F3FF 0%, #ffffff 100%);\r\n\t\t\r\n\t\t\t.head-bar {\r\n\t\t\t\twidth: 100%;\r\n\t\t\r\n\t\t\t\t.head-bar-nav {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\r\n\t\t\t\t\t.loginOut {\r\n\t\t\t\t\t\twidth: 120rpx;\r\n\t\t\t\t\t\theight: 52rpx;\r\n\t\t\t\t\t\tbackground: #C3E6F5;\r\n\t\t\t\t\t\tborder-radius: 26rpx;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\timage {\r\n\t\t\t\t\t\t\twidth: 24rpx;\r\n\t\t\t\t\t\t\theight: 24rpx;\r\n\t\t\t\t\t\t\tmargin-right: 8rpx;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\tcolor: #004096;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.title {\r\n\t\t\t\tfont-weight: 600;\r\n\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\tcolor: #111111;\r\n\t\t\t\tmargin-top: 40rpx;\r\n\t\t\t}\r\n\t\t\t.list {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tmargin-top: 30rpx;\r\n\t\t\t\t.list-item {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tpadding: 30rpx;\r\n\t\t\t\t\tbox-sizing: border-box;\r\n\t\t\t\t\tbackground: #FFFFFF;\r\n\t\t\t\t\tborder-radius: 16rpx;\r\n\t\t\t\t\tmargin-bottom: 20rpx;\r\n\t\t\t\t\t&:last-child {\r\n\t\t\t\t\t\tmargin: 0 !important;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.a {\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t\t.a-left {\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\t.a-left-tips {\r\n\t\t\t\t\t\t\t\tpadding: 0 6rpx;\r\n\t\t\t\t\t\t\t\theight: 40rpx;\r\n\t\t\t\t\t\t\t\tline-height: 40rpx;\r\n\t\t\t\t\t\t\t\tbackground: #00B775;\r\n\t\t\t\t\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 22rpx;\r\n\t\t\t\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t\t\t\t\tmargin-right: 16rpx;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t.a-right {\r\n\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\tcolor: #E4001D;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.b {\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\theight: 136rpx;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tflex-direction: column;\r\n\t\t\t\t\t\tmargin-top: 22rpx;\r\n\t\t\t\t\t\t.b-item {\r\n\t\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\t\theight: 136rpx;\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: flex-start;\r\n\t\t\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t\t\tmargin-bottom: 22rpx;\r\n\t\t\t\t\t\t\t&:last-child {\r\n\t\t\t\t\t\t\t\tmargin: 0 !important;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.b-item-image {\r\n\t\t\t\t\t\t\t\tflex-shrink: 0;\r\n\t\t\t\t\t\t\t\twidth: 136rpx;\r\n\t\t\t\t\t\t\t\theight: 136rpx;\r\n\t\t\t\t\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\t\t\t\tborder: 1rpx solid #E5E5E5;\r\n\t\t\t\t\t\t\t\tmargin-right: 20rpx;\r\n\t\t\t\t\t\t\t\timage {\r\n\t\t\t\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.b-item-title {\r\n\t\t\t\t\t\t\t\tflex: 1;\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 30rpx;\r\n\t\t\t\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t\t\t\t\tmargin-right: 30rpx;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.b-item-jia {\r\n\t\t\t\t\t\t\t\tflex-shrink: 0;\r\n\t\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\t\tflex-direction: column;\r\n\t\t\t\t\t\t\t\talign-items: flex-end;\r\n\t\t\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\t\t\t&:nth-child(1) {\r\n\t\t\t\t\t\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\t\t\t\t\t\tfont-size: 30rpx;\r\n\t\t\t\t\t\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t&:nth-child(2) {\r\n\t\t\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\t\t\t\t\tcolor: #999999;\r\n\t\t\t\t\t\t\t\t\t\tmargin-top: 14rpx;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.c {\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t\tmargin-top: 24rpx;\r\n\t\t\t\t\t\t.c-label {\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\t.c-label-title {\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\t\tcolor: #333333;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.c-label-price {\r\n\t\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\t\talign-items: baseline;\r\n\t\t\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\t\t\t&:nth-child(1) {\r\n\t\t\t\t\t\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t\t\t\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\t\t\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t\t\t\t\t\t\t&::before {\r\n\t\t\t\t\t\t\t\t\t\t\tcontent: '¥';\r\n\t\t\t\t\t\t\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t&:nth-child(2) {\r\n\t\t\t\t\t\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t.c-btns {\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\t.blue {\r\n\t\t\t\t\t\t\t\tborder: 1rpx solid #004096;\r\n\t\t\t\t\t\t\t\tcolor: #004096 !important;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.bg {\r\n\t\t\t\t\t\t\t\tbackground: #004096 !important;\r\n\t\t\t\t\t\t\t\tcolor: #ffffff !important;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.c-btns-item {\r\n\t\t\t\t\t\t\t\tpadding: 0 24rpx;\r\n\t\t\t\t\t\t\t\tbox-sizing: border-box;\r\n\t\t\t\t\t\t\t\theight: 64rpx;\r\n\t\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\t\t\tborder-radius: 34rpx;\r\n\t\t\t\t\t\t\t\tborder: 1rpx solid #B2B2B2;\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t\t\t\tcolor: #666666;\r\n\t\t\t\t\t\t\t\tmargin-right: 20rpx;\r\n\t\t\t\t\t\t\t\t&:last-child {\r\n\t\t\t\t\t\t\t\t\tmargin: 0 !important;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.d {\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\tpadding: 20rpx;\r\n\t\t\t\t\t\tbackground: #F8F9FB;\r\n\t\t\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\t\t\tbox-sizing: border-box;\r\n\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\tcolor: #666666;\r\n\t\t\t\t\t\tmargin-top: 24rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.user {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 108rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t.user-left {\r\n\t\t\t\t\tflex: 1;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t.user-left-image {\r\n\t\t\t\t\t\tflex-shrink: 0;\r\n\t\t\t\t\t\twidth: 108rpx;\r\n\t\t\t\t\t\theight: 108rpx;\r\n\t\t\t\t\t\tborder-radius: 50%;\r\n\t\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\t\tmargin-right: 24rpx;\r\n\t\t\t\t\t\timage {\r\n\t\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.user-left-info {\r\n\t\t\t\t\t\tflex: 1;\r\n\t\t\t\t\t\theight: 108rpx;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tflex-direction: column;\r\n\t\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t\t.user-left-info-title {\r\n\t\t\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t\t\t\tfont-size: 36rpx;\r\n\t\t\t\t\t\t\tcolor: #111111;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t.user-left-info-val {\r\n\t\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\t\t\tcolor: #666666;\r\n\t\t\t\t\t\t\t\t&:nth-child(2) {\r\n\t\t\t\t\t\t\t\t\tmargin-left: 60rpx;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t.user-qrcode {\r\n\t\t\t\t\twidth: 40rpx;\r\n\t\t\t\t\theight: 40rpx;\r\n\t\t\t\t\timage {\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.data {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 250rpx;\r\n\t\t\t\tbackground-repeat: no-repeat;\r\n\t\t\t\tbackground-size: 100% 100%;\r\n\t\t\t\tmargin-top: 45rpx;\r\n\t\t\t\tpadding: 30rpx;\r\n\t\t\t\tbox-sizing: border-box;\r\n\t\t\t\t.data-a {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t.data-a-left {\r\n\t\t\t\t\t\tflex: 1;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t.active {\r\n\t\t\t\t\t\t\tfont-weight: 600 !important;\r\n\t\t\t\t\t\t\tfont-size: 32rpx !important;\r\n\t\t\t\t\t\t\tcolor: #FFFFFF !important;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t.data-a-left-item {\r\n\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t\t\tcolor: rgba(255,255,255,0.8);\r\n\t\t\t\t\t\t\tmargin-right: 32rpx;\r\n\t\t\t\t\t\t\t&:last-child {\r\n\t\t\t\t\t\t\t\tmargin: 0 !important;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.data-a-to {\r\n\t\t\t\t\t\tflex-shrink: 0;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\t\tcolor: rgba(255,255,255,0.7);\r\n\t\t\t\t\t\t\tmargin-right: 8rpx;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\timage {\r\n\t\t\t\t\t\t\twidth: 8rpx;\r\n\t\t\t\t\t\t\theight: 18rpx;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t.data-b {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\theight: 1rpx;\r\n\t\t\t\t\tbackground-color: rgba(255,255,255,0.09);\r\n\t\t\t\t\tmargin: 20rpx 0;\r\n\t\t\t\t}\r\n\t\t\t\t.data-c {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t.data-c-item {\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tflex-direction: column;\r\n\t\t\t\t\t\talign-items: flex-start;\r\n\t\t\t\t\t\tjustify-content: space-evenly;\r\n\t\t\t\t\t\t.data-c-item-top {\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\t\t\tcolor: rgba(255,255,255,0.7);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\timage {\r\n\t\t\t\t\t\t\t\twidth: 40rpx;\r\n\t\t\t\t\t\t\t\theight: 40rpx;\r\n\t\t\t\t\t\t\t\tmargin-left: 10rpx;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t.data-c-item-bottom {\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: baseline;\r\n\t\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\t\tmargin-top: 10rpx;\r\n\t\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\t\t&:nth-child(1) {\r\n\t\t\t\t\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t\t\t\t\t\tfont-size: 44rpx;\r\n\t\t\t\t\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t&:nth-child(2) {\r\n\t\t\t\t\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.func {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tpadding: 30rpx;\r\n\t\t\t\tbox-sizing: border-box;\r\n\t\t\t\tbackground: #FFFFFF;\r\n\t\t\t\tborder-radius: 16rpx;\r\n\t\t\t\tmargin-top: 30rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tflex-wrap: wrap;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t.func-item {\r\n\t\t\t\t\twidth: 25%;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tflex-direction: column;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\timage {\r\n\t\t\t\t\t\twidth: 88rpx;\r\n\t\t\t\t\t\theight: 88rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t\ttext {\r\n\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\tcolor: #333333;\r\n\t\t\t\t\t\tmargin-top: 16rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>","import mod from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n    if(module.hot) {\n      // 1770710634032\n      var cssReload = require(\"D:/soft/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"/\",\"locals\":false});\n      module.hot.dispose(cssReload);\n      module.hot.accept(undefined, cssReload);\n    }\n  ","import mod from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=style&index=1&id=2094abd6&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=style&index=1&id=2094abd6&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n    if(module.hot) {\n      // 1770710640306\n      var cssReload = require(\"D:/soft/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"/\",\"locals\":false});\n      module.hot.dispose(cssReload);\n      module.hot.accept(undefined, cssReload);\n    }\n  "],"sourceRoot":""}
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?21d3","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?3920","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?c07e","uni-app:///pages/distributor/distributor.vue","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?25ca","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?5758","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?c614","webpack:///D:/code/idea2023/git/dingyuannongji/mini-program/pages/distributor/distributor.vue?59e6"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","computed","data","show","active","loading","showMoney","showPhone","currentPage","total","hasNext","dataList","shop","linkItem","countData","backgroundImage","onShow","onReachBottom","methods","contactPhone","console","contactPhoneDo","uni","phoneNumber","changeActive","checkShopLogin","getCountData","that","dateType","endDate","startDate","tokenType","res","t1","t2","getOrderList","capacity","model","receiveType","status","page","logoutCom","logout","jumpShopLogin","url"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,oBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACa;AACyB;;;AAGhG;AACiL;AACjL,gBAAgB,kLAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,kGAAM;AACR,EAAE,2GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACxBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtFA;AAAA;AAAA;AAAA;AAA8qB,CAAgB,8oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;AC+MlsB;AAAA;AAAA;AAAA,eACA;EACAC,4BACA,+EACA;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EACA;EACAC;IACA;EACA;EACAC;IACAC;MACA;MACA;MACAC;IACA;IACAC;MACA;QACAC;UACAC;QACA;MACA;IACA;IACAC;MACA;IACA;IACAC;MACA;MACA;QACA;MACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAC;gBAAA;gBAAA,OACAA;kBAAAC;kBAAAC;kBAAAC;kBAAAC;gBAAA;cAAA;gBAAAC;gBACA;kBACA;kBACA;kBACA;kBACA;kBACA;kBACA;kBACAC;kBACAC;kBACA;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA,MACA;kBAAA;kBAAA;gBAAA;gBAAA;cAAA;gBAGA;gBACA;gBACA;kBACA;kBACA;gBACA;gBACAR;gBAAA;gBAAA,OACAA;kBACAS;kBACAC;oBACAC;oBACAC;kBACA;kBACAC;gBACA;cAAA;gBAPAR;gBAQAZ;gBACA;kBACA;oBACAY;oBACA;oBACAL;oBACA;sBACAA;oBACA;sBACAA;oBACA;kBACA;gBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAc;MACA;MACA,gBAEA,QAEA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAf;gBAAA;gBAAA,OACAA;kBAAAI;gBAAA;cAAA;gBAAAC;gBAAA,MACAA;kBAAA;kBAAA;gBAAA;gBAAA;gBAAA,OACAL;cAAA;gBAAA;gBAAA,OACAA;cAAA;gBACAA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAEA;IACAgB;MACArB;QACAsB;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AChVA;AAAA;AAAA;AAAA;AAA69B,CAAgB,64BAAG,EAAC,C;;;;;;;;;;;ACAj/B;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA;AAAA;AAAyyC,CAAgB,yqCAAG,EAAC,C;;;;;;;;;;;ACA7zC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/distributor/distributor.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/distributor/distributor.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./distributor.vue?vue&type=template&id=2094abd6&scoped=true&\"\nvar renderjs\nimport script from \"./distributor.vue?vue&type=script&lang=js&\"\nexport * from \"./distributor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./distributor.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./distributor.vue?vue&type=style&index=1&id=2094abd6&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"2094abd6\",\n  null,\n  false,\n  components,\n  renderjs\n)\n\ncomponent.options.__file = \"pages/distributor/distributor.vue\"\nexport default component.exports","export * from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=template&id=2094abd6&scoped=true&\"","var components\ntry {\n  components = {\n    uPopup: function () {\n      return import(\n        /* webpackChunkName: \"node-modules/uview-ui/components/u-popup/u-popup\" */ \"uview-ui/components/u-popup/u-popup.vue\"\n      )\n    },\n  }\n} catch (e) {\n  if (\n    e.message.indexOf(\"Cannot find module\") !== -1 &&\n    e.message.indexOf(\".vue\") !== -1\n  ) {\n    console.error(e.message)\n    console.error(\"1. 排查组件名称拼写是否正确\")\n    console.error(\n      \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n    )\n    console.error(\n      \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n    )\n  } else {\n    throw e\n  }\n}\nvar render = function () {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  var g0 = (_vm.shop.integral || 0).toFixed(0)\n  var g1 = _vm.showMoney ? (_vm.countData.saleTotalNum || 0).toFixed(0) : null\n  var g2 = _vm.showMoney ? (_vm.countData.profitTotalNum || 0).toFixed(0) : null\n  var l2 = !_vm.show\n    ? _vm.__map(_vm.dataList, function (item, index) {\n        var $orig = _vm.__get_orig(item)\n        var l0 = _vm.__map(\n          item.goodsorderDetailList || [],\n          function (item1, index1) {\n            var $orig = _vm.__get_orig(item1)\n            var g3 = (item1.price || 0).toFixed(2)\n            return {\n              $orig: $orig,\n              g3: g3,\n            }\n          }\n        )\n        var l1 = _vm.__map(\n          item.goodsorderDetailList || [],\n          function (item1, index1) {\n            var $orig = _vm.__get_orig(item1)\n            var g4 = (item1.price || 0).toFixed(2)\n            return {\n              $orig: $orig,\n              g4: g4,\n            }\n          }\n        )\n        var g5 = (item.price || 0).toFixed(2)\n        return {\n          $orig: $orig,\n          l0: l0,\n          l1: l1,\n          g5: g5,\n        }\n      })\n    : null\n  if (!_vm._isMounted) {\n    _vm.e0 = function ($event) {\n      _vm.showMoney = !_vm.showMoney\n    }\n  }\n  _vm.$mp.data = Object.assign(\n    {},\n    {\n      $root: {\n        g0: g0,\n        g1: g1,\n        g2: g2,\n        l2: l2,\n      },\n    }\n  )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"box\" :style=\"\">\r\n\t\t<view class=\"head\" :style=\"{ height: 'calc(' + (navHeight + statusbarHeight + 'px + 400rpx)') }\">\r\n\t\t\t<view class=\"head-bar\" :style=\"{ height: navHeight + statusbarHeight + 'px' }\">\r\n\t\t\t\t<view :style=\"{ width: '100%', height: statusbarHeight + 'px' }\"></view>\r\n\t\t\t\t<view class=\"head-bar-nav\" :style=\"{ height: navHeight + 'px' }\">\r\n\t\t\t\t\t<view class=\"loginOut\" @click=\"logoutCom()\">\r\n\t\t\t\t\t\t<image src=\"/static/icon/ic_tixing@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<text>登出</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"user\">\r\n\t\t\t\t<view class=\"user-left\">\r\n\t\t\t\t\t<view class=\"user-left-image\">\r\n\t\t\t\t\t\t<image :src=\"shop.imgurl||'/static/logo.png'\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"user-left-info\">\r\n\t\t\t\t\t\t<view class=\"user-left-info-title\">{{shop.name||''}}</view>\r\n\t\t\t\t\t\t<view class=\"user-left-info-val\">\r\n\t\t\t\t\t\t\t<text>门店ID:{{shop.code}}</text>\r\n\t\t\t\t\t\t\t<text>积分:{{(shop.integral||0).toFixed(0)}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"user-qrcode\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_QRcode@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"data\" :style=\"{ backgroundImage: 'url(' + backgroundImage + ')' }\">\r\n\t\t\t\t<view class=\"data-a\">\r\n\t\t\t\t\t<view class=\"data-a-left\">\r\n\t\t\t\t\t\t<view :class=\"'data-a-left-item '+(active ==0?'active':'')\" @click=\"changeActive(0)\">今日</view>\r\n\t\t\t\t\t\t<view :class=\"'data-a-left-item '+(active ==1?'active':'')\" @click=\"changeActive(1)\">本月</view>\r\n\t\t\t\t\t\t<view :class=\"'data-a-left-item '+(active ==2?'active':'')\" @click=\"changeActive(2)\">上月</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"data-a-to\">\r\n\t\t\t\t\t\t<text>销售明细</text>\r\n\t\t\t\t\t\t<image src=\"/static/icon/ic_ar2@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"data-b\"></view>\r\n\t\t\t\t<view class=\"data-c\">\r\n\t\t\t\t\t<view class=\"data-c-item\">\r\n\t\t\t\t\t\t<view class=\"data-c-item-top\">\r\n\t\t\t\t\t\t\t<text>销售额(元)</text>\r\n\t\t\t\t\t\t\t<image :src=\"showMoney?'/static/icon/ic_visible@2x.png':'/static/icon/ic_invisible@2x.png'\" @click=\"showMoney=!showMoney\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"data-c-item-bottom\">\r\n\t\t\t\t\t\t\t<text v-if=\"showMoney\">{{(countData.saleTotalNum||0).toFixed(0)}}</text>\r\n\t\t\t\t\t\t\t<text  v-if=\"showMoney\">{{countData.saleTotalFloat || '.00'}}</text>\r\n\t\t\t\t\t\t\t<text  v-if=\"!showMoney\">****</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"data-c-item\">\r\n\t\t\t\t\t\t<view class=\"data-c-item-top\">\r\n\t\t\t\t\t\t\t<text>结算利润(元)</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"data-c-item-bottom\">\r\n\t\t\t\t\t\t\t<text  v-if=\"showMoney\">{{(countData.profitTotalNum||0).toFixed(0)}}</text>\r\n\t\t\t\t\t\t\t<text  v-if=\"showMoney\">{{countData.profitTotalFloat || '.00'}}</text>\r\n\t\t\t\t\t\t\t<text  v-if=\"!showMoney\">****</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"data-c-item\">\r\n\t\t\t\t\t\t<view class=\"data-c-item-top\">\r\n\t\t\t\t\t\t\t<text>订单数</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"data-c-item-bottom\">\r\n\t\t\t\t\t\t\t<text  v-if=\"showMoney\">{{countData.orderNum||0}}</text>\r\n\t\t\t\t\t\t\t<text  v-if=\"!showMoney\">****</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"func\">\r\n\t\t\t\t<view class=\"func-item\" style=\"margin-bottom: 30rpx;\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_shangpingl@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>商品管理</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"func-item\" style=\"margin-bottom: 30rpx;\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_dingdanguanli@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>订单管理</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"func-item\" style=\"margin-bottom: 30rpx;\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_xunizhanghu@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>虚拟账号</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"func-item\" style=\"margin-bottom: 30rpx;\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_zitihexiao@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>自提核销</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"func-item\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_wodezizhi@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>我的资质</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"func-item\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_wodehuiyuan@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>我的会员</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"func-item\">\r\n\t\t\t\t\t<image src=\"/static/icon/ic_zhuanshuhaibao@2x.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text>专属海报</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"width: 25%; height: 0;\"></view>\r\n\t\t\t\t<view style=\"width: 25%; height: 0;\"></view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"title\"  v-if=\"!show\">待处理订单 ({{total}})</view>\r\n\t\t\t<view class=\"list\"  v-if=\"!show\">\r\n\t\t\t\t<view class=\"list-item\" v-for=\"(item, index) in dataList\" :key=\"index\">\r\n\t\t\t\t\t<view class=\"a\">\r\n\t\t\t\t\t\t<view class=\"a-left\">\r\n\t\t\t\t\t\t\t<view class=\"a-left-tips\">{{item.receiveType==1?'自提':'快递配送'}}</view>\r\n\t\t\t\t\t\t\t<text>订单号:{{item.id}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<text v-if=\"item.status ==0\" class=\"a-right\">待支付</text>\r\n\t\t\t\t\t\t<text  v-if=\"item.status ==1\" class=\"a-right\">{{item.receiveType==1?'待自提':'待发货'}}</text>\r\n\t\t\t\t\t\t<text  v-if=\"item.status ==2\" class=\"a-right\">待收货</text>\r\n\t\t\t\t\t\t<text  v-if=\"item.status ==3\" class=\"a-right\">交易完成</text>\r\n\t\t\t\t\t\t<text  v-if=\"item.status ==4\"class=\"a-right\">已取消</text>\r\n\t\t\t\t\t\t<text  v-if=\"item.status ==6\" class=\"a-right\">已退款</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"b\">\r\n\t\t\t\t\t\t<view class=\"b-item\" v-for=\"(item1, index1) in (item.goodsorderDetailList||[])\">\r\n\t\t\t\t\t\t\t<view class=\"b-item-image\">\r\n\t\t\t\t\t\t\t\t<image :src=\"item1.imgurl||'/static/logo.png'\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"b-item-title\">{{item1.name||''}}</view>\r\n\t\t\t\t\t\t\t<view class=\"b-item-jia\">\r\n\t\t\t\t\t\t\t\t<text>¥{{(item1.price||0).toFixed(2)}}</text>\r\n\t\t\t\t\t\t\t\t<text>x{{item1.goodsNum||0}}</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"b-item\" v-for=\"(item1, index1) in (item.goodsorderDetailList||[])\">\r\n\t\t\t\t\t\t\t<view class=\"b-item-image\">\r\n\t\t\t\t\t\t\t\t<image :src=\"item1.imgurl||'/static/logo.png'\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"b-item-title\">{{item1.name||''}}</view>\r\n\t\t\t\t\t\t\t<view class=\"b-item-jia\">\r\n\t\t\t\t\t\t\t\t<text>¥{{(item1.price||0).toFixed(2)}}</text>\r\n\t\t\t\t\t\t\t\t<text>x{{item1.goodsNum||0}}</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"c\">\r\n\t\t\t\t\t\t<view class=\"c-label\">\r\n\t\t\t\t\t\t\t<view class=\"c-label-title\">实付款:</view>\r\n\t\t\t\t\t\t\t<view class=\"c-label-price\">\r\n\t\t\t\t\t\t\t\t<text>{{(item.price||0).toFixed(2)}}</text>\r\n\t\t\t\t\t\t\t\t<text></text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"c-btns\">\r\n\t\t\t\t\t\t\t<view class=\"c-btns-item blue\" @click=\"contactPhone(item)\">联系客户</view>\r\n\t\t\t\t\t\t\t<view class=\"c-btns-item bg\">自提核销</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"d\" v-if=\"item.memberInfo\">\r\n\t\t\t\t\t\t订单备注:{{item.memberInfo||''}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"!hasNext\" class=\"nomore\">已加载全部</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 确认退出登陆 -->\r\n\t\t<u-popup :show=\"show\" round=\"15\" :safeAreaInsetBottom=\"false\" mode=\"center\"  >\r\n\t\t\t<view class=\"tc\">\r\n\t\t\t\t<view class=\"tc-contemt\">\r\n\t\t\t\t\t<view class=\"tc-contemt-title\">确认退出登陆</view>\r\n\t\t\t\t\t<view class=\"tc-contemt-nr\">\r\n\t\t\t\t\t\t您确认退出登陆吗?\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tc-btn\">\r\n\t\t\t\t\t<view class=\"tc-btn-item\" @click=\"logoutCom\">取消</view>\r\n\t\t\t\t\t<view class=\"tc-btn-item\" @click=\"logout\" style=\"color: red;\">确认退出</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</u-popup>\r\n\t\t<u-popup :show=\"showPhone\" round=\"15\" mode=\"bottom\" :safeAreaInsetBottom=\"true\"  @close=\"contactPhone()\" :closeable=\"true\" :closeOnClickOverlay=\"true\">\r\n\t\t\t<view class=\"phone\">\r\n\t\t\t\t<view class=\"phone-head\">\r\n\t\t\t\t\t<view></view>\r\n\t\t\t\t\t<text>联系客户</text> \r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- <view class=\"phone-item\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<image style=\"width: 36rpx;height: 36rpx\" src=\"/static/icon/ic_kefu.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<button open-type=\"contact\" plain=\"true\" bindcontact=\"handleContact\">在线客服</button>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t <view class=\"line\" v-if=\"serverPhone && serverPhone.length\"></view>\r\n\t\t\t\t</view> -->\r\n\t\t\t\t <view class=\"phone-item\" >\r\n\t\t\t\t \t<view>\r\n\t\t\t\t\t\t<image src=\"/static/icon/ic_call@2x.png\" mode=\"widthFix\" @click=\"contactPhoneDo()\"></image>\r\n\t\t\t\t\t\t<text>{{linkItem.linkname}} </text> \r\n\t\t\t\t\t\t<text style=\"margin-left: 10px;\"> {{linkItem.linkphone}}</text> \r\n\t\t\t\t\t</view> \r\n\t\t\t\t </view>  \r\n\t\t\t\t <view style=\"width: 100%; height: 30rpx;\"></view>\r\n\t\t\t\t<!-- <view class=\"phone-botton\"  @click=\"contactPhone()\" >关闭</view> -->\r\n\t\t\t</view>\r\n\t\t</u-popup>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport { mapState } from 'vuex'\r\n\texport default {\r\n\t\tcomputed: {\r\n\t\t\t...mapState(['navHeight', 'statusbarHeight','shopInfo', 'shopToken'])\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn { \r\n\t\t\t\tshow:false,\r\n\t\t\t\tactive:0,\r\n\t\t\t\tloading:false,\r\n\t\t\t\tshowMoney:false,\r\n\t\t\t\tshowPhone:false,\r\n\t\t\t\tcurrentPage:1,\r\n\t\t\t\ttotal:0,\r\n\t\t\t\thasNext:true,\r\n\t\t\t\tdataList:[],\r\n\t\t\t\tshop:{}, \r\n\t\t\t\tlinkItem:{},\r\n\t\t\t\tcountData:{},\r\n\t\t\t\tbackgroundImage: require('@/static/images/bg_card@2x.png')\r\n\t\t\t};\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\t this.shop  ={}\r\n\t\t\t this.checkShopLogin()\r\n\t\t\t this.active=0\r\n\t\t\t this.shop = this.shopInfo || {}\r\n\t\t\t this.getCountData()\r\n\t\t\t this.currentPage = 0\r\n\t\t\t this.getOrderList()\r\n\t\t},\r\n\t\tonReachBottom(){ \r\n\t\t\tthis.getOrderList( );\r\n\t\t},\r\n\t\tmethods:{ \r\n\t\t\tcontactPhone(item){\r\n\t\t\t\t this.showPhone = !this.showPhone\r\n\t\t\t\t this.linkItem = item ||{}\r\n\t\t\t\t console.log(\"==================================\",this.showPhone)\r\n\t\t\t},\r\n\t\t\tcontactPhoneDo(){ \r\n\t\t\t\tif(this.linkItem.linkphone !=null && this.linkItem.linkphone!=''){\r\n\t\t\t\t\tuni.makePhoneCall({\r\n\t\t\t\t\t   phoneNumber: this.linkItem.linkphone  \r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tchangeActive(index){\r\n\t\t\t\tthis.getCountData(index)\r\n\t\t\t},\r\n\t\t    checkShopLogin(){\r\n\t\t\t\tvar that =this\r\n\t\t\t\tif( this.shopInfo ==null || this.shopInfo.id==null ||  this.shopToken==null || this.shopToken==''){\r\n\t\t\t\t\t this.jumpShopLogin()\r\n\t\t\t\t} \r\n\t\t\t},\r\n\t\t\tasync  getCountData(index){\r\n\t\t\t\t\tvar that =this \r\n\t\t\t\t\tlet res = await that.$u.api.saleReport({  dateType: index,  endDate: null, startDate: null, tokenType:1  })\r\n\t\t\t\t\tif (res.code === 200) { \r\n\t\t\t\t\t\tthis.active = index\r\n\t\t\t\t\t\tthis.countData = res.data \r\n\t\t\t\t\t\tthis.countData.profitTotal = (this.countData.profitTotal||0.00 ).toFixed(2)\r\n\t\t\t\t\t\tthis.countData.saleTotal = (this.countData.saleTotal||0.00).toFixed(2)  \r\n\t\t\t\t\t\tthis.countData.profitTotalNum = Math.floor(this.countData.profitTotal) \r\n\t\t\t\t\t\tthis.countData.saleTotalNum = Math.floor( this.countData.saleTotal) \r\n\t\t\t\t\t\tvar t1 =(this.countData.profitTotal - this.countData.profitTotalNum).toFixed(2)\r\n\t\t\t\t\t\tvar t2 =(this.countData.saleTotal - this.countData.saleTotalNum).toFixed(2)\r\n\t\t\t\t\t\tthis.countData.profitTotalFloat =( t1+'').slice(1, 4)\r\n\t\t\t\t\t\tthis.countData.saleTotalFloat = ( t2+'').slice(1, 4) \r\n\t\t\t\t\t} \r\n\t\t\t},\r\n\t\t\tasync  getOrderList(){\r\n\t\t\t\t\tif(this.loading || !this.hasNext){\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.loading=true\r\n\t\t\t\t\tthis.currentPage =   this.currentPage+1\r\n\t\t\t\t\tif(this.currentPage == 1){\r\n\t\t\t\t\t\tthis.hasNext =true\r\n\t\t\t\t\t\tthis.dataList=[]\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar that =this \r\n\t\t\t\t\tlet res = await that.$u.api.shopOrderPage({\n\t\t\t\t\t\t\tcapacity:10,\n\t\t\t\t\t\t\tmodel: {\n\t\t\t\t\t\t\t\treceiveType: 1, \n\t\t\t\t\t\t\t\tstatus: 1\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tpage:this.currentPage\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\tif (res.code === 200 ) { \r\n\t\t\t\t\t\tif ( res.data && res.data.page ===this.currentPage) { \r\n\t\t\t\t\t\t\tres.data.records = res.data.records||[]\r\n\t\t\t\t\t\t\t that.dataList.push(...res.data.records)\r\n\t\t\t\t\t\t\t that.total=res.data.total\r\n\t\t\t\t\t\t\t if( this.currentPage >= res.data.pageCount||0){\r\n\t\t\t\t\t\t\t\t that.hasNext=false\r\n\t\t\t\t\t\t\t }else{\r\n\t\t\t\t\t\t\t\t that.hasNext=true\r\n\t\t\t\t\t\t\t }\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} \r\n\t\t\t\t\tthis.loading=false\r\n\t\t\t},\r\n\t\t\tlogoutCom(){\r\n\t\t\t\tthis.show=!this.show\r\n\t\t\t\tif(this.show){\r\n\t\t\t\t\t\r\n\t\t\t\t}else{\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}, \r\n\t\t\tasync  logout(){ \r\n\t\t\t\tvar that =this\r\n\t\t\t\tlet res = await that.$u.api.shopLogout({tokenType:1  })\r\n\t\t\t\tif (res.code === 200) {\r\n\t\t\t\t\tawait that.$store.commit('setShopInfo',null) \r\n\t\t\t\t\tawait that.$store.commit('setShopToken',null) \r\n\t\t\t\t\tthat.jumpShopLogin()\r\n\t\t\t\t} \r\n\t\t\t},\r\n\t\t\tjumpShopLogin() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/login/login'\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\tpage {\r\n\t\tbackground-color: #F9F9FB;\r\n\t}\r\n</style>\r\n<style lang=\"scss\" scoped>\r\n\t.box {\r\n\t\twidth: 100%;\r\n\t\t.head {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 424rpx;\r\n\t\t\tpadding: 0 30rpx;\r\n\t\t\tposition: sticky;\r\n\t\t\ttop: 0;\r\n\t\t\tleft: 0;\r\n\t\t\tz-index: 999;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\tbackground: linear-gradient(180deg, #C8F3FF 0%, #ffffff 100%);\r\n\t\t\r\n\t\t\t.head-bar {\r\n\t\t\t\twidth: 100%;\r\n\t\t\r\n\t\t\t\t.head-bar-nav {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\r\n\t\t\t\t\t.loginOut {\r\n\t\t\t\t\t\twidth: 120rpx;\r\n\t\t\t\t\t\theight: 52rpx;\r\n\t\t\t\t\t\tbackground: #C3E6F5;\r\n\t\t\t\t\t\tborder-radius: 26rpx;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\timage {\r\n\t\t\t\t\t\t\twidth: 24rpx;\r\n\t\t\t\t\t\t\theight: 24rpx;\r\n\t\t\t\t\t\t\tmargin-right: 8rpx;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\tcolor: #004096;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.title {\r\n\t\t\t\tfont-weight: 600;\r\n\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\tcolor: #111111;\r\n\t\t\t\tmargin-top: 40rpx;\r\n\t\t\t}\r\n\t\t\t.list {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tmargin-top: 30rpx;\r\n\t\t\t\tpadding-bottom: 60rpx;\r\n\t\t\t\t.nomore{\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tcolor: #666666;\r\n\t\t\t\t}\r\n\t\t\t\t.list-item {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tpadding: 30rpx;\r\n\t\t\t\t\tbox-sizing: border-box;\r\n\t\t\t\t\tbackground: #FFFFFF;\r\n\t\t\t\t\tborder-radius: 16rpx;\r\n\t\t\t\t\tmargin-bottom: 20rpx;\r\n\t\t\t\t\t&:last-child {\r\n\t\t\t\t\t\tmargin: 0 !important;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.a {\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t\t.a-left {\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\t.a-left-tips {\r\n\t\t\t\t\t\t\t\tpadding: 0 6rpx;\r\n\t\t\t\t\t\t\t\theight: 40rpx;\r\n\t\t\t\t\t\t\t\tline-height: 40rpx;\r\n\t\t\t\t\t\t\t\tbackground: #00B775;\r\n\t\t\t\t\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 22rpx;\r\n\t\t\t\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t\t\t\t\tmargin-right: 16rpx;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t.a-right {\r\n\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\tcolor: #E4001D;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.b {\r\n\t\t\t\t\t\twidth: 100%; \r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tflex-direction: column;\r\n\t\t\t\t\t\tmargin-top: 22rpx;\r\n\t\t\t\t\t\t.b-item {\r\n\t\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\t\theight: 136rpx;\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: flex-start;\r\n\t\t\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t\t\tmargin-bottom: 22rpx;\r\n\t\t\t\t\t\t\t&:last-child {\r\n\t\t\t\t\t\t\t\tmargin: 0 !important;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.b-item-image {\r\n\t\t\t\t\t\t\t\tflex-shrink: 0;\r\n\t\t\t\t\t\t\t\twidth: 136rpx;\r\n\t\t\t\t\t\t\t\theight: 136rpx;\r\n\t\t\t\t\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\t\t\t\tborder: 1rpx solid #E5E5E5;\r\n\t\t\t\t\t\t\t\tmargin-right: 20rpx;\r\n\t\t\t\t\t\t\t\timage {\r\n\t\t\t\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.b-item-title {\r\n\t\t\t\t\t\t\t\tflex: 1;\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 30rpx;\r\n\t\t\t\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t\t\t\t\tmargin-right: 30rpx;\r\n\t\t\t\t\t\t\t\tdisplay: -webkit-box;\r\n\t\t\t\t\t\t\t\t-webkit-line-clamp: 2; /* 限制文本为2行 */\r\n\t\t\t\t\t\t\t\t-webkit-box-orient: vertical;\r\n\t\t\t\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.b-item-jia {\r\n\t\t\t\t\t\t\t\tflex-shrink: 0;\r\n\t\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\t\tflex-direction: column;\r\n\t\t\t\t\t\t\t\talign-items: flex-end;\r\n\t\t\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\t\t\t&:nth-child(1) {\r\n\t\t\t\t\t\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\t\t\t\t\t\tfont-size: 30rpx;\r\n\t\t\t\t\t\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t&:nth-child(2) {\r\n\t\t\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\t\t\t\t\tcolor: #999999;\r\n\t\t\t\t\t\t\t\t\t\tmargin-top: 14rpx;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.c {\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t\tmargin-top: 24rpx;\r\n\t\t\t\t\t\t.c-label {\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\t.c-label-title {\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\t\tcolor: #333333;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.c-label-price {\r\n\t\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\t\talign-items: baseline;\r\n\t\t\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\t\t\t&:nth-child(1) {\r\n\t\t\t\t\t\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t\t\t\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\t\t\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t\t\t\t\t\t\t&::before {\r\n\t\t\t\t\t\t\t\t\t\t\tcontent: '¥';\r\n\t\t\t\t\t\t\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t&:nth-child(2) {\r\n\t\t\t\t\t\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t.c-btns {\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\t.blue {\r\n\t\t\t\t\t\t\t\tborder: 1rpx solid #004096;\r\n\t\t\t\t\t\t\t\tcolor: #004096 !important;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.bg {\r\n\t\t\t\t\t\t\t\tbackground: #004096 !important;\r\n\t\t\t\t\t\t\t\tcolor: #ffffff !important;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.c-btns-item {\r\n\t\t\t\t\t\t\t\tpadding: 0 24rpx;\r\n\t\t\t\t\t\t\t\tbox-sizing: border-box;\r\n\t\t\t\t\t\t\t\theight: 64rpx;\r\n\t\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\t\t\tborder-radius: 34rpx;\r\n\t\t\t\t\t\t\t\tborder: 1rpx solid #B2B2B2;\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t\t\t\tcolor: #666666;\r\n\t\t\t\t\t\t\t\tmargin-right: 20rpx;\r\n\t\t\t\t\t\t\t\t&:last-child {\r\n\t\t\t\t\t\t\t\t\tmargin: 0 !important;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.d {\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\tpadding: 20rpx;\r\n\t\t\t\t\t\tbackground: #F8F9FB;\r\n\t\t\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\t\t\tbox-sizing: border-box;\r\n\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\tcolor: #666666;\r\n\t\t\t\t\t\tmargin-top: 24rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.user {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 108rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t.user-left {\r\n\t\t\t\t\tflex: 1;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t.user-left-image {\r\n\t\t\t\t\t\tflex-shrink: 0;\r\n\t\t\t\t\t\twidth: 108rpx;\r\n\t\t\t\t\t\theight: 108rpx;\r\n\t\t\t\t\t\tborder-radius: 50%;\r\n\t\t\t\t\t\toverflow: hidden;\r\n\t\t\t\t\t\tmargin-right: 24rpx;\r\n\t\t\t\t\t\timage {\r\n\t\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.user-left-info {\r\n\t\t\t\t\t\tflex: 1;\r\n\t\t\t\t\t\theight: 108rpx;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tflex-direction: column;\r\n\t\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t\t.user-left-info-title {\r\n\t\t\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t\t\t\tfont-size: 36rpx;\r\n\t\t\t\t\t\t\tcolor: #111111;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t.user-left-info-val {\r\n\t\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\t\t\tcolor: #666666;\r\n\t\t\t\t\t\t\t\t&:nth-child(2) {\r\n\t\t\t\t\t\t\t\t\tmargin-left: 60rpx;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t.user-qrcode {\r\n\t\t\t\t\twidth: 40rpx;\r\n\t\t\t\t\theight: 40rpx;\r\n\t\t\t\t\timage {\r\n\t\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.data {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 250rpx;\r\n\t\t\t\tbackground-repeat: no-repeat;\r\n\t\t\t\tbackground-size: 100% 100%;\r\n\t\t\t\tmargin-top: 45rpx;\r\n\t\t\t\tpadding: 30rpx;\r\n\t\t\t\tbox-sizing: border-box;\r\n\t\t\t\t.data-a {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t.data-a-left {\r\n\t\t\t\t\t\tflex: 1;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t.active {\r\n\t\t\t\t\t\t\tfont-weight: 600 !important;\r\n\t\t\t\t\t\t\tfont-size: 32rpx !important;\r\n\t\t\t\t\t\t\tcolor: #FFFFFF !important;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t.data-a-left-item {\r\n\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t\t\tcolor: rgba(255,255,255,0.8);\r\n\t\t\t\t\t\t\tmargin-right: 32rpx;\r\n\t\t\t\t\t\t\t&:last-child {\r\n\t\t\t\t\t\t\t\tmargin: 0 !important;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.data-a-to {\r\n\t\t\t\t\t\tflex-shrink: 0;\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\t\tcolor: rgba(255,255,255,0.7);\r\n\t\t\t\t\t\t\tmargin-right: 8rpx;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\timage {\r\n\t\t\t\t\t\t\twidth: 8rpx;\r\n\t\t\t\t\t\t\theight: 18rpx;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t.data-b {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\theight: 1rpx;\r\n\t\t\t\t\tbackground-color: rgba(255,255,255,0.09);\r\n\t\t\t\t\tmargin: 20rpx 0;\r\n\t\t\t\t}\r\n\t\t\t\t.data-c {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t\t.data-c-item {\r\n\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\tflex-direction: column;\r\n\t\t\t\t\t\talign-items: flex-start;\r\n\t\t\t\t\t\tjustify-content: space-evenly;\r\n\t\t\t\t\t\t.data-c-item-top {\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\t\t\t\tcolor: rgba(255,255,255,0.7);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\timage {\r\n\t\t\t\t\t\t\t\twidth: 40rpx;\r\n\t\t\t\t\t\t\t\theight: 40rpx;\r\n\t\t\t\t\t\t\t\tmargin-left: 10rpx;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t.data-c-item-bottom {\r\n\t\t\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\t\t\talign-items: baseline;\r\n\t\t\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\t\t\tmargin-top: 10rpx;\r\n\t\t\t\t\t\t\ttext {\r\n\t\t\t\t\t\t\t\t&:nth-child(1) {\r\n\t\t\t\t\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t\t\t\t\t\tfont-size: 44rpx;\r\n\t\t\t\t\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t&:nth-child(2) {\r\n\t\t\t\t\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.func {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tpadding: 30rpx;\r\n\t\t\t\tbox-sizing: border-box;\r\n\t\t\t\tbackground: #FFFFFF;\r\n\t\t\t\tborder-radius: 16rpx;\r\n\t\t\t\tmargin-top: 30rpx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tflex-wrap: wrap;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\t.func-item {\r\n\t\t\t\t\twidth: 25%;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\tflex-direction: column;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\tjustify-content: center;\r\n\t\t\t\t\timage {\r\n\t\t\t\t\t\twidth: 88rpx;\r\n\t\t\t\t\t\theight: 88rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t\ttext {\r\n\t\t\t\t\t\tfont-weight: 400;\r\n\t\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t\t\tcolor: #333333;\r\n\t\t\t\t\t\tmargin-top: 16rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.phone {\r\n\t\t\twidth: 100%;\r\n\t\t\tpadding-top: 40rpx;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\t.phone-botton {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 88rpx;\r\n\t\t\t\tline-height: 88rpx;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\tbackground: #00BC12;\r\n\t\t\t\tborder-radius: 44rpx;\r\n\t\t\t\tmargin-top: 60rpx;\r\n\t\t\t}\r\n\t\t\t.phone-head {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tjustify-content: space-between; \r\n\t\t\t\tmargin-bottom: 40rpx;\r\n\t\t\t\ttext {\r\n\t\t\t\t\tfont-weight: 800;\r\n\t\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t \r\n\t\t\t.phone-item {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\tflex-direction: column;\r\n\t\t\t\t// border-bottom: 1rpx solid #eeeeee;\r\n\t\t\t\tline-height: 78rpx;\r\n\t\t\t\tbutton{\r\n\t\t\t\t\tborder: 1rpx white solid;\r\n\t\t\t\t\tdisplay: inline;\r\n\t\t\t\t\twidth: 300rpx;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\t\tline-height: 32rpx;\r\n\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t}\r\n\t\t\t\timage{\r\n\t\t\t\t\twidth: 28rpx;\r\n\t\t\t\t\theight: 28rpx;\r\n\t\t\t\t\tmargin-right: 30rpx;\r\n\t\t\t\t}\r\n\t\t\t\t.line{\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\theight: 1rpx;\r\n\t\t\t\t\tbackground-color: #f2f2f2\r\n\t\t\t\t}\r\n\t\t\t\ttext {\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\tline-height: 28rpx;\r\n\t\t\t\t\tcolor: #222222;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>","import mod from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n    if(module.hot) {\n      // 1770717572220\n      var cssReload = require(\"D:/soft/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"/\",\"locals\":false});\n      module.hot.dispose(cssReload);\n      module.hot.accept(undefined, cssReload);\n    }\n  ","import mod from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=style&index=1&id=2094abd6&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./distributor.vue?vue&type=style&index=1&id=2094abd6&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n    if(module.hot) {\n      // 1770717572352\n      var cssReload = require(\"D:/soft/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"/\",\"locals\":false});\n      module.hot.dispose(cssReload);\n      module.hot.accept(undefined, cssReload);\n    }\n  "],"sourceRoot":""}
mini-program/utils/http.api.js
@@ -23,7 +23,9 @@
    let shopPasswordLogin = (data = {}) => vm.$u.http.post('/web/shop/shopPasswordLogin', {...data,tokenType:1});    // 经销商 - 账号密码登录 
    let getShopInfo = (params = {}) => vm.$u.http.get('/web/shop/getShopInfo', {params});    //经销商 - 店铺详情录
    let shopLogout = (params = {}) => vm.$u.http.get('/web/shop/logOut', {params});    //经销商 - 退出登陆
    let saleReport = (params = {}) => vm.$u.http.get('/web/shop/saleReport', {params});    //经销商 - 销售明细
    let saleReport = (data = {}) => vm.$u.http.post('/web/shop/saleReport', {...data,tokenType:1});    //经销商 - 销售明细
    let shopOrderPage = (data = {}) => vm.$u.http.post('/web/orders/shopOrderPage', {...data,tokenType:1});    //经销商 - 销售明细
    
    vm.$u.api = {
        wxLogin,
@@ -43,7 +45,8 @@
        shopPasswordLogin,
        getShopInfo,
        shopLogout,
        saleReport
        saleReport,
        shopOrderPage
    };
}