Commit 5ad91028 by 李伟康

fix:优化缺失接待记录页面数字样式布局

1 parent 006a9805
...@@ -64,12 +64,21 @@ page { ...@@ -64,12 +64,21 @@ page {
height: 336rpx; height: 336rpx;
position: relative; position: relative;
margin-bottom: 20rpx; margin-bottom: 20rpx;
.num-box{
width: 60rpx;
height: 100%;
position: absolute;
left: 0;
top: 0;
}
.num { .num {
position: absolute; position: absolute;
top: 8rpx; top: 8rpx;
left: 16rpx; left: 50%;
transform: translateX(-50%);
min-width: 32rpx;
height: 32rpx; height: 32rpx;
box-sizing: border-box;
border-radius: 16rpx; border-radius: 16rpx;
border: 2rpx solid #c9c9c9; border: 2rpx solid #c9c9c9;
background: #5a5e66; background: #5a5e66;
......
...@@ -41,7 +41,9 @@ ...@@ -41,7 +41,9 @@
<view class="list {{detailObj[currentDate].hasReceptionReport?'has-reception-report':''}}"> <view class="list {{detailObj[currentDate].hasReceptionReport?'has-reception-report':''}}">
<block wx:for="{{list}}" wx:key="index"> <block wx:for="{{list}}" wx:key="index">
<view class="item"> <view class="item">
<view class="num-box">
<view class="num flex">{{index + 1}}</view> <view class="num flex">{{index + 1}}</view>
</view>
<view class="item-content"> <view class="item-content">
<view class="label flex">客户姓名<view class="required">*</view> <view class="label flex">客户姓名<view class="required">*</view>
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!