Kaynağa Gözat

H5改为小程序

tanxue 2 ay önce
ebeveyn
işleme
6b71be17d0
1 değiştirilmiş dosya ile 3 ekleme ve 5 silme
  1. 3 5
      pages/client/Lianxi/list.vue

+ 3 - 5
pages/client/Lianxi/list.vue

@@ -1,16 +1,13 @@
 <template>
 	<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>
+		<customNavbarVue title="练习管理" :show-back-btn="true" @back="goUpPage"></customNavbarVue>
 		<!-- 考试列表 -->
 		<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 			:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh" @scrolltolower="onScrolltolower"
 			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>
+					<template v-slot:body style="width: 100%;">
 						<!-- 考试项 -->
 						<view class="item-card-row">
 							<!-- 考试名 + 等级 -->
@@ -47,6 +44,7 @@
 </template>
 
 <script setup>
+	import customNavbarVue from "@/components/custom-navbar/custom-navbar.vue";
 	import * as lianxiApi from "@/api/lianxi.js";
 	import customTabbarClientVue from "@/components/custom-tabbar/custom-tabbar-client.vue";
 	import lianxixuzhi from "@/components/kaoshixuzhi/lianxixuzhi.vue";