ソースを参照

fix 报考地区

he2802 3 年 前
コミット
ab7fb020af
3 ファイル変更34 行追加16 行削除
  1. 19 11
      pages/index/index.vue
  2. 12 2
      pages/shopping/shoppingCart.vue
  3. 3 3
      pages2/plan/index.vue

+ 19 - 11
pages/index/index.vue

@@ -8,11 +8,13 @@
 		<u-swiper height="320" border-radius="0" :list="list" @change="e => current = e.current" :autoplay="false"></u-swiper>
 		<view class="content">
 			<view class="notice" v-if="infoNums">
-				<image src="/static/icon/msg_icon1.png" class="icon"></image>
-				<view class="text">
-					您有{{infoNums}}条新的通知
+				<view class="notice__content">
+					<image src="/static/icon/msg_icon1.png" class="icon"></image>
+					<view class="text">
+						您有{{infoNums}}条新的通知
+					</view>
+					<view class="btn" @click="jumpPage">立即查看</view>
 				</view>
-				<view class="btn" @click="jumpPage">立即查看</view>
 			</view>
 			<view>
 				<!-- 日历-->
@@ -440,16 +442,22 @@ export default {
 	}
 	
 	.content {
-		padding:16rpx;
+		overflow: hidden;
+		padding:0 16rpx 16rpx;
 		background: rgba(234, 238, 241, 1);
 		
 		.notice {
-			padding:0 8rpx;
-			height: 56rpx;
-			background: linear-gradient(-90deg, rgba(255, 209, 0, 0.3), rgba(255, 255, 255, 0.3));
+			background:#fff;
 			border-radius: 16rpx;
-			display: flex;
-			align-items: center;
+			margin-top:16rpx;
+			overflow: hidden;
+			&__content {
+				padding:0 8rpx;
+				height: 56rpx;
+				background: linear-gradient(-90deg, rgba(255, 209, 0, 0.3), rgba(255, 255, 255, 0.3));
+				display: flex;
+				align-items: center;
+			}
 			
 			.icon {
 				width: 40rpx;
@@ -738,7 +746,7 @@ page {
 	background: #ffffff;
 	box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(47, 67, 121, 0.1);
 	border-radius: 22rpx;
-	margin-top: 25rpx;
+	margin-top: 16rpx;
 	padding-bottom: 15rpx;
 }
 .calendar_card .card_box {

+ 12 - 2
pages/shopping/shoppingCart.vue

@@ -6,7 +6,7 @@
 		<view v-show="isLogin">
 			<view v-if="!list.length"><u-empty text="购物车为空" margin-top="500" mode="car"></u-empty></view>
 			<view v-else>
-				<view style="padding: 30rpx;padding-bottom: 98rpx;">
+				<view style="padding: 8rpx;padding-bottom: 98rpx;">
 					<uni-swipe-action>
 						<u-checkbox-group @change="checkboxGroupChange" placement="column" >
 							<view>
@@ -564,7 +564,7 @@ page {
 	width: 100%;
 	background: #ffffff;
 	border-radius: 16rpx;
-	margin-bottom: 20rpx;
+	margin-bottom: 16rpx;
 	padding: 15rpx 0;
 	display: flex;
 	
@@ -655,5 +655,15 @@ page {
 	justify-content: space-between;
 	align-items: center;
 	padding: 0 30rpx;
+	
+	.priceTag {
+		font-size: 30rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #ff2d55;
+		display: flex;
+		flex-direction: row-reverse;
+		margin-right: 20rpx;
+	}
 }
 </style>

+ 3 - 3
pages2/plan/index.vue

@@ -521,7 +521,7 @@ export default {
 	width: 80rpx;
 	display: flex;
 	flex-direction: column;
-	align-items: center;
+	align-items: flex-end;
 	justify-content: center;
 }
 .item_t2 {
@@ -558,7 +558,7 @@ export default {
 	font-size: 30rpx;
 	font-family: PingFang SC;
 	font-weight: 500;
-	color: #32467b;
+	color: #333;
 }
 .list_item_bac1 {
 	background: linear-gradient(45deg, rgba(172, 203, 238, 0.2), rgba(231, 240, 253, 0.2));
@@ -685,7 +685,7 @@ export default {
 	font-size: 24rpx;
 	font-family: PingFang SC;
 	font-weight: bold;
-	color: #2f4379;
+	color: #007AFF;
 	width: 100%;
 	text-align: center;
 	padding: 20rpx 0;