Browse Source

样式修改

tanxue 1 month ago
parent
commit
b55c02fcfa
2 changed files with 10 additions and 4 deletions
  1. 7 1
      common/styles/global/pages.scss
  2. 3 3
      pages/xinshuxue/components/danyuanInfo.vue

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

@@ -1969,7 +1969,7 @@
 		.text-row{
 			display: flex;font-size: 32rpx;color: #333;margin: 12rpx 0;line-height: 1.6;
 			icon{
-				width: 15rpx;height: 15rpx;border-radius: 50%;flex-shrink: 0;
+				width: 13rpx;height: 13rpx;border-radius: 50%;flex-shrink: 0;
 				background-color: #2c7bf4;margin: 22rpx 12rpx 0 0;}
 			}
 	}
@@ -1987,6 +1987,12 @@
 			margin: 0 auto 24rpx;box-sizing: border-box;padding: 20rpx;background-color: #fff;
 			line-height: 1.5;font-size: 32rpx;
 			img{width: 120rpx;height: 120rpx;border-radius: 12rpx;margin-right: 24rpx;}
+			.content-title{margin-left: 32rpx;position: relative;}
+			.content-title:nth-child(1)::before{
+				width: 13rpx;height: 13rpx;border-radius: 50%;display: block;
+				background-color: #2c7bf4;content:'';
+				position: absolute;left: -24rpx;top: 22rpx;
+			}
 		}
 		.dagang-content-item:last-child{margin-bottom: 0;}
 	}

+ 3 - 3
pages/xinshuxue/components/danyuanInfo.vue

@@ -35,10 +35,10 @@
 							<view class="dagang-content-item" v-for="(item,index) in danyuanInfo.dagangList"
 								:key="index">
 								<!-- 封面 -->
-								<img :src="item.cover" />
+								<!-- <img :src="item.cover" /> -->
 								<view>
-									<view class="course-title">{{item.jieName}}</view>
-									<view class="course-title">{{item.jieIntro}}</view>
+									<view class="content-title">{{item.jieName}}</view>
+									<view class="content-title">{{item.jieIntro}}</view>
 								</view>
 							</view>
 						</view>