Commit 9c640ba3 by zhangxw

样式修改

1 parent c1539453
......@@ -564,7 +564,7 @@ Component({
if (code == 0) {
listData?.forEach(val => {
data?.list?.forEach(subV => {
if (val.staticDate == subV.staticDate && val.receptionStaticInfoDTOList?.findIndex(v => v.batchId == subV.batchId) < 0) val.receptionStaticInfoDTOList.push(subV)
if (val.staticDate == subV.staticDate && val.receptionStaticInfoDTOList?.findIndex(v => v.fileUrl == subV.fileUrl) < 0) val.receptionStaticInfoDTOList.push(subV)
})
})
this.setData({
......
......@@ -490,7 +490,7 @@ swiper{
margin: 0 var(--fontSize16) 0 var(--fontSize8);
}
.name{
color: #999EA8;
color: #292D33;
font-size: var(--fontSize24);
width: var(--fontSize430);
&.text-hide{
......@@ -573,8 +573,12 @@ swiper{
padding-top: var(--fontSize8);
margin-right: var(--fontSize4);
.round-dot{
font-size: var(--fontSize20);
width: var(--fontSize28);
height: var(--fontSize36);
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--fontSize14);
background: #5A5E66;
color: #FFFFFF;
......
......@@ -105,7 +105,7 @@
<view class="receive-list" wx:if="{{storeRangeList.length}}">
<view class="'screen-box' {{showScreen ? '' : 'sticky-screen'}} {{isScrollTop ? 'bg-white' : ''}}">
<view>
<text class="title">接待记录</text>
<!-- <text class="title">接待记录</text> -->
<text class="name text-hide">{{searchForm.merchantNames.length > 1 ? '部分门店' : searchForm.merchantNames.length ? filter.filterMerchantName(searchForm.merchantNames) : !userInfo.isSuper ? userInfo.default4SStoreInfo.merchantName : '全部门店'}}</text>
</view>
<view bindtap="showScreenPop">
......@@ -141,7 +141,7 @@
<block wx:for="{{item.receptionStaticInfoDTOList}}" wx:key="time" wx:for-index="subIndex" wx:for-item="record">
<view class="record-card" bindtap="goReceptionDetail" data-item="{{record}}">
<view class="record-card-top">
<text class="round-dot">{{subIndex + 1}}</text>
<text class="round-dot" style="font-size: {{subIndex + 1 > 99 ? 'var(--fontSize16)' : 'var(--fontSize20)'}};">{{subIndex + 1}}</text>
<view class="card-line"></view>
</view>
<view class="card-item">
......
......@@ -166,7 +166,7 @@ Page({
if (code == 0) {
listData?.forEach(val => {
data?.list?.forEach(subV => {
if (val.staticDate == subV.staticDate && val.receptionStaticInfoDTOList?.findIndex(v => v.batchId == subV.batchId) < 0) val.receptionStaticInfoDTOList.push(subV)
if (val.staticDate == subV.staticDate && val.receptionStaticInfoDTOList?.findIndex(v => v.fileUrl == subV.fileUrl) < 0) val.receptionStaticInfoDTOList.push(subV)
})
})
let listDataLength = listData.reduce((acc, curr) => acc + curr?.receptionStaticInfoDTOList?.length, 0)
......
......@@ -28,7 +28,7 @@
margin: 0 var(--fontSize16) 0 var(--fontSize8);
}
.name{
color: #999EA8;
color: #292D33;
font-size: var(--fontSize24);
width: var(--fontSize430);
&.text-hide{
......@@ -111,8 +111,12 @@
padding-top: var(--fontSize8);
margin-right: var(--fontSize4);
.round-dot{
font-size: var(--fontSize20);
width: var(--fontSize28);
height: var(--fontSize36);
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--fontSize14);
background: #5A5E66;
color: #FFFFFF;
......
......@@ -13,7 +13,7 @@
<view class="records-page" style="padding-top:{{ navBarHeight }}px;position: relative;">
<view class="screen-box">
<view>
<text class="title">接待记录</text>
<!-- <text class="title">接待记录</text> -->
<text class="name text-hide">{{searchForm.merchantNames.length > 1 ? '部分门店' : searchForm.merchantNames.length ? filter.filterMerchantName(searchForm.merchantNames) : !userInfo.isSuper ? userInfo.default4SStoreInfo.merchantName : '全部门店'}}</text>
</view>
<view bindtap="showScreenPop">
......@@ -50,7 +50,7 @@
<block wx:for="{{item.receptionStaticInfoDTOList}}" wx:key="subIndex" wx:for-index="subIndex" wx:for-item="record">
<view class="record-card" bind:tap="goto" data-record="{{record}}">
<view class="record-card-top">
<text class="round-dot">{{subIndex + 1}}</text>
<text class="round-dot" style="font-size: {{subIndex + 1 > 99 ? 'var(--fontSize16)' : 'var(--fontSize20)'}};">{{subIndex + 1}}</text>
<view class="card-line"></view>
</view>
<view class="card-item" wx:key="subIndex">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!