浏览代码

‘fix:题库详情细节修复’

Tang 3 年之前
父节点
当前提交
791b6c790d
共有 2 个文件被更改,包括 10 次插入6 次删除
  1. 9 5
      pages2/bank/detail.vue
  2. 1 1
      pages2/course/detail.vue

+ 9 - 5
pages2/bank/detail.vue

@@ -24,7 +24,7 @@
 			<u-line color="#D6D6DB" />
 		</view>
 		<view class="intro" v-if="current == 0">
-			<view class="content">
+			<view class="content" style="padding:10rpx;">
 				<rich-text :nodes="goodsData.mobileDetailHtml"></rich-text>
 			</view>
 		</view>
@@ -43,8 +43,10 @@
 						<template v-if="item1.showList">
 							<view v-for="(item2,index2) in item1.list" :key="index2" >
 								<view class="section" @click="changeItem" :data-index1="index1" :data-index2="index2" :data-id="item2.chapterExamId" :data-type="item1.type">
-									<u-icon  v-if="!item2.showList" name="arrow-up"></u-icon>
-									<u-icon  v-if="item2.showList" name="arrow-down"></u-icon>
+									<image src="/static/icon/down1.png" class="icon_up" v-if="item2.showList"></image>
+									<image src="/static/icon/up1.png" class="icon_up" v-if="!item2.showList"></image>
+									<!-- <u-icon  v-if="!item2.showList" name="arrow-up"></u-icon>
+									<u-icon  v-if="item2.showList" name="arrow-down"></u-icon> -->
 									<text style="margin-left:34rpx;">{{ item2.name }}</text>
 								</view>
 								<view  v-if="item2.showList">
@@ -64,8 +66,10 @@
 					
 					<template v-if="item1.type ==2">
 						<view class="section" :data-index1="index1" :data-id="item1.majorId" @click="changeItem" :data-type="item1.type">
-							<u-icon  v-if="!item1.showList" name="arrow-up"></u-icon>
-							<u-icon  v-if="item1.showList" name="arrow-down"></u-icon>
+							<image src="/static/icon/down1.png" class="icon_up" v-if="item1.showList"></image>
+							<image src="/static/icon/up1.png" class="icon_up" v-if="!item1.showList"></image>
+							<!-- <u-icon  v-if="!item1.showList" name="arrow-up"></u-icon>
+							<u-icon  v-if="item1.showList" name="arrow-down"></u-icon> -->
 							<text style="margin-left:34rpx;">{{ item1.name }}</text>
 						</view>
 						<view v-if="item1.showList" >

+ 1 - 1
pages2/course/detail.vue

@@ -40,7 +40,7 @@
 			
 		</view>
 		<view style="padding: 20rpx;position: relative;top: 680rpx;" v-show="current==0">
-			<view class="content">
+			<view class="content" style="padding: 10rpx;">
 				<view v-html="detail.mobileDetailHtml" style="width: 100%;"></view>
 			</view>
 		</view>