瀏覽代碼

样式修改

lilei 2 年之前
父節點
當前提交
46b11bed44
共有 2 個文件被更改,包括 5 次插入3 次删除
  1. 4 2
      pages/digitalShelf/choosePart.vue
  2. 1 1
      pages/index/index.vue

+ 4 - 2
pages/digitalShelf/choosePart.vue

@@ -136,7 +136,7 @@
 		<!-- 底部提交按钮 -->
 		<!-- 底部提交按钮 -->
 		<div class="cpb_footer flex align-center" :class="isIphoneXup?'isIPXup':''">
 		<div class="cpb_footer flex align-center" :class="isIphoneXup?'isIPXup':''">
 			<div>
 			<div>
-				<div class="cpb_cart" :style="{background: partListData.length==0?'#eee':''}" @click="openCart">
+				<div class="cpb_cart" @click="openCart">
 					<u-badge type="error" :count="cartNums" :offset="[-4,-4]" bgColor="#FF5200"></u-badge>
 					<u-badge type="error" :count="cartNums" :offset="[-4,-4]" bgColor="#FF5200"></u-badge>
 					<u-image width="44" height="44" :src="`/static/icon_shopping@3x.png`"></u-image>
 					<u-image width="44" height="44" :src="`/static/icon_shopping@3x.png`"></u-image>
 				</div>
 				</div>
@@ -720,7 +720,7 @@
 				margin-bottom: 30rpx;
 				margin-bottom: 30rpx;
 			}
 			}
 			.item-name{
 			.item-name{
-				font-size: 36rpx;
+				font-size: 32rpx;
 				.item-tempPart{
 				.item-tempPart{
 					background: #0055ff;
 					background: #0055ff;
 					color: #fff;
 					color: #fff;
@@ -731,6 +731,8 @@
 			}
 			}
 			.item-info{
 			.item-info{
 				border-bottom:2rpx solid #f8f8f8;
 				border-bottom:2rpx solid #f8f8f8;
+				flex-grow: 1;
+				padding-left: 0.8em;
 			}
 			}
 			.item-detail{
 			.item-detail{
 				.item-detail-info{
 				.item-detail-info{

+ 1 - 1
pages/index/index.vue

@@ -274,7 +274,7 @@
 			padding: 0.3em 1em;
 			padding: 0.3em 1em;
 			background: #066cff;
 			background: #066cff;
 			 .title{
 			 .title{
-				 padding: 0.3em 0;
+				 padding: 0.5em 0;
 			 }
 			 }
 		}
 		}
 		.cbody{
 		.cbody{