Explorar o código

UI-添加删除

wanghao hai 1 ano
pai
achega
03b602534f

+ 1 - 1
pages/enginproject/enginproject.vue

@@ -210,7 +210,7 @@
 									style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
 								</view>
 							</view>
-							<button v-if="index!=0" @click="this.czggslList.splice(index,1)" class="sc-btn">删除1</button>
+							<button v-if="index!=0" @click="this.czggslList.splice(index,1)" class="sc-btn">删除</button>
 						</view>
 						<button @click="this.czggslList.push({cz:{id: '',name: ''},gg:{id: '',name: ''},sl: {
 							inputIntegerNumberValue: '',

+ 34 - 0
pages/oldrenovation/courtyard/courtyard.vue

@@ -986,6 +986,7 @@
 
 		}
 
+
 		.btn {
 			width: 715rpx;
 			height: 69rpx;
@@ -1018,4 +1019,37 @@
 			min-height: 100upx;
 			line-height: 20px;
 		}
+
+
+		.tj-btn {
+			height: 69rpx;
+			background: #3184f0;
+			border-radius: 6rpx;
+			font-size: 25rpx;
+			font-weight: 400;
+			color: #FFFFFF;
+			line-height: 69rpx;
+			margin: 40rpx 70rpx;
+
+		}
+
+		.sc-btn {
+			height: 69rpx;
+			background: #f0686b;
+			border-radius: 6rpx;
+			font-size: 25rpx;
+			font-weight: 400;
+			color: #FFFFFF;
+			line-height: 69rpx;
+			margin: 40rpx;
+
+		}
+
+		.num-style {
+			background: #e8f4f9;
+			margin: 20rpx;
+			padding: 10rpx;
+			border-radius: 20rpx;
+			border: 1px solid #d4e3f0;
+		}
 	</style>

+ 33 - 0
pages/oldrenovation/overhead/newoverhead.vue

@@ -988,4 +988,37 @@
 			min-height: 100upx;
 			line-height: 20px;
 		}
+
+
+		.tj-btn {
+			height: 69rpx;
+			background: #3184f0;
+			border-radius: 6rpx;
+			font-size: 25rpx;
+			font-weight: 400;
+			color: #FFFFFF;
+			line-height: 69rpx;
+			margin: 40rpx 70rpx;
+
+		}
+
+		.sc-btn {
+			height: 69rpx;
+			background: #f0686b;
+			border-radius: 6rpx;
+			font-size: 25rpx;
+			font-weight: 400;
+			color: #FFFFFF;
+			line-height: 69rpx;
+			margin: 40rpx;
+
+		}
+
+		.num-style {
+			background: #e8f4f9;
+			margin: 20rpx;
+			padding: 10rpx;
+			border-radius: 20rpx;
+			border: 1px solid #d4e3f0;
+		}
 	</style>