<view class="chain_shop">
    <view class="header">
        <view class="header_user">
            <view class="img">
                <image src="{{store_info.thumb?store_info.thumb:require('https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bgimg.png')}}" mode="aspectFill" />
            </view>
            <view class="name ul">
                <view class="li">{{store_info.store_name}}</view>
            </view>
        </view>
        <view class="header_info">
            <view class="ul">
                <view class="li">订单数</view>
                <view class="li">
                    {{store_count.order_count}}
                    <text class="span">个</text>
                </view>
            </view>
            <view class="ul">
                <view class="li">收入</view>
                <view class="li">
                    <text class="span">{{language['money']}}</text>
                    {{store_count.amount_total}}
                </view>
            </view>
        </view>
    </view>
    <view class="order_info">
        <view class="tab_box">
            <van-tabs active="{{ active }}" bind:change="toggle" wx:if="{{tabShowin}}" type="card">
                <van-tab title="充值订单" name="3" wx:if="{{open_store_balance}}" ></van-tab>
                <van-tab title="门店订单" name="1" ></van-tab>
                <van-tab title="收银台订单" name="2" ></van-tab>
            </van-tabs>
        </view>
        <!-- 充值订单 -->
        <view class="select_box" wx:if="{{open_store_show}}">
            <view class="select_tab ul">
                <view class="li" style="width: 50%;">订单编号</view>
                <view class="li">订单金额</view>
                <view class="li">订单状态</view>
            </view>
            <view class="select_list">
                <view class="ul" wx:for="{{balanceInfo}}" wx:key="index">
                    <view class="li" style="width:74%;">
                        <text class="span">{{item.sn}}</text>
                        <text class="span"></text>
                    </view>
                    <view class="li" style="width:45%;">
                        <text class="span">{{language['money']}}</text>
                        {{item.price}}
                    </view>
                    <view class="li">{{item.status_name}}</view>
                </view>
            </view>
        </view>
        <!-- 门店订单 -->
        <view class="select_box" wx:if="{{store_order_show}}">
            <view class="select_tab ul">
                <view class="li">订单编号</view>
                <view class="li">订单金额</view>
                <view class="li">订单状态</view>
            </view>
            <view class="select_list" wx:if="{{store_goload}}">
                <!-- <mt-loadmore  :top-method="storeLoadTop" :bottom-method="storeLoadBottom" :bottom-all-loaded="store_allLoaded" ref="store_loadmore" bottomPullText='' bottomDropText='下拉加载...' bottomLoadingText='' :autoFill='false'> -->
                <view class="ul" wx:for="{{storeList}}" wx:key="index">
                    <view class="li">
                        <text class="span">{{item.order.order_sn}}</text>
                        <text class="span">{{item.order.create_time }}</text>
                    </view>
                    <view class="li">
                        <text class="span">{{language['money']}}</text>
                        {{item.order.price}}
                    </view>
                    <view class="li">{{item.order.status_name}}</view>
                </view>
                <!-- </mt-loadmore> -->
            </view>
        </view>
        <!-- 收银台订单 -->
        <view class="select_box" wx:if="{{cashier_order_show}}">
            <view class="select_tab ul">
                <view class="li">订单编号</view>
                <view class="li">订单金额</view>
                <view class="li">订单状态</view>
            </view>
            <view class="select_list" wx:if="{{cashier_goload}}">
                <!-- <mt-loadmore  :top-method="cashierLoadTop" :bottom-method="cashierLoadBottom" :bottom-all-loaded="cashier_allLoaded" ref="cashier_loadmore" bottomPullText='' bottomDropText='下拉加载...' bottomLoadingText='' :autoFill='false'> -->
                <view class="ul" wx:for="{{cashierList}}" wx:key="index">
                    <view class="li">
                        <text class="span">{{item.order.order_sn}}</text>
                        <text class="span">{{item.order.create_time }}</text>
                    </view>
                    <view class="li">
                        <text class="span">{{language['money']}}</text>
                        {{item.order.price}}
                    </view>
                    <view class="li">{{item.order.status_name}}</view>
                </view>
                <!-- </mt-loadmore> -->
            </view>
        </view>
    </view>
    <view>
        <!-- 音频播放 -->
        <!-- style="opacity:0;" -->
        <audio action="{{audioAction}}" src="{{vedioSrc}}" id="yp" style="opacity:0;margin:20px;" controls loop></audio>
        <!-- <audio poster="{{poster}}" action="{{audioAction}}" name="{{name}}" author="{{author}}" style="margin:20px;" src="{{vedioSrc}}" id="yp"  controls loop></audio> -->
            <!-- <button catchtap="playAudio">播放</button> -->
    </view>
</view>
<shopfoot></shopfoot>
