feat : 完善到家服务模块页面
This commit is contained in:
parent
04e3f4eed8
commit
ac23f91ea1
175
packages/homeServer/classify/index.css
Normal file
175
packages/homeServer/classify/index.css
Normal file
@ -0,0 +1,175 @@
|
||||
.container {
|
||||
height: 95vh;
|
||||
}
|
||||
|
||||
/* 位置和搜索样式 */
|
||||
#local {
|
||||
height: 30rpx;
|
||||
width: 28.08rpx;
|
||||
margin-right: 17rpx;
|
||||
}
|
||||
|
||||
.location-search {
|
||||
display: flex;
|
||||
padding: 16rpx 30rpx;
|
||||
/* background-color: #f5f7fb; */
|
||||
border-radius: 60rpx;
|
||||
gap: 16rpx;
|
||||
height: 35rpx;
|
||||
margin-top: 15rpx;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.location {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8rpx;
|
||||
padding-right: 16rpx;
|
||||
}
|
||||
|
||||
.location-text {
|
||||
font-size: 26rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.arrow-down {
|
||||
width: 24rpx;
|
||||
height: 24rpx;
|
||||
}
|
||||
|
||||
.search-box {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12rpx;
|
||||
background-color: #f5f7fb;
|
||||
border-radius: 60rpx;
|
||||
padding: 15rpx 24rpx;
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
width: 25rpx;
|
||||
height: 25rpx;
|
||||
margin-right: 5rpx;
|
||||
}
|
||||
|
||||
.search-placeholder {
|
||||
font-size: 26rpx;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.main {
|
||||
margin-top: 20rpx;
|
||||
display: flex;
|
||||
height: calc(100vh - 20rpx);
|
||||
}
|
||||
|
||||
.left-menu {
|
||||
width: 200rpx;
|
||||
height: 100%;
|
||||
background-color: #f5f7fb;
|
||||
border-right: 1rpx solid #eee;
|
||||
}
|
||||
|
||||
.menu-scroll {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.menu-item {
|
||||
height: 100rpx;
|
||||
line-height: 100rpx;
|
||||
text-align: center;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.menu-item.active {
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.menu-item.active::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 8rpx;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.right-content {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
padding: 20rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.content-scroll {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.content-img{
|
||||
height: 200rpx;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
|
||||
.content-section {
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
|
||||
.section-text{
|
||||
margin-right: 10rpx;
|
||||
color: #ed3d16;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
border-bottom: 1rpx solid #eee;
|
||||
}
|
||||
|
||||
.section-content {
|
||||
padding: 20rpx 0;
|
||||
}
|
||||
|
||||
.service-category {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 20rpx;
|
||||
padding: 20rpx;
|
||||
background-color: #fff;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.category-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.category-icon {
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
margin-bottom: 12rpx;
|
||||
}
|
||||
|
||||
.category-name {
|
||||
font-size: 24rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.content-item {
|
||||
height: 150rpx;
|
||||
margin-bottom: 20rpx;
|
||||
background-color: #f9f9f9;
|
||||
border-radius: 10rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
}
|
||||
155
packages/homeServer/classify/index.vue
Normal file
155
packages/homeServer/classify/index.vue
Normal file
@ -0,0 +1,155 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<!-- 位置和搜索 -->
|
||||
<view class="location-search">
|
||||
<view class="location" @click="chooseLocation">
|
||||
<image
|
||||
id="local"
|
||||
src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/local_localIcon.png"
|
||||
mode="aspectFill"
|
||||
></image>
|
||||
|
||||
<text class="location-text">{{ currentLocation }}</text>
|
||||
<u-icon name="arrow-down" color="#999999" size="28"></u-icon>
|
||||
</view>
|
||||
<view class="search-box">
|
||||
<image
|
||||
src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_communitySearchIcon.png"
|
||||
class="search-icon"
|
||||
></image>
|
||||
<input class="search-placeholder" placeholder="请输入您要找的服务" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="main">
|
||||
<view class="left-menu">
|
||||
<scroll-view class="menu-scroll" scroll-y>
|
||||
<view
|
||||
v-for="(item, index) in categories"
|
||||
:key="index"
|
||||
class="menu-item"
|
||||
:class="{ active: currentIndex === index }"
|
||||
@click="scrollToSection(item.id, index)"
|
||||
>
|
||||
{{ item.name }}
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="right-content">
|
||||
<scroll-view
|
||||
class="content-scroll"
|
||||
:scroll-into-view="currentSection"
|
||||
scroll-y
|
||||
scroll-with-animation
|
||||
>
|
||||
<view id="top" style="height: 1px; opacity: 0"></view>
|
||||
<image
|
||||
src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_communitySearchIcon.png"
|
||||
class="content-img"
|
||||
></image>
|
||||
<view
|
||||
v-for="(item, index) in categories"
|
||||
:key="index"
|
||||
:id="item.id"
|
||||
class="content-section"
|
||||
>
|
||||
<view class="section-title">
|
||||
<text class="section-text">|</text>
|
||||
{{ item.name }}
|
||||
</view>
|
||||
<!-- 这里添加每个分类对应的内容 -->
|
||||
<view class="section-content">
|
||||
<view class="service-category">
|
||||
<view
|
||||
class="category-item"
|
||||
v-for="(item, index) in serviceCategories"
|
||||
:key="index"
|
||||
@click="navigateToService(item)"
|
||||
>
|
||||
<image :src="item.icon" class="category-icon"></image>
|
||||
<text class="category-name">{{ item.name }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
request,
|
||||
picUrl,
|
||||
NavgateTo,
|
||||
menuButtonInfo,
|
||||
} from "../../../utils/index";
|
||||
import { apiArr } from "../../../api/reservation";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
top: "",
|
||||
localHeight: "",
|
||||
currentLocation: "衡水市桃城区",
|
||||
categories: [
|
||||
{ id: "category1", name: "家电维修" },
|
||||
{ id: "category2", name: "数码维修" },
|
||||
{ id: "category3", name: "家电清洗" },
|
||||
{ id: "category4", name: "洗衣洗鞋" },
|
||||
{ id: "category5", name: "精细擦窗" },
|
||||
{ id: "category6", name: "家庭保姆" },
|
||||
{ id: "category7", name: "管道疏通" },
|
||||
{ id: "category8", name: "家庭保洁" },
|
||||
{ id: "category9", name: "整理收纳" },
|
||||
{ id: "category10", name: "母婴服务" },
|
||||
],
|
||||
serviceCategories: [
|
||||
{
|
||||
name: "家电维修",
|
||||
icon: "",
|
||||
},
|
||||
{
|
||||
name: "数码维修",
|
||||
icon: "",
|
||||
},
|
||||
{
|
||||
name: "电器清洗",
|
||||
icon: "",
|
||||
},
|
||||
{
|
||||
name: "洗衣洗鞋",
|
||||
icon: "",
|
||||
},
|
||||
{
|
||||
name: "精细擦窗",
|
||||
icon: "",
|
||||
},
|
||||
],
|
||||
currentIndex: 0,
|
||||
currentSection: "top",
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
scrollToSection(id, index) {
|
||||
this.currentIndex = index;
|
||||
this.$nextTick(() => {
|
||||
this.currentSection = index === 0 ? "top" : id;
|
||||
});
|
||||
},
|
||||
|
||||
navigateToService(item) {
|
||||
uni.navigateTo({
|
||||
url: `/packages/homeServer/serverInfo/index?service=${encodeURIComponent(
|
||||
JSON.stringify(item)
|
||||
)}`,
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@import url("./index.css");
|
||||
</style>
|
||||
@ -36,7 +36,6 @@
|
||||
background-color: #f5f7fb;
|
||||
border-radius: 60rpx;
|
||||
gap: 16rpx;
|
||||
display: flex;
|
||||
height: 35rpx;
|
||||
margin-top: 15rpx;
|
||||
}
|
||||
@ -117,13 +116,23 @@
|
||||
border-radius: 15rpx;
|
||||
}
|
||||
|
||||
.announcement-flex {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.announcement-title {
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
color: #FF512A;
|
||||
}
|
||||
|
||||
.hrStyle{
|
||||
.announcement-img {
|
||||
width: 25rpx;
|
||||
height: 30rpx;
|
||||
}
|
||||
|
||||
.hrStyle {
|
||||
margin: 0 15rpx;
|
||||
color: #c5c5c5;
|
||||
}
|
||||
@ -156,7 +165,6 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.serverList {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@ -166,58 +174,39 @@
|
||||
|
||||
.serverItem {
|
||||
border-radius: 30rpx;
|
||||
width: 208rpx;
|
||||
height: 114rpx;
|
||||
box-sizing: border-box;
|
||||
padding-top: 11rpx;
|
||||
padding-left: 13rpx;
|
||||
font-weight: 600;
|
||||
font-size: 26rpx;
|
||||
color: #222222;
|
||||
position: relative;
|
||||
margin-bottom: 12rpx;
|
||||
}
|
||||
|
||||
.serverList_left {
|
||||
display: block;
|
||||
width: 260rpx;
|
||||
height: 369rpx;
|
||||
height: 350rpx;
|
||||
margin-right: 17rpx;
|
||||
|
||||
border-radius: 30rpx;
|
||||
}
|
||||
|
||||
.serverList_left swiper{
|
||||
.serverList_left image {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.serverList_right {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
width: 445rpx;
|
||||
height: 350rpx;
|
||||
}
|
||||
|
||||
.serverItem1 {
|
||||
background: linear-gradient(139deg, #FEF4F4 0%, #FEDCD2 100%);
|
||||
margin-right: 12rpx;
|
||||
width: 440rpx;
|
||||
height: 170rpx;
|
||||
}
|
||||
|
||||
.serverItem2 {
|
||||
background: #FFF4E5;
|
||||
}
|
||||
|
||||
.serverItem1 image {
|
||||
position: absolute;
|
||||
right: 12rpx;
|
||||
top: 14rpx;
|
||||
width: 103rpx;
|
||||
height: 100rpx;
|
||||
}
|
||||
|
||||
.serverItem2 image {
|
||||
position: absolute;
|
||||
right: 6rpx;
|
||||
top: 8rpx;
|
||||
width: 108rpx;
|
||||
height: 108rpx;
|
||||
width: 440rpx;
|
||||
height: 170rpx;
|
||||
}
|
||||
|
||||
/* 立即联系样式 */
|
||||
@ -232,8 +221,13 @@
|
||||
}
|
||||
|
||||
.contact-icon {
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
}
|
||||
|
||||
.contact-icon2 {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
}
|
||||
|
||||
.contact-text {
|
||||
@ -253,7 +247,7 @@
|
||||
}
|
||||
|
||||
/* */
|
||||
.interval{
|
||||
.interval {
|
||||
width: 100vw;
|
||||
height: 20rpx;
|
||||
background-color: #f7f6fb;
|
||||
@ -310,6 +304,11 @@
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.service-info-left-top {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.service-info-right {
|
||||
width: 35%;
|
||||
display: flex;
|
||||
@ -326,6 +325,11 @@
|
||||
height: 240rpx;
|
||||
}
|
||||
|
||||
.service-image2 {
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
}
|
||||
|
||||
.service-badge {
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
@ -341,16 +345,17 @@
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
margin-bottom: 8rpx;
|
||||
margin-bottom: 4rpx;
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
|
||||
.service-tag {
|
||||
display: inline-block;
|
||||
color: #e1ca9b;
|
||||
font-size: 22rpx;
|
||||
padding: 2rpx 16rpx;
|
||||
padding: 2rpx 0;
|
||||
border-radius: 20rpx;
|
||||
margin-bottom: 16rpx;
|
||||
margin-bottom: 4rpx;
|
||||
}
|
||||
|
||||
.service-desc {
|
||||
@ -380,7 +385,7 @@
|
||||
height: 100rpx;
|
||||
position: fixed;
|
||||
right: 33rpx;
|
||||
bottom: 250rpx;
|
||||
bottom: 320rpx;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
|
||||
@ -36,22 +36,34 @@
|
||||
|
||||
<!-- 到家公告 -->
|
||||
<view class="announcement">
|
||||
<text>到家<text class="announcement-title">公告</text></text>
|
||||
<view class="announcement-flex">
|
||||
到家
|
||||
<text class="announcement-title"> 公告</text>
|
||||
<image
|
||||
src="http://localhost:8080/index_notice1.png"
|
||||
class="announcement-img"
|
||||
></image>
|
||||
</view>
|
||||
<view class="hrStyle">|</view>
|
||||
<text class="announcement-content"
|
||||
>公告内容公告内容公告内容公告内容...</text
|
||||
>
|
||||
<image src="" class="arrow-right"></image>
|
||||
<image
|
||||
src="http://localhost:8080/index_notice2.png"
|
||||
class="arrow-right"
|
||||
@click="lookNotice"
|
||||
></image>
|
||||
</view>
|
||||
|
||||
<!-- 广告横幅 -->
|
||||
<view class="serverList">
|
||||
<view class="serverList_left">
|
||||
<swiper>
|
||||
<swiper-item v-for="(item, index) in homeLeftList" :key="index">
|
||||
<!-- <view> -->
|
||||
<image src="http://localhost:8080/guanggao1.png" mode="" />
|
||||
<!-- <swiper-item v-for="(item, index) in homeLeftList" :key="index">
|
||||
<image :src="item.pic_src" alt="" mode="aspectFit" />
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
</swiper-item> -->
|
||||
<!-- </view> -->
|
||||
</view>
|
||||
<view class="serverList_right">
|
||||
<view
|
||||
@ -60,7 +72,6 @@
|
||||
v-for="(item, index) in homeRightList"
|
||||
:key="index"
|
||||
>
|
||||
<view class="serverTit">{{ item.title }}</view>
|
||||
<image :src="item.pic_src" mode="" />
|
||||
</view>
|
||||
</view>
|
||||
@ -68,20 +79,29 @@
|
||||
|
||||
<!-- 立即联系 -->
|
||||
<view class="contact-section" @click="contactService">
|
||||
<image src="" class="contact-icon"></image>
|
||||
<image
|
||||
src="http://localhost:8080/index_kefu1.png"
|
||||
class="contact-icon"
|
||||
></image>
|
||||
<view class="contact-text">
|
||||
<text class="contact-title">立即联系</text>
|
||||
<br />
|
||||
<text class="contact-subtitle">未找到您需要的服务?</text>
|
||||
</view>
|
||||
<image src="" class="arrow-right"></image>
|
||||
<image
|
||||
src="http://localhost:8080/index_kefu2.png"
|
||||
class="contact-icon2"
|
||||
></image>
|
||||
</view>
|
||||
<view class="interval"></view>
|
||||
|
||||
<!-- 推荐热门服务 -->
|
||||
<view class="hot-services">
|
||||
<view class="section-header">
|
||||
<image src="" class="section-arrow"></image>
|
||||
<image
|
||||
src="http://localhost:8080/index_bottom1.png"
|
||||
class="section-arrow"
|
||||
></image>
|
||||
<text class="section-title">推荐热门服务</text>
|
||||
</view>
|
||||
<view class="service-list">
|
||||
@ -90,14 +110,20 @@
|
||||
v-for="(service, index) in hotServiceList"
|
||||
:key="index"
|
||||
>
|
||||
<image :src="service.image" class="service-image"></image>
|
||||
<!-- <view class="service-badge" v-if="service.badge">
|
||||
<text class="badge-text">{{ service.badge }}</text>
|
||||
</view> -->
|
||||
<image
|
||||
src="http://localhost:8080/ceshi.png"
|
||||
class="service-image"
|
||||
></image>
|
||||
<view class="service-info">
|
||||
<view class="service-info-left">
|
||||
<view class="service-info-left-top">
|
||||
<text class="service-name">{{ service.name }}</text>
|
||||
<image
|
||||
src="http://localhost:8080/index_bottom2.png"
|
||||
class="service-image2"
|
||||
></image>
|
||||
<text class="service-tag">{{ service.tag }}</text>
|
||||
</view>
|
||||
<br />
|
||||
<text class="service-desc">{{ service.description }}</text>
|
||||
</view>
|
||||
@ -127,9 +153,7 @@
|
||||
max="99"
|
||||
:value="value"
|
||||
></u-badge>
|
||||
<image
|
||||
src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/shop_car_num.png"
|
||||
></image>
|
||||
<image src="http://localhost:8080/toUp.png"></image>
|
||||
</div>
|
||||
</view>
|
||||
</template>
|
||||
@ -156,43 +180,59 @@ export default {
|
||||
serviceCategories: [
|
||||
{
|
||||
name: "家电维修",
|
||||
icon: "",
|
||||
icon: "http://localhost:8080/index_top1.png",
|
||||
},
|
||||
{
|
||||
name: "数码维修",
|
||||
icon: "",
|
||||
icon: "http://localhost:8080/index_top2.png",
|
||||
},
|
||||
{
|
||||
name: "电器清洗",
|
||||
icon: "",
|
||||
icon: "http://localhost:8080/index_top3.png",
|
||||
},
|
||||
{
|
||||
name: "洗衣洗鞋",
|
||||
icon: "",
|
||||
icon: "http://localhost:8080/index_top4.png",
|
||||
},
|
||||
{
|
||||
name: "精细擦窗",
|
||||
icon: "",
|
||||
icon: "http://localhost:8080/index_top5.png",
|
||||
},
|
||||
{
|
||||
name: "整理收纳",
|
||||
icon: "",
|
||||
icon: "http://localhost:8080/index_top6.png",
|
||||
},
|
||||
{
|
||||
name: "家庭保姆",
|
||||
icon: "",
|
||||
icon: "http://localhost:8080/index_top7.png",
|
||||
},
|
||||
{
|
||||
name: "母婴服务",
|
||||
icon: "",
|
||||
icon: "http://localhost:8080/index_top8.png",
|
||||
},
|
||||
{
|
||||
name: "管道疏通",
|
||||
icon: "",
|
||||
icon: "http://localhost:8080/index_top9.png",
|
||||
},
|
||||
{
|
||||
name: "家庭保洁",
|
||||
icon: "",
|
||||
icon: "http://localhost:8080/index_top10.png",
|
||||
},
|
||||
],
|
||||
homeLeftList: [
|
||||
{
|
||||
title: "",
|
||||
pic_src: "http://localhost:8080/guanggao1.png",
|
||||
},
|
||||
],
|
||||
homeRightList: [
|
||||
{
|
||||
title: "",
|
||||
pic_src: "http://localhost:8080/guanggao2.png",
|
||||
},
|
||||
{
|
||||
title: "",
|
||||
pic_src: "http://localhost:8080/guanggao3.png",
|
||||
},
|
||||
],
|
||||
// 热门服务数据
|
||||
@ -200,7 +240,6 @@ export default {
|
||||
{
|
||||
id: 1,
|
||||
name: "空调清洗",
|
||||
image: "",
|
||||
badge: "推荐",
|
||||
tag: "平台保障",
|
||||
description: "专业保洁团队,全屋深度清洁,去除顽固污渍,还您清新居所",
|
||||
@ -225,16 +264,20 @@ export default {
|
||||
// 导航到服务详情
|
||||
navigateToService(item) {
|
||||
uni.navigateTo({
|
||||
url: `/packages/homeServer/serverInfo/index?service=${encodeURIComponent(
|
||||
JSON.stringify(item)
|
||||
)}`,
|
||||
url: "/packages/homeServer/classify/index",
|
||||
});
|
||||
// uni.navigateTo({
|
||||
// url: `/packages/homeServer/serverInfo/index?service=${encodeURIComponent(
|
||||
// JSON.stringify(item)
|
||||
// )}`,
|
||||
// });
|
||||
},
|
||||
// 导航到预约页面
|
||||
navigateToReservation(service) {
|
||||
uni.navigateTo({
|
||||
url: `/packages/homeServer/reservation/index?id=${service.id}&name=${service.name}`,
|
||||
});
|
||||
// uni.navigateTo({
|
||||
// url: `/packages/homeServer/reservation/index?id=${service.id}&name=${service.name}`,
|
||||
// });
|
||||
NavgateTo("/packages/homeServer/searchInfo/index");
|
||||
},
|
||||
// 联系客服
|
||||
contactService() {
|
||||
@ -255,6 +298,11 @@ export default {
|
||||
duration: 300,
|
||||
});
|
||||
},
|
||||
|
||||
// 查看公告
|
||||
lookNotice() {
|
||||
NavgateTo("/packages/homeServer/noticeDetials/index");
|
||||
},
|
||||
},
|
||||
onLoad() {
|
||||
this.getCurrentLocation();
|
||||
|
||||
@ -1,23 +1,37 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<div class="searchBox" :style="{ height: localHeight + 'px', paddingTop: top + 'px' }">
|
||||
<div
|
||||
class="searchBox"
|
||||
:style="{ height: localHeight + 'px', paddingTop: top + 'px' }"
|
||||
>
|
||||
<view class="searchBox_left">
|
||||
<u-icon bold color="#000" size="40" name="arrow-left" @click="back"></u-icon>
|
||||
<u-icon
|
||||
bold
|
||||
color="#000"
|
||||
size="40"
|
||||
name="arrow-left"
|
||||
@click="back"
|
||||
></u-icon>
|
||||
</view>
|
||||
<div class="searchBox_mid">
|
||||
刘师傅
|
||||
</div>
|
||||
<div class="searchBox_mid">刘师傅</div>
|
||||
<div class="searchBox_right">
|
||||
<u-icon bold color="#000" size="40" name="arrow-left" @click="back"></u-icon>
|
||||
<u-icon
|
||||
bold
|
||||
color="#000"
|
||||
size="40"
|
||||
name="arrow-left"
|
||||
@click="back"
|
||||
></u-icon>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- 阿姨 -->
|
||||
<div class="aunt" v-if="false">
|
||||
<div class="banner">
|
||||
<swiper>
|
||||
<swiper-item>
|
||||
<image src="http://192.168.0.172:5500/homeServer_banner.png"></image>
|
||||
<image
|
||||
src="http://192.168.0.172:5500/homeServer_banner.png"
|
||||
></image>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<div class="dotList">
|
||||
@ -37,10 +51,20 @@
|
||||
<div class="master_info_right">
|
||||
<div class="master_info_right1">
|
||||
林师傅
|
||||
<image class="Medal" src="http://192.168.0.172:5500/homeServer_Champion.png"></image>
|
||||
<image class="Medal" v-if="false" src="http://192.168.0.172:5500/homeServer_RunnerUp.png">
|
||||
<image
|
||||
class="Medal"
|
||||
src="http://192.168.0.172:5500/homeServer_Champion.png"
|
||||
></image>
|
||||
<image
|
||||
class="Medal"
|
||||
v-if="false"
|
||||
src="http://192.168.0.172:5500/homeServer_RunnerUp.png"
|
||||
>
|
||||
</image>
|
||||
<image class="star" src="http://192.168.0.172:5500/local_start1.png"></image>
|
||||
<image
|
||||
class="star"
|
||||
src="http://192.168.0.172:5500/local_start1.png"
|
||||
></image>
|
||||
<span>4.8</span>
|
||||
</div>
|
||||
<div class="master_info_right2">
|
||||
@ -49,20 +73,32 @@
|
||||
<div class="master_info_right3">
|
||||
<div class="master_info_right3_item">
|
||||
<div>专业性</div>
|
||||
<u-line-progress class="gradient-progress" :showText="false" :percentage="100"
|
||||
activeColor="transparent"></u-line-progress>
|
||||
<u-line-progress
|
||||
class="gradient-progress"
|
||||
:showText="false"
|
||||
:percentage="100"
|
||||
activeColor="transparent"
|
||||
></u-line-progress>
|
||||
<span>80分</span>
|
||||
</div>
|
||||
<div class="master_info_right3_item">
|
||||
<div>好评率</div>
|
||||
<u-line-progress class="gradient-progress" :showText="false" :percentage="30"
|
||||
activeColor="transparent"></u-line-progress>
|
||||
<u-line-progress
|
||||
class="gradient-progress"
|
||||
:showText="false"
|
||||
:percentage="30"
|
||||
activeColor="transparent"
|
||||
></u-line-progress>
|
||||
<span>80%</span>
|
||||
</div>
|
||||
<div class="master_info_right3_item">
|
||||
<div>准时率</div>
|
||||
<u-line-progress class="gradient-progress" :showText="false" :percentage="30"
|
||||
activeColor="transparent"></u-line-progress>
|
||||
<u-line-progress
|
||||
class="gradient-progress"
|
||||
:showText="false"
|
||||
:percentage="30"
|
||||
activeColor="transparent"
|
||||
></u-line-progress>
|
||||
<span>80%</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -71,30 +107,39 @@
|
||||
|
||||
<div class="master_msg">
|
||||
<div class="master_msg_item">
|
||||
<image src="http://192.168.0.172:5500/homeServer_masterIcon1.png"></image>
|
||||
<image
|
||||
src="http://192.168.0.172:5500/homeServer_masterIcon1.png"
|
||||
></image>
|
||||
<div class="master_msg_itemText">52岁</div>
|
||||
<div>广东梅州人</div>
|
||||
</div>
|
||||
<div class="master_msg_item">
|
||||
<image src="http://192.168.0.172:5500/homeServer_masterIcon2.png"></image>
|
||||
<image
|
||||
src="http://192.168.0.172:5500/homeServer_masterIcon2.png"
|
||||
></image>
|
||||
<div class="master_msg_itemText">5-10年</div>
|
||||
<div>服务经验</div>
|
||||
</div>
|
||||
<div class="master_msg_item">
|
||||
<image src="http://192.168.0.172:5500/homeServer_masterIcon3.png"></image>
|
||||
<image
|
||||
src="http://192.168.0.172:5500/homeServer_masterIcon3.png"
|
||||
></image>
|
||||
<div class="master_msg_itemText">500+</div>
|
||||
<div>成功预约</div>
|
||||
</div>
|
||||
<div class="master_msg_item">
|
||||
<image src="http://192.168.0.172:5500/homeServer_masterIcon4.png"></image>
|
||||
<image
|
||||
src="http://192.168.0.172:5500/homeServer_masterIcon4.png"
|
||||
></image>
|
||||
<div class="master_msg_itemText">100+</div>
|
||||
<div>用户评价</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="master_tagList">
|
||||
<div class="master_tag" v-for="(item, index) in 8" :key="index">积极主动</div>
|
||||
<div class="master_tag" v-for="(item, index) in 8" :key="index">
|
||||
积极主动
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Badge">
|
||||
@ -117,24 +162,28 @@
|
||||
</div>
|
||||
<div class="master_info_right">
|
||||
<div class="master_info_right1">
|
||||
<div class="master_info_right_left">林师傅
|
||||
<image class="Medal" src="http://192.168.0.172:5500/homeServer_Champion.png"></image>
|
||||
<image class="Medal" v-if="false"
|
||||
src="http://192.168.0.172:5500/homeServer_RunnerUp.png">
|
||||
<div class="master_info_right_left">
|
||||
林师傅
|
||||
<image
|
||||
class="Medal"
|
||||
src="http://192.168.0.172:5500/homeServer_Champion.png"
|
||||
></image>
|
||||
<image
|
||||
class="Medal"
|
||||
v-if="false"
|
||||
src="http://192.168.0.172:5500/homeServer_RunnerUp.png"
|
||||
>
|
||||
</image>
|
||||
<image class="star" src="http://192.168.0.172:5500/local_start1.png"></image>
|
||||
<image
|
||||
class="star"
|
||||
src="http://192.168.0.172:5500/local_start1.png"
|
||||
></image>
|
||||
<span>4.8</span>
|
||||
</div>
|
||||
<div class="master_info_right_right">
|
||||
查看资料
|
||||
<div class="master_info_right_right">查看资料</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="master_info_right2">
|
||||
52岁 广东梅州人 5-10年
|
||||
</div>
|
||||
<div class="master_info_right2">52岁 广东梅州人 5-10年</div>
|
||||
|
||||
<div class="master_info_right3">
|
||||
<span>500+</span>预定<span>100+</span>评价
|
||||
@ -149,7 +198,6 @@
|
||||
<div class="MasterItem_Info_right_5">
|
||||
价格范围: <span>¥500-¥800</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -168,10 +216,20 @@
|
||||
<div class="master_info_right">
|
||||
<div class="master_info_right1">
|
||||
林师傅
|
||||
<image class="Medal" src="http://192.168.0.172:5500/homeServer_Champion.png"></image>
|
||||
<image class="Medal" v-if="false" src="http://192.168.0.172:5500/homeServer_RunnerUp.png">
|
||||
<image
|
||||
class="Medal"
|
||||
src="http://192.168.0.172:5500/homeServer_Champion.png"
|
||||
></image>
|
||||
<image
|
||||
class="Medal"
|
||||
v-if="false"
|
||||
src="http://192.168.0.172:5500/homeServer_RunnerUp.png"
|
||||
>
|
||||
</image>
|
||||
<image class="star" src="http://192.168.0.172:5500/local_start1.png"></image>
|
||||
<image
|
||||
class="star"
|
||||
src="http://192.168.0.172:5500/local_start1.png"
|
||||
></image>
|
||||
<span>4.8</span>
|
||||
</div>
|
||||
<div class="master_info_right2">
|
||||
@ -180,20 +238,32 @@
|
||||
<div class="master_info_right3">
|
||||
<div class="master_info_right3_item">
|
||||
<div>专业性</div>
|
||||
<u-line-progress class="gradient-progress" :showText="false" :percentage="100"
|
||||
activeColor="transparent"></u-line-progress>
|
||||
<u-line-progress
|
||||
class="gradient-progress"
|
||||
:showText="false"
|
||||
:percentage="100"
|
||||
activeColor="transparent"
|
||||
></u-line-progress>
|
||||
<span>80分</span>
|
||||
</div>
|
||||
<div class="master_info_right3_item">
|
||||
<div>好评率</div>
|
||||
<u-line-progress class="gradient-progress" :showText="false" :percentage="30"
|
||||
activeColor="transparent"></u-line-progress>
|
||||
<u-line-progress
|
||||
class="gradient-progress"
|
||||
:showText="false"
|
||||
:percentage="30"
|
||||
activeColor="transparent"
|
||||
></u-line-progress>
|
||||
<span>80%</span>
|
||||
</div>
|
||||
<div class="master_info_right3_item">
|
||||
<div>准时率</div>
|
||||
<u-line-progress class="gradient-progress" :showText="false" :percentage="30"
|
||||
activeColor="transparent"></u-line-progress>
|
||||
<u-line-progress
|
||||
class="gradient-progress"
|
||||
:showText="false"
|
||||
:percentage="30"
|
||||
activeColor="transparent"
|
||||
></u-line-progress>
|
||||
<span>80%</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -202,30 +272,39 @@
|
||||
|
||||
<div class="master_msg">
|
||||
<div class="master_msg_item">
|
||||
<image src="http://192.168.0.172:5500/homeServer_masterIcon1.png"></image>
|
||||
<image
|
||||
src="http://192.168.0.172:5500/homeServer_masterIcon1.png"
|
||||
></image>
|
||||
<div class="master_msg_itemText">52岁</div>
|
||||
<div>广东梅州人</div>
|
||||
</div>
|
||||
<div class="master_msg_item">
|
||||
<image src="http://192.168.0.172:5500/homeServer_masterIcon2.png"></image>
|
||||
<image
|
||||
src="http://192.168.0.172:5500/homeServer_masterIcon2.png"
|
||||
></image>
|
||||
<div class="master_msg_itemText">5-10年</div>
|
||||
<div>服务经验</div>
|
||||
</div>
|
||||
<div class="master_msg_item">
|
||||
<image src="http://192.168.0.172:5500/homeServer_masterIcon3.png"></image>
|
||||
<image
|
||||
src="http://192.168.0.172:5500/homeServer_masterIcon3.png"
|
||||
></image>
|
||||
<div class="master_msg_itemText">500+</div>
|
||||
<div>成功预约</div>
|
||||
</div>
|
||||
<div class="master_msg_item">
|
||||
<image src="http://192.168.0.172:5500/homeServer_masterIcon4.png"></image>
|
||||
<image
|
||||
src="http://192.168.0.172:5500/homeServer_masterIcon4.png"
|
||||
></image>
|
||||
<div class="master_msg_itemText">100+</div>
|
||||
<div>用户评价</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="master_tagList">
|
||||
<div class="master_tag" v-for="(item, index) in 8" :key="index">积极主动</div>
|
||||
<div class="master_tag" v-for="(item, index) in 8" :key="index">
|
||||
积极主动
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -239,15 +318,16 @@
|
||||
<div class="evaluateItem_msg">
|
||||
<div class="evaluateItem_msg1">TP</div>
|
||||
<div class="evaluateItem_msg2">
|
||||
<image v-for="(item, index) in 5" :key="index"
|
||||
src="http://192.168.0.172:5500/homeServer_stait.png"></image>
|
||||
<image
|
||||
v-for="(item, index) in 5"
|
||||
:key="index"
|
||||
src="http://192.168.0.172:5500/homeServer_stait.png"
|
||||
></image>
|
||||
</div>
|
||||
</div>
|
||||
<div class="evaluateItem_time">2025-06-24</div>
|
||||
</div>
|
||||
<div class="evaluateItem_main">
|
||||
真好啊!真棒啊!优秀!
|
||||
</div>
|
||||
<div class="evaluateItem_main">真好啊!真棒啊!优秀!</div>
|
||||
</div>
|
||||
<div class="more" @click="EvaluateMore">查看更多</div>
|
||||
</div>
|
||||
@ -265,61 +345,66 @@
|
||||
<!-- 底部 -->
|
||||
<div class="footer">
|
||||
<div class="footerIcon" @click="Vendor">
|
||||
<image id="footerIcon1" src="http://192.168.0.172:5500/homeServer_serverInfoIcon.png"></image>
|
||||
<image
|
||||
id="footerIcon1"
|
||||
src="http://192.168.0.172:5500/homeServer_serverInfoIcon.png"
|
||||
></image>
|
||||
服务商
|
||||
</div>
|
||||
<div class="footerIcon">
|
||||
<image id="footerIcon2" src="http://192.168.0.172:5500/homeServer_CollectIcon.png"></image>
|
||||
<image
|
||||
id="footerIcon2"
|
||||
src="http://192.168.0.172:5500/homeServer_CollectIcon.png"
|
||||
></image>
|
||||
收藏
|
||||
</div>
|
||||
<div class="footerbtn1">联系客服</div>
|
||||
<div class="footerbtn2">立即预约</div>
|
||||
</div>
|
||||
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { request, picUrl, NavgateTo, menuButtonInfo } from '../../../utils/index';
|
||||
import { apiArr } from '../../../api/reservation';
|
||||
import {
|
||||
request,
|
||||
picUrl,
|
||||
NavgateTo,
|
||||
menuButtonInfo,
|
||||
} from "../../../utils/index";
|
||||
import { apiArr } from "../../../api/reservation";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
top: "",
|
||||
localHeight: ""
|
||||
}
|
||||
localHeight: "",
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
EvaluateMore(){
|
||||
NavgateTo("../masterReview/index")
|
||||
EvaluateMore() {
|
||||
NavgateTo("../masterReview/index");
|
||||
},
|
||||
Vendor(){
|
||||
NavgateTo('../vendor/index')
|
||||
Vendor() {
|
||||
NavgateTo("../vendor/index");
|
||||
},
|
||||
back() {
|
||||
NavgateTo("1");
|
||||
},
|
||||
},
|
||||
onReady() {
|
||||
|
||||
},
|
||||
onReady() {},
|
||||
|
||||
onLoad(options) {
|
||||
const meun = menuButtonInfo();
|
||||
this.top = meun.top;
|
||||
this.localHeight = meun.height;
|
||||
},
|
||||
onShow() {
|
||||
|
||||
},
|
||||
onShow() {},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
onReachBottom() {},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@ -327,6 +412,6 @@ export default {
|
||||
|
||||
/* 添加渐变色样式 */
|
||||
.u-line-progress__line {
|
||||
background: linear-gradient(90deg, #FFFFFF 0%, #FF370B 100%) !important;
|
||||
background: linear-gradient(90deg, #ffffff 0%, #ff370b 100%) !important;
|
||||
}
|
||||
</style>
|
||||
@ -1,20 +1,32 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<div class="searchBox" :style="{ height: localHeight + 'px', paddingTop: top + 'px' }">
|
||||
<div
|
||||
class="searchBox"
|
||||
:style="{ height: localHeight + 'px', paddingTop: top + 'px' }"
|
||||
>
|
||||
<view class="searchBox_left">
|
||||
<u-icon bold color="#000" size="40" name="arrow-left" @click="back"></u-icon>
|
||||
<u-icon
|
||||
bold
|
||||
color="#000"
|
||||
size="40"
|
||||
name="arrow-left"
|
||||
@click="back"
|
||||
></u-icon>
|
||||
</view>
|
||||
<div class="searchBox_mid">
|
||||
评价(38)
|
||||
</div>
|
||||
<div class="searchBox_mid">评价(38)</div>
|
||||
<div class="searchBox_right">
|
||||
<u-icon bold color="#000" size="40" name="arrow-left" @click="back"></u-icon>
|
||||
<u-icon
|
||||
bold
|
||||
color="#000"
|
||||
size="40"
|
||||
name="arrow-left"
|
||||
@click="back"
|
||||
></u-icon>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="EvaluateList">
|
||||
<div class="EvaluateItem" v-for="item,index in 3" :key="index">
|
||||
<div class="EvaluateItem" v-for="(item, index) in 3" :key="index">
|
||||
<div class="evaluateItem_header">
|
||||
<div class="evaluateItem_ava">
|
||||
<image src="http://192.168.0.172:5500/com_MsgImg1.png"></image>
|
||||
@ -22,58 +34,57 @@
|
||||
<div class="evaluateItem_msg">
|
||||
<div class="evaluateItem_msg1">TP</div>
|
||||
<div class="evaluateItem_msg2">
|
||||
<image v-for="(item, index) in 5" :key="index"
|
||||
src="http://192.168.0.172:5500/homeServer_stait.png"></image>
|
||||
<image
|
||||
v-for="(item, index) in 5"
|
||||
:key="index"
|
||||
src="http://192.168.0.172:5500/homeServer_stait.png"
|
||||
></image>
|
||||
</div>
|
||||
</div>
|
||||
<div class="evaluateItem_time">2025-06-24</div>
|
||||
</div>
|
||||
<div class="evaluateItem_main">
|
||||
真好啊!真棒啊!优秀!
|
||||
</div>
|
||||
<div class="evaluateItem_Score">
|
||||
技术评级:70分
|
||||
</div>
|
||||
<div class="evaluateItem_main">真好啊!真棒啊!优秀!</div>
|
||||
<div class="evaluateItem_Score">技术评级:70分</div>
|
||||
</div>
|
||||
</div>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { request, picUrl, NavgateTo, menuButtonInfo } from '../../../utils/index';
|
||||
import { apiArr } from '../../../api/reservation';
|
||||
import {
|
||||
request,
|
||||
picUrl,
|
||||
NavgateTo,
|
||||
menuButtonInfo,
|
||||
} from "../../../utils/index";
|
||||
import { apiArr } from "../../../api/reservation";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
top: "",
|
||||
localHeight: ""
|
||||
}
|
||||
localHeight: "",
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
||||
back() {
|
||||
NavgateTo("1");
|
||||
},
|
||||
onReady() {
|
||||
|
||||
},
|
||||
onReady() {},
|
||||
|
||||
onLoad(options) {
|
||||
const meun = menuButtonInfo();
|
||||
this.top = meun.top;
|
||||
this.localHeight = meun.height;
|
||||
},
|
||||
onShow() {
|
||||
|
||||
},
|
||||
onShow() {},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
onReachBottom() {},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
20
packages/homeServer/noticeDetials/index.css
Normal file
20
packages/homeServer/noticeDetials/index.css
Normal file
@ -0,0 +1,20 @@
|
||||
.container{
|
||||
padding: 10rpx 20rpx;
|
||||
}
|
||||
|
||||
.title{
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
|
||||
.info{
|
||||
font-size: 22rpx;
|
||||
color: #969696;
|
||||
text-align: center;
|
||||
margin:10rpx 0 20rpx 0 ;
|
||||
}
|
||||
|
||||
.content{
|
||||
font-size: 28rpx;
|
||||
}
|
||||
50
packages/homeServer/noticeDetials/index.vue
Normal file
50
packages/homeServer/noticeDetials/index.vue
Normal file
@ -0,0 +1,50 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<view class="title">{{ noticeContent.title }}</view>
|
||||
<view class="info">{{ noticeContent.info }}</view>
|
||||
<view class="main">{{ noticeContent.content }}</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
request,
|
||||
picUrl,
|
||||
NavgateTo,
|
||||
menuButtonInfo,
|
||||
} from "../../../utils/index";
|
||||
import { apiArr } from "../../../api/reservation";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
top: "",
|
||||
localHeight: "",
|
||||
noticeContent: {
|
||||
title: "公告标题",
|
||||
info: "发布时间:xxxxx 来源:xxxxx",
|
||||
content: "备受打击咖啡壶死啊尽快代发hi艰苦撒等哈覅u阿手打发哈",
|
||||
img: "",
|
||||
},
|
||||
};
|
||||
},
|
||||
methods: {},
|
||||
onReady() {},
|
||||
|
||||
onload(options) {
|
||||
const meun = menuButtonInfo();
|
||||
this.top = meun.top;
|
||||
this.localHeight = meun.height;
|
||||
},
|
||||
onShow() {},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@import url("./index.css");
|
||||
</style>
|
||||
@ -9,7 +9,7 @@
|
||||
width: 520rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 16rpx 20rpx;
|
||||
padding: 16rpx 20rpx 16rpx 0;
|
||||
background-color: #fff;
|
||||
border-bottom: 1rpx solid #f5f5f5;
|
||||
}
|
||||
@ -21,6 +21,7 @@
|
||||
background-color: #f5f7fb;
|
||||
border-radius: 60rpx;
|
||||
padding: 14rpx 24rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
@ -196,6 +197,11 @@
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.service-info-left-top {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.service-info-right {
|
||||
width: 35%;
|
||||
display: flex;
|
||||
@ -212,6 +218,11 @@
|
||||
height: 240rpx;
|
||||
}
|
||||
|
||||
.service-image2 {
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
}
|
||||
|
||||
.service-badge {
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
@ -227,16 +238,17 @@
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
margin-bottom: 8rpx;
|
||||
margin-bottom: 4rpx;
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
|
||||
.service-tag {
|
||||
display: inline-block;
|
||||
color: #e1ca9b;
|
||||
font-size: 22rpx;
|
||||
padding: 2rpx 16rpx;
|
||||
padding: 2rpx 0;
|
||||
border-radius: 20rpx;
|
||||
margin-bottom: 16rpx;
|
||||
margin-bottom: 4rpx;
|
||||
}
|
||||
|
||||
.service-desc {
|
||||
|
||||
@ -2,11 +2,14 @@
|
||||
<view class="container">
|
||||
<!-- 搜索栏 -->
|
||||
<view class="search-bar">
|
||||
<image
|
||||
src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_communitySearchIcon.png"
|
||||
class="search-icon"
|
||||
@click="upView"
|
||||
></image>
|
||||
<u-icon
|
||||
bold
|
||||
color="#000"
|
||||
size="40"
|
||||
name="arrow-left"
|
||||
class="back-icon"
|
||||
@click="back"
|
||||
></u-icon>
|
||||
<view class="search-input-container">
|
||||
<image
|
||||
src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_communitySearchIcon.png"
|
||||
@ -77,11 +80,20 @@
|
||||
v-for="(service, index) in hotServiceList"
|
||||
:key="index"
|
||||
>
|
||||
<image :src="service.image" class="service-image"></image>
|
||||
<image
|
||||
src="http://localhost:8080/ceshi.png"
|
||||
class="service-image"
|
||||
/>
|
||||
<view class="service-info">
|
||||
<view class="service-info-left">
|
||||
<view class="service-info-left-top">
|
||||
<text class="service-name">{{ service.name }}</text>
|
||||
<image
|
||||
src="http://localhost:8080/index_bottom2.png"
|
||||
class="service-image2"
|
||||
></image>
|
||||
<text class="service-tag">{{ service.tag }}</text>
|
||||
</view>
|
||||
<br />
|
||||
<text class="service-desc">{{ service.description }}</text>
|
||||
</view>
|
||||
@ -109,16 +121,18 @@
|
||||
</view>
|
||||
|
||||
<!-- 回到顶部 -->
|
||||
<div class="toUp" v-show="searchHistory.length > 0 && isShowToTop" @click="scrollToTop">
|
||||
<div
|
||||
class="toUp"
|
||||
v-show="searchHistory.length > 0 && isShowToTop"
|
||||
@click="scrollToTop"
|
||||
>
|
||||
<u-badge
|
||||
numberType="limit"
|
||||
type="error"
|
||||
max="99"
|
||||
:value="value"
|
||||
></u-badge>
|
||||
<image
|
||||
src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/shop_car_num.png"
|
||||
></image>
|
||||
<image src="http://localhost:8080/toUp.png"></image>
|
||||
</div>
|
||||
</view>
|
||||
</template>
|
||||
@ -165,11 +179,11 @@ export default {
|
||||
created() {
|
||||
const history = uni.getStorageSync("searchHistory") || [];
|
||||
this.searchHistory = history;
|
||||
window.addEventListener('scroll', this.handleScroll);
|
||||
window.addEventListener("scroll", this.handleScroll);
|
||||
},
|
||||
|
||||
beforeUnmount() {
|
||||
window.removeEventListener('scroll', this.handleScroll);
|
||||
window.removeEventListener("scroll", this.handleScroll);
|
||||
},
|
||||
methods: {
|
||||
handleScroll() {
|
||||
@ -178,11 +192,11 @@ export default {
|
||||
scrollToTop() {
|
||||
uni.pageScrollTo({
|
||||
scrollTop: 0,
|
||||
duration: 300
|
||||
duration: 300,
|
||||
});
|
||||
},
|
||||
upView() {
|
||||
NavgateTo("/packages/homeServer/index/index");
|
||||
back() {
|
||||
NavgateTo("1");
|
||||
},
|
||||
// 处理搜索
|
||||
handleSearch() {
|
||||
@ -239,9 +253,9 @@ export default {
|
||||
},
|
||||
|
||||
// 去预约
|
||||
goSubscribe(){
|
||||
NavgateTo("/packages/homeServer/serverInfo/index")
|
||||
}
|
||||
goSubscribe() {
|
||||
NavgateTo("/packages/homeServer/searchInfo/index");
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@ -0,0 +1,419 @@
|
||||
page {
|
||||
background-color: #f6f6fa;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.header {
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
.main {
|
||||
flex: 1;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
padding-bottom: 160rpx;
|
||||
}
|
||||
|
||||
.searchBox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.Filter {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.Filter_right {
|
||||
width: 133rpx;
|
||||
height: 110rpx;
|
||||
background: #FFFFFF;
|
||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||
font-size: 30rpx;
|
||||
color: #FF370B;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.Filter_right image {
|
||||
width: 26rpx;
|
||||
height: 30rpx;
|
||||
margin-left: 7rpx;
|
||||
}
|
||||
|
||||
.iptBox {
|
||||
width: 431rpx;
|
||||
height: 70rpx;
|
||||
background: #F6F7FB;
|
||||
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
||||
margin-left: 40rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-left: 30rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.iptBox image {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
margin-right: 16rpx;
|
||||
}
|
||||
|
||||
.iptBox .u-input {
|
||||
padding: 0 !important;
|
||||
background-color: transparent !important;
|
||||
|
||||
}
|
||||
|
||||
.Filter_left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.FilterItem {
|
||||
font-size: 28rpx;
|
||||
color: #222222;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 20rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
|
||||
.FilterItem image {
|
||||
width: 24rpx;
|
||||
height: 15rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
|
||||
.MasterList {
|
||||
margin-top: 30rpx;
|
||||
background-color: #fff;
|
||||
padding: 12rpx 20rpx 20rpx 20rpx;
|
||||
}
|
||||
|
||||
.MasterItem {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 20rpx;
|
||||
border-bottom: 1rpx solid #EBEBEB;
|
||||
box-sizing: border-box;
|
||||
padding-bottom: 30rpx;
|
||||
padding-top: 20rpx;
|
||||
}
|
||||
.MasterItem:last-child{
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.MasterItem_right {
|
||||
flex: 1;
|
||||
background: #FFFFFF;
|
||||
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
||||
}
|
||||
|
||||
.MasterItem_info {
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
|
||||
.MasterItem_Info_left {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
width: 130rpx;
|
||||
margin-right: 40rpx;
|
||||
}
|
||||
|
||||
.MasterItem_Info_left image {
|
||||
width: 130rpx;
|
||||
height: 130rpx;
|
||||
}
|
||||
|
||||
.state {
|
||||
width: 110rpx;
|
||||
height: 40rpx;
|
||||
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 26rpx;
|
||||
color: #FFFFFF;
|
||||
margin: 0 auto;
|
||||
margin-top: -20rpx;
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.state1 {
|
||||
background: #AECE2B;
|
||||
|
||||
}
|
||||
|
||||
.state2 {
|
||||
background: #CECECE;
|
||||
}
|
||||
|
||||
.state3 {
|
||||
background: #FF370B;
|
||||
}
|
||||
|
||||
.MasterItem_Info_right {
|
||||
flex: 1;
|
||||
|
||||
}
|
||||
|
||||
.MasterItem_Info_right_1 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 36rpx;
|
||||
color: #222222;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.Medal {
|
||||
width: 35rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 6rpx;
|
||||
margin-right: 28rpx;
|
||||
}
|
||||
|
||||
.star {
|
||||
width: 22rpx;
|
||||
height: 22rpx;
|
||||
margin-right: 6rpx;
|
||||
}
|
||||
|
||||
.MasterItem_Info_right_1 span {
|
||||
font-size: 26rpx;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.MasterItem_Info_right_2 {
|
||||
font-size: 26rpx;
|
||||
color: #999999;
|
||||
margin-top: 8rpx;
|
||||
}
|
||||
|
||||
.MasterItem_Info_right_3 {
|
||||
font-size: 26rpx;
|
||||
display: flex;
|
||||
color: #999999;
|
||||
align-items: center;
|
||||
margin-top: 16rpx;
|
||||
}
|
||||
|
||||
.MasterItem_Info_right_3 span {
|
||||
color: #FF370B;
|
||||
|
||||
}
|
||||
|
||||
.MasterItem_Info_right_4 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 16rpx;
|
||||
}
|
||||
|
||||
.tagItem {
|
||||
width: 130rpx;
|
||||
height: 40rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
||||
font-size: 22rpx;
|
||||
color: #555555;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
|
||||
.tag1 {
|
||||
background: rgba(255, 178, 23, 0.1);
|
||||
}
|
||||
|
||||
.tag2 {
|
||||
background: rgba(255, 81, 42, 0.1);
|
||||
}
|
||||
|
||||
.tag3 {
|
||||
background: rgba(175, 175, 175, 0.1);
|
||||
}
|
||||
|
||||
.MasterItem_Info_right_5 {
|
||||
font-size: 28rpx;
|
||||
color: #999999;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 16rpx;
|
||||
}
|
||||
|
||||
.MasterItem_Info_right_5 span {
|
||||
color: #FF370B;
|
||||
}
|
||||
|
||||
.MasterItem_Info_right_6 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.MasterItem_Info_right_6 image {
|
||||
width: 110rpx;
|
||||
height: 110rpx;
|
||||
margin-right: 20rpx;
|
||||
border-radius: 20rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.Btn {
|
||||
font-size: 36rpx;
|
||||
color: #FFFFFF;
|
||||
width: 600rpx;
|
||||
height: 90rpx;
|
||||
background: linear-gradient(91deg, #FF7658 0%, #FF370B 100%);
|
||||
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
bottom: 60rpx;
|
||||
transform: translateX(-50%);
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.local {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.local span {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.filterMore1 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.filterMoreItem {
|
||||
font-size: 28rpx;
|
||||
color: #222222;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #f6f6fa;
|
||||
padding: 0 20rpx;
|
||||
margin-right: 10rpx;
|
||||
margin-right: 20rpx;
|
||||
border-radius: 20rpx;
|
||||
padding: 10rpx 20rpx;
|
||||
}
|
||||
|
||||
.filterMore2_item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 20rpx;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.filterMore2_item_left {}
|
||||
|
||||
.active2 {
|
||||
color: #ff702c !important;
|
||||
}
|
||||
|
||||
.filterMore2_item_left2 {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.filterMore3Item {
|
||||
font-size: 26rpx;
|
||||
color: #555555;
|
||||
width: 130rpx;
|
||||
height: 50rpx;
|
||||
background: #F6F7FB;
|
||||
border-radius: 10rpx 10rpx 10rpx 10rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 40rpx;
|
||||
margin-bottom: 18rpx;
|
||||
}
|
||||
|
||||
.filterMore3Item:nth-child(4n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.fullscreen-black-bg {
|
||||
/* position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background-color: rgba(0, 0, 0, .4);
|
||||
box-sizing: border-box;
|
||||
z-index: 9;
|
||||
overflow: hidden; */
|
||||
}
|
||||
|
||||
.FilterMore3 {
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
padding: 20rpx;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.FilterMore {
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
padding: 20rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.dialogBox {
|
||||
position: absolute;
|
||||
background-color: rgba(0, 0, 0, .4);
|
||||
z-index: 8;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
.master_info_right_left{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.master_info_right_right {
|
||||
font-size: 28rpx;
|
||||
color: #FF370B;
|
||||
}
|
||||
@ -1,5 +1,176 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<div class="header">
|
||||
<div class="searchBox" :style="{ height: localHeight + 'px', paddingTop: top + 'px' }">
|
||||
<view class="searchBox_add">
|
||||
<u-icon bold color="#000" size="40" name="arrow-left" @click="back"></u-icon>
|
||||
</view>
|
||||
<div class="iptBox">
|
||||
<image src="http://192.168.0.172:5500/com_communitySearchIcon.png"></image>
|
||||
<u--input placeholder="请输入内容" border="none" v-model="value" @change="change"></u--input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Filter">
|
||||
<div class="Filter_left">
|
||||
<div class="FilterItem" @click="show1 = !show1">
|
||||
附近
|
||||
<image src="http://192.168.0.172:5500/homeServer_filterMore.png"></image>
|
||||
</div>
|
||||
|
||||
<div class="FilterItem">
|
||||
综合
|
||||
<image src="http://192.168.0.172:5500/homeServer_filterMore.png"></image>
|
||||
</div>
|
||||
|
||||
<div class="FilterItem">
|
||||
排序
|
||||
<image src="http://192.168.0.172:5500/homeServer_filterMore.png"></image>
|
||||
</div>
|
||||
|
||||
<div class="FilterItem">
|
||||
分类
|
||||
<image src="http://192.168.0.172:5500/homeServer_filterMore.png"></image>
|
||||
</div>
|
||||
|
||||
<div class="FilterItem">
|
||||
地区
|
||||
<image src="http://192.168.0.172:5500/homeServer_filterMore.png"></image>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="Filter_right">
|
||||
筛选
|
||||
<image src="http://192.168.0.172:5500/homeServer_filter.png"></image>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 位置筛选 -->
|
||||
<div class="FilterMore" v-if="show1">
|
||||
<div class="local">距离 <span>上海公馆</span></div>
|
||||
<div class="filterMore1">
|
||||
<div class="filterMoreItem">附近</div>
|
||||
<div class="filterMoreItem">500m</div>
|
||||
<div class="filterMoreItem">1km</div>
|
||||
<div class="filterMoreItem">3km</div>
|
||||
<div class="filterMoreItem">5km</div>
|
||||
<div class="filterMoreItem">10km</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 综合筛选 -->
|
||||
<div class="FilterMore" v-if="show2">
|
||||
<div class="filterMore2_item">
|
||||
<div class="filterMore2_item_left">综合</div>
|
||||
<div class="filterMore2_item_right">
|
||||
<u-icon name="checkmark-circle-fill" color="#ff702c"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<div class="filterMore2_item">
|
||||
<div class="filterMore2_item_left active2">从高到低</div>
|
||||
<div class="filterMore2_item_right">
|
||||
<u-icon name="checkmark-circle-fill" color="#ff702c"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<div class="filterMore2_item">
|
||||
<div class="filterMore2_item_left">从低到高</div>
|
||||
<div class="filterMore2_item_right">
|
||||
<u-icon name="checkmark-circle-fill" color="#ff702c"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 排序筛选 -->
|
||||
<div class="FilterMore" v-if="show3">
|
||||
<div class="filterMore2_item">
|
||||
<div class="filterMore2_item_left2">智能排序</div>
|
||||
<div class="filterMore2_item_right">
|
||||
<u-icon name="checkmark-circle-fill" color="#ff702c"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<div class="filterMore2_item">
|
||||
<div class="filterMore2_item_left2 active2">距离优先</div>
|
||||
<div class="filterMore2_item_right">
|
||||
<u-icon name="checkmark-circle-fill" color="#ff702c"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<div class="filterMore2_item">
|
||||
<div class="filterMore2_item_left2">好评优先</div>
|
||||
<div class="filterMore2_item_right">
|
||||
<u-icon name="checkmark-circle-fill" color="#ff702c"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<div class="filterMore2_item">
|
||||
<div class="filterMore2_item_left2">销量优先</div>
|
||||
<div class="filterMore2_item_right">
|
||||
<u-icon name="checkmark-circle-fill" color="#ff702c"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 分类筛选 -->
|
||||
<div class="FilterMore3" v-if="show4">
|
||||
<div class="filterMore3Item" v-for="(item, index) in 9" :key="index">家电维修</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<!-- 遮罩 -->
|
||||
<div class="dialogBox" v-if="show1"></div>
|
||||
|
||||
<div class="MasterList">
|
||||
<div class="MasterItem" v-for="(item, index) in 3" :key="index">
|
||||
<div class="MasterItem_right">
|
||||
<div class="MasterItem_info">
|
||||
<div class="MasterItem_Info_left">
|
||||
<image src="http://192.168.0.172:5500/home_icon12.png"></image>
|
||||
<div class="state state1">待服务</div>
|
||||
<div class="state state2" v-if="false">休息中</div>
|
||||
<div class="state state3" v-if="false">服务中</div>
|
||||
</div>
|
||||
<div class="MasterItem_Info_right">
|
||||
<div class="MasterItem_Info_right_1">
|
||||
<div class="master_info_right_left">
|
||||
林师傅
|
||||
<image class="Medal" src="http://192.168.0.172:5500/homeServer_Champion.png">
|
||||
</image>
|
||||
<image class="Medal" v-if="false"
|
||||
src="http://192.168.0.172:5500/homeServer_RunnerUp.png">
|
||||
</image>
|
||||
<image class="star" src="http://192.168.0.172:5500/local_start1.png"></image>
|
||||
<span>4.8</span>
|
||||
</div>
|
||||
|
||||
<div class="master_info_right_right" @click="masterInfo">
|
||||
查看资料
|
||||
</div>
|
||||
</div>
|
||||
<div class="MasterItem_Info_right_2">52岁 广东梅州人 5-10年</div>
|
||||
<div class="MasterItem_Info_right_3">
|
||||
<span>500+</span>预定 <span>100+</span>评价
|
||||
</div>
|
||||
<div class="MasterItem_Info_right_4">
|
||||
<div class="tagItem tag1">积极主动</div>
|
||||
<div class="tagItem tag2">技术精湛</div>
|
||||
<div class="tagItem tag3">技术精湛</div>
|
||||
</div>
|
||||
|
||||
<div class="MasterItem_Info_right_5">
|
||||
价格范围: <span>¥500-¥800</span>
|
||||
</div>
|
||||
|
||||
<div class="MasterItem_Info_right_6">
|
||||
<image src="http://192.168.0.172:5500/com_MsgImg1.png"></image>
|
||||
<image src="http://192.168.0.172:5500/com_MsgImg1.png"></image>
|
||||
<image src="http://192.168.0.172:5500/com_MsgImg1.png"></image>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="Btn">
|
||||
确定
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
@ -12,19 +183,29 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
top: "",
|
||||
localHeight: ""
|
||||
localHeight: "",
|
||||
show1: false,
|
||||
show2: false,
|
||||
show3: false,
|
||||
show4: false,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
masterInfo() {
|
||||
NavgateTo("../masterInfo/index")
|
||||
},
|
||||
back(){
|
||||
NavgateTo("1")
|
||||
},
|
||||
},
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
onload(options) {
|
||||
onLoad(options) {
|
||||
const meun = menuButtonInfo();
|
||||
this.top = meun.top;
|
||||
// this.top = meun.height + meun.top;
|
||||
this.localHeight = meun.height;
|
||||
},
|
||||
onShow() {
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
<div class="serverList">
|
||||
<div class="serverListTit">匹配的服务商(3)</div>
|
||||
|
||||
<div class="serverItem">
|
||||
<div class="serverItem" @click="selectVendor">
|
||||
<div class="serverItem_left">
|
||||
<image src="http://192.168.0.172:5500/test.png"></image>
|
||||
</div>
|
||||
@ -90,6 +90,9 @@ export default {
|
||||
handleRangeChange(e) {
|
||||
this.rangeValue = e
|
||||
},
|
||||
selectVendor(){
|
||||
NavgateTo("../vendor/index")
|
||||
},
|
||||
selectMaster(){
|
||||
NavgateTo("../chooseMaster/index")
|
||||
},
|
||||
|
||||
15
pages.json
15
pages.json
@ -641,7 +641,6 @@
|
||||
"style": {
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"navigationBarTitleText": "服务详情"
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -685,6 +684,20 @@
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "noticeDetials/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "公告详情",
|
||||
"navigationBarBackgroundColor": "#fff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "classify/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "全部服务",
|
||||
"navigationBarBackgroundColor": "#fff"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user