Commit 9c640ba3 by zhangxw

样式修改

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