Browse Source

样式修改

lilei 3 years ago
parent
commit
e49b89d8cf
1 changed files with 25 additions and 4 deletions
  1. 25 4
      pages/common/partList.vue

+ 25 - 4
pages/common/partList.vue

@@ -34,13 +34,17 @@
 				</view>
 				<view v-if="model == 'checkbox'" class="ptools flex align_center justify_between">
 					<view></view>
-					<view class="pcurnums" v-if="pageType=''">
+					<view class="pcurnums flex align_center" v-if="pageType=''">
 						<text>数量</text>
-						<u-number-box v-model="item.retQty" :min="1" :max="item.qty"></u-number-box>
+						<view class="u-ninput">
+							<u-number-box color="#000" bg-color="#fff" v-model="item.retQty" :min="1" :max="item.qty"></u-number-box>
+						</view>
 					</view>
-					<view class="pcurnums" v-if="pageType='recall'">
+					<view class="pcurnums flex align_center" v-if="pageType='recall'">
 						<text>实退数量</text>
-						<u-number-box v-model="item.quitQty" :min="1" :max="item.qty"></u-number-box>
+						<view class="u-ninput">
+							<u-number-box color="#000" bg-color="#fff" v-model="item.quitQty" :min="1" :max="item.qty"></u-number-box>
+						</view>
 					</view>
 				</view>
 			</view>
@@ -191,6 +195,23 @@
 					margin-right: 20rpx;
 				}
 			}
+			.u-ninput{
+				border: 2rpx solid #eee;
+				border-radius: 50rpx;
+				padding: 0 6rpx;
+			}
+			/deep/ .u-icon-disabled{
+				background: #fff!important;
+			}
+			/deep/ .u-number-input{
+				margin: 0 0;
+				border: 2rpx solid #eee;
+				border-top: 0;
+				border-bottom: 0;
+			}
+			/deep/ .u-icon-plus, /deep/ .u-icon-minus{
+				border-radius: 50rpx;
+			}
 		}
 	}
 }