Quellcode durchsuchen

fix: list引入

chenjj vor 1 Monat
Ursprung
Commit
270d297afe
4 geänderte Dateien mit 16 neuen und 4 gelöschten Zeilen
  1. 1 1
      pages/classify.vue
  2. 7 3
      pages/index.vue
  3. 2 0
      static/scss/index.scss
  4. 6 0
      static/scss/server.scss

+ 1 - 1
pages/classify.vue

@@ -21,7 +21,7 @@
 	import {
 		ref
 	} from 'vue';
-	import List from './order/list/index.vue';
+	import List from '@/pages_classify/components/orderList/index.vue';
 	import {
 		provide
 	} from 'vue';

+ 7 - 3
pages/index.vue

@@ -22,12 +22,16 @@
 			<!-- 瀑布流 -->
 			<volunteerSide></volunteerSide>
 
-			<view v-if="userType == '2'">
-				<view class="font-title index-title">月度排名</view>
+			<view v-if="userType == '2'" class="serve-monthly-ranking">
+				<!-- <view class="font-title index-title">月度排名</view>
 				<List :data="data" @refresh="getList" v-if="data.length > 0" :type="'ranking'" />
 				<view v-else class="empty-null">
 					<img src="/static/empty/订单为空.png" alt="">
+				</view> -->
+				<view>
+					<view class="serve-title">本月热门服务排名</view>
 				</view>
+
 			</view>
 
 		</view>
@@ -45,7 +49,7 @@ import {
 		Client
 	} from "@/pages/Client/new_file.vue"
 	import volunteerSide from "@/pages/Volunteerside/Side_index.vue"
-	import List from './order/list/index.vue';
+	import List from '@/pages_classify/components/orderList/index.vue';
 
 	const value = ref(''); //搜索
 	const userType = uni.getStorageSync('userType') //读取本地存储

+ 2 - 0
static/scss/index.scss

@@ -1,6 +1,8 @@
 @import "./global.scss";
 @import "@/static/scss/colorui.css";
 @import "@/static/font/iconfont.css";
+@import "@/static/scss/server.scss";
+
 .uni-page-body {
 	overflow: hidden;
 }

+ 6 - 0
static/scss/server.scss

@@ -0,0 +1,6 @@
+.serve-title {
+    font-size: 18px;
+    font-weight: 400;
+    line-height: 28px;
+    color: rgba(51, 51, 51, 1);
+}