78 lines
2.8 KiB
Plaintext
78 lines
2.8 KiB
Plaintext
<!--packageH/installationSever/installationSeverMemberHome/installationSeverMemberHome.wxml-->
|
|
|
|
|
|
<van-tabs active="{{ active }}" title-active-color="#f15354" bind:change="bindChangeActive" ellipsis="{{false}}">
|
|
<van-tab wx:for="{{titleArr}}" title="{{item.name}}"></van-tab>
|
|
</van-tabs>
|
|
|
|
|
|
<!-- 抢单内容 -->
|
|
<view class="grab" wx:for="{{listData}}" wx:if="{{networkLoading && listData.length>0}}" wx:key="order_id"
|
|
bindtap="gotoDetails" data-order_id="{{item.order_id}}">
|
|
<view class="allOrderIds">
|
|
<text style="color: #999999;">订单号:{{item.order_sn}}</text>
|
|
<text>{{item.state_name}}</text>
|
|
</view>
|
|
|
|
<view class="shopBox">
|
|
<view class="shopTitle">预约安装时间:{{item.reserve_time}}</view>
|
|
<view class="shoplist" wx:for="{{item.goods_list}}" wx:for-item="good" wx:for-index="gindex"
|
|
wx:key="{{gindex}}">
|
|
<view style="display: flex; align-items: center">
|
|
<view class="image">
|
|
<image src="{{good.thumb}}"></image>
|
|
</view>
|
|
<text style="margin-left: 0.5rem; font-size: 0.81rem">{{good.title}}</text>
|
|
</view>
|
|
|
|
<text style="font-size: 0.75rem">数量:{{good.total}}</text>
|
|
</view>
|
|
</view>
|
|
<!-- 全部订单 -->
|
|
<view class="allOrder">
|
|
|
|
<view class="allItem" wx:for="{{item.button_group}}" wx:for-item="btn" wx:for-index="bindex"
|
|
data-index="{{bindex}}" data-btn="{{btn}}" catchtap="bindBtnClick" data-order_id="{{item.order_id}}"
|
|
wx:key="{{bindex}}">{{btn.name}}</view>
|
|
<!-- <view class="allItem" bindtap="setCodeShow">取货码</view>
|
|
<view class="allItem">上门安装</view>
|
|
<view class="allItem" bindtap="setPictureShow">完成</view> -->
|
|
</view>
|
|
</view>
|
|
|
|
<view wx:if="{{networkLoading && listData.length==0}}" class="blank">
|
|
<image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='widthFix' />
|
|
</view>
|
|
|
|
<van-popup custom-style="border-radius: 10rpx;" show="{{codeShow}}" bind:close="setCodeShow">
|
|
<view class="qrcodeBox">
|
|
<view class="top">
|
|
<view class="title">取货码</view>
|
|
<icon class="iconfont icon-guanbi" catchtap="setCodeShow"></icon>
|
|
</view>
|
|
<view class="img">
|
|
<image mode="aspectFill" src="{{takeCodeImageUrl}}"></image>
|
|
</view>
|
|
</view>
|
|
</van-popup>
|
|
|
|
|
|
|
|
<van-popup show="{{ pictureShow }}" bind:close="setPictureShow" round position="bottom" closeable
|
|
custom-style="height: 70%">
|
|
<view class="pictureWrapper">
|
|
<view class="title">请上传安装完成图片</view>
|
|
<view style="overflow:scroll;max-height: calc(100% - 80rpx);">
|
|
<view class="pictureList">
|
|
<view class="picItem" wx:for="{{pictureList}}" style="background-image:url({{item}});"></view>
|
|
<view class="imgBox" catchtap="onRead_2">
|
|
<van-icon name='plus' class="iconfont" size="40px" color="#999999"></van-icon>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="btnWrapper" bindtap="sendBtn">
|
|
<view class="btn">完成</view>
|
|
</view>
|
|
</view>
|
|
</van-popup> |