Selaa lähdekoodia

项目日志:1.5 优化样式

gubai 2 vuotta sitten
vanhempi
commit
ba59370460

+ 1 - 1
components/dialogPanel/dialogPanel.vue

xqd
@@ -112,7 +112,7 @@
 	
 		.btn {
 			width: 100%;
-			height: 115rpx;
+			height: 114rpx;
 			display: flex;
 			align-items: center;
 	

+ 1 - 1
pages/goods/goods.vue

xqd
@@ -292,7 +292,7 @@
 
 	.content {
 		background-color: #FFF;
-		padding: 20rpx 30rpx;
+		padding: 10rpx 30rpx 0rpx;
 
 		.home-hotel-img-content {
 			display: flex;

+ 22 - 11
pages/index/active-detail/index.vue

xqd xqd xqd xqd xqd xqd xqd xqd xqd xqd xqd
@@ -73,8 +73,8 @@
 			<view class="tab_area" v-if="isActive==0">
 				<view class="areaTitle" v-for="(item,index) in areaList" :key="index"
 					@click="checkedArea(index,item.id)">
-					<view class="areaTitle-item">
-						<view :class="{'active-area':isActiveArea === index}">
+					<view class="areaTitle-item" :class="{'active-area':isActiveArea === index}">
+						<view>
 							{{item.name}}
 						</view>
 					</view>
@@ -263,6 +263,9 @@
 			this.getList(o.id)
 			this.getActiveDetail(o.id)
 			this.getCategoryList(o.id)
+			uni.$on('refreshVoteNum',()=>{
+				this.getList(o.id)
+			})
 		},
 		onUnload(){
 			clearInterval(this.timer)
@@ -462,7 +465,7 @@
 	}
 
 	.rank-search {
-		margin-top: 80rpx;
+		margin-top: 70rpx;
 
 		::v-deep .u-input {
 			width: 690rpx !important;
@@ -573,7 +576,7 @@
 	}
 
 	.area_nav .areaTitle {
-		width: 140rpx;
+		// width: 140rpx;
 		height: 52rpx;
 		background-color: #F1F1F1;
 		border-radius: 26rpx;
@@ -581,11 +584,12 @@
 		display: flex;
 		justify-content: center;
 		align-items: center;
+		padding: 0 46rpx;
 
 	}
 
 	.areaTitle-item {
-		width: 140rpx;
+		// width: 140rpx;
 		height: 52rpx;
 		background-color: #F1F1F1;
 		border-radius: 26rpx;
@@ -595,18 +599,19 @@
 		justify-content: center;
 		align-items: center;
 		margin-right: 16rpx;
-
+		padding: 0 46rpx;
 	}
 
 	.active-area {
-		width: 100%;
+		// width: 100%;
 		height: 52rpx;
-		border-radius: 26rpx;
+		// border-radius: 26rpx;
 		background-color: #FF6200;
 		color: #fff;
 		display: flex;
 		justify-content: center;
 		align-items: center;
+		// padding: 0 46rpx;
 	}
 
 
@@ -652,8 +657,9 @@
 				background: linear-gradient(180deg, rgba(249, 231, 219, 0) 0%, #F3C063 100%);
 				border-radius: 12rpx;
 				position: absolute;
-				bottom: -20rpx;
+				bottom: -24rpx;
 				left: 25rpx;
+				
 			}
 		}
 	}
@@ -932,7 +938,7 @@
 		.vote-detail-top-main-text{
 			position: relative;
 			top: 0;
-			left: 40rpx;
+			left: 38rpx;
 		}
 		
 		&::before,&::after{
@@ -943,6 +949,8 @@
 		}
 		
 		>view{
+			position: relative;
+			left: -8rpx;
 			width: 256px;
 			font-size: 30rpx;
 			display: flex;
@@ -960,7 +968,6 @@
 				border-radius: 3px;
 				background-color: #000;
 				color: #fff;
-				
 				&::before{
 					content: ":";
 					width: 0px;
@@ -969,7 +976,11 @@
 					color: rgba(0,0,0,0.7);
 					transform: translateX(-11px);
 				}
+				&:nth-child(1){
+					margin-left: 15px;
+				}
 			}
+			
 		}
 		
 		

+ 2 - 2
pages/index/index.scss

xqd xqd
@@ -109,7 +109,7 @@
 	}
 
 	.home-special-area {
-		height: 146rpx;
+		height: 140rpx;
 		padding: 0 30rpx;
 		// background-color: deeppink;
 		display: flex;
@@ -248,7 +248,7 @@
 
 	.home-attach {
 		background-color: #f9f9f9;
-		padding: 25rpx 30rpx 5rpx;
+		padding: 20rpx 30rpx 0rpx;
 	}
 
 	.home-hotel {

+ 6 - 1
pages/index/vote-detail/index.vue

xqd
@@ -255,7 +255,12 @@
 				return;
 			}
 			this.videoContext = uni.createVideoContext('myVideo')
-		},
+		},
+		
+		onUnload() {
+			uni.$emit('refreshVoteNum');
+		},
+		
 		onLoad(op) {
 			this.activity_project_id = op.id
 			this.getDetail(op.id)

+ 5 - 7
pages/msg/msg.vue

xqd xqd
@@ -301,10 +301,10 @@
 
 	// 消息列表
 	.msgListBox {
-		padding: 48rpx 30rpx;
+		padding: 48rpx 30rpx 0;
 		padding-top: 0;
 		margin-top: 24rpx;
-		background: #f9f9f9;
+		background: #fff;
 		box-shadow: 0rpx 4rpx 24rpx -10rpx rgba(101, 95, 90, 0.3);
 		border-radius: 12rpx;
 		.childBox {
@@ -346,10 +346,8 @@
 
 	::v-deep .uni-swipe_text--center {
 		padding-bottom: 40rpx;
-		border-bottom: 2rpx solid rgba(240, 240, 240, 0.7);
-		&:last-child {
-			padding-bottom: 0;
-			border-bottom: none;
-		}		
+		border-bottom: 2rpx solid rgba(240, 240, 240, 0.7);	
 	}
+
+	
 </style>

+ 1 - 1
pages/my/integral/integralOrder.vue

xqd
@@ -81,7 +81,7 @@
 				<text>积分</text>
 				<text>{{integral}}积分</text>
 			</view>
-			<view style="width: 694rpx;height: 4rpx;border: 2rpx dashed #F2F2F2;margin-top: 38rpx;"></view>
+			<view style="width: 694rpx;height: 2rpx;border: 2rpx dashed #F2F2F2;margin-top: 38rpx;"></view>
 			<view class="shopNumber" style="margin-top: 38rpx;">
 				<text>合计</text>
 				<text>{{integral}}积分</text>

+ 1 - 1
pages/my/integral/integralRecord.vue

xqd
@@ -256,7 +256,7 @@
 				background: linear-gradient(90deg, #F3D69F 0%, #D9A94D 100%);
 				border-radius: 6px;
 				position: absolute;
-				bottom: -26rpx;
+				bottom: -24rpx;
 				left: 40rpx;
 			}
 		}

+ 1 - 1
pages/my/my.vue

xqd
@@ -650,7 +650,7 @@
 			z-index: 99;
 
 			.nav {
-				height: 50rpx;
+				// height: 50rpx;
 				width: 633rpx;
 				display: flex;
 				align-items: center;

+ 1 - 1
pages/my/myorders/orders.vue

xqd
@@ -643,7 +643,7 @@
 		.btn {
 			margin-top: 40rpx;
 			width: 100%;
-			height: 110rpx;
+			height: 112rpx;
 			display: flex;
 			align-items: center;
 

+ 1 - 1
pages/my/prize/exchangePrize.vue

xqd
@@ -73,7 +73,7 @@
 				<text>件数</text>
 				<text>1件</text>
 			</view>
-			<view style="width: 694rpx;height: 4rpx;border: 2rpx dashed #F2F2F2;margin-top: 38rpx;"></view>
+			<view style="width: 694rpx;height: 2rpx;border: 2rpx dashed #F2F2F2;margin-top: 38rpx;"></view>
 			<view class="shopRemark">
 				<view class="shopRemark-title">
 					<text>奖品说明</text>

+ 1 - 1
pages/my/prize/prize.vue

xqd
@@ -34,7 +34,7 @@
 		</view>
 
 
-		<view style="padding-bottom: 60rpx;margin-top: 24rpx; background-color: #fff; ">
+		<view style="margin-top: 24rpx; background-color: #f9f9f9; ">
 			<!-- 实物奖品 -->
 			<view class="prizeList" :style="{'--height':ListHeight+'rpx'}"
 				v-if="isActive == 0  && PhysicalPrizes.length > 0  ">

+ 2 - 2
setting.js

xqd
@@ -3,8 +3,8 @@
  */
 const IS_DEV = process.env.NODE_ENV === 'development'
 
-// const URL = 'https://t9.9026.com'
-const URL = 'https://ihg.9026.com'
+const URL = 'https://t9.9026.com'
+// const URL = 'https://ihg.9026.com'
 
 	
 module.exports = {