Browse Source

查研观向11.0 样式兼容

hbchen 1 year ago
parent
commit
ced0001664

+ 1 - 1
components/ItemComponent/reportItem.vue

@@ -95,7 +95,7 @@ export default {
 		  content: "";
 		  position: absolute;
 		  top: 6rpx;
-			background-image: url(https://hzstatic.hzinsights.com/cygx/icon/Research_Points.png);
+			background-image: url(https://hzstatic.hzinsights.com/cygx/icon/Research_normal.png);
 			background-size: 100% 100%;
 			background-repeat: no-repeat;
 		  left: 0;

+ 1 - 1
pageMy/myCollection/myCollection.vue

@@ -329,7 +329,7 @@ export default {
 				  content: "";
 				  position: absolute;
 				  top: 5rpx;
-					background-image: url(https://hzstatic.hzinsights.com/cygx/icon/Research_Points.png);
+					background-image: url(https://hzstatic.hzinsights.com/cygx/icon/Research_normal.png);
 					background-size: 100% 100%;
 					background-repeat: no-repeat;
 				  left: 0;

+ 1 - 1
pages-search/components/report.vue

@@ -463,7 +463,7 @@ export default {
 				  content: "";
 				  position: absolute;
 				  top: 5rpx;
-					background-image: url(https://hzstatic.hzinsights.com/cygx/icon/Research_Points.png);
+					background-image: url(https://hzstatic.hzinsights.com/cygx/icon/Research_normal.png);
 					background-size: 100% 100%;
 					background-repeat: no-repeat;
 				  left: 0;

+ 9 - 3
pages/purchaser/purchaser.vue

@@ -31,7 +31,7 @@
 				</view>
 				<view class="purchaser-content-box-body">
 					<view class="purchaser-content-box-row" v-for="item in recentReportList" :key="item.ArticleId">
-						<text class="purchaser-content-row-tag">
+						<text class="purchaser-content-row-tag" :style="{padding:item.ArticleTypeName.length==2?'4rpx 28rpx':'4rpx 15rpx'}">
 							{{item.ArticleTypeName}}
 						</text>
 						<view class="purchaser-content-row-title" :style="{ marginLeft: item.Title.substr(0, 1) != '【' ? '14rpx' : 0 }"
@@ -296,8 +296,9 @@ export default {
 					}
 					.purchaser-content-row-tag{
 						white-space: nowrap;
-						padding: 4rpx 15rpx;
-						min-width: 110rpx;
+						// padding: 4rpx 15rpx;
+						width: 110rpx;
+						// min-width: 110rpx;
 						height: 36rpx;
 						color: white;
 						font-size: 20rpx;
@@ -310,6 +311,11 @@ export default {
 						text-justify: inter-ideograph; // IE兼容
 						text-align-last: justify;
 						margin-right:8px ;
+						&:after{
+							content: "";
+							width: 110px;
+							display: block;
+						}
 					}
 					.purchaser-content-row-title{
 						-webkit-line-clamp: 2;