Browse Source

样式修改

tanxue 1 month ago
parent
commit
27037f6ad6
2 changed files with 6 additions and 7 deletions
  1. 3 4
      common/styles/global/pages.scss
  2. 3 3
      pages/chanpinneirong/chanpin1.vue

+ 3 - 4
common/styles/global/pages.scss

@@ -558,10 +558,9 @@
 			}
 			}
 			.completed-status{background-image: url("@/static/images/xuexi/xw-status.png");}
 			.completed-status{background-image: url("@/static/images/xuexi/xw-status.png");}
 			.xx-text-box{flex: 1;}
 			.xx-text-box{flex: 1;}
-			.xx-item-btn{
-				width: 77rpx;height: 77rpx;@include ezy-no-repeat-cover;
-				background-image: url("@/static/images/xuexi/xx-ml-play-icon.png");
-			}
+			.xx-item-btn,.xx-item-lock-btn{width: 77rpx;height: 77rpx;@include ezy-no-repeat-cover;}
+			.xx-item-btn{background-image: url("@/static/images/xuexi/xx-ml-play-icon.png");}
+			.xx-item-lock-btn{background-image: url("@/static/images/xuexi/xx-ml-lock-icon.png");}
 		}
 		}
 		.xx-disabled-item-box{
 		.xx-disabled-item-box{
 			background-image: url("@/static/images/xuexi/xx-ml-disabled-bj.png");
 			background-image: url("@/static/images/xuexi/xx-ml-disabled-bj.png");

+ 3 - 3
pages/chanpinneirong/chanpin1.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
-	<view>
+	<view class="ezy-page-body xuexi-page-body">
 		<!-- 滚动区域 -->
 		<!-- 滚动区域 -->
-		<scroll-view v-if="existData" class="ezy-page-body xuexi-page-body" :scroll-with-animation="true" scroll-y
+		<scroll-view v-if="existData" :scroll-with-animation="true" scroll-y
 			:scroll-top="scrollTop" @scroll="handleScroll">
 			:scroll-top="scrollTop" @scroll="handleScroll">
 			<view class="xxjl-card-box-padding">
 			<view class="xxjl-card-box-padding">
 				<view class="xxjl-card-box">
 				<view class="xxjl-card-box">
@@ -52,7 +52,7 @@
 							<view>{{ jieItem.jieName }}</view>
 							<view>{{ jieItem.jieName }}</view>
 							<view>{{ jieItem.jieIntro }}</view>
 							<view>{{ jieItem.jieIntro }}</view>
 						</view>
 						</view>
-            <view v-if="jieItem.lock" class="xx-item-btn-lock">锁</view>
+						<view v-if="jieItem.lock" class="xx-item-lock-btn"></view>
 						<view v-else class="xx-item-btn"></view>
 						<view v-else class="xx-item-btn"></view>
 					</ezyActiveVue>
 					</ezyActiveVue>
 				</view>
 				</view>