You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
3.8 KiB
64 lines
3.8 KiB
<wxs module="formate" src="../../formate.wxs"></wxs>
|
|
<view class="cu-custom bg-white" style="height:{{customHeight}}rpx;z-index: 100;">
|
|
<view class="cu-bar fixed" style="height:{{customHeight}}rpx;padding-top:{{StatusBar}}rpx;padding-right: {{customWidth}}px;">
|
|
<view class="flex flex-center" style="padding: 0rpx 24rpx 0rpx 0rpx;width: 100%;flex: 1;justify-content: flex-start">
|
|
<!-- <image id="info" style="height: 64rpx;width: 64rpx;" src="/assets/image/ygImg.png" bindtap="gridTap"></image> -->
|
|
<view id="city" catchtap="gridTap" style="margin: 0rpx 24rpx;margin-top: -8rpx;">
|
|
<text class="text-black text-lg">{{cityName || '未知'}}</text>
|
|
<text class="cuIcon-unfold text-black" style="font-size:16px;padding-top: 8rpx;margin-left: 8rpx;"></text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<van-tabs active="{{active}}" color="#008AFF" bind:change="onTabChange" line-height="2px" swipe-threshold="6">
|
|
<van-tab title="采购" title-style="color:{{active==0?'#008AFF':'#333333'}}">
|
|
<scroll-view scroll-y style="height:{{height}}rpx;">
|
|
<view style="padding: 20rpx 32rpx;position: relative">
|
|
<image style="width:100%;height:600rpx;" src="https://qncloud.oss-cn-shenzhen.aliyuncs.com/ztb_pic/ztb-map.png"/>
|
|
<view class="bg-white" style="position: absolute;top: 580rpx;width: 686rpx;height: 350rpx;border-radius: 20rpx;">
|
|
<view class="bg-map flex flex-center">
|
|
<view class="text-blue text-bold text-sg">已有4556家打包站入驻,可在线为您供货</view>
|
|
</view>
|
|
<view style="border-radius: 0 0 20rpx 20rpx;padding: 24rpx 32rpx;">
|
|
<view class="flex flex-center" style="justify-content: flex-start;background: #EEF2F7;border-radius: 20rpx;padding: 24rpx;">
|
|
<view style="width: 20rpx;height: 20rpx;background-color: #007AFF;border-radius: 50%;"></view>
|
|
<view class="text-black text-bold text-lg" style="margin-left: 16rpx;">输入您要采购的废纸吨数</view>
|
|
</view>
|
|
<view class="flex flex-center" style="margin-top: 24rpx;">
|
|
<view class="flex flex-center flex-column" style="width: 400rpx;height: 100rpx;background: rgba(0,122,255,0.40); border-radius: 10rpx;">
|
|
<view class="text-white text-sg">马上采购</view>
|
|
<view class="text-white text-sm">(暂未开放)</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view style="padding: 0rpx 32rpx 32rpx 32rpx;margin-top: 312rpx;">
|
|
<image style="width:100%;height:349rpx;" src="https://qncloud.oss-cn-shenzhen.aliyuncs.com/ztb_pic/purchasing-service.png"/>
|
|
</view>
|
|
</scroll-view>
|
|
</van-tab>
|
|
<van-tab title="打包站" title-style="color:{{active==1?'#008AFF':'#333333'}}">
|
|
<scroll-view scroll-y style="height:{{height}}rpx" bind:scrolltolower="fetchSationList">
|
|
<view class="list-empty" style="height:{{height}}rpx" wx:if="{{!stationList.length}}">
|
|
<view style="margin-bottom:24px" wx:if="{{loading}}">
|
|
<van-loading type="spinner" size="32" />
|
|
</view>
|
|
<image class="img-empty" src="/assets/image/list_empty.png" wx:else></image>
|
|
<view class="text-empty">{{loading? '正在加载' : '暂无数据'}}</view>
|
|
</view>
|
|
<view wx:for-item="pageItem" wx:for-index="pageIndex" wx:for="{{stationList}}" wx:key="pageIndex">
|
|
<block wx:for="{{pageItem}}" wx:key="index">
|
|
<station-item item="{{item}}"></station-item>
|
|
</block>
|
|
</view>
|
|
<!--加载更多的UI-->
|
|
<van-divider content-position="center" wx:if="{{ form.pageNum > 1}}" custom-style="padding:0rpx 120rpx">
|
|
<van-loading type="spinner" size="16" wx:if="{{!finished}}" />
|
|
<text class="text-sm" style="margin-left:8rpx">{{finished?'到底啦~':'加载中...'}}</text>
|
|
</van-divider>
|
|
</scroll-view>
|
|
</van-tab>
|
|
<van-tab title="造纸厂" title-style="color:{{active==2?'#008AFF':'#333333'}}">内容 3</van-tab>
|
|
</van-tabs>
|