Commit 4fddb873e17329f76ac8b14a0b111431e63c0795

Authored by 史婷婷
1 parent 86cbb8c0

feat: 产品试样确认单-办事处主管主管审核样式优化

... ... @@ -139,7 +139,7 @@
139 139 form.specificationQuantityRegulation ? '是' : '否' }}</text></view>
140 140 <view class="row"><text class="label">试样次数</text><text class="value">{{ form.sampleFrequency
141 141 }}</text></view>
142   - <uni-list-item v-if="isEditEarlyNonconformityDescription" title="前期不合格描述">
  142 + <uni-list-item class="row-2" :class="form.earlyNonconformityDescription ? 'is-filled' : 'is-empty'" v-if="isEditEarlyNonconformityDescription" title="前期不合格描述">
143 143 <template v-slot:footer>
144 144 <uni-easyinput type="textarea" v-model="form.earlyNonconformityDescription"
145 145 placeholder="请输入前期不合格描述" :inputBorder="false" />
... ... @@ -409,6 +409,41 @@ export default {
409 409 }
410 410 }
411 411
  412 +.row-2 {
  413 + display: flex;
  414 + margin-bottom: 28rpx;
  415 +
  416 + &:last-child {
  417 + margin-bottom: 0;
  418 + }
  419 +
  420 + &.company {
  421 + font-size: 36rpx;
  422 + font-weight: 600;
  423 + color: rgba(0, 0, 0, 0.9);
  424 + padding-top: 10rpx;
  425 + margin-bottom: 32rpx;
  426 + line-height: 50rpx;
  427 + }
  428 +
  429 + .label {
  430 + width: 240rpx;
  431 + line-height: 32rpx;
  432 + font-size: 28rpx;
  433 + color: rgba(0, 0, 0, 0.6);
  434 + }
  435 +
  436 + .value {
  437 + flex: 1;
  438 + line-height: 32rpx;
  439 + font-size: 28rpx;
  440 + color: rgba(0, 0, 0, 0.9);
  441 + text-align: right;
  442 + word-break: break-all;
  443 + }
  444 +}
  445 +
  446 +
412 447 .title-header {
413 448 background-color: #fff;
414 449 display: flex;
... ... @@ -598,4 +633,10 @@ export default {
598 633 }
599 634 }
600 635 }
  636 +::v-deep .row-2 {
  637 + .uni-list-item__container {
  638 + padding-left: 0;
  639 + padding-right: 0;
  640 + }
  641 +}
601 642 </style>
... ...