zs 2 년 전
부모
커밋
b91cd2f03f
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 4
      components/discount/index.vue
  2. 1 1
      pagesHome/exchange/index.vue

+ 4 - 4
components/discount/index.vue

@@ -1,6 +1,6 @@
 <template>
 	<view class="main">
-		<view class="pre_one">优惠劵({{couponList.length}})</view>
+		<view class="pre_one">优惠劵({{couponList.length}})</view>
 		<view class="pre_two" v-for="(item,index) in couponList" :key="index">
 			<view class="left">
 				<view class="money">¥{{item.money||'0'}}</view>
@@ -11,7 +11,7 @@
 					<view class="type"><text>{{item.discount_type_label||'暂无'}}</text>
 						{{item.name||'暂无'}}
 					</view>
-					<view class="date">有效期{{item.expire_time||'暂无'}}</view>
+					<view class="date">{{item.expire_time||'暂无'}}</view>
 					<view class="date">{{item.use_limit_label||'暂无'}}-{{item.get_limit_label||'暂无'}}</view>
 				</view>
 				<view class="btn">
@@ -96,7 +96,7 @@
 				align-items: center;
 				flex-grow: 1;
 				border-radius: 3vw;
-				padding: 4vw 3vw;
+				padding: 1.5vw 3vw;
 				background-color: var(--mainColor);
 
 				.other {
@@ -128,7 +128,7 @@
 						overflow: hidden;
 						text-overflow: ellipsis;
 						display: -webkit-box;
-						-webkit-line-clamp: 1;
+						-webkit-line-clamp: 2;
 						-webkit-box-orient: vertical;
 						font-size: var(--font12Size);
 						color: var(--f99Color);

+ 1 - 1
pagesHome/exchange/index.vue

@@ -53,7 +53,7 @@
 				} else {
 					uni.showToast({
 						title: arr.errmsg,
-						icon: 'error',
+						icon: 'none',
 						duration: 2000
 					});
 				}