2024-06-05 19:16:02 +08:00
|
|
|
|
<template>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="content">
|
|
|
|
|
<view class="content-head">
|
2024-07-20 17:30:38 +08:00
|
|
|
|
<view class="padding-top-sm flex align-center">
|
2024-06-05 19:16:02 +08:00
|
|
|
|
<view v-if="XCXIsSelect != '否'" class="flex align-center justify-between margin-right-sm"
|
|
|
|
|
@tap="showCityList" style="line-height: 68rpx;">
|
2024-07-20 17:30:38 +08:00
|
|
|
|
<image src="../../static/liliao-1.png" class="dingwei-img"></image>
|
2024-08-05 11:15:41 +08:00
|
|
|
|
<view class="localName" style="margin-right: 30rpx;">{{ cityname }}</view>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-07-22 11:17:19 +08:00
|
|
|
|
<view class="flex align-center justify-between" style="margin-left: 8rpx;">
|
2024-08-02 21:05:22 +08:00
|
|
|
|
<selectSwitchDitu :key="componentKey" @change="switch1Change" :switchList="switchList"/>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-07-16 11:17:34 +08:00
|
|
|
|
<view class="fenlei">
|
2024-07-22 11:17:19 +08:00
|
|
|
|
<image class="fenlei-img" src="../../static/excel1.png"></image>
|
2024-08-15 16:24:11 +08:00
|
|
|
|
<u-search class="flex-sub" placeholder="请输入技师名字" :focus="false" shape="square" v-model="artificerName"
|
|
|
|
|
:show-action="true" :animation="true" bg-color="#fff" color="#019c88" @search="onSearch()"
|
2024-08-20 09:27:28 +08:00
|
|
|
|
action-text="搜索" @custom="onSearch()" @clear="clear">
|
2024-08-15 16:24:11 +08:00
|
|
|
|
</u-search>
|
2024-08-15 17:04:50 +08:00
|
|
|
|
<span @click="toggle" class="screen-button">筛选</span>
|
2024-08-15 16:24:11 +08:00
|
|
|
|
<!-- <z-tabs class="z-tabs-fenlei" :list="tabList" @change="tabChange" @changeClick="changeClick"/> -->
|
2024-07-16 11:17:34 +08:00
|
|
|
|
</view>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="liebiao" v-show="current === 0">
|
|
|
|
|
<view v-if="orderList.length" class="flex text-center flex-wrap list-view">
|
|
|
|
|
<view class="margin-bottom-sm radius touxiang-left">
|
2024-08-08 14:53:16 +08:00
|
|
|
|
<view class="flex align-center touxiang-left-view" v-for="(item, index) in orderList" :key='index' @click="goOrder(item)">
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="touxiang-left-content">
|
2025-02-11 14:46:10 +08:00
|
|
|
|
<image style="border: 1px solid #f7e7e7;box-shadow:1px 5px 5px 1px #e2e2e2;" class="touxiang-left-content-img" :src="item.artificerImg ? item.artificerImg : '../../static/logo.png'" @click.stop="saveImgs(item.artificerImg)" mode="aspectFill"></image>
|
2024-08-03 13:52:49 +08:00
|
|
|
|
<image class="touxiang-left-content-img" v-if="item.isHot == 1" src="https://admin.sjajk.com/file/uploadPath/2023/02/16/9ae1b7e9fa931b5fc24cd8edecc10d9f.png"></image>
|
2024-08-20 09:39:44 +08:00
|
|
|
|
<image class="touxiang-frame" :src="item.technicianType=='3'?'../../static/vip/grade1-1.gif':item.technicianType=='4'?'../../static/vip/grade2-1.gif':'../../static/vip/grade3-1.gif'"></image>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="list-right">
|
2024-06-05 19:16:02 +08:00
|
|
|
|
<view class="flex align-center" style="justify-content: start;">
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="flex align-center list-right-top">
|
|
|
|
|
<view class="list-right-top-view">
|
2024-08-15 13:50:11 +08:00
|
|
|
|
<view class="flex">
|
|
|
|
|
<span class="list-right-top-name">{{ item.artificerName }}</span>
|
2024-08-15 14:20:49 +08:00
|
|
|
|
<!-- <span class="label-word">{{ item.artificerClassifyList[0].classifyName }}</span> -->
|
2024-08-15 10:06:50 +08:00
|
|
|
|
</view>
|
2024-08-08 14:53:16 +08:00
|
|
|
|
<view class="keyuyue keyuyue-lan" v-if="item.status == 1">
|
2024-07-19 19:45:45 +08:00
|
|
|
|
<view class="flex">
|
2024-08-08 14:53:16 +08:00
|
|
|
|
<view class="timea-fu">可服务</view>
|
|
|
|
|
<view class="timea-time">{{item.time}}</view>
|
2024-07-19 19:45:45 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-08-08 14:53:16 +08:00
|
|
|
|
<view class="keyuyue keyuyue-hui" v-else>
|
|
|
|
|
<view class="flex">
|
|
|
|
|
<view class="timea-hui">休息中</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
2024-06-24 11:29:11 +08:00
|
|
|
|
</view>
|
2024-07-04 16:45:54 +08:00
|
|
|
|
<view class="item-view-jianjie">
|
2024-07-04 15:49:12 +08:00
|
|
|
|
{{item.content}}
|
|
|
|
|
</view>
|
2024-07-02 20:38:31 +08:00
|
|
|
|
<view class="therapist-mian-top">
|
2024-07-04 16:45:54 +08:00
|
|
|
|
<view class="therap-pin">
|
2024-07-02 20:38:31 +08:00
|
|
|
|
<span>评论</span>
|
2024-07-04 16:45:54 +08:00
|
|
|
|
<span class="therapist-mian-view-text">
|
2024-07-02 20:38:31 +08:00
|
|
|
|
{{ item.commentCount ? item.commentCount : 0 }}
|
2024-07-04 16:45:54 +08:00
|
|
|
|
</span>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
2024-07-04 16:45:54 +08:00
|
|
|
|
<view class="therap-pin">
|
2024-07-02 20:38:31 +08:00
|
|
|
|
<span>收藏</span>
|
2024-07-04 16:45:54 +08:00
|
|
|
|
<span class="therapist-mian-view-text">
|
2024-07-02 20:38:31 +08:00
|
|
|
|
{{ item.collectCount ? item.collectCount : 0 }}
|
2024-07-04 16:45:54 +08:00
|
|
|
|
</span>
|
2024-07-02 20:38:31 +08:00
|
|
|
|
</view>
|
2025-02-08 16:35:24 +08:00
|
|
|
|
<view class="therap-pin">
|
|
|
|
|
<span>订单数</span>
|
|
|
|
|
<span class="therapist-mian-view-text">
|
|
|
|
|
{{ item.artificerSales ? item.artificerSales : 0 }}
|
|
|
|
|
</span>
|
|
|
|
|
</view>
|
2024-07-02 20:38:31 +08:00
|
|
|
|
</view>
|
2024-07-04 16:45:54 +08:00
|
|
|
|
<view class="flex thera-lin thera-bottom">
|
2024-08-05 20:41:19 +08:00
|
|
|
|
<view class="flex align-center" v-if="item.distance">
|
2024-08-20 09:45:50 +08:00
|
|
|
|
<view><image class="therapist-bottom-dingwei" src="../../static/dituzhaoren6.png"></image></view>
|
2024-07-04 16:45:54 +08:00
|
|
|
|
<view class="therapist-bottom-dingwei-text">
|
|
|
|
|
{{ item.distance }}
|
2024-07-02 22:22:56 +08:00
|
|
|
|
</view>
|
2024-07-04 16:45:54 +08:00
|
|
|
|
</view>
|
2024-08-15 10:06:50 +08:00
|
|
|
|
<view class="flex" v-if="item.consortiaName">
|
|
|
|
|
<image class="therapist-bottom-img" src="../../static/dituzhaoren5.png"></image>
|
|
|
|
|
<view v-if="item.consortiaName" class="therapist-mian-bottom-text">{{item.consortiaName}}</view>
|
|
|
|
|
</view>
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-07-04 16:45:54 +08:00
|
|
|
|
</view>
|
2024-08-03 13:52:49 +08:00
|
|
|
|
</view>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-08-03 13:52:49 +08:00
|
|
|
|
<empty v-if="orderList.length == 0"></empty>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view v-show="current === 1">
|
|
|
|
|
<view class="flex text-center flex-wrap"
|
2024-06-25 15:20:37 +08:00
|
|
|
|
style="margin-top: 60px;justify-content: space-between;">
|
2024-06-05 19:16:02 +08:00
|
|
|
|
<div id="txMapContainer" style="width: 100%;height: calc(100vh - 188px);"> </div>
|
|
|
|
|
<!-- 地图地图 -->
|
|
|
|
|
</view>
|
2024-08-23 14:26:09 +08:00
|
|
|
|
</view>
|
|
|
|
|
<!-- 地图技师列表 -->
|
|
|
|
|
<u-popup v-model="showPopup" mode="bottom" closeable :mask-close-able="false">
|
|
|
|
|
<view>
|
|
|
|
|
<view class="flex align-center list-view" style="padding: 0px;" @click="goOrder(getOrderByCurrentMarkerIndex())">
|
|
|
|
|
<view class="touxiang-left-view" style="margin-bottom: 0px;padding-bottom: 0px;width: auto;">
|
|
|
|
|
<image
|
|
|
|
|
class="touxiang-left-content-img-ditu"
|
|
|
|
|
:src="getOrderByCurrentMarkerIndex().artificerImg ? getOrderByCurrentMarkerIndex().artificerImg : '../../static/logo.png'"
|
|
|
|
|
@click.stop="saveImgs(getOrderByCurrentMarkerIndex().artificerImg)"
|
|
|
|
|
mode="aspectFill"></image>
|
|
|
|
|
<image v-if="getOrderByCurrentMarkerIndex().isHot == 1"
|
|
|
|
|
class="touxiang-left-content-img-ditu"
|
|
|
|
|
src="https://admin.sjajk.com/file/uploadPath/2023/02/16/9ae1b7e9fa931b5fc24cd8edecc10d9f.png"
|
|
|
|
|
style="width: 30rpx;height: 36rpx;position: absolute;z-index: 99;top: 40rpx;left: 110rpx;">
|
|
|
|
|
</image>
|
|
|
|
|
<image style="margin-top:18px;margin-left: 4px;" class="touxiang-frame" :src="getOrderByCurrentMarkerIndex().technicianType=='3'?'../../static/vip/grade1-1.gif':getOrderByCurrentMarkerIndex().technicianType=='4'?'../../static/vip/grade2-1.gif':'../../static/vip/grade3-1.gif'"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="margin-left flex flex-direction dituList">
|
|
|
|
|
<view class="flex align-center" style="justify-content: start;">
|
|
|
|
|
<view class="flex align-center list-right-top">
|
|
|
|
|
<view class="list-right-top-view">
|
|
|
|
|
<view class="list-right-top-name">
|
|
|
|
|
{{ getOrderByCurrentMarkerIndex().artificerName }}
|
|
|
|
|
</view>
|
|
|
|
|
<view class="keyuyue keyuyue-lan" v-if="getOrderByCurrentMarkerIndex().status == 1">
|
2024-08-08 14:53:16 +08:00
|
|
|
|
<view class="flex">
|
2024-08-23 14:26:09 +08:00
|
|
|
|
<view class="timea-fu">可服务</view>
|
|
|
|
|
<view class="timea-time">{{getOrderByCurrentMarkerIndex().time}}</view>
|
2024-08-08 14:53:16 +08:00
|
|
|
|
</view>
|
2024-08-23 14:26:09 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="keyuyue keyuyue-hui" v-else>
|
|
|
|
|
<view class="flex">
|
|
|
|
|
<view class="timea-hui">休息中</view>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-08-23 14:26:09 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="item-view-jianjie">
|
|
|
|
|
{{getOrderByCurrentMarkerIndex().content}}
|
|
|
|
|
</view>
|
|
|
|
|
<view class="therapist-mian-top">
|
|
|
|
|
<view class="therapist-mian-view">
|
|
|
|
|
<image src="../../static/dituzhaoren3.png" mode="">
|
|
|
|
|
</image>
|
|
|
|
|
<span>评论</span>
|
|
|
|
|
<view class="therapist-mian-view-text">
|
|
|
|
|
{{ getOrderByCurrentMarkerIndex().commentCount ? getOrderByCurrentMarkerIndex().commentCount : 0 }}
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-08-23 14:26:09 +08:00
|
|
|
|
<view class="therapist-mian-view" style="margin-left: 10px;">
|
|
|
|
|
<image src="../../static/dituzhaoren4.png" mode="">
|
|
|
|
|
</image>
|
|
|
|
|
<span>收藏</span>
|
|
|
|
|
<view class="therapist-mian-view-text">
|
|
|
|
|
{{ getOrderByCurrentMarkerIndex().collectCount ? getOrderByCurrentMarkerIndex().collectCount : 0 }}
|
2024-08-15 10:06:50 +08:00
|
|
|
|
</view>
|
2024-08-05 20:41:19 +08:00
|
|
|
|
</view>
|
2024-08-23 14:26:09 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="flex thera-lin thera-bottom">
|
|
|
|
|
<view class="flex align-center" v-if="getOrderByCurrentMarkerIndex().distance">
|
|
|
|
|
<image class="therapist-bottom-dingwei" src="../../static/dituzhaoren6.png"></image>
|
|
|
|
|
<view class="therapist-bottom-dingwei-text">
|
|
|
|
|
{{ getOrderByCurrentMarkerIndex().distance }}
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-08-23 14:26:09 +08:00
|
|
|
|
<view class="flex" v-if="getOrderByCurrentMarkerIndex().consortiaName">
|
|
|
|
|
<image class="therapist-bottom-img" src="../../static/dituzhaoren5.png"></image>
|
|
|
|
|
<view v-if="getOrderByCurrentMarkerIndex().consortiaName" class="therapist-mian-bottom-text">{{getOrderByCurrentMarkerIndex().consortiaName}}</view>
|
2024-07-12 15:19:57 +08:00
|
|
|
|
</view>
|
2024-08-23 14:26:09 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="text-center make-now" v-if="getOrderByCurrentMarkerIndex().status == 1" @click.stop="goOrder(getOrderByCurrentMarkerIndex())">
|
|
|
|
|
立即预约
|
|
|
|
|
</view>
|
|
|
|
|
<view class="text-center" @click.stop="showTips()" v-else
|
|
|
|
|
style="background: #d9d9d9;color: #ffffff;width: 100%;border-radius: 30upx;height: 60upx;line-height: 60upx;margin-top: 10rpx;">
|
|
|
|
|
立即预约
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-08-23 14:26:09 +08:00
|
|
|
|
</u-popup>
|
|
|
|
|
|
2024-06-05 19:16:02 +08:00
|
|
|
|
<!-- 经验筛选 -->
|
2024-08-15 16:24:11 +08:00
|
|
|
|
<u-popup v-model="showpay" mode="top" :closeable="closeable">
|
|
|
|
|
<view class="popup_pay">
|
|
|
|
|
<view style="background-color: #fff;">
|
|
|
|
|
<view style="padding: 0 20upx;margin-top: 60rpx;margin-bottom: 20rpx;">
|
|
|
|
|
<view class="popup-top">
|
2024-08-15 17:04:50 +08:00
|
|
|
|
<view class="popup-top-one flex"><image style="width:30rpx; height:30rpx; margin-top:4rpx;margin-right: 4rpx;" src="../../static/shezhi9.png"></image><span>技师等级</span></view>
|
2024-08-20 09:27:28 +08:00
|
|
|
|
<z-tabs class="z-tabs-fenlei" :list="tabList" @changeClick="changeClick"/>
|
2024-08-15 16:24:11 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="popup-top">
|
2024-08-15 17:04:50 +08:00
|
|
|
|
<view class="popup-top-one flex"><image style="width:30rpx; height:30rpx; margin-top:4rpx; margin-right: 4rpx;" src="../../static/shezhi10.png"></image><span>技师类型</span></view>
|
2024-08-15 16:24:11 +08:00
|
|
|
|
<uni-data-checkbox selectedColor="#019c88" multiple v-model="selectedValues" :localdata="tabListSon" @change="changeClickSon"></uni-data-checkbox>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="pay_btn" @click="quding">确认</view>
|
|
|
|
|
</view>
|
|
|
|
|
</u-popup>
|
2024-08-19 09:33:25 +08:00
|
|
|
|
<!-- <u-select v-model="Cityshow" :list="selectedValues" @confirm="getCity"></u-select> -->
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
import selectSwitchDitu from "@/components/xuan-switch/xuan-switch-ditu.vue";
|
2024-06-05 19:16:02 +08:00
|
|
|
|
import meTabs from "@/components/mescroll-uni/me-tabs/me-tabs.vue";
|
|
|
|
|
import empty from '@/components/empty.vue'
|
|
|
|
|
import RenDropdownFilter from '@/components/ren-dropdown-filter/ren-dropdown-filter.vue'
|
|
|
|
|
import commonConfig from 'common/config.js';
|
|
|
|
|
|
|
|
|
|
import * as webMap from 'utils/webMap.js';
|
2024-08-15 16:24:11 +08:00
|
|
|
|
import permision from "@/components/permission.js";
|
2024-06-05 19:16:02 +08:00
|
|
|
|
// 调用手机系统权限
|
|
|
|
|
// #ifdef APP-PLUS
|
2024-06-24 11:29:11 +08:00
|
|
|
|
// import permision from "@/components/permission.js";
|
2024-06-05 19:16:02 +08:00
|
|
|
|
// #endif
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
|
meTabs,
|
|
|
|
|
empty,
|
2024-06-12 15:52:21 +08:00
|
|
|
|
RenDropdownFilter,
|
2024-08-02 21:05:22 +08:00
|
|
|
|
selectSwitchDitu,
|
2024-06-05 19:16:02 +08:00
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
2024-08-15 16:24:11 +08:00
|
|
|
|
closeable: true,
|
|
|
|
|
showpay: false,
|
|
|
|
|
selectedValues: [], // 存储选中的值
|
|
|
|
|
tabListSon:[],
|
2024-07-16 11:17:34 +08:00
|
|
|
|
tabList:[
|
|
|
|
|
{
|
|
|
|
|
id: 3,
|
|
|
|
|
name: "",
|
2024-08-14 22:23:18 +08:00
|
|
|
|
value: "资深",
|
2024-07-16 11:17:34 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 4,
|
|
|
|
|
name: "",
|
2024-08-14 22:23:18 +08:00
|
|
|
|
value: "金牌",
|
2024-07-16 11:17:34 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 5,
|
|
|
|
|
name: "",
|
2024-08-14 22:23:18 +08:00
|
|
|
|
value: "专家",
|
2024-07-16 11:17:34 +08:00
|
|
|
|
},
|
|
|
|
|
],
|
2024-08-20 09:39:44 +08:00
|
|
|
|
technicianType:'',
|
2024-07-12 13:51:45 +08:00
|
|
|
|
switchList:['列表','地图'],
|
2024-06-05 19:16:02 +08:00
|
|
|
|
artificerName: '',
|
|
|
|
|
tpSel: 0,
|
|
|
|
|
tpCount: 0,
|
|
|
|
|
showTP: false,
|
|
|
|
|
Cityshow: false,
|
|
|
|
|
loading: true, // 是否显示骨架屏组件
|
|
|
|
|
defaultSelected: [],
|
|
|
|
|
value1: '',
|
|
|
|
|
value2: '',
|
|
|
|
|
value3: '',
|
|
|
|
|
game: [],
|
|
|
|
|
defaultIndex: [0, 0, 0],
|
|
|
|
|
list: [{
|
|
|
|
|
name: '综合',
|
|
|
|
|
id: 1
|
|
|
|
|
}, {
|
|
|
|
|
name: '距离',
|
|
|
|
|
id: 2
|
|
|
|
|
}, {
|
|
|
|
|
name: '销量',
|
|
|
|
|
id: 3
|
|
|
|
|
}, {
|
|
|
|
|
name: '好评',
|
|
|
|
|
id: 4
|
|
|
|
|
}],
|
|
|
|
|
listIndex: 0,
|
|
|
|
|
city: '请选择城市',
|
|
|
|
|
orderList: [],
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
|
token: '',
|
|
|
|
|
XCXIsSelect: '否',
|
|
|
|
|
isVip: false,
|
|
|
|
|
showModal: true,
|
|
|
|
|
arr: [],
|
|
|
|
|
tab: '',
|
|
|
|
|
cityList: [],
|
|
|
|
|
tablist: [],
|
|
|
|
|
tabIndex: 0,
|
|
|
|
|
orderIndex: 0,
|
|
|
|
|
current: 0,
|
|
|
|
|
|
|
|
|
|
myId: uni.getStorageSync('userId') ? uni.getStorageSync('userId') : '',
|
|
|
|
|
//地图相关
|
2024-08-03 13:52:49 +08:00
|
|
|
|
latitude: '',
|
2024-06-05 19:16:02 +08:00
|
|
|
|
longitude: '',
|
|
|
|
|
address: '',
|
|
|
|
|
mapScale: 16, // 地图默认放大倍数
|
|
|
|
|
markers: [], // 地图上markers列表
|
|
|
|
|
cmap: null, //当前的map对象
|
|
|
|
|
amap: null,
|
|
|
|
|
infoWindow: null,
|
|
|
|
|
marker: null,
|
|
|
|
|
socketConnect: null,
|
|
|
|
|
pointMap: {}, //点map
|
|
|
|
|
pointThread: null,
|
|
|
|
|
massageTypeId: null,
|
|
|
|
|
currentMarkerIndex: -1,
|
|
|
|
|
showPopup: false,
|
2024-06-26 09:49:50 +08:00
|
|
|
|
dataIndex:'',
|
2024-08-02 21:05:22 +08:00
|
|
|
|
userId:'',
|
|
|
|
|
Key2:'ad684a15ebbb6f5d12c407a3d593c949',
|
|
|
|
|
latadd:'',
|
2024-08-05 11:15:41 +08:00
|
|
|
|
componentKey:0,
|
2024-08-15 16:24:11 +08:00
|
|
|
|
cityname:'',
|
|
|
|
|
classifyId:''
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
onLoad(e) {
|
|
|
|
|
let that = this
|
2024-07-12 15:19:57 +08:00
|
|
|
|
that.massageTypeId = e.massageTypeId;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
// that.getLocation();//低精度,快就完事了
|
|
|
|
|
// that.getLocation(true);//高精度,慢慢查询
|
2024-07-10 17:58:14 +08:00
|
|
|
|
if(e){
|
|
|
|
|
this.artificerName=e.searchValue
|
|
|
|
|
}
|
2024-08-19 09:33:25 +08:00
|
|
|
|
that.tabNavSon()
|
2024-06-05 19:16:02 +08:00
|
|
|
|
uni.getLocation({
|
2024-06-25 15:20:37 +08:00
|
|
|
|
type: 'gcj02',
|
2024-06-05 19:16:02 +08:00
|
|
|
|
geocode: true, //设置该参数为true可直接获取经纬度及城市信息
|
|
|
|
|
highAccuracyExpireTime: 500,
|
|
|
|
|
success: function(res) {
|
|
|
|
|
that.latitude = res.latitude
|
|
|
|
|
that.longitude = res.longitude
|
|
|
|
|
|
|
|
|
|
uni.setStorageSync('latitude', res.latitude)
|
|
|
|
|
uni.setStorageSync('longitude', res.longitude)
|
|
|
|
|
if (that.amap) {
|
|
|
|
|
that.amap.setCenter(new AMap.LngLat(res.latitude, res.longitude));
|
|
|
|
|
}
|
|
|
|
|
if (that.infoWindow) {
|
|
|
|
|
that.infoWindow.setPosition(new TMap.LatLng(res.latitude, res.longitude));
|
|
|
|
|
}
|
2024-08-02 21:05:22 +08:00
|
|
|
|
that.page = 1;
|
|
|
|
|
that.selectCity(that.longitude,that.latitude)
|
2024-06-05 19:16:02 +08:00
|
|
|
|
},
|
|
|
|
|
fail: function(e) {
|
2024-08-15 11:20:32 +08:00
|
|
|
|
that.getlist()
|
2024-06-05 19:16:02 +08:00
|
|
|
|
console.log('获取地址失败1', e)
|
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
|
that.checkPermission();
|
|
|
|
|
// #endif
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
// 获取邀请码保存到本地
|
|
|
|
|
if (e.invitation) {
|
|
|
|
|
that.$queue.setData('inviterCode', e.invitation);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (this.myId) {
|
|
|
|
|
that.$Request.getT('/app/common/type/235').then(res => { //报名成功通知
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if (res.data && res.data.value) {
|
|
|
|
|
that.arr.push(res.data.value)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
that.$Request.getT('/app/common/type/236').then(res => { //活动即将开始提醒
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if (res.data && res.data.value) {
|
|
|
|
|
that.arr.push(res.data.value)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onShow() {
|
|
|
|
|
let that = this
|
2024-08-20 09:27:28 +08:00
|
|
|
|
that.orderList=[];
|
2024-08-20 09:39:44 +08:00
|
|
|
|
that.technicianType='';
|
2024-08-20 09:27:28 +08:00
|
|
|
|
that.selectedValues=[];
|
2024-06-05 19:16:02 +08:00
|
|
|
|
that.XCXIsSelect = this.$queue.getData("XCXIsSelect");
|
2024-08-02 21:05:22 +08:00
|
|
|
|
var add=uni.getStorageSync('cityTherapist');
|
|
|
|
|
if(add!=''){
|
2024-08-05 11:15:41 +08:00
|
|
|
|
that.cityname=add.name;
|
|
|
|
|
that.city=add.cityname;
|
2024-08-02 21:05:22 +08:00
|
|
|
|
var location=add.location.split(",")
|
|
|
|
|
that.longitude = location[0]
|
|
|
|
|
that.latitude = location[1]
|
|
|
|
|
that.componentKey++
|
|
|
|
|
that.initMap();
|
|
|
|
|
}
|
2024-08-19 09:33:25 +08:00
|
|
|
|
// that.getKTCityList();
|
2024-06-05 19:16:02 +08:00
|
|
|
|
that.getTpCount();
|
|
|
|
|
that.getTpMy();
|
2024-06-26 09:49:50 +08:00
|
|
|
|
that.userId = uni.getStorageSync('userId')
|
|
|
|
|
if (!this.userId) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-06-05 19:16:02 +08:00
|
|
|
|
that.token = uni.getStorageSync('token')
|
2024-06-25 15:20:37 +08:00
|
|
|
|
if (uni.getStorageSync('token')) {
|
|
|
|
|
if (that.latitude && that.longitude) {
|
|
|
|
|
that.page = 1
|
2024-08-03 13:52:49 +08:00
|
|
|
|
// that.selectCity(that.latitude,that.longitude)
|
2024-06-25 15:20:37 +08:00
|
|
|
|
that.getlist()
|
2024-08-15 16:24:11 +08:00
|
|
|
|
that.tabNavSon()
|
2024-06-25 15:20:37 +08:00
|
|
|
|
} else {
|
|
|
|
|
uni.getLocation({
|
|
|
|
|
type: 'gcj02',
|
|
|
|
|
highAccuracyExpireTime: 500,
|
|
|
|
|
geocode: true, //设置该参数为true可直接获取经纬度及城市信息
|
|
|
|
|
success: function(res) {
|
2024-08-02 21:05:22 +08:00
|
|
|
|
console.log(res, '地理位置onShow')
|
2024-08-14 22:23:18 +08:00
|
|
|
|
that.latitude = res.latitude
|
|
|
|
|
that.longitude = res.longitude
|
|
|
|
|
that.page = 1
|
2024-08-19 09:33:25 +08:00
|
|
|
|
that.tabNavSon()
|
|
|
|
|
// that.getTypeList();
|
2024-08-15 16:24:11 +08:00
|
|
|
|
that.selectCity(that.longitude,that.latitude)
|
2024-06-25 15:20:37 +08:00
|
|
|
|
},
|
|
|
|
|
fail: function() {
|
2024-08-15 16:24:11 +08:00
|
|
|
|
that.tabNavSon()
|
2024-08-19 09:33:25 +08:00
|
|
|
|
that.getlist()
|
2024-06-25 15:20:37 +08:00
|
|
|
|
console.log('获取地址失败2')
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
|
|
|
|
that.myId = uni.getStorageSync('userId')
|
|
|
|
|
// #ifdef MP-WEIXIN
|
|
|
|
|
//订阅
|
|
|
|
|
if (that.myId) {
|
|
|
|
|
that.getIsVip()
|
|
|
|
|
if (this.showModal) {
|
|
|
|
|
// this.openMsg()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// #endif
|
|
|
|
|
},
|
|
|
|
|
onReady() {
|
|
|
|
|
this.initMap();
|
|
|
|
|
//this.initMapPointThread();
|
|
|
|
|
},
|
|
|
|
|
onUnload() {
|
|
|
|
|
//this.closeSocket();
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
2024-08-15 16:24:11 +08:00
|
|
|
|
quding(){
|
2024-08-20 09:27:28 +08:00
|
|
|
|
this.getlist();
|
2024-08-15 16:24:11 +08:00
|
|
|
|
this.showpay = false;
|
|
|
|
|
},
|
|
|
|
|
toggle() {
|
2024-08-20 09:27:28 +08:00
|
|
|
|
this.technicianType=3;
|
2024-08-15 16:24:11 +08:00
|
|
|
|
this.showpay = true;
|
|
|
|
|
},
|
|
|
|
|
tabNavSon(){
|
|
|
|
|
let data = {
|
|
|
|
|
type: "服务类型",
|
|
|
|
|
}
|
|
|
|
|
this.$Request.get('/app/dict/list', data).then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
var list=[];
|
|
|
|
|
for(var i=0;i<res.data.length;i++){
|
|
|
|
|
list.push({
|
|
|
|
|
text:res.data[i].value,
|
|
|
|
|
value:res.data[i].id
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
this.tabListSon=list;
|
2024-08-20 09:27:28 +08:00
|
|
|
|
// this.classifyId=res.data[0].id;
|
2024-08-15 16:24:11 +08:00
|
|
|
|
this.page = 1;
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
changeClickSon(item){
|
|
|
|
|
var index = []
|
|
|
|
|
for(var i=0;i<item.detail.data.length;i++){
|
|
|
|
|
index.push(item.detail.data[i].value)
|
|
|
|
|
}
|
|
|
|
|
this.classifyId = index.join(",")
|
|
|
|
|
this.artificerName='';
|
|
|
|
|
this.page=1;
|
|
|
|
|
},
|
2024-07-16 11:17:34 +08:00
|
|
|
|
changeClick(index,item){
|
|
|
|
|
this.artificerName='';
|
2024-08-05 20:41:19 +08:00
|
|
|
|
this.technicianType=item.id;
|
|
|
|
|
this.page=1;
|
2024-07-16 11:17:34 +08:00
|
|
|
|
},
|
2024-08-20 09:27:28 +08:00
|
|
|
|
clear(res) {
|
|
|
|
|
let that = this
|
|
|
|
|
that.orderList=[];
|
|
|
|
|
that.technicianType=3;
|
|
|
|
|
that.selectedValues=[];
|
|
|
|
|
that.getlist()
|
|
|
|
|
},
|
2024-07-16 11:17:34 +08:00
|
|
|
|
getlist() {
|
2024-08-02 21:05:22 +08:00
|
|
|
|
var that=this;
|
2024-07-16 11:17:34 +08:00
|
|
|
|
let index = 2
|
|
|
|
|
let data = {
|
2024-08-02 21:05:22 +08:00
|
|
|
|
artificerName: that.artificerName,
|
2024-08-15 16:24:11 +08:00
|
|
|
|
classifyId: that.classifyId,
|
2024-08-02 21:05:22 +08:00
|
|
|
|
page: that.page,
|
|
|
|
|
limit: that.limit,
|
|
|
|
|
technicianType:that.technicianType,
|
2024-07-16 11:17:34 +08:00
|
|
|
|
by: index, //价格
|
2024-08-02 21:05:22 +08:00
|
|
|
|
latitude: that.latitude,
|
|
|
|
|
longitude: that.longitude,
|
|
|
|
|
city: that.city
|
2024-07-16 11:17:34 +08:00
|
|
|
|
}
|
2024-08-02 21:05:22 +08:00
|
|
|
|
that.$Request.get("/app/artificer/selectArtificerList", data).then(res => {
|
2024-08-14 22:23:18 +08:00
|
|
|
|
that.loading = false;
|
2024-07-16 11:17:34 +08:00
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
for (var i = 0; i < res.data.list.length; i++) {
|
|
|
|
|
if (res.data.list[i].lifePhoto) {
|
|
|
|
|
res.data.list[i].lifePhoto = res.data.list[i].lifePhoto.split(',')
|
|
|
|
|
}
|
|
|
|
|
if (res.data.list[i].distance > 1000) {
|
|
|
|
|
res.data.list[i].distance = (res.data.list[i].distance / 1000).toFixed(1) +
|
|
|
|
|
'km'
|
|
|
|
|
} else {
|
|
|
|
|
res.data.list[i].distance = (res.data.list[i].distance).toFixed(1) + 'm'
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-07-16 11:17:34 +08:00
|
|
|
|
}
|
2024-08-02 21:05:22 +08:00
|
|
|
|
if (that.page == 1) {
|
|
|
|
|
that.orderList = res.data.list
|
2024-07-16 11:17:34 +08:00
|
|
|
|
} else {
|
2024-08-02 21:05:22 +08:00
|
|
|
|
that.orderList = [...that.orderList, ...res.data.list]
|
2024-07-16 11:17:34 +08:00
|
|
|
|
}
|
|
|
|
|
//加载到地图里
|
2024-08-02 21:05:22 +08:00
|
|
|
|
if (that.amap) {
|
2024-07-16 11:17:34 +08:00
|
|
|
|
// debugger;
|
2024-08-02 21:05:22 +08:00
|
|
|
|
if (that.orderList.length > 0) {
|
2024-07-16 11:17:34 +08:00
|
|
|
|
let rmap = {};
|
2024-08-02 21:05:22 +08:00
|
|
|
|
let onLineArtificerList = that.orderList.filter((item) => item.status == 1);
|
2024-07-16 11:17:34 +08:00
|
|
|
|
onLineArtificerList.forEach(x => {
|
|
|
|
|
rmap[x.userId] = x.latitude + ',' + x.longitude; //没有给个签到坐标
|
|
|
|
|
});
|
2024-08-02 21:05:22 +08:00
|
|
|
|
that.pointMap = rmap;
|
|
|
|
|
that.creatMarker(rmap);
|
2024-07-16 11:17:34 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-07-16 11:17:34 +08:00
|
|
|
|
}
|
|
|
|
|
uni.stopPullDownRefresh();
|
|
|
|
|
})
|
|
|
|
|
},
|
2024-06-24 11:29:11 +08:00
|
|
|
|
// 跳转订单
|
|
|
|
|
goOrder(e) {
|
|
|
|
|
console.log('授权', uni.getStorageSync('sendMsg'))
|
|
|
|
|
if (uni.getStorageSync('sendMsg')) {
|
|
|
|
|
console.log('授权+1')
|
|
|
|
|
wx.requestSubscribeMessage({
|
|
|
|
|
tmplIds: this.arr,
|
|
|
|
|
success(re) {
|
|
|
|
|
var datas = JSON.stringify(re);
|
|
|
|
|
if (datas.indexOf("accept") != -1) {
|
|
|
|
|
console.log(re)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fail: (res) => {
|
|
|
|
|
console.log(res)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if (this.token) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/therapist/orderDetail?artificerId=' + e.artificerId + "&classifyId=" + this
|
|
|
|
|
.tabIndex
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-06-12 15:52:21 +08:00
|
|
|
|
switch1Change: function (e) {//地图和列表切换
|
|
|
|
|
var num= Number(e)
|
|
|
|
|
if(e==false){
|
|
|
|
|
this.current = 1;
|
|
|
|
|
}else{
|
|
|
|
|
this.current = 0;
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-06-05 19:16:02 +08:00
|
|
|
|
showTips() {
|
|
|
|
|
uni.showToast({
|
2024-07-01 15:59:33 +08:00
|
|
|
|
title: '技师已下线',
|
2024-06-05 19:16:02 +08:00
|
|
|
|
icon: 'none'
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
onClickItem(e) {
|
|
|
|
|
if (this.current != e) {
|
|
|
|
|
this.current = e;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
showCityList() {
|
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
|
if (this.latitude === '' || this.longitude === '') {
|
|
|
|
|
this.checkPermission();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// #endif
|
2024-08-02 21:05:22 +08:00
|
|
|
|
var that = this
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url:'/pages/index/searchAddress?text='+'therapist'+'¤t='+that.current
|
|
|
|
|
})
|
2024-06-05 19:16:02 +08:00
|
|
|
|
},
|
|
|
|
|
async checkPermission() {
|
|
|
|
|
let status = permision.isIOS ? await permision.requestIOS('location') : await permision.requestAndroid(
|
|
|
|
|
'android.permission.ACCESS_FINE_LOCATION');
|
|
|
|
|
if (status === null || status === 1) {
|
|
|
|
|
status = 1;
|
|
|
|
|
} else if (status === 2) {
|
|
|
|
|
uni.showModal({
|
|
|
|
|
content: "系统定位已关闭",
|
|
|
|
|
confirmText: "确定",
|
|
|
|
|
showCancel: false,
|
|
|
|
|
success: function(res) {}
|
|
|
|
|
})
|
|
|
|
|
} else if (status.code) {
|
|
|
|
|
uni.showModal({
|
|
|
|
|
content: status.message
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
uni.showModal({
|
|
|
|
|
title: '定位服务已关闭',
|
2025-02-28 16:00:41 +08:00
|
|
|
|
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安小象】定位权限",
|
2024-06-05 19:16:02 +08:00
|
|
|
|
confirmText: "设置",
|
|
|
|
|
success: function(res) {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
permision.gotoAppSetting();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
return status;
|
|
|
|
|
},
|
|
|
|
|
saveImgss(imgs, index) {
|
|
|
|
|
console.log(imgs, index)
|
|
|
|
|
// let that = this
|
|
|
|
|
let imgArr = imgs
|
|
|
|
|
// this.imgArr.push(imgs);
|
|
|
|
|
// console.log(this.imgArr)
|
|
|
|
|
// //预览图片
|
|
|
|
|
uni.previewImage({
|
|
|
|
|
urls: imgArr,
|
|
|
|
|
current: imgArr[index]
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
saveImgs(imgs) {
|
|
|
|
|
let imgArr = [];
|
|
|
|
|
imgArr.push(imgs);
|
|
|
|
|
// //预览图片
|
|
|
|
|
uni.previewImage({
|
|
|
|
|
urls: imgArr,
|
|
|
|
|
current: 0
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
saveTP() {
|
|
|
|
|
if (!this.token) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
let userId = this.$queue.getData('userId');
|
|
|
|
|
let userName = this.$queue.getData('userName');
|
|
|
|
|
this.$queue.showLoading('投票中...');
|
|
|
|
|
this.$Request.postJson('/app/message/insertMessage', {
|
|
|
|
|
state: 11,
|
|
|
|
|
content: this.city,
|
|
|
|
|
userName: userName,
|
|
|
|
|
userId: userId
|
|
|
|
|
})
|
|
|
|
|
.then(res => {
|
|
|
|
|
if (res.code === 0) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '投票成功!'
|
|
|
|
|
});
|
|
|
|
|
this.getTpCount();
|
|
|
|
|
this.getTpMy();
|
|
|
|
|
} else {
|
2024-08-14 22:23:18 +08:00
|
|
|
|
uni.hideLoading();
|
2024-06-05 19:16:02 +08:00
|
|
|
|
uni.showModal({
|
|
|
|
|
showCancel: false,
|
|
|
|
|
title: '投票失败',
|
|
|
|
|
content: res.msg
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getTpMy() {
|
2024-06-25 15:20:37 +08:00
|
|
|
|
this.$Request.getT('/app/message/selectMessageByUserId?page=1&limit=1&state=11').then(res => {
|
2024-06-05 19:16:02 +08:00
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if (res.data && res.data.list && res.data.list.length > 0) {
|
|
|
|
|
this.tpSel = 1;
|
|
|
|
|
} else {
|
|
|
|
|
this.tpSel = 2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getTpCount() {
|
|
|
|
|
this.$Request.getT('/app/message/selectCityCount?city=' + this.city).then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.tpCount = res.data ? res.data : 0;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getCity(e) {
|
2024-08-14 22:23:18 +08:00
|
|
|
|
console.log("得到的城市-------------》",e[0].label);
|
|
|
|
|
this.city = e[0].label;
|
2024-08-19 09:33:25 +08:00
|
|
|
|
// uni.setStorageSync('city', this.city)
|
|
|
|
|
// this.getKTCityList();
|
|
|
|
|
// this.page = 1
|
|
|
|
|
// this.getlist()
|
2024-06-05 19:16:02 +08:00
|
|
|
|
},
|
|
|
|
|
getKTCityList() {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
let cityName;
|
|
|
|
|
// let cityName = uni.getStorageSync('city') ? uni.getStorageSync('city') : '请选择城市'
|
|
|
|
|
// if (cityName === '请选择城市') {
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
2024-06-05 19:16:02 +08:00
|
|
|
|
this.$Request.getT('/app/trip/selectTripList').then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.cityList = [];
|
|
|
|
|
let isOpen = false
|
|
|
|
|
res.data.forEach((d, index) => {
|
|
|
|
|
if (cityName === d.city) {
|
|
|
|
|
isOpen = true;
|
|
|
|
|
}
|
|
|
|
|
let data = {}
|
|
|
|
|
data.label = d.city
|
|
|
|
|
data.value = index
|
|
|
|
|
this.cityList.push(data);
|
|
|
|
|
});
|
2024-06-12 15:52:21 +08:00
|
|
|
|
console.log("请求-----------------请求>",this.cityList)
|
2024-06-05 19:16:02 +08:00
|
|
|
|
if (!isOpen) {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
// debugger;
|
2024-08-14 22:23:18 +08:00
|
|
|
|
this.orderList = []
|
2024-06-05 19:16:02 +08:00
|
|
|
|
this.showTP = true;
|
|
|
|
|
// uni.showToast({
|
|
|
|
|
// title: '当前城市暂未开通,请切换城市',
|
|
|
|
|
// duration: 2000,
|
|
|
|
|
// icon: 'none'
|
|
|
|
|
// });
|
|
|
|
|
} else {
|
|
|
|
|
this.showTP = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getTypeList() {
|
|
|
|
|
this.$Request.get("/app/dict/list", {
|
|
|
|
|
type: '服务类型'
|
|
|
|
|
}).then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if (res.data) {
|
|
|
|
|
this.tablist = res.data
|
|
|
|
|
this.tabIndex = res.data[0].id;
|
|
|
|
|
this.page = 1;
|
|
|
|
|
this.getlist()
|
|
|
|
|
//开启地图线程
|
|
|
|
|
this.initMapPointThread();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
2024-08-14 22:23:18 +08:00
|
|
|
|
selectCity(longitude, latitude) {
|
|
|
|
|
var that=this;
|
|
|
|
|
var longitude = that.longitude;
|
|
|
|
|
var latitude = that.latitude;
|
|
|
|
|
let amapKey = that.Key2; // 替换为你的高德地图API Key
|
|
|
|
|
let url = `https://restapi.amap.com/v3/geocode/regeo?key=${amapKey}&location=${longitude},${latitude}&radius=1000`;
|
|
|
|
|
uni.request({
|
|
|
|
|
url: url,
|
|
|
|
|
success: (response) => {
|
|
|
|
|
if(response.data && response.data.regeocode) {
|
|
|
|
|
let address = response.data.regeocode.formatted_address;
|
|
|
|
|
let province = response.data.regeocode.addressComponent.province;
|
|
|
|
|
let city = response.data.regeocode.addressComponent.city;
|
|
|
|
|
let district = response.data.regeocode.addressComponent.district;
|
|
|
|
|
let township = response.data.regeocode.addressComponent.township;
|
|
|
|
|
let streetNumber = response.data.regeocode.addressComponent.streetNumber.street;
|
|
|
|
|
let number = response.data.regeocode.addressComponent.streetNumber.number;
|
|
|
|
|
that.cityname = address.replace(province,'').replace(city,'').replace(district,'').replace(streetNumber,'').replace(number,'').replace(township,'')
|
|
|
|
|
that.city=city
|
|
|
|
|
that.page = 1
|
|
|
|
|
that.getlist()
|
2024-08-19 09:33:25 +08:00
|
|
|
|
// that.getKTCityList();
|
2024-08-14 22:23:18 +08:00
|
|
|
|
} else {
|
|
|
|
|
console.log('逆地理编码失败', response.data);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fail: (error) => {
|
|
|
|
|
console.log('网络请求失败', error);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
2024-08-20 09:27:28 +08:00
|
|
|
|
|
2024-06-05 19:16:02 +08:00
|
|
|
|
// 开启订阅消息
|
|
|
|
|
openMsg() {
|
|
|
|
|
console.log('订阅消息')
|
|
|
|
|
var that = this
|
|
|
|
|
uni.getSetting({
|
|
|
|
|
withSubscriptions: true, //是否获取用户订阅消息的订阅状态,默认false不返回
|
|
|
|
|
success(ret) {
|
|
|
|
|
if (ret.subscriptionsSetting.itemSettings) {
|
|
|
|
|
uni.setStorageSync('sendMsg', true)
|
2024-08-16 17:06:40 +08:00
|
|
|
|
uni.openSetting({ // 打开设置页
|
2024-06-05 19:16:02 +08:00
|
|
|
|
success(rea) {
|
|
|
|
|
console.log(rea.authSetting)
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
} else { // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息
|
|
|
|
|
console.log(99999)
|
|
|
|
|
uni.setStorageSync('sendMsg', false)
|
|
|
|
|
uni.showModal({
|
|
|
|
|
title: '提示',
|
|
|
|
|
content: '为了更好的体验,请绑定消息推送',
|
|
|
|
|
confirmText: '确定',
|
|
|
|
|
cancelText: '取消',
|
|
|
|
|
success: function(res) {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
wx.requestSubscribeMessage({
|
|
|
|
|
tmplIds: that.arr,
|
|
|
|
|
success(re) {
|
|
|
|
|
var datas = JSON.stringify(re);
|
|
|
|
|
if (datas.indexOf("accept") != -1) {
|
|
|
|
|
console.log(re)
|
|
|
|
|
// uni.setStorageSync('sendMsg', true)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fail: (res) => {
|
|
|
|
|
console.log(res)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
// uni.setStorageSync('sendMsg', true)
|
|
|
|
|
console.log('确认')
|
|
|
|
|
that.showModal = false
|
|
|
|
|
} else if (res.cancel) {
|
|
|
|
|
console.log('取消')
|
|
|
|
|
// uni.setStorageSync('sendMsg', false)
|
|
|
|
|
that.showModal = true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
getIsVip() {
|
|
|
|
|
this.$Request.get("/app/UserVip/isUserVip").then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.isVip = res.data
|
|
|
|
|
uni.setStorageSync('isVIP', res.data)
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
onSearch(e) {
|
|
|
|
|
// this.artificerName = e;
|
|
|
|
|
this.page = 1;
|
|
|
|
|
this.getlist()
|
|
|
|
|
},
|
|
|
|
|
// 乐享低价
|
|
|
|
|
goLowTaking() {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/index/order/lowTaking'
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 跳转游戏列表
|
|
|
|
|
goNav(url) {
|
|
|
|
|
if (uni.getStorageSync('sendMsg')) {
|
|
|
|
|
console.log('授权+1')
|
|
|
|
|
wx.requestSubscribeMessage({
|
|
|
|
|
tmplIds: this.arr,
|
|
|
|
|
success(re) {
|
|
|
|
|
console.log(JSON.stringify(re), 111111111111)
|
|
|
|
|
var datas = JSON.stringify(re);
|
|
|
|
|
if (datas.indexOf("accept") != -1) {
|
|
|
|
|
console.log(re)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fail: (res) => {
|
|
|
|
|
console.log(res)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if (url.indexOf('/pages/') !== -1) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
//#ifndef H5
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/index/webView?url=' + url
|
|
|
|
|
});
|
|
|
|
|
//#endif
|
|
|
|
|
//#ifdef H5
|
|
|
|
|
window.location.href = url;
|
|
|
|
|
//#endif
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 跳转搜索
|
|
|
|
|
goSearch(index) {
|
|
|
|
|
if (uni.getStorageSync('sendMsg')) {
|
|
|
|
|
console.log('授权+1')
|
|
|
|
|
wx.requestSubscribeMessage({
|
|
|
|
|
tmplIds: this.arr,
|
|
|
|
|
success(re) {
|
|
|
|
|
// console.log(JSON.stringify(re), 111111111111)
|
|
|
|
|
var datas = JSON.stringify(re);
|
|
|
|
|
if (datas.indexOf("accept") != -1) {
|
|
|
|
|
console.log(re)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fail: (res) => {
|
|
|
|
|
console.log(res)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/index/search/index?index=' + index
|
|
|
|
|
});
|
|
|
|
|
},
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-05 19:16:02 +08:00
|
|
|
|
//地图初始化,
|
|
|
|
|
getLocation(isHighAccuracy = false) {
|
2024-08-14 22:23:18 +08:00
|
|
|
|
console.log('获取地理位置,精度:', isHighAccuracy);
|
2024-06-05 19:16:02 +08:00
|
|
|
|
let that = this;
|
|
|
|
|
//获取地理坐标
|
|
|
|
|
uni.getLocation({
|
|
|
|
|
// type: 'wgs84',
|
|
|
|
|
type: 'gcj02',
|
|
|
|
|
highAccuracyExpireTime: isHighAccuracy ? 5000 : 500,
|
|
|
|
|
isHighAccuracy,
|
|
|
|
|
success: function(res) {
|
|
|
|
|
let longitude = res.longitude;
|
|
|
|
|
let latitude = res.latitude;
|
2024-08-14 22:23:18 +08:00
|
|
|
|
console.log('当前位置的经度:' + longitude);
|
|
|
|
|
console.log('当前位置的纬度:' + latitude);
|
2024-06-05 19:16:02 +08:00
|
|
|
|
getApp().globalData['longitude'] = longitude;
|
|
|
|
|
getApp().globalData['latitude'] = latitude;
|
2024-08-14 22:23:18 +08:00
|
|
|
|
console.log('定位成功', latitude, longitude);
|
2024-06-05 19:16:02 +08:00
|
|
|
|
if (that.amap) {
|
|
|
|
|
uni.amap.setCenter([longitude, latitude])
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fail(res) {
|
|
|
|
|
console.log('定位失败!', res);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
//读取缓存里面的经纬度
|
|
|
|
|
let longitude = getApp().globalData['longitude'] || 0;
|
|
|
|
|
let latitude = getApp().globalData['latitude'] || 0;
|
|
|
|
|
return {
|
|
|
|
|
latitude,
|
|
|
|
|
longitude
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
initMap() {
|
|
|
|
|
let amap = webMap.creatAMap('txMapContainer');
|
|
|
|
|
uni.amap = amap;
|
|
|
|
|
this.amap = amap;
|
|
|
|
|
let that = this;
|
|
|
|
|
setTimeout(() => {
|
2024-08-14 22:23:18 +08:00
|
|
|
|
uni.hideLoading();
|
2024-06-05 19:16:02 +08:00
|
|
|
|
this.current = 0;
|
|
|
|
|
uni.getLocation({
|
|
|
|
|
// type: 'wgs84',
|
|
|
|
|
type: 'gcj02',
|
|
|
|
|
highAccuracyExpireTime: 3000,
|
|
|
|
|
isHighAccuracy: true,
|
|
|
|
|
success: function(res) {
|
|
|
|
|
let longitude = res.longitude;
|
|
|
|
|
let latitude = res.latitude;
|
2024-08-02 21:05:22 +08:00
|
|
|
|
console.log('当前位置的经度=========1:' + longitude);
|
|
|
|
|
console.log('当前位置的纬度2=========:' + latitude);
|
2024-06-05 19:16:02 +08:00
|
|
|
|
if (amap) {
|
2024-08-02 21:05:22 +08:00
|
|
|
|
var add=uni.getStorageSync('cityTherapist');
|
|
|
|
|
if(add!=''){
|
|
|
|
|
var location=add.location.split(",")
|
|
|
|
|
that.longitude = location[0]
|
|
|
|
|
that.latitude = location[1]
|
|
|
|
|
console.log("locationlocationlocationlocation>",location)
|
|
|
|
|
uni.amap.setCenter([location[0],location[1]])
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
|
|
|
|
|
2024-08-02 21:05:22 +08:00
|
|
|
|
}
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fail(res) {
|
|
|
|
|
console.log('定位失败!', res);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
if (that.orderList.length > 0) {
|
|
|
|
|
let rmap = {};
|
|
|
|
|
let onLineArtificerList = this.orderList.filter((item) => item.status == 1);
|
|
|
|
|
onLineArtificerList.forEach(x => {
|
|
|
|
|
rmap[x.userId] = x.latitude + ',' + x.longitude; //没有给个签到坐标
|
|
|
|
|
});
|
|
|
|
|
this.pointMap = rmap;
|
|
|
|
|
that.creatMarker(rmap);
|
|
|
|
|
}
|
|
|
|
|
}, 500);
|
|
|
|
|
},
|
|
|
|
|
creatMarker(map) {
|
|
|
|
|
let that = this;
|
|
|
|
|
webMap.addMarker(uni.amap, map, this.orderList, (e, udata) => {
|
|
|
|
|
that.currentMarkerIndex = udata.userId;
|
2024-08-23 15:10:47 +08:00
|
|
|
|
// that.showPopup = true;
|
|
|
|
|
console.log('授权', uni.getStorageSync('sendMsg'))
|
|
|
|
|
if (uni.getStorageSync('sendMsg')) {
|
|
|
|
|
console.log('授权+1')
|
|
|
|
|
wx.requestSubscribeMessage({
|
|
|
|
|
tmplIds: this.arr,
|
|
|
|
|
success(re) {
|
|
|
|
|
var datas = JSON.stringify(re);
|
|
|
|
|
if (datas.indexOf("accept") != -1) {
|
|
|
|
|
console.log(re)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fail: (res) => {
|
|
|
|
|
console.log(res)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if (this.token) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/therapist/orderDetail?artificerId=' + udata.artificerId + "&classifyId=" + this
|
|
|
|
|
.tabIndex
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
});
|
|
|
|
|
}
|
2024-06-05 19:16:02 +08:00
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
updateMarker(map) {
|
|
|
|
|
this.creatMarker(map);
|
|
|
|
|
},
|
|
|
|
|
getUserId() {
|
|
|
|
|
return this.myId;
|
|
|
|
|
},
|
|
|
|
|
getBusinessId() {
|
|
|
|
|
// return '12345678900987654321';
|
|
|
|
|
//return this.massageTypeId;
|
|
|
|
|
return this.tabIndex;
|
|
|
|
|
// return '98';
|
|
|
|
|
},
|
|
|
|
|
getOrderByCurrentMarkerIndex(key = this.currentMarkerIndex) {
|
|
|
|
|
return ((this.orderList || []).find(x => x.userId == key) || {});
|
|
|
|
|
},
|
|
|
|
|
creatSocket() {
|
|
|
|
|
let deviceId = this.getBusinessId();
|
|
|
|
|
let socketConnect = uni.connectSocket({
|
|
|
|
|
url: commonConfig.WS_UPLOAD_MAP_PATH + deviceId,
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
msg: ''
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
header: {
|
|
|
|
|
'content-type': 'application/json',
|
|
|
|
|
// 'token': token
|
|
|
|
|
},
|
|
|
|
|
method: 'GET',
|
|
|
|
|
success(res) {
|
|
|
|
|
// 这里是接口调用成功的回调,不是连接成功的回调,请注意
|
|
|
|
|
// uni.showLoading({
|
|
|
|
|
// title: '连接成功!'
|
|
|
|
|
// });
|
|
|
|
|
},
|
|
|
|
|
fail(err) {
|
|
|
|
|
// 这里是接口调用失败的回调,不是连接失败的回调,请注意
|
|
|
|
|
// uni.showLoading({
|
|
|
|
|
// title: '连接失败!'
|
|
|
|
|
// });
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
uni.onSocketOpen((res) => {
|
|
|
|
|
// uni.hideLoading()
|
|
|
|
|
// uni.showToast({
|
|
|
|
|
// icon: 'none',
|
|
|
|
|
// title: '连接成功'
|
|
|
|
|
// })
|
|
|
|
|
console.log('onOpen', res);
|
|
|
|
|
});
|
|
|
|
|
uni.onSocketError((err) => {
|
|
|
|
|
// this.connecting = false
|
|
|
|
|
// this.connected = false
|
|
|
|
|
// uni.hideLoading()
|
|
|
|
|
// uni.showModal({
|
|
|
|
|
// content: '网络较差,请稍后再试',
|
|
|
|
|
// showCancel: false
|
|
|
|
|
// })
|
|
|
|
|
console.log('onError', err);
|
|
|
|
|
});
|
|
|
|
|
uni.onSocketMessage((res) => {
|
|
|
|
|
let that = this;
|
|
|
|
|
console.log('onMessage', res)
|
|
|
|
|
let datas = JSON.parse(res.data)
|
|
|
|
|
// let data = {
|
|
|
|
|
// chat: {
|
|
|
|
|
// userHead: '../../static/logo.png'
|
|
|
|
|
// },
|
|
|
|
|
// content: datas.content,
|
|
|
|
|
// type: datas.type,
|
|
|
|
|
// sendType: datas.sendType
|
|
|
|
|
// }
|
|
|
|
|
// that.ListItem.push(data);
|
|
|
|
|
//解析点
|
|
|
|
|
this.pointMap = {};
|
|
|
|
|
switch (datas.type) {
|
|
|
|
|
case 'getCoordinate': {
|
|
|
|
|
console.log('坐标包:', JSON.parse(JSON.stringify(datas.data)));
|
|
|
|
|
let map = {};
|
|
|
|
|
let rmap = {};
|
|
|
|
|
let onLineArtificerList = this.orderList.filter((item) => item.status == 1);
|
|
|
|
|
onLineArtificerList.forEach(x => {
|
|
|
|
|
map[x.userId] = x;
|
|
|
|
|
let zb = datas.data[x.userId];
|
|
|
|
|
if (!zb) {
|
|
|
|
|
//datas.data[x.userId] = x.latitude + ',' + x.longitude; //没有给个签到坐标
|
|
|
|
|
rmap[x.userId] = x.latitude + ',' + x.longitude; //没有给个签到坐标
|
|
|
|
|
} else {
|
|
|
|
|
rmap[x.userId] = zb;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
// let data = datas.data;
|
|
|
|
|
// let rdata = {};
|
|
|
|
|
|
|
|
|
|
// data.forEach(x => rdata[x.userId]);
|
|
|
|
|
|
|
|
|
|
//rmap = datas.data; //debug
|
|
|
|
|
this.pointMap = rmap;
|
|
|
|
|
that.creatMarker(rmap);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
default: {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
uni.onSocketClose((res) => {
|
|
|
|
|
console.log('onClose', res)
|
|
|
|
|
console.log('2 - 关闭触发', uni.pointThread)
|
|
|
|
|
//this.closeSocket();
|
|
|
|
|
this.socketConnect = null;
|
|
|
|
|
this.pointThread = null;
|
|
|
|
|
uni.pointThread = null;
|
|
|
|
|
uni.userSocketConnect = null;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
this.socketConnect = socketConnect;
|
|
|
|
|
uni.userSocketConnect = socketConnect;
|
|
|
|
|
},
|
|
|
|
|
sendMsg(msg) {
|
|
|
|
|
uni.sendSocketMessage({
|
|
|
|
|
data: JSON.stringify(msg),
|
|
|
|
|
success: (...e) => {
|
|
|
|
|
console.log('发送成功!', ...e);
|
|
|
|
|
},
|
|
|
|
|
fail: (...e) => {
|
|
|
|
|
console.log('发送失败!', ...e);
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
closeSocket() {
|
|
|
|
|
console.log('2-关闭 - closeSocket')
|
|
|
|
|
uni.closeSocket();
|
|
|
|
|
//temp1.pointThread
|
|
|
|
|
clearInterval(uni.pointThread);
|
|
|
|
|
},
|
|
|
|
|
initMapPointThread() {
|
|
|
|
|
let that = this;
|
|
|
|
|
//创建连接
|
|
|
|
|
if (!that.socketConnect) {
|
|
|
|
|
this.closeSocket();
|
|
|
|
|
//that.socketConnect = uni.userSocketConnect;
|
|
|
|
|
}
|
|
|
|
|
if (uni.userSocketConnect) {
|
|
|
|
|
this.closeSocket()
|
|
|
|
|
//that.socketConnect = uni.userSocketConnect;
|
|
|
|
|
}
|
|
|
|
|
setTimeout(x => {
|
|
|
|
|
console.log('重新开始');
|
|
|
|
|
that.creatSocket();
|
|
|
|
|
//开始循环
|
|
|
|
|
setTimeout(x => {
|
|
|
|
|
that.forSendMsg();
|
|
|
|
|
}, 500);
|
|
|
|
|
}, 500)
|
|
|
|
|
},
|
|
|
|
|
forSendMsg() {
|
|
|
|
|
let that = this;
|
|
|
|
|
if (!that.mapPointThreadIsRun) {
|
|
|
|
|
that.sendMsgFn();
|
|
|
|
|
let pointThread = setInterval(() => {
|
|
|
|
|
that.sendMsgFn();
|
|
|
|
|
}, 3 * 60 * 1000); //3 * 60 * 1000
|
|
|
|
|
this.pointThread = pointThread;
|
|
|
|
|
uni.pointThread = pointThread;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
sendMsgFn() {
|
|
|
|
|
let that = this;
|
|
|
|
|
let userId = that.getUserId();
|
|
|
|
|
let businessId = that.getBusinessId();
|
|
|
|
|
let msg = {
|
|
|
|
|
sendType: "getCoordinate",
|
|
|
|
|
userId,
|
|
|
|
|
businessId,
|
|
|
|
|
rkey: `map:location:${businessId}:*`
|
|
|
|
|
}
|
|
|
|
|
that.sendMsg(msg);
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
onReachBottom: function() {
|
|
|
|
|
this.page = this.page + 1;
|
|
|
|
|
this.getlist()
|
|
|
|
|
},
|
2024-06-27 20:04:31 +08:00
|
|
|
|
onPullDownRefresh: function() {
|
|
|
|
|
this.page = 1;
|
|
|
|
|
this.getlist()
|
|
|
|
|
},
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<style lang="scss" scoped>
|
2024-08-26 08:55:01 +08:00
|
|
|
|
/deep/.checklist-text{
|
|
|
|
|
display:block;
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
2024-08-15 16:24:11 +08:00
|
|
|
|
/deep/.z-tabs-bottom{
|
|
|
|
|
display:none;
|
|
|
|
|
}
|
|
|
|
|
.popup-top-one{
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: left;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
margin-bottom: 10px;
|
2024-08-15 17:04:50 +08:00
|
|
|
|
padding-left:40rpx;
|
2024-08-15 16:24:11 +08:00
|
|
|
|
}
|
|
|
|
|
.popup-top{
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
// padding: 20upx 0;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
.popup_pay {
|
|
|
|
|
width: 100%;
|
|
|
|
|
position: relative;
|
|
|
|
|
padding-bottom: 45rpx;
|
|
|
|
|
/* height: 160px; */
|
|
|
|
|
/* #ifndef MP-WEIXIN */
|
|
|
|
|
/* height: 130px; */
|
|
|
|
|
/* #endif */
|
2024-08-15 17:04:50 +08:00
|
|
|
|
border-radius: 30rpx;
|
2024-08-15 16:24:11 +08:00
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-08-15 16:24:11 +08:00
|
|
|
|
.pay_btn {
|
|
|
|
|
width: 90%;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
text-align: center;
|
|
|
|
|
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
|
|
|
|
|
height:80rpx;
|
|
|
|
|
border-radius: 80rpx;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
}
|
|
|
|
|
/deep/.checklist-box{
|
|
|
|
|
margin: 11px 0 !important;
|
|
|
|
|
margin-right: 0px !important;
|
|
|
|
|
width: 33%;
|
|
|
|
|
}
|
|
|
|
|
/deep/.checklist-group{
|
|
|
|
|
overflow-x: scroll;
|
|
|
|
|
}
|
|
|
|
|
/deep/.checklist-text{
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
/deep/.checkbox__inner{
|
|
|
|
|
display:none;
|
|
|
|
|
}
|
|
|
|
|
/deep/.checklist-group{
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: start;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
// margin-left: 35px;
|
|
|
|
|
}
|
2024-08-05 20:41:19 +08:00
|
|
|
|
/deep/.u-close--top-right{
|
|
|
|
|
margin-top:-8px;
|
|
|
|
|
}
|
2024-08-02 21:05:22 +08:00
|
|
|
|
.localName{
|
2024-08-15 16:24:11 +08:00
|
|
|
|
width: 220px;
|
2024-08-02 21:05:22 +08:00
|
|
|
|
margin-left: 4rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
color: #333333;
|
|
|
|
|
margin-top: 1px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
2024-07-22 11:17:19 +08:00
|
|
|
|
.fenlei-img{
|
|
|
|
|
width: 170rpx;
|
|
|
|
|
height: 34rpx;
|
|
|
|
|
margin: 0 20rpx;
|
|
|
|
|
}
|
2024-07-16 11:17:34 +08:00
|
|
|
|
.fenlei{
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
2024-07-22 15:53:27 +08:00
|
|
|
|
margin-top: 10rpx;
|
2024-08-15 17:04:50 +08:00
|
|
|
|
margin-bottom: 10rpx;
|
2024-07-16 11:17:34 +08:00
|
|
|
|
}
|
2024-06-25 23:07:20 +08:00
|
|
|
|
/deep/.margin-bottom-sm{
|
|
|
|
|
margin-bottom: 70px;
|
|
|
|
|
}
|
2024-07-12 15:19:57 +08:00
|
|
|
|
// /deep/.u-drawer,/deep/.u-mask-show{
|
|
|
|
|
// z-index:11 !important;
|
|
|
|
|
// }
|
|
|
|
|
// /deep/.u-drawer-content-visible{
|
|
|
|
|
// z-index:99 !important;
|
|
|
|
|
// margin-bottom: 60px;
|
|
|
|
|
// }
|
2024-06-24 11:29:11 +08:00
|
|
|
|
.item-view-jianjie{
|
|
|
|
|
font-weight: 400;
|
2024-08-20 09:37:09 +08:00
|
|
|
|
font-size: 24rpx;
|
2024-07-19 15:11:16 +08:00
|
|
|
|
color: #999;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
2024-07-22 14:30:24 +08:00
|
|
|
|
.touxiang-frame{
|
|
|
|
|
position: absolute;
|
2025-02-11 14:46:10 +08:00
|
|
|
|
width: 160rpx;
|
|
|
|
|
height: 55rpx;
|
|
|
|
|
top:150rpx;
|
|
|
|
|
left:15rpx;
|
2024-07-22 14:30:24 +08:00
|
|
|
|
}
|
2024-06-15 20:59:02 +08:00
|
|
|
|
.dituList{
|
|
|
|
|
width: 85%;
|
2024-08-05 20:41:19 +08:00
|
|
|
|
height: 165px;
|
2024-06-15 20:59:02 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
}
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.liebiao{
|
2024-07-04 13:59:15 +08:00
|
|
|
|
//height: 100vh;
|
2024-08-15 16:24:11 +08:00
|
|
|
|
margin-top: 85px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
.content-head{
|
|
|
|
|
position: fixed;
|
2024-07-20 17:30:38 +08:00
|
|
|
|
top: -7rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
z-index: 999;
|
|
|
|
|
width: 100%;
|
2024-07-20 18:15:14 +08:00
|
|
|
|
background:#fff linear-gradient(60deg,rgba(115, 212, 183, 0.2),rgba(227, 251, 244, 0.1),rgba(193, 236, 223, 0.35));
|
2024-07-20 17:30:38 +08:00
|
|
|
|
border-bottom:1rpx solid #c4ede1;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: 100% 100%;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
// background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #f7f7f7), url('../../static/background-img.png');
|
|
|
|
|
// background-position: center center;
|
|
|
|
|
// background-repeat: no-repeat;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
background-size: cover;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
// overflow: auto;
|
|
|
|
|
}
|
|
|
|
|
.therapist-bottom-dingwei-text{
|
2024-07-19 19:45:45 +08:00
|
|
|
|
font-size: 24rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #848485;
|
|
|
|
|
}
|
|
|
|
|
.therapist-bottom-dingwei{
|
2024-08-20 09:45:50 +08:00
|
|
|
|
width:20rpx;
|
|
|
|
|
height:24rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
margin-right:3px;
|
|
|
|
|
}
|
|
|
|
|
.therapist-bottom-img{
|
2024-07-20 13:20:36 +08:00
|
|
|
|
width: 26rpx;
|
|
|
|
|
height: 26rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
margin-right:3px;
|
2024-07-04 16:45:54 +08:00
|
|
|
|
margin-top: 5rpx
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
|
|
|
|
.therapist-mian-bottom-text{
|
|
|
|
|
font-weight: bold;
|
2024-08-21 09:54:55 +08:00
|
|
|
|
font-size: 24rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #222222;
|
|
|
|
|
}
|
|
|
|
|
.therapist-mian-bottom{
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
2024-07-02 20:38:31 +08:00
|
|
|
|
margin-top: 10rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
|
|
|
|
.therapist-mian-view-text span{
|
|
|
|
|
font-weight: 500;
|
2024-07-03 23:04:22 +08:00
|
|
|
|
font-size: 26rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #222222;
|
|
|
|
|
}
|
|
|
|
|
.therapist-mian-view span{
|
|
|
|
|
font-weight: 400;
|
2024-07-03 23:04:22 +08:00
|
|
|
|
font-size: 26rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #7C8187;
|
2024-07-02 20:38:31 +08:00
|
|
|
|
margin-right: 10px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
|
|
|
|
.therapist-mian-view image{
|
2024-07-03 23:04:22 +08:00
|
|
|
|
width: 28rpx;
|
|
|
|
|
height: 28rpx;
|
|
|
|
|
margin-right: 2px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2024-08-23 14:26:09 +08:00
|
|
|
|
/deep/.amap-logo{
|
|
|
|
|
display:none !important;
|
|
|
|
|
}
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.therapist-mian-view{
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction:row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
.therapist-mian-top{
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction:row;
|
2024-07-22 13:56:06 +08:00
|
|
|
|
padding: 10rpx 0;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
|
|
|
|
.therapist-mian{
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction:column;
|
|
|
|
|
}
|
|
|
|
|
.list-right-top-bottom{
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: left;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 25rpx;
|
|
|
|
|
color: #333333;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
.list-right-top-name{
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
text-align: left;
|
|
|
|
|
font-weight: bold;
|
2024-07-02 20:38:31 +08:00
|
|
|
|
font-size: 32rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #13141A;
|
|
|
|
|
}
|
|
|
|
|
.keyuyue{
|
2024-07-22 11:17:19 +08:00
|
|
|
|
padding: 0rpx 10rpx;
|
2024-07-19 19:45:45 +08:00
|
|
|
|
height: 44rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
2024-07-22 11:17:19 +08:00
|
|
|
|
border-radius: 30rpx 20rpx 20rpx 30rpx ;
|
|
|
|
|
font-size: 24rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2024-08-08 14:53:16 +08:00
|
|
|
|
.keyuyue-lan{
|
|
|
|
|
background: #eefdf8;
|
|
|
|
|
}
|
|
|
|
|
.keyuyue-hui{
|
|
|
|
|
background: #d9d9d9;
|
|
|
|
|
}
|
|
|
|
|
.timea-fu{
|
|
|
|
|
color: #2dbe93;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
line-height: 44rpx;
|
|
|
|
|
margin-left: 8rpx;
|
|
|
|
|
margin-right: 5rpx;
|
|
|
|
|
}
|
|
|
|
|
.timea-hui{
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
line-height: 44rpx;
|
|
|
|
|
margin-left: 8rpx;
|
|
|
|
|
margin-right: 5rpx;
|
|
|
|
|
}
|
2024-07-19 19:45:45 +08:00
|
|
|
|
.timea-img{
|
2024-07-22 11:17:19 +08:00
|
|
|
|
background:#2dbe93 url('../../static/timea.png') 2rpx 1rpx;
|
|
|
|
|
background-size: 28rpx 28rpx;
|
2024-07-19 19:45:45 +08:00
|
|
|
|
background-repeat: no-repeat;
|
2024-07-22 11:17:19 +08:00
|
|
|
|
width: 30rpx;
|
|
|
|
|
height: 30rpx;
|
|
|
|
|
border-radius:8rpx;
|
|
|
|
|
margin-top: 8rpx;
|
2024-07-19 19:45:45 +08:00
|
|
|
|
}
|
|
|
|
|
.timea-fu{
|
2024-07-22 11:17:19 +08:00
|
|
|
|
font-size: 24rpx;
|
2024-07-19 19:45:45 +08:00
|
|
|
|
color: #2dbe93;
|
|
|
|
|
line-height: 44rpx;
|
|
|
|
|
margin-left: 8rpx;
|
|
|
|
|
margin-right: 5rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2024-07-19 19:45:45 +08:00
|
|
|
|
.timea-time{
|
2024-07-22 11:17:19 +08:00
|
|
|
|
font-size: 25rpx;
|
2024-07-19 19:45:45 +08:00
|
|
|
|
color: #2dbe93;
|
|
|
|
|
line-height: 44rpx;
|
|
|
|
|
padding-right: 10rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
|
|
|
|
.list-right-top-view image{
|
2024-07-20 13:20:36 +08:00
|
|
|
|
//width: 168.75rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
height: 40.97rpx;
|
|
|
|
|
}
|
|
|
|
|
.list-right-top-view{
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
2024-07-04 14:16:43 +08:00
|
|
|
|
justify-content: space-between;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
|
|
|
|
.list-right-top{
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
.list-right{
|
2024-07-19 19:45:45 +08:00
|
|
|
|
width: 72%;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
2024-07-19 19:45:45 +08:00
|
|
|
|
padding: 16rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
|
|
|
|
.zpmore_view {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: -20rpx;
|
|
|
|
|
left: 14rpx;
|
|
|
|
|
color: #f9f3d3;
|
|
|
|
|
background: linear-gradient(to right, #0a0c16, #4d4d53);
|
|
|
|
|
width: 130upx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
border-radius: 30rpx;
|
|
|
|
|
height: 42rpx;
|
|
|
|
|
line-height: 42rpx;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
margin-left: 10rpx;
|
|
|
|
|
}
|
|
|
|
|
.zpmore_view_left{
|
|
|
|
|
width: 68.75rpx;
|
|
|
|
|
height: 29.86rpx;
|
|
|
|
|
}
|
2024-06-24 11:29:11 +08:00
|
|
|
|
.img-span{
|
|
|
|
|
padding: 1px 5px;
|
|
|
|
|
font-weight: 400;
|
2024-07-02 20:38:31 +08:00
|
|
|
|
font-size: 10px;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
background: linear-gradient(-90deg, #FF6F48, #FF9E69);
|
|
|
|
|
border-radius: 7px 0px 7px 0px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0px;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
right: 0;
|
2024-07-02 20:38:31 +08:00
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
margin-right: 10px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2024-06-24 11:29:11 +08:00
|
|
|
|
// .zpmore_view_left image{
|
|
|
|
|
// position: absolute;
|
|
|
|
|
// bottom: 0px;
|
|
|
|
|
// right: 0px;
|
|
|
|
|
// margin: 0px 5px -16px 0px;
|
|
|
|
|
// width: 68.75rpx;
|
|
|
|
|
// height: 29.86rpx;
|
|
|
|
|
// }
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.touxiang{
|
|
|
|
|
width: 202.08rpx;
|
|
|
|
|
height: 306.94rpx;
|
|
|
|
|
}
|
|
|
|
|
.touxiang-left-content{
|
2024-07-19 19:45:45 +08:00
|
|
|
|
width: 180rpx;
|
2024-07-10 15:13:01 +08:00
|
|
|
|
//width: 235.08rpx;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
height: auto;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
position: relative;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2024-08-08 16:31:10 +08:00
|
|
|
|
.touxiang-left-content-img-ditu{
|
|
|
|
|
width: 150rpx;
|
|
|
|
|
height: 150rpx;
|
|
|
|
|
border-radius:120rpx;
|
|
|
|
|
margin: 0px 10px 0px 12px;
|
|
|
|
|
}
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.touxiang-left-content-img{
|
2024-07-19 19:45:45 +08:00
|
|
|
|
width: 150rpx;
|
2025-02-11 14:46:10 +08:00
|
|
|
|
height: 180rpx;
|
|
|
|
|
border-radius:100rpx;
|
2024-07-19 19:45:45 +08:00
|
|
|
|
margin: 14rpx 22rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
|
|
|
|
.touxiang-left-view{
|
|
|
|
|
width: 100%;
|
2024-08-20 10:27:21 +08:00
|
|
|
|
height: 135px;
|
2024-06-26 14:25:42 +08:00
|
|
|
|
border-radius: 18rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
align-items: flex-start;
|
|
|
|
|
background: #fff;
|
2024-06-26 14:25:42 +08:00
|
|
|
|
margin-bottom: 12px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
padding-bottom: 10px;
|
2024-07-19 19:45:45 +08:00
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 10rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
|
|
|
|
.touxiang-left{
|
|
|
|
|
width: 100%;
|
|
|
|
|
/* padding: 10px; */
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
}
|
|
|
|
|
.list-view{
|
|
|
|
|
// margin-top: 52px;
|
2024-08-20 09:37:09 +08:00
|
|
|
|
padding: 0 20rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
height: 100%;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
/deep/.justify-between{
|
|
|
|
|
// width: 100px;
|
|
|
|
|
// height: 32px;
|
|
|
|
|
line-height: 32px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
.padding-top-sm{
|
|
|
|
|
width: 95%;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
/deep/.page-box{
|
|
|
|
|
background: none !important;
|
|
|
|
|
}
|
|
|
|
|
/deep/.u-action{
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
.content{
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
background-position: center center;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: cover;
|
2024-06-27 20:04:31 +08:00
|
|
|
|
// overflow: auto;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
|
|
|
|
/deep/.u-content{
|
2024-07-22 15:53:27 +08:00
|
|
|
|
height: 56rpx!important;
|
|
|
|
|
border-radius: 30px !important;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
|
|
|
|
.flex-sub{
|
2024-08-15 17:04:50 +08:00
|
|
|
|
width:220rpx !important;
|
2024-07-22 15:53:27 +08:00
|
|
|
|
height:60rpx !important;
|
2024-07-22 11:17:19 +08:00
|
|
|
|
border: 1px solid #e5e5e5;
|
2024-07-22 15:53:27 +08:00
|
|
|
|
border-radius: 30rpx;
|
2024-07-20 17:30:38 +08:00
|
|
|
|
color: #fff!important;
|
2024-07-19 19:45:45 +08:00
|
|
|
|
}
|
|
|
|
|
.map-list{
|
|
|
|
|
padding: 0 12rpx;
|
|
|
|
|
width: 110rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
align-items: center;
|
2024-07-19 19:45:45 +08:00
|
|
|
|
justify-content: space-between;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-07-19 19:45:45 +08:00
|
|
|
|
}
|
|
|
|
|
.map-img{
|
|
|
|
|
width: 40rpx;
|
|
|
|
|
height: 40rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.dingwei-img{
|
|
|
|
|
width:33.33rpx;
|
|
|
|
|
height:37.5rpx;
|
|
|
|
|
}
|
2024-06-05 19:16:02 +08:00
|
|
|
|
page {
|
|
|
|
|
background-color: #F7F7F7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.jishi_name {
|
|
|
|
|
max-width: 80rpx;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.zz_view {
|
|
|
|
|
color: #333333;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
padding: 6rpx 10rpx;
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.zpmore_view {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: -20rpx;
|
|
|
|
|
left: 14rpx;
|
|
|
|
|
color: #f9f3d3;
|
|
|
|
|
background: linear-gradient(to right, #0a0c16, #4d4d53);
|
|
|
|
|
width: 130upx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
border-radius: 30rpx;
|
|
|
|
|
height: 42rpx;
|
|
|
|
|
line-height: 42rpx;
|
2024-08-20 09:37:09 +08:00
|
|
|
|
font-size: 22rpx;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
margin-left: 10rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.byy_view {
|
|
|
|
|
background: #ebebeb;
|
|
|
|
|
width: 100upx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
border-radius: 50rpx;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
line-height: 40rpx;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #000000;
|
|
|
|
|
// border: 3upx solid #999999;
|
|
|
|
|
margin-top: 6rpx;
|
|
|
|
|
margin-left: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.kfw_view {
|
|
|
|
|
background: #ffaa00;
|
|
|
|
|
width: 100upx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
border-radius: 50rpx;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
line-height: 40rpx;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
margin-top: 6rpx;
|
|
|
|
|
margin-left: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.kyy_view {
|
|
|
|
|
background: #096f4b;
|
|
|
|
|
width: 100upx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
border-radius: 50rpx;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
line-height: 40rpx;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
margin-top: 6rpx;
|
|
|
|
|
margin-left: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bg {
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ytp_view {
|
|
|
|
|
background: #e3e3e3;
|
|
|
|
|
width: 400rpx;
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
color: #848484;
|
|
|
|
|
margin-top: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tp_view {
|
|
|
|
|
background: #ee6c54;
|
|
|
|
|
width: 400rpx;
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
margin-top: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sticky-tabs {
|
|
|
|
|
z-index: 990;
|
|
|
|
|
position: sticky;
|
|
|
|
|
top: var(--window-top);
|
|
|
|
|
// background-color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* // 使用mescroll-uni,则top为0 */
|
|
|
|
|
.mescroll-uni,
|
|
|
|
|
/deep/.mescroll-uni {
|
|
|
|
|
.sticky-tabs {
|
|
|
|
|
top: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.demo-tip {
|
|
|
|
|
padding: 18upx;
|
|
|
|
|
font-size: 24upx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.line_s {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
width: 10rpx;
|
|
|
|
|
height: 10rpx;
|
|
|
|
|
background: #1AD566;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
margin-right: 10rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.line_x {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
width: 10rpx;
|
|
|
|
|
height: 10rpx;
|
|
|
|
|
background: #000000;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
margin-right: 10rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.box {
|
|
|
|
|
// border: 3rpx solid #005dff;
|
|
|
|
|
background: #E8FAE1;
|
|
|
|
|
color: #096f4b;
|
|
|
|
|
padding: 5rpx 15rpx;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
letter-spacing: 2rpx;
|
|
|
|
|
border-radius: 8rpx;
|
|
|
|
|
// margin-top: 10rpx;
|
|
|
|
|
margin-right: 8upx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.actve {
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
font-family: PingFang SC;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
color: #20C675;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tabview1 {
|
|
|
|
|
// width: 686upx;
|
|
|
|
|
// height: 100upx;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
// z-index: 99;
|
|
|
|
|
// display: flex;
|
|
|
|
|
// line-height: 100upx;
|
|
|
|
|
|
|
|
|
|
.tabview {
|
|
|
|
|
// width: 686upx;
|
|
|
|
|
// // height: 100upx;
|
|
|
|
|
border-radius: 24rpx 24rpx 0 0;
|
|
|
|
|
// margin-top: -50upx;
|
|
|
|
|
// z-index: 99;
|
|
|
|
|
display: flex;
|
|
|
|
|
line-height: 100upx;
|
|
|
|
|
|
|
|
|
|
.tabItem_sel {
|
|
|
|
|
font-size: 32upx;
|
|
|
|
|
font-family: PingFang SC;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
background: linear-gradient(to right, #223845, #00a85b);
|
|
|
|
|
flex: 1;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tabItem {
|
|
|
|
|
font-size: 32upx;
|
|
|
|
|
font-family: PingFang SC;
|
|
|
|
|
color: #333333;
|
|
|
|
|
flex: 1;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tabsx {
|
|
|
|
|
width: 686upx;
|
|
|
|
|
border-radius: 24rpx;
|
|
|
|
|
padding-bottom: 10rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 20rpx 30rpx;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
|
|
|
|
|
.active {
|
|
|
|
|
color: #20C675;
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.aa {
|
|
|
|
|
background: linear-gradient(to right, #223845, #00a85b);
|
|
|
|
|
width: 46px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
height: 24px;
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
margin-left: 4px;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
box-shadow: 0 0 3px #dddddd;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bb {
|
|
|
|
|
width: 46px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
height: 24px;
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
margin-left: 4px;
|
|
|
|
|
color: #666666;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background-color: #f7f7f7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//地图标点样式
|
|
|
|
|
/deep/.custom-content-marker {
|
|
|
|
|
width: 70px;
|
|
|
|
|
height: 70px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.marker_border {
|
|
|
|
|
//border: black solid;
|
2024-06-15 20:59:02 +08:00
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
padding: 5px;
|
|
|
|
|
background: white;
|
|
|
|
|
box-shadow: 0px 5px 10px #888888;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.marker_foot {
|
|
|
|
|
// height: 50px;
|
|
|
|
|
// width: 50px;
|
|
|
|
|
// background: black;
|
|
|
|
|
// transform: rotate(45deg);
|
|
|
|
|
// position: absolute;
|
|
|
|
|
// top: 50px;
|
|
|
|
|
// overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/deep/.custom-content-marker img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|
2024-07-02 22:22:56 +08:00
|
|
|
|
.make-now{
|
|
|
|
|
background: linear-gradient(90deg, rgb(1, 156, 136), rgb(15, 167, 139), rgb(53, 196, 149));
|
|
|
|
|
color: rgb(255, 255, 255);
|
2024-07-12 15:19:57 +08:00
|
|
|
|
// width: 200rpx;
|
2024-07-02 22:22:56 +08:00
|
|
|
|
border-radius: 15px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
}
|
|
|
|
|
.make-now1{
|
|
|
|
|
background: #d9d9d9;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
width: 100%;
|
|
|
|
|
border-radius: 30upx;
|
|
|
|
|
height: 60upx;
|
|
|
|
|
line-height: 60upx;
|
|
|
|
|
margin-top: 10rpx;
|
|
|
|
|
}
|
2024-07-04 16:45:54 +08:00
|
|
|
|
.jieshao{
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #999999;
|
|
|
|
|
margin: 5px 0px;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
|
///overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
.thera-lin{
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
.thera-bottom{
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-end;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
.therap-pin{
|
2024-07-22 15:53:27 +08:00
|
|
|
|
font-size: 26rpx;
|
2024-07-04 16:45:54 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-end;
|
|
|
|
|
margin-right: 10rpx;
|
|
|
|
|
}
|
|
|
|
|
.therap-pin span:nth-child(2){
|
|
|
|
|
color: #019c88;
|
|
|
|
|
}
|
|
|
|
|
.therap-pin span:nth-child(1){
|
|
|
|
|
color: #666;
|
|
|
|
|
margin-right: 10rpx;
|
|
|
|
|
}
|
2024-08-15 13:50:11 +08:00
|
|
|
|
.label-word{
|
|
|
|
|
background: #f9f1e7;
|
|
|
|
|
color: #9b7a6e;
|
|
|
|
|
border-radius: 30rpx;
|
|
|
|
|
padding:0rpx 14rpx;
|
|
|
|
|
line-height:40rpx;
|
|
|
|
|
border: 1px solid #9b7a6e;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
margin-left: 10rpx;
|
|
|
|
|
}
|
2024-08-15 17:04:50 +08:00
|
|
|
|
.screen-button{
|
|
|
|
|
// border: 1px solid #019c88;
|
|
|
|
|
color: #019c88;
|
|
|
|
|
padding:5rpx 10rpx;
|
|
|
|
|
margin:0 18rpx;
|
|
|
|
|
border-radius:6rpx;
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
</style>
|