Parcourir la source

优化:对一些照片的优化处理

jhy il y a 6 mois
Parent
commit
56d51e8a5e

+ 1 - 1
components/XD-swiper/XD-swiper.vue

@@ -3,7 +3,7 @@
 		:display-multiple-items="multipleItems" :style="'height:'+height">
 		<swiper-item v-for="(item, index) in swiperList" :key="item.id">
 			<view class="ss-flex ss-row-around ss-flex-wrap" :style="'margin-left: 10rpx;height:'+height">
-				<view :style="'width:100%;height:'+imageHeight">
+				<view :style="'width:'+imageWidth+';height:'+imageHeight">
 					<image style="width: 100%;height: 100%;" referrerpolicy="no-referrer" :src="item.imageUrl" @click="onImage(item)"/>
 				</view>
 				<slot :data="item"></slot>

+ 11 - 11
pages/XDHome/homePage/homePage.vue

@@ -1,6 +1,6 @@
 <!-- 首页,支持店铺装修 -->
 <template>
-	<s-layout class="homepage-wrap ss-w-100 box-sizing" title="首页" navbar="haha"
+	<s-layout class="homepage-wrap ss-w-100 box-sizing" title="首页" navbar="cu"
 		tabbar="/pages/XDHomePage/homePage/homePage">
 		<view class="body homepage-wrap ss-w-100 box-sizing">
 			<!-- 头部 -->
@@ -20,7 +20,7 @@
 						style="margin-left: 20rpx;margin-right: 20rpx;"></text>
 				</view>
 				<!-- 预约上门 到店尊享 快捷下单 -->
-				<view class="ss-flex ss-flex-nowrap ss-row-around ss-margin-width ss-margin-top3">
+				<view class="ss-flex ss-flex-nowrap ss-row-around ss-margin-width" style="padding-top:30rpx">
 					<view class="ss-flex ss-flex-nowrap ss-row-center" style="position: relative">
 						<view class="ss-icon">
 							<image class="icon_5" referrerpolicy="no-referrer"
@@ -117,7 +117,7 @@
 						</view>
 						<view class="list">
 							<XD-swiper :current="currentIndex" :interval="4000" :duration="1000" :multipleItems="3"
-								:height="'400rpx'" :imageHeight="'340rpx'" :swiperList="swiperListOne"
+								:height="'400rpx'" :imageHeight="'354rpx'" :imageWidth="'209rpx'" :swiperList="swiperListOne"
 								@jump="jumpTechnicianDetails">
 								<template v-slot="slotProps">
 									<view style="height: 30rpx; padding: 5rpx; line-height: 30rpx"
@@ -181,7 +181,7 @@
 						</view>
 						<view style="margin-top: 10rpx">
 							<XD-swiper :current="currentIndex" :interval="5000" :duration="1000" :multipleItems="4"
-								:height="'170rpx'" :imageHeight="'130rpx'" :swiperList="swiperListTwo"
+								:height="'185rpx'" :imageHeight="'140rpx'" :imageWidth="'140rpx'" :swiperList="swiperListTwo"
 								@jump="jumpProject">
 								<template v-slot="slotProps">
 									<view style="height: 30rpx; padding: 5rpx; line-height: 30rpx"
@@ -190,7 +190,7 @@
                       slotProps.data.projectName
                     }}</view>
 										<view class="ss-flex-1"> </view>
-										<view style="height: 20rpx; font-size: 14rpx; padding-top: 5rpx; color: red">
+										<view style="height: 20rpx; font-size: 16rpx; padding-top: 5rpx; color: red">
 											¥{{ slotProps.data.maney }}
 										</view>
 									</view>
@@ -217,7 +217,7 @@
 							<view class="content-test">
 								<view class="list-test" v-for="(item, index) in swiperList" :key="item.id">
 									<view v-if="index == 1 || index == 7" style="padding-bottom: 30rpx">
-										<swiper class="box-sizing" style="height: 320rpx" :current="currentIndex"
+										<swiper class="box-sizing" style="height: 318rpx;width:319rpx;" :current="currentIndex"
 											circular :autoplay="true" interval="5000" duration="1000"
 											display-multiple-items="1">
 											<swiper-item v-for="(item, index) in swiperList" :key="index">
@@ -506,31 +506,31 @@
 			imageUrl: '/static/lanhu_shouye/pskrims113novhztuh3djro4dewm6siic9cbfccd-f457-4e94-a2a5-bf7808d1dd3f.png',
 			id: 1,
 			projectName: 'spa',
-			maney: '999.99',
+			maney: '432.99',
 		},
 		{
 			imageUrl: '/static/lanhu_shouye/pskrims113novhztuh3djro4dewm6siic9cbfccd-f457-4e94-a2a5-bf7808d1dd3f.png',
 			id: 2,
 			projectName: '洗脚',
-			maney: '999.99',
+			maney: '399.99',
 		},
 		{
 			imageUrl: '/static/lanhu_shouye/pskrims113novhztuh3djro4dewm6siic9cbfccd-f457-4e94-a2a5-bf7808d1dd3f.png',
 			id: 3,
 			projectName: '推拿',
-			maney: '999.99',
+			maney: '122.99',
 		},
 		{
 			imageUrl: '/static/lanhu_shouye/pskrims113novhztuh3djro4dewm6siic9cbfccd-f457-4e94-a2a5-bf7808d1dd3f.png',
 			id: 4,
 			projectName: '精油按摩',
-			maney: '999.99',
+			maney: '344.99',
 		},
 		{
 			imageUrl: '/static/lanhu_shouye/pskrims113novhztuh3djro4dewm6siic9cbfccd-f457-4e94-a2a5-bf7808d1dd3f.png',
 			id: 5,
 			projectName: '护理',
-			maney: '999.99',
+			maney: '433.99',
 		},
 	]);
 	const swiperList = ref(['1', '2', '3', '4', '5', '6', '7', '8', '9', '10']);

+ 2 - 2
pages/XDHome/myHome/myHome.vue

@@ -1,7 +1,7 @@
 <!-- 参考模板 -->
 <template>
 	<s-layout class="homepage-wrap ss-w-100 box-sizing" title="我的" navbar="haha"
-		tabbar="/pages/XDHomePage/myHome/myHome">
+		tabbar="/pages/XDHome/myHome/myHome">
 		<view class="body" :style="'padding-top:' + bottomHeight">
 			<view class="bg-box">
 				<view class="top-title-box">
@@ -208,7 +208,7 @@
 	import sheep from '@/sheep';
 	import $share from '@/sheep/platform/share';
 	// 隐藏原生tabBar
-	// uni.hideTabBar();
+	uni.hideTabBar();
 	const swiperList = ref(['1', '2', '3', '4', '5', '6', '7', '8', '9', '10']);
 	const jumpAllFeat=async(item)=>{
 		if(item.text=='签到中心'){

+ 2 - 2
pages/XDHome/orderInfoList/orderInfoList.vue

@@ -1,7 +1,7 @@
 <!-- 订单列表 -->
 <template>
 	<s-layout class="homepage-wrap ss-w-100 box-sizing" title="订单" navbar="custom"
-		tabbar="/pages/XDHomePage/orderInfoList/orderInfoList">
+		tabbar="/pages/XDHome/orderInfoList/orderInfoList">
 		<view class="body" :style="'padding-top:' + bottomHeight">
 			<!-- 导航 -->
 			<view class="ss-flex-2 ss-col-center ss-margin-width2" style="position: relative">
@@ -202,7 +202,7 @@
 	import sheep from '@/sheep';
 	import $share from '@/sheep/platform/share';
 	// 隐藏原生tabBar
-	// uni.hideTabBar();
+	uni.hideTabBar();
 
 	// 导航功能
 	const nativeIndex = ref(1)

+ 2 - 2
pages/XDHome/technician/itemList/itemList.vue

@@ -1,7 +1,7 @@
 <!-- 项目列表 -->
 <template>
 	<s-layout class="homepage-wrap ss-w-100 box-sizing" title="首页" navbar="custom"
-		tabbar="/pages/XDHomePage/technician/itemList/itemList">
+		tabbar="/pages/XDHome/technician/itemList/itemList">
 		<view class="body" :style="'padding-top:' + bottomHeight">
 			<!-- 导航 -->
 			<view class="ss-flex-2 ss-col-center ss-margin-width2" style="position: relative">
@@ -107,7 +107,7 @@
 	import sheep from '@/sheep';
 	import $share from '@/sheep/platform/share';
 	// 隐藏原生tabBar
-	// uni.hideTabBar();
+	uni.hideTabBar();
 
 	// 返回首页
 	const backPage = async () => {

+ 2 - 2
pages/XDHome/technicianList/technicianList.vue

@@ -6,7 +6,7 @@
     style="position: relative"
     title="技师"
     navbar="custom"
-    tabbar="/pages/XDHomePage/technicianList/technicianList"
+    tabbar="/pages/XDHome/technicianList/technicianList"
   >
     <view class="body" :style="'padding-top:' + bottomHeight">
       <!-- 头部 -->
@@ -285,7 +285,7 @@
   import sheep from '@/sheep';
   import $share from '@/sheep/platform/share';
   // 隐藏原生tabBar
-  // uni.hideTabBar();
+  uni.hideTabBar();
 
   /**搜索栏*/
   const searchInfo = ref('');

+ 1 - 1
pages/moban.vue

@@ -1,7 +1,7 @@
 <!-- 参考模板 -->
 <template>
 	<s-layout class="homepage-wrap ss-w-100 box-sizing" title="订单" navbar="custom"
-		tabbar="/pages/XDHomePage/orderInfoList/orderInfoList">
+		tabbar="/pages/XDHome/orderInfoList/orderInfoList">
 		<view class="body" :style="'padding-top:' + bottomHeight">
 			<!-- 导航 -->
 			<view class="ss-flex-2 ss-col-center ss-margin-width2" style="position: relative">

+ 1 - 1
sheep/components/s-menu-tools/s-menu-tools.vue

@@ -50,7 +50,7 @@
       title: '个人中心',
     },
     {
-      url: '/pages/XDHomePage/homePage/homePage',
+      url: '/pages/XDHome/homePage/homePage',
       icon: '/static/img/shop/tools/home.png',
       title: '首页two',
     },