Browse Source

样式修改

tanxue 1 month ago
parent
commit
b82bd7cff6
2 changed files with 10 additions and 7 deletions
  1. 1 0
      common/styles/global/pages.scss
  2. 9 7
      pages/chanpinneirong/index.vue

+ 1 - 0
common/styles/global/pages.scss

@@ -2215,6 +2215,7 @@
 	.item-dy-box{
 	.item-dy-box{
 		display: flex;align-items: center;justify-content: center;
 		display: flex;align-items: center;justify-content: center;
 		color: #fff;margin-bottom: 24rpx;
 		color: #fff;margin-bottom: 24rpx;
+		.item-dy-body{display: flex;align-items: center;justify-content: center;}
 		.dy-left-box{
 		.dy-left-box{
 			width: 174rpx;height: 127rpx;@include ezy-no-repeat-cover;font-size: 64rpx;
 			width: 174rpx;height: 127rpx;@include ezy-no-repeat-cover;font-size: 64rpx;
 			display: flex;align-items: center;box-sizing: border-box;padding:0 24rpx;
 			display: flex;align-items: center;box-sizing: border-box;padding:0 24rpx;

+ 9 - 7
pages/chanpinneirong/index.vue

@@ -4,18 +4,20 @@
 			<text class="nav-bar-title">学习</text>
 			<text class="nav-bar-title">学习</text>
 		</view>
 		</view>
 		<!-- 吸顶单元标题 -->
 		<!-- 吸顶单元标题 -->
-		<view
+		<ezyActiveVue
 			v-if="currentStickyTitle"
 			v-if="currentStickyTitle"
 			class="item-dy-box item-fixed"
 			class="item-dy-box item-fixed"
 		>
 		>
-			<view class="dy-left-box">L{{ currentStickyDengjiId }}</view>
-			<view class="dy-right-box">
-				<view class="right-content">
-					<view class="dy-name">{{ currentStickyTitle }}</view>
-					<view>{{ currentStickyIntro }}</view>
+			<view class="ezy-list-item-active item-dy-body">
+				<view class="dy-left-box">L{{ currentStickyDengjiId }}</view>
+				<view class="dy-right-box">
+					<view class="right-content">
+						<view class="dy-name">{{ currentStickyTitle }}</view>
+						<view>{{ currentStickyIntro }}</view>
+					</view>
 				</view>
 				</view>
 			</view>
 			</view>
-		</view>
+		</ezyActiveVue>
 
 
 		<!-- 滚动区域 -->
 		<!-- 滚动区域 -->
 		<scroll-view
 		<scroll-view