Parcourir la source

improve: 商品标题及部分优化

From-wh il y a 2 ans
Parent
commit
b39a8d7527

+ 3 - 1
template/uni-app/components/recommend/index.vue

@@ -129,6 +129,8 @@
 		color: #282828;
 		margin-top: 20rpx;
 		padding: 0 10rpx;
+		line-height: 34rpx;
+		height: 68rpx;
 	}
 
 	.recommend .recommendList .item .money {
@@ -142,7 +144,7 @@
 		color: #282828;
 		font-weight: bold;
 		display: flex;
-		align-items: center;
+		align-items: center;
 		padding: 0rpx 0 0 10rpx;
 
 		image {

+ 2 - 1
template/uni-app/pages/activity/goods_combination_status/index.vue

@@ -847,7 +847,8 @@
 
 	.group-con .wrapper .list .pictrue .dumpling {
 		width: 72rpx;
-		height: 32rpx;
+		height: 32rpx;
+		line-height: 32rpx;
 		font-size: 18rpx;
 		text-align: center;
 		color: #fff;

+ 9 - 6
template/uni-app/pages/goods_details/index.vue

@@ -610,6 +610,7 @@
 						this.getCouponList();
 						this.getCartCount();
 						this.downloadFilePromotionCode();
+						// this.ShareInfo();
 					}
 				},
 				deep: true,
@@ -1122,18 +1123,19 @@
 						that.$set(that, "navList", navList);
 						that.$set(that, "storeImage", that.storeInfo.image);
 						that.$set(that, "svip_price_open", res.data.svip_price_open);
-						// #ifdef H5
-						if (that.isLogin) {
-							that.ShareInfo();
-						}
-						// #endif
 						if (that.isLogin) {
 							that.getUserInfo();
 						}
 						// #ifdef H5 || APP-PLUS
 						this.getImageBase64();
 						// #endif
+						// #ifdef H5
+						if (that.isLogin) {
+							that.ShareInfo();
+						}
+						// #endif
 						this.$nextTick(() => {
+
 							if (good_list.length) {
 								// #ifndef APP-PLUS
 								that.setClientHeight();
@@ -1563,7 +1565,8 @@
 						return
 					}
 					// #ifdef H5
-					if (this.$wechat.isWeixin() === true) {
+					if (this.$wechat.isWeixin()) {
+						// this.ShareInfo()
 						this.weixinStatus = true;
 					}
 					this.downloadFilePromotionCode();

+ 4 - 2
template/uni-app/pages/index/diy/components/goodList.vue

@@ -51,7 +51,7 @@
 							<image :src="item.image" mode="aspectFit">
 						</view>
 						<view class="text-info">
-							<view class="title line1" v-if="titleShow">{{ item.store_name }}</view>
+							<view class="title line2" v-if="titleShow">{{ item.store_name }}</view>
 							<view class="old-price" v-if="opriceShow">
 								{{$t(`¥`)}}{{ item.ot_price }}
 							</view>
@@ -84,7 +84,7 @@
 						<view class="text-info"
 							style="display: flex; flex-direction: column; justify-content: space-between;">
 							<view>
-								<view class="title line1" v-if="titleShow">{{ item.store_name }}</view>
+								<view class="title line2" v-if="titleShow">{{ item.store_name }}</view>
 								<view class="old-price" v-if="opriceShow">
 									{{$t(`¥`)}}{{ item.ot_price }}
 								</view>
@@ -313,6 +313,8 @@
 
 					.title {
 						color: #222222;
+						line-height: 34rpx;
+						height: 68rpx;
 					}
 
 					.old-price {

+ 4 - 2
template/uni-app/pages/index/diy/components/promotionList.vue

@@ -26,7 +26,7 @@
 					<easy-loadimage mode="widthFix" :image-src="item.image"></easy-loadimage>
 				</view>
 				<view class="text-info">
-					<view class="title line1" v-if="titleShow">{{item.store_name}}</view>
+					<view class="title line2" v-if="titleShow">{{item.store_name}}</view>
 					<view class="old-price" v-if="opriceShow">{{$t(`¥`)}}{{item.ot_price}}</view>
 					<view class="price" :style="{color:fontColor}">
 						<view v-if="priceShow">
@@ -174,7 +174,9 @@
 					padding: 10rpx 20rpx 15rpx;
 
 					.title {
-						color: #222222;
+						color: #222222;
+						line-height: 34rpx;
+						height: 68rpx;
 					}
 
 					.old-price {