Commit 6e53597d by wuwx

修复第一轮样式BUG

1 parent e9fa0528
......@@ -13,6 +13,14 @@ Component({
outClassName:String,
tab: Array,
openScroll: Boolean,
tabHeight: {
type: Boolean,
value: false
},
productHeight: {
type: Boolean,
value: false
},
index: {
type: Number,
observer: function (n) {
......
......@@ -16,15 +16,15 @@
data-count="{{index}}"
id="to-{{index}}"
>
<view class="text">{{item}}</view>
<view class="text" style="{{productHeight ? 'height: 60rpx;' : ''}}">{{item}}</view>
<!-- <view class="text" style="width:{{38 * item.length + 20}}rpx;">{{item}}</view> -->
<view class="line" />
<view class="line" style="{{productHeight ? 'height: 4rpx;' : ''}}" />
</view>
</block>
</scroll-view>
</block>
<block wx:else>
<view class="tab-box flex">
<view class="tab-box flex" style="{{tabHeight ? 'height: 60rpx;' : ''}}">
<block wx:for="{{tab}}" wx:key="index">
<view
class="tab {{index==count?'active':''}}"
......@@ -32,10 +32,10 @@
bindtap="click"
data-count="{{index}}"
>
<view class="text text-center">
<view class="text text-center" style="{{tabHeight ? 'height: 60rpx;' : ''}}">
{{item}}
</view>
<view class="line" style="lineStyle" />
<view class="line" style="lineStyle" style="{{tabHeight ? 'margin-top: 6rpx;' : ''}}" />
<!-- -->
<view wx:if="{{filterUtils.hasRedpoint(unreadClueCount)}}" class="redpoint" />
</view>
......
......@@ -3,19 +3,18 @@
background-color: #f8fafb;
}
.prod-wrap .big-title {
margin-left: 40rpx;
font-family: PingFangSC-S0pxibold;
margin-left: 32rpx;
font-family: PingFangSC-Medium;
font-weight: 600;
font-size: 36rpx;
color: #1b233d;
line-height: 56rpx;
font-size: 32rpx;
color: #323436;
}
.prod-wrap .nav-wrap {
white-space: nowrap;
box-sizing: border-box;
margin-top: 24rpx;
margin-bottom: 32rpx;
padding: 0 20rpx;
margin-top: 28rpx;
margin-bottom: 16rpx;
padding-left: 32rpx;
}
.prod-wrap .nav-wrap .nav {
display: inline-block;
......
......@@ -37,6 +37,7 @@
tab="{{tab}}"
index="{{curTabIdx}}"
bindclick="changeTab"
productHeight
/>
</view>
<!-- style="{height:{{allHeight}}px}" -->
......
page {
height: 100vh;
width: 100vw;
background-color: #fff;
background-color: #F2F3F7 !important;
}
.reclaim {
.header-wrap {
......@@ -9,7 +9,7 @@ page {
top: 0;
width: 100%;
background-size: 100% 100%;
margin-bottom: 16px;
margin-bottom: 32rpx;
z-index: 1;
.header {
position: absolute;
......@@ -76,7 +76,7 @@ page {
// position: relative;
// }
.clue {
padding: 8px 10px 0;
padding: 0px 10px 0;
background-color: #f2f3f7;
.types {
margin-bottom: 8px;
......@@ -200,6 +200,21 @@ page {
line-height: 24px;
}
}
.noDataImg {
width: 512rpx;
height: 512rpx;
margin-left: 100rpx;
position: relative;
.noDataTxt {
font-family: PingFangSC-Regular;
font-size: 24rpx;
color: #CCCED1;
position: absolute;
bottom: 32rpx;
left: 50%;
transform: translateX(-50%);
}
}
.shop {
.name-wrap {
display: flex;
......@@ -300,7 +315,7 @@ page {
width: 100%;
height: 100%;
.guide-img {
position: absolute;
position: fixed;
top: 0;
left: 0;
width: 100%;
......
<wxs src="./index.wxs" module="filterUtils" />
<navigation-bar bindnavbarReady="navbarReady" navStyle="{{navStyle}}">拓客户</navigation-bar>
<view class="reclaim">
<view class="reclaim" style="{{tabIndx == 1 ? 'background: #fff;' : ''}}">
<!-- 头部 -->
<view class="header-wrap" style="height:{{headerHeight}}rpx; background-image: url('{{IMG_URL}}index/head.png')">
<view class="header">
<tab tab="{{navList}}" itemWidth="{{'35%'}}" index="{{tabIndx}}" unreadClueCount="{{unreadClueCount}}" bindclick="changeTabIndx" class="tabContainer" />
<tab tab="{{navList}}" itemWidth="{{'35%'}}" index="{{tabIndx}}" tabHeight unreadClueCount="{{unreadClueCount}}" bindclick="changeTabIndx" class="tabContainer" />
<view class="right" data-type="shop" bindtap="gotoApply">
<image class="img" src="{{IMG_URL}}index/apply.png" />
<view class="apply">申请业务</view>
......@@ -113,13 +113,17 @@
</view>
</view>
</view>
<view class="noDataImg" wx:if="{{!clueList.length}}">
<image src="{{IMG_URL}}index/trEmpty.png " />
<text class="noDataTxt">没有符合条件的线索~</text>
</view>
</view>
</view>
</view>
<!-- 收藏、取消提示框 -->
<vas-toast isShow="{{true}}" id='toast' />
<!-- 引导图 -->
<view class="guide" wx:if="{{guideShow}}">
<view class="guide" wx:if="{{guideShow}}" style="overflow-y:hidden;">
<image bindtap="guideFn" class="guide-img" src="{{IMG_URL}}index/guide{{guideSrcIndex}}.png" />
</view>
<!-- 在线客服 -->
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!