Browse Source

no message

master
xpz2018 4 years ago
parent
commit
fdad04699d
2 changed files with 31 additions and 11 deletions
  1. 28
      pages/fragments/source-list/index.wxml
  2. 14
      pages/fragments/source-list/index.wxss

28
pages/fragments/source-list/index.wxml

@ -12,7 +12,33 @@
</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'}}">内容 1</van-tab>
<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}}">

14
pages/fragments/source-list/index.wxss

@ -1,12 +1,6 @@
/* pages/index/index.wxss */
.menu:active {
opacity: .5
}
.name{
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
color:white;
margin-left:32rpx;
.bg-map{
background: rgba(0,122,255,0.20);
border-radius: 20rpx 20rpx 0 0;
padding: 20rpx;
}
Loading…
Cancel
Save