浏览代码

样式修改

tanxue 2 月之前
父节点
当前提交
305006a5d7

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

@@ -122,16 +122,17 @@
 }
 
 /*** 考试页面***/
-.admin-kaoshi-page,.client-kaoshi-page {
+.phone-list-page{
 	box-sizing: border-box;
-	.kaoshi-scroll-view {height: calc(100vh - 212rpx);}
+	.phone-scroll-view {height: calc(100vh - 322rpx);}
+	.client-kaoshi-scroll-view{height: calc(100vh - 212rpx);}
 	.admin-list-box{
 		.admin-list-item-box{border-bottom: 20rpx solid #f4f6fa;}
 		.uni-list--border{display: none;}
 	}
 	
 		// 列表区域
-	.item-kaoshi-row {
+	.item-card-row {
 		width: 100%;
 		.ks-item-top {
 			display: flex;justify-content: space-between;margin-bottom: 20rpx;
@@ -156,7 +157,7 @@
 				text{color: #3fd2a1;}
 			}
 		}
-		.kaoshi-btn {width:220rpx;font-size: 26rpx;background-color: #3fd2a1;}
+		.item-view-btn {width:220rpx;font-size: 26rpx;background-color: #3fd2a1;}
 	}
 }
 	
@@ -197,6 +198,7 @@
 	.phone-video-box{
 		width:100%;height: 460rpx;
 		.kecheng-video{height: 460rpx!important;}
+		.prism-big-play-btn{display: none!important;}
 	}
 	.kc-info-box{width: 100%;box-sizing: border-box;padding: 24rpx 36rpx;border-bottom: 1rpx solid #ebebeb;
 		display: flex;align-items: center;justify-content: space-between;color: #555;}

+ 3 - 3
pages/Login/components/loginBox.vue

@@ -32,8 +32,8 @@
 	import passwordLli from "@/components/password-lli/password-lli.vue";
 	import {ref} from "vue"
 	import {toast} from "@/utils/common";
-	const userName = ref('18604088413') // 用户名
-	const password = ref('') // 密码
+	const userName = ref('17600168661') // 用户名
+	const password = ref('121045') // 密码
 	const lliPassword = ref('') // 加密后的密码
 	const passLLiRef = ref(null)
 	const showPassword= ref(true)
@@ -116,7 +116,7 @@
 		// 客户端
 		// #ifdef H5
 		uni.navigateTo({
-			url: `/pages/client/ShouYe/shouye`
+			url: `/pages/client/Kecheng/list`
 		})
 		// #endif
 		

+ 4 - 6
pages/admin/Chengji/list.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="admin-kaoshi-page">
+	<view class="phone-list-page">
 		<view class="icon-title-navBar-box">
 			<view @click="goUpPage" class="nav-bar-icon"></view>
 			<text class="nav-bar-title">成绩</text>
@@ -12,14 +12,13 @@
 			</view>
 		</view>
 		<!-- 课程列表 -->
-		<view class="kaoshi-content-box">
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="phone-scroll-view kaoshi-scroll-view">
+				class="phone-scroll-view">
 				<uni-list class="admin-list-box">
 					<uni-list-item v-for="item in data.list" class="admin-list-item-box">
 						<template v-slot:body>
-							<view class="item-kaoshi-row">
+							<view class="item-card-row">
 								<!-- 数量 -->
 								<view class="ks-item-top">
 									<view>{{item.name}}</view>
@@ -36,7 +35,7 @@
 									<icon class="phone-time-icon" /> {{item.okScore}} / {{item.ksScore}}
 								</view>
 								<button @click="checkKecheng(item)" type="primary" size="mini"
-									class="kaoshi-btn">查看内容</button>
+									class="item-view-btn">查看内容</button>
 							</view>
 						</template>
 					</uni-list-item>
@@ -44,7 +43,6 @@
 						:contentText="data.contentText"></uni-load-more>
 				</uni-list>
 			</scroll-view>
-		</view>
 
 		<!-- 页面底端 -->
 		<customTabbarAdminVue></customTabbarAdminVue>

+ 4 - 6
pages/admin/Kaoshi/list.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="admin-kaoshi-page">
+	<view class="phone-list-page">
 		<view class="icon-title-navBar-box">
 			<view @click="goUpPage" class="nav-bar-icon"></view>
 			<text class="nav-bar-title">考试管理</text>
@@ -12,15 +12,14 @@
 			</view>
 		</view>
 		<!-- 考试列表 -->
-		<view class="kaoshi-content-box">
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="kaoshi-scroll-view phone-scroll-view">
+				class="phone-scroll-view">
 				<uni-list class="admin-list-box">
 					<uni-list-item v-for="item in data.list" class="admin-list-item-box">
 						<template v-slot:body>
 							<!-- 考试项 -->
-							<view class="item-kaoshi-row">
+							<view class="item-card-row">
 								<!-- 考试名 + 等级 -->
 								<view class="ks-item-top">
 									<view class="ks-name">{{item.ksName}}</view>
@@ -43,7 +42,7 @@
 									</view>
 								</view>
 								<button type="primary" size="mini" @click="checkKsXz(item)"
-									class="kaoshi-btn">查看内容</button>
+									class="item-view-btn">查看内容</button>
 							</view>
 						</template>
 					</uni-list-item>
@@ -51,7 +50,6 @@
 						:contentText="data.contentText"></uni-load-more>
 				</uni-list>
 			</scroll-view>
-		</view>
 		<!-- 页面底端 -->
 		<customTabbarAdminVue></customTabbarAdminVue>
 		<!-- 考试须知 -->

+ 4 - 6
pages/admin/Kecheng/list.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="admin-kaoshi-page">
+	<view class="phone-list-page">
 		<view class="icon-title-navBar-box">
 			<view @click="goUpPage" class="nav-bar-icon"></view>
 			<text class="nav-bar-title">课程管理</text>
@@ -12,14 +12,13 @@
 			</view>
 		</view>
 		<!-- 课程列表 -->
-		<view class="kaoshi-content-box">
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="phone-scroll-view kaoshi-scroll-view">
+				class="phone-scroll-view">
 				<uni-list class="admin-list-box">
 					<uni-list-item v-for="item in data.list" class="admin-list-item-box">
 						<template v-slot:body>
-							<view class="item-kaoshi-row">
+							<view class="item-card-row">
 								<!-- 数量 -->
 								<view class="ks-item-top">
 									<view>{{item.name}}</view>
@@ -28,7 +27,7 @@
 								<view class="ks-totalTm">
 									<icon class="phone-time-icon" />时间:{{formatDuration(item.period)}}分钟
 								</view>
-								<button @click="checkKecheng(item)" type="primary" size="mini"  class="kaoshi-btn">查看内容</button>
+								<button @click="checkKecheng(item)" type="primary" size="mini"  class="item-view-btn">查看内容</button>
 							</view>
 						</template>
 					</uni-list-item>
@@ -36,7 +35,6 @@
 						:contentText="data.contentText"></uni-load-more>
 				</uni-list>
 			</scroll-view>
-		</view>
 
 		<!-- 页面底端 -->
 		<customTabbarAdminVue></customTabbarAdminVue>

+ 4 - 6
pages/admin/Lianxi/list.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="admin-kaoshi-page">
+	<view class="phone-list-page">
 		<view class="icon-title-navBar-box">
 			<view @click="goUpPage" class="nav-bar-icon"></view>
 			<text class="nav-bar-title">练习管理</text>
@@ -12,15 +12,14 @@
 			</view>
 		</view>
 		<!-- 考试列表 -->
-		<view class="kaoshi-content-box">
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="kaoshi-scroll-view">
+				class="phone-scroll-view">
 				<uni-list class="admin-list-box">
 					<uni-list-item v-for="item in data.list" class="admin-list-item-box">
 						<template v-slot:body>
 							<!-- 考试项 -->
-							<view class="item-kaoshi-row">
+							<view class="item-card-row">
 								<!-- 考试名 + 等级 -->
 								<view class="ks-item-top">
 									<view class="ks-name">{{item.lxName}}</view>
@@ -40,7 +39,7 @@
 									</view>
 								</view>
 								<button type="primary" size="mini" @click="checkKsXz(item)"
-									class="kaoshi-btn">查看内容</button>
+									class="item-view-btn">查看内容</button>
 							</view>
 						</template>
 					</uni-list-item>
@@ -48,7 +47,6 @@
 						:contentText="data.contentText"></uni-load-more>
 				</uni-list>
 			</scroll-view>
-		</view>
 		<!-- 页面底端 -->
 		<customTabbarAdminVue></customTabbarAdminVue>
 		<!-- 考试须知 -->

+ 4 - 6
pages/client/Chengji/list.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="admin-kaoshi-page">
+	<view class="phone-list-page">
 		<view class="icon-title-navBar-box">
 			<view @click="goUpPage" class="nav-bar-icon"></view>
 			<text class="nav-bar-title">成绩</text>
@@ -12,14 +12,13 @@
 			</view>
 		</view>
 		<!-- 课程列表 -->
-		<view class="kaoshi-content-box">
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="phone-scroll-view kaoshi-scroll-view">
+				class="phone-scroll-view">
 				<uni-list class="admin-list-box">
 					<uni-list-item v-for="item in data.list" class="admin-list-item-box">
 						<template v-slot:body>
-							<view class="item-kaoshi-row">
+							<view class="item-card-row">
 								<!-- 数量 -->
 								<view class="ks-item-top">
 									<view>{{item.name}}</view>
@@ -32,7 +31,7 @@
 									<icon class="phone-time-icon" /> {{item.okScore}} / {{item.ksScore}}
 								</view>
 								<button @click="checkKecheng(item)" type="primary" size="mini"
-									class="kaoshi-btn">查看内容</button>
+									class="item-view-btn">查看内容</button>
 							</view>
 						</template>
 					</uni-list-item>
@@ -40,7 +39,6 @@
 						:contentText="data.contentText"></uni-load-more>
 				</uni-list>
 			</scroll-view>
-		</view>
 
 		<!-- 页面底端 -->
 		<customTabbarAdminVue></customTabbarAdminVue>

+ 4 - 6
pages/client/Kaoshi/list.vue

@@ -1,19 +1,18 @@
 <template>
-	<view class="client-kaoshi-page">
+	<view class="phone-list-page">
 		<view class="icon-title-bjcolor-navBar-box">
 			<view @click="goUpPage" class="nav-bar-icon"></view>
 			<text class="nav-bar-title">考试管理</text>
 		</view>
 		<!-- 考试列表 -->
-		<view class="kaoshi-content-box">
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="phone-scroll-view kaoshi-scroll-view">
+				class="phone-scroll-view client-kaoshi-scroll-view">
 				<uni-list class="admin-list-box">
 					<uni-list-item v-for="item in data.list" class="admin-list-item-box">
 						<template v-slot:body>
 							<!-- 考试项 -->
-							<view class="item-kaoshi-row">
+							<view class="item-card-row">
 								<!-- 考试名 + 等级 -->
 								<view class="ks-item-top">
 									<view class="ks-name">{{item.ksName}}</view>
@@ -27,7 +26,7 @@
 									<view class="ks-score"><icon class="phone-zongfen-icon"/>总分:<text>{{item.ksScore}}</text></view>
 									<view class="ks-okScore"><icon class="phone-jigefen-icon"/>及格分:<text>{{item.okScore}}</text></view>
 								</view>
-								<button type="primary" size="mini" @click="checkKsXz(item)" class="kaoshi-btn">查看内容</button>
+								<button type="primary" size="mini" @click="checkKsXz(item)" class="item-view-btn">查看内容</button>
 							</view>
 						</template>
 					</uni-list-item>
@@ -35,7 +34,6 @@
 						:contentText="data.contentText"></uni-load-more>
 				</uni-list>
 			</scroll-view>
-		</view>
 		<!-- 页面底端 -->
 		<customTabbarClientVue></customTabbarClientVue>
 		<!-- 考试须知 -->

+ 5 - 7
pages/client/Kecheng/list.vue

@@ -1,18 +1,17 @@
 <template>
-	<view class="admin-kaoshi-page">
-		<view class="icon-title-navBar-box">
+	<view class="phone-list-page">
+		<view class="icon-title-bjcolor-navBar-box">
 			<view @click="goUpPage" class="nav-bar-icon"></view>
 			<text class="nav-bar-title">课程管理</text>
 		</view>
 		<!-- 课程列表 -->
-		<view class="kaoshi-content-box">
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="kaoshi-scroll-view">
+				class="phone-scroll-view">
 				<uni-list class="admin-list-box">
 					<uni-list-item v-for="item in data.list" class="admin-list-item-box">
 						<template v-slot:body>
-							<view class="item-kaoshi-row">
+							<view class="item-card-row">
 								<!-- 数量 -->
 								<view class="ks-item-top">
 									<view>{{item.name}}</view>
@@ -21,7 +20,7 @@
 								<view class="ks-totalTm">
 									<icon class="phone-time-icon" />时间:{{formatSecondsToCnhms(item.period, true)}}
 								</view>
-								<button @click="checkKecheng(item)" type="primary" size="mini"  class="kaoshi-btn">查看内容</button>
+								<button @click="checkKecheng(item)" type="primary" size="mini"  class="item-view-btn">查看内容</button>
 							</view>
 						</template>
 					</uni-list-item>
@@ -29,7 +28,6 @@
 						:contentText="data.contentText"></uni-load-more>
 				</uni-list>
 			</scroll-view>
-		</view>
 
 		<!-- 页面底端 -->
 		<customTabbarClientVue></customTabbarClientVue>

+ 4 - 6
pages/client/Lianxi/list.vue

@@ -1,19 +1,18 @@
 <template>
-	<view class="admin-kaoshi-page">
+	<view class="phone-list-page">
 		<view class="icon-title-navBar-box">
 			<view @click="goUpPage" class="nav-bar-icon"></view>
 			<text class="nav-bar-title">练习管理</text>
 		</view>
 		<!-- 考试列表 -->
-		<view class="kaoshi-content-box">
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
-				class="kaoshi-scroll-view">
+				class="phone-scroll-view">
 				<uni-list class="admin-list-box">
 					<uni-list-item v-for="item in data.list" class="admin-list-item-box">
 						<template v-slot:body>
 							<!-- 考试项 -->
-							<view class="item-kaoshi-row">
+							<view class="item-card-row">
 								<!-- 考试名 + 等级 -->
 								<view class="ks-item-top">
 									<view class="ks-name">{{item.lxName}}</view>
@@ -33,7 +32,7 @@
 									</view>
 								</view>
 								<button type="primary" size="mini" @click="checkKsXz(item)"
-									class="kaoshi-btn">查看内容</button>
+									class="item-view-btn">查看内容</button>
 							</view>
 						</template>
 					</uni-list-item>
@@ -41,7 +40,6 @@
 						:contentText="data.contentText"></uni-load-more>
 				</uni-list>
 			</scroll-view>
-		</view>
 		<!-- 页面底端 -->
 		<customTabbarClientVue></customTabbarClientVue>
 		<!-- 考试须知 -->