技师列表进入初始查询条件

This commit is contained in:
曹磊 2024-08-16 17:06:40 +08:00
parent 251fd75cb0
commit 45fabca996
2 changed files with 104 additions and 102 deletions

View File

@ -20,7 +20,7 @@
</view> </view>
<!-- <view class="index-top-left font-size-34">盛安到家</view> --> <!-- <view class="index-top-left font-size-34">盛安到家</view> -->
<view class="index-top-mian"> <view class="index-top-mian">
<!-- <view class="index-top-mian-text"> <!-- <view class="index-top-mian-text">
<image style="margin-top: 1px;" src="../../static/index-nav-1.png" mode=""></image> <image style="margin-top: 1px;" src="../../static/index-nav-1.png" mode=""></image>
<span>实名认证</span> <span>实名认证</span>
@ -34,7 +34,7 @@
<span>平台担保</span> <span>平台担保</span>
</view>--> </view>-->
</view> </view>
<view class="index-headset"> <view class="index-headset">
<!--<image style="width: 26rpx; height: 26rpx;" src="../../static/index-nav-4.png" @click="goChat()" mode="widthFix"></image> <!--<image style="width: 26rpx; height: 26rpx;" src="../../static/index-nav-4.png" @click="goChat()" mode="widthFix"></image>
<image src="../../static/index-nav-5.png" mode="widthFix"></image> --> <image src="../../static/index-nav-5.png" mode="widthFix"></image> -->
@ -42,10 +42,10 @@
<image class="index-yanzheng" src="../../static/images/index/renzheng02.png" mode=""></image> <image class="index-yanzheng" src="../../static/images/index/renzheng02.png" mode=""></image>
<image class="index-yanzheng" src="../../static/images/index/renzheng03.png" mode=""></image> <image class="index-yanzheng" src="../../static/images/index/renzheng03.png" mode=""></image>
</view> </view>
</view> </view>
<view class="flex align-center index-mian"> <view class="flex align-center index-mian">
<uni-search-bar placeholder="请输入项目名称" @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue" @input="input" <uni-search-bar placeholder="请输入项目名称" @service="serviceTrue" @confirm="search" :cancelext="'取消'" v-model="searchValue" @input="input"
@clear="clear"> @clear="clear">
</uni-search-bar> </uni-search-bar>
@ -100,7 +100,7 @@
<image src="../../static/index-fenglei14.png" mode="widthFix"></image> <image src="../../static/index-fenglei14.png" mode="widthFix"></image>
<span class="feng_word">正骨拨筋</span> <span class="feng_word">正骨拨筋</span>
</view> </view>
<view class="index-project-content" @click="goNav('/pages/my/indextaociliaoList?type='+104+'&name='+'index')"> <view class="index-project-content" @click="goNav('/pages/my/indextaociliaoList?type='+104+'&name='+'index')">
<image src="../../static/index-fenglei1.png" mode="widthFix"></image> <image src="../../static/index-fenglei1.png" mode="widthFix"></image>
<span class="feng_word">盛安套餐</span> <span class="feng_word">盛安套餐</span>
@ -155,7 +155,7 @@
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<view class="index-taocan width"> <view class="index-taocan width">
<view class="index-taocan-view"> <view class="index-taocan-view">
@ -175,8 +175,8 @@
<view class="index-card-view-title-right" > <view class="index-card-view-title-right" >
<text v-if="item.tagsData!=''">{{item.tagsData[0]}}</text> <text v-if="item.tagsData!=''">{{item.tagsData[0]}}</text>
<text v-else>助眠解压</text> <text v-else>助眠解压</text>
</view> </view>
<!-- <view class="index-card-view-title-right" >助眠解压</view> --> <!-- <view class="index-card-view-title-right" >助眠解压</view> -->
</view> </view>
<view class="index-card-mian"> <view class="index-card-mian">
<view class="index-card-mian-title marginTop">{{item.title}}</view> <view class="index-card-mian-title marginTop">{{item.title}}</view>
@ -218,7 +218,7 @@
</view> </view>
</view> </view>
</scroll-view> </scroll-view>
<!-- 内容 --> <!-- 内容 -->
<scroll-view class="swiper-box-list" scroll-y="true" :scroll-into-view="scrollIntoView"> <scroll-view class="swiper-box-list" scroll-y="true" :scroll-into-view="scrollIntoView">
<view class="swiper-topic-list" v-for="(item,index) in swiperDateLists" :key="index"> <view class="swiper-topic-list" v-for="(item,index) in swiperDateLists" :key="index">
@ -262,7 +262,7 @@
</view> </view>
<view class="guanbi" @click="guanbi"> <view class="guanbi" @click="guanbi">
<image src="@/static/closeimg.png"></image> <image src="@/static/closeimg.png"></image>
</view> </view>
</view> </view>
</uni-popup> </uni-popup>
<view> <view>
@ -306,7 +306,7 @@
<script> <script>
import commonConfig from 'common/config.js'; import commonConfig from 'common/config.js';
import * as webMap from 'utils/webMap.js'; import * as webMap from 'utils/webMap.js';
// import permision from "@/components/permission.js"; // import permision from "@/components/permission.js";
// //
@ -333,7 +333,7 @@
amap: null, amap: null,
latitude: '43.86487', latitude: '43.86487',
longitude: '', longitude: '',
city: '请选择城市', city: '请选择地址',
XCXIsSelect: '否', XCXIsSelect: '否',
currentTabFl: 1, currentTabFl: 1,
tjData:[], tjData:[],
@ -391,7 +391,7 @@
content: '中医推拿', content: '中医推拿',
name:'李安茹', name:'李安茹',
}, },
], ],
typeList:[], typeList:[],
searchValue: '', searchValue: '',
@ -442,7 +442,7 @@
this.$queue.setData('inviterCode', scene.split(',')[0]); this.$queue.setData('inviterCode', scene.split(',')[0]);
} }
// #endif // #endif
that.$Request.getT('/app/common/type/250').then(res => { // that.$Request.getT('/app/common/type/250').then(res => { //
if (res.code == 0) { if (res.code == 0) {
if (res.data && res.data.value) { if (res.data && res.data.value) {
@ -450,7 +450,7 @@
} }
} }
}) })
that.$Request.getT('/app/common/type/248').then(res => { // that.$Request.getT('/app/common/type/248').then(res => { //
if (res.code == 0) { if (res.code == 0) {
if (res.data && res.data.value) { if (res.data && res.data.value) {
@ -497,7 +497,7 @@
} }
}) })
} }
that.getVideo() that.getVideo()
}, },
onShow() { onShow() {
@ -642,7 +642,7 @@
if (res.code == 0) { if (res.code == 0) {
that.swiperDateLists = res.data.list||{} that.swiperDateLists = res.data.list||{}
// this.dataList=res.data.records // this.dataList=res.data.records
} else { } else {
uni.showToast({ uni.showToast({
title: res.msg, title: res.msg,
@ -657,7 +657,7 @@
url:'/pages/index/searchAddress?text='+'index' url:'/pages/index/searchAddress?text='+'index'
}) })
}, },
searchBtn(){// searchBtn(){//
uni.navigateTo({ uni.navigateTo({
url:'/pages/my/fuwuGengduo?searchValue='+this.searchValue url:'/pages/my/fuwuGengduo?searchValue='+this.searchValue
@ -704,7 +704,7 @@
}); });
}, },
goChat() { goChat() {
let kefu = this.$queue.getData('kefu'); // 1 2 let kefu = this.$queue.getData('kefu'); // 1 2
let kefuPhone = this.$queue.getData('kefuPhone'); let kefuPhone = this.$queue.getData('kefuPhone');
if (kefu == 1) { if (kefu == 1) {
uni.makePhoneCall({ uni.makePhoneCall({
@ -762,14 +762,14 @@
const radLon2 = lon2 * (Math.PI / 180); const radLon2 = lon2 * (Math.PI / 180);
const a = radLat1 - radLat2; const a = radLat1 - radLat2;
const b = radLon1 - radLon2; const b = radLon1 - radLon2;
// 使 // 使
const Haversine = Math.pow(Math.sin(a / 2), 2) + Math.cos(radLat1) * Math.cos(radLat2) * Math.pow(Math.sin(b / 2), 2); const Haversine = Math.pow(Math.sin(a / 2), 2) + Math.cos(radLat1) * Math.cos(radLat2) * Math.pow(Math.sin(b / 2), 2);
const distance = 2 * 6371 * Math.atan2(Math.sqrt(Haversine), Math.sqrt(1 - Haversine)); const distance = 2 * 6371 * Math.atan2(Math.sqrt(Haversine), Math.sqrt(1 - Haversine));
// //
return distance; return distance;
}, },
// //
openMsg() { openMsg() {
@ -782,7 +782,7 @@
// if (ret.subscriptionsSetting.itemSettings && Object.keys(ret.subscriptionsSetting.itemSettings).length == 2) { // if (ret.subscriptionsSetting.itemSettings && Object.keys(ret.subscriptionsSetting.itemSettings).length == 2) {
if (ret.subscriptionsSetting.itemSettings) { if (ret.subscriptionsSetting.itemSettings) {
uni.setStorageSync('sendMsg', true) uni.setStorageSync('sendMsg', true)
uni.openSetting({ // uni.openSetting({ //
success(rea) { success(rea) {
console.log(rea.authSetting) console.log(rea.authSetting)
} }
@ -810,7 +810,7 @@
} }
}) })
// uni.setStorageSync('sendMsg', true) // uni.setStorageSync('sendMsg', true)
that.showModal = false that.showModal = false
} else if (res.cancel) { } else if (res.cancel) {
console.log('取消') console.log('取消')
@ -841,7 +841,7 @@
} }
}); });
}, },
chaoji(){// chaoji(){//
uni.navigateTo({ uni.navigateTo({
url:'/my/wallet/index' url:'/my/wallet/index'
@ -851,7 +851,7 @@
uni.navigateTo({ uni.navigateTo({
url:'/my/hongbao/xinrenhongbao' url:'/my/hongbao/xinrenhongbao'
}) })
}, },
goNavs(e){ goNavs(e){
uni.switchTab({ uni.switchTab({
@ -868,10 +868,10 @@
title:'敬请期待!' title:'敬请期待!'
}) })
} }
}, },
// chooseItem(item){ // chooseItem(item){
// }, // },
chooseItem(e) {//item chooseItem(e) {//item
console.log('授权', uni.getStorageSync('sendMsg')) console.log('授权', uni.getStorageSync('sendMsg'))
@ -901,7 +901,7 @@
url: '/pages/public/login' url: '/pages/public/login'
}); });
} }
}, },
goOrder(e) { goOrder(e) {
console.log('授权', uni.getStorageSync('sendMsg')) console.log('授权', uni.getStorageSync('sendMsg'))
@ -930,14 +930,14 @@
url: '/pages/public/login' url: '/pages/public/login'
}); });
} }
}, },
gengduo(){ gengduo(){
uni.reLaunch({ uni.reLaunch({
url:'/pages/therapist/therapist' url:'/pages/therapist/therapist'
}) })
}, },
getCity(e) { getCity(e) {
// this.city = e[0].label; // this.city = e[0].label;
// uni.setStorageSync('city', this.city) // uni.setStorageSync('city', this.city)
@ -962,7 +962,7 @@
data.value = index data.value = index
this.cityList.push(data); this.cityList.push(data);
}); });
if (!isOpen) { if (!isOpen) {
this.orderList = [] this.orderList = []
// this.showTP = true; // this.showTP = true;
@ -1036,9 +1036,9 @@
// const targetLongitude =''; // // const targetLongitude =''; //
for(var i=0;i<this.nearbyTechnician.length;i++){ for(var i=0;i<this.nearbyTechnician.length;i++){
const distance = this.calculateDistance( const distance = this.calculateDistance(
this.latitude, this.latitude,
this.longitude, this.longitude,
this.nearbyTechnician[i].latitude, this.nearbyTechnician[i].latitude,
this.nearbyTechnician[i].longitude this.nearbyTechnician[i].longitude
); );
this.nearbyTechnician[i].dingwei= distance.toFixed(1) this.nearbyTechnician[i].dingwei= distance.toFixed(1)
@ -1065,9 +1065,9 @@
this.starTechnician = res.startData.list; this.starTechnician = res.startData.list;
// for(var i=0;i<this.starTechnician.length;i++){ // for(var i=0;i<this.starTechnician.length;i++){
// const distance = this.calculateDistance( // const distance = this.calculateDistance(
// this.latitude, // this.latitude,
// this.longitude, // this.longitude,
// this.starTechnician[i].latitude, // this.starTechnician[i].latitude,
// this.starTechnician[i].longitude // this.starTechnician[i].longitude
// ); // );
// this.starTechnician[i].dingwei= distance.toFixed(1) // this.starTechnician[i].dingwei= distance.toFixed(1)
@ -1080,7 +1080,7 @@
}, },
// //
getBannerList() { getBannerList() {
this.$Request.get("/app/dict/list", { this.$Request.get("/app/dict/list", {
type: '服务类型' type: '服务类型'
}).then(res => { }).then(res => {
@ -1153,8 +1153,8 @@
} }
}); });
}, },
} }
} }
</script> </script>
@ -1220,10 +1220,10 @@
height: 100%; height: 100%;
} }
.data-list{ .data-list{
width:100%; width:100%;
height: 162px; height: 162px;
background-color: #000000; background-color: #000000;
} }
.videoHovers{ .videoHovers{
width: 76px; width: 76px;
@ -1266,7 +1266,7 @@
.localName{ .localName{
width: 100px; width: 100px;
margin-left: 4rpx; margin-left: 4rpx;
font-weight: bold; font-weight: bold;
color: #333333; color: #333333;
margin-top: 3rpx; margin-top: 3rpx;
overflow: hidden; /* 确保超出容器的内容被裁剪 */ overflow: hidden; /* 确保超出容器的内容被裁剪 */
@ -1291,9 +1291,9 @@
color: #019c88 !important; color: #019c88 !important;
font-size: 30rpx !important; font-size: 30rpx !important;
margin-top: 3rpx; margin-top: 3rpx;
} }
/deep/.uni-select__selector-scroll{ /deep/.uni-select__selector-scroll{
height: 100px; height: 100px;
} }
@ -1353,7 +1353,7 @@
height: 60rpx; height: 60rpx;
background: #18A689; background: #18A689;
border-radius: 31rpx; border-radius: 31rpx;
} }
/deep/.uni-searchbar__box{ /deep/.uni-searchbar__box{
height: 32px; height: 32px;
@ -1375,14 +1375,14 @@
.index-headset{ .index-headset{
margin-right: 30rpx; margin-right: 30rpx;
display: flex; display: flex;
align-items: center; align-items: center;
margin-top: 4rpx; margin-top: 4rpx;
} }
.locate-line{ .locate-line{
/*padding-left: 25rpx;*/ /*padding-left: 25rpx;*/
margin-top: 3rpx; margin-top: 3rpx;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.popup-mian-view{ .popup-mian-view{
width: 100%; width: 100%;
@ -1397,7 +1397,7 @@
.popup-mian-btn span:nth-child(2){ .popup-mian-btn span:nth-child(2){
background: linear-gradient(90deg, #019C88, #28BA92, #35C495); background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
} }
.popup-mian-btn span{ .popup-mian-btn span{
width: 247rpx; width: 247rpx;
height: 77rpx; height: 77rpx;
@ -1464,7 +1464,7 @@
text-align: right; text-align: right;
margin-top:15rpx; margin-top:15rpx;
margin-right: 15rpx; margin-right: 15rpx;
} }
.popup-close-img{ .popup-close-img{
width: 50rpx; width: 50rpx;
@ -1515,14 +1515,14 @@
} }
.dingwei-img{ .dingwei-img{
width:26rpx; width:26rpx;
height:29rpx; height:29rpx;
} }
.menu-topic-act .menu-topic-bottom-color { .menu-topic-act .menu-topic-bottom-color {
background: linear-gradient(90deg,rgba(234, 248, 245,0.7),rgba(132, 211, 196,0.7)); background: linear-gradient(90deg,rgba(234, 248, 245,0.7),rgba(132, 211, 196,0.7));
} }
/* 字体 */ /* 字体 */
.font-size-19{ .font-size-19{
font-size: 19rpx; font-size: 19rpx;
@ -1571,7 +1571,7 @@
width: 346rpx; width: 346rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-top: 12rpx; margin-top: 12rpx;
} }
.swiper-back-img{ .swiper-back-img{
width: 100%; width: 100%;
@ -1587,13 +1587,13 @@
width: 91.67rpx; width: 91.67rpx;
height: 93.06rpx; height: 93.06rpx;
} }
.body-view { .body-view {
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
padding-bottom: 100px; padding-bottom: 100px;
} }
.top-menu-view { .top-menu-view {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -1604,7 +1604,7 @@
height: 108rpx; height: 108rpx;
line-height: 108rpx; line-height: 108rpx;
margin-top: 10rpx; margin-top: 10rpx;
} }
.menu-topic-text { .menu-topic-text {
font-size: 30rpx; font-size: 30rpx;
@ -1617,7 +1617,7 @@
bottom: 0; bottom: 0;
width: 100%; width: 100%;
} }
.menu-topic-view { .menu-topic-view {
display: inline-block; display: inline-block;
white-space: nowrap; white-space: nowrap;
@ -1642,7 +1642,7 @@
/deep/.menu-topic-act{ /deep/.menu-topic-act{
position: relative; position: relative;
} }
.swiper-box-list { .swiper-box-list {
width: 95%; width: 95%;
margin: 5px auto; margin: 5px auto;
@ -1661,8 +1661,8 @@
/deep/.uni-scroll-view::-webkit-scrollbar { /deep/.uni-scroll-view::-webkit-scrollbar {
display: none display: none
} }
.index-card-mian-biao-left,.index-card-mian-biao-right{ .index-card-mian-biao-left,.index-card-mian-biao-right{
padding: 3px 5px; padding: 3px 5px;
} }
@ -1693,7 +1693,7 @@
} }
.index-card-mian-title{ .index-card-mian-title{
font-size: 28rpx; font-size: 28rpx;
color: #333333; color: #333333;
} }
.marginTop{ .marginTop{
margin-bottom: 5px; margin-bottom: 5px;
@ -1731,7 +1731,7 @@
border-top-left-radius: 30px; border-top-left-radius: 30px;
background-color: rgba(176, 176, 176, 0.48); background-color: rgba(176, 176, 176, 0.48);
} }
.index-card-mian-time,.index-card-mian-money{ .index-card-mian-time,.index-card-mian-money{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -1787,7 +1787,7 @@
height: 32rpx; height: 32rpx;
background: #CCCCCC; background: #CCCCCC;
} }
.index-taocan-view-nav-text{ .index-taocan-view-nav-text{
font-weight: bold; font-weight: bold;
font-size: 30rpx; font-size: 30rpx;
@ -1810,7 +1810,7 @@
color: #999999; color: #999999;
} }
.feng_word{ .feng_word{
font-size: 25rpx; font-size: 25rpx;
} }
.index-taocan-view{ .index-taocan-view{
width: 100%; width: 100%;
@ -1834,8 +1834,8 @@
color: #999999; color: #999999;
text-align: center; text-align: center;
display: table; display: table;
width: 100px; width: 100px;
white-space: pre-wrap; white-space: pre-wrap;
display: -webkit-box; display: -webkit-box;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
@ -1916,7 +1916,7 @@
height: 22.61rpx; height: 22.61rpx;
margin-right: 5px; margin-right: 5px;
} }
.index-fujin-title-left image{ .index-fujin-title-left image{
width: 33.33rpx; width: 33.33rpx;
height: 33.33rpx; height: 33.33rpx;
@ -1950,7 +1950,7 @@
align-items: center; align-items: center;
margin-top: 10px; margin-top: 10px;
} }
.index-guanggao-pintuan{ .index-guanggao-pintuan{
width: 340.28rpx; width: 340.28rpx;
height: 100%; height: 100%;
@ -2096,7 +2096,7 @@
justify-content: space-between; justify-content: space-between;
margin: 0px auto 8px auto; margin: 0px auto 8px auto;
} }
.index-mian-select image{ .index-mian-select image{
width: 16px; width: 16px;
height: 8px; height: 8px;
@ -2149,7 +2149,7 @@
width: 30rpx; width: 30rpx;
height: 30rpx; height: 30rpx;
} }
.index-top{ .index-top{
width:94%; width:94%;
display: flex; display: flex;
@ -2159,7 +2159,7 @@
margin: 0 auto; margin: 0 auto;
} }
.index-head{ .index-head{
width: 100%; width: 100%;
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
flex-direction: column; flex-direction: column;

View File

@ -7,7 +7,7 @@
<image src="../../static/liliao-1.png" class="dingwei-img"></image> <image src="../../static/liliao-1.png" class="dingwei-img"></image>
<view class="localName" style="margin-right: 30rpx;">{{ cityname }}</view> <view class="localName" style="margin-right: 30rpx;">{{ cityname }}</view>
</view> </view>
<view class="flex align-center justify-between" style="margin-left: 8rpx;"> <view class="flex align-center justify-between" style="margin-left: 8rpx;">
<selectSwitchDitu :key="componentKey" @change="switch1Change" :switchList="switchList"/> <selectSwitchDitu :key="componentKey" @change="switch1Change" :switchList="switchList"/>
</view> </view>
@ -21,9 +21,9 @@
<span @click="toggle" class="screen-button">筛选</span> <span @click="toggle" class="screen-button">筛选</span>
<!-- <z-tabs class="z-tabs-fenlei" :list="tabList" @change="tabChange" @changeClick="changeClick"/> --> <!-- <z-tabs class="z-tabs-fenlei" :list="tabList" @change="tabChange" @changeClick="changeClick"/> -->
</view> </view>
</view> </view>
<view class="liebiao" v-show="current === 0"> <view class="liebiao" v-show="current === 0">
<view v-if="orderList.length" class="flex text-center flex-wrap list-view"> <view v-if="orderList.length" class="flex text-center flex-wrap list-view">
<view class="margin-bottom-sm radius touxiang-left"> <view class="margin-bottom-sm radius touxiang-left">
@ -52,7 +52,7 @@
<view class="timea-hui">休息中</view> <view class="timea-hui">休息中</view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
@ -61,14 +61,14 @@
</view> </view>
<view class="therapist-mian-top"> <view class="therapist-mian-top">
<view class="therap-pin"> <view class="therap-pin">
<span>评论</span> <span>评论</span>
<span class="therapist-mian-view-text"> <span class="therapist-mian-view-text">
{{ item.commentCount ? item.commentCount : 0 }} {{ item.commentCount ? item.commentCount : 0 }}
</span> </span>
</view> </view>
<view class="therap-pin"> <view class="therap-pin">
<span>收藏</span> <span>收藏</span>
<span class="therapist-mian-view-text"> <span class="therapist-mian-view-text">
{{ item.collectCount ? item.collectCount : 0 }} {{ item.collectCount ? item.collectCount : 0 }}
@ -86,7 +86,7 @@
<image class="therapist-bottom-img" src="../../static/dituzhaoren5.png"></image> <image class="therapist-bottom-img" src="../../static/dituzhaoren5.png"></image>
<view v-if="item.consortiaName" class="therapist-mian-bottom-text">{{item.consortiaName}}</view> <view v-if="item.consortiaName" class="therapist-mian-bottom-text">{{item.consortiaName}}</view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
@ -124,7 +124,7 @@
</view> </view>
<view class="margin-left flex flex-direction dituList"> <view class="margin-left flex flex-direction dituList">
<view class="flex align-center" style="justify-content: start;"> <view class="flex align-center" style="justify-content: start;">
<view class="flex align-center list-right-top"> <view class="flex align-center list-right-top">
<view class="list-right-top-view"> <view class="list-right-top-view">
<view class="list-right-top-name"> <view class="list-right-top-name">
@ -153,7 +153,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="item-view-jianjie"> <view class="item-view-jianjie">
{{getOrderByCurrentMarkerIndex().content}} {{getOrderByCurrentMarkerIndex().content}}
</view> </view>
@ -193,7 +193,7 @@
</image> </image>
<view class="therapist-mian-bottom-text">{{getOrderByCurrentMarkerIndex().consortiaName}}</view> <view class="therapist-mian-bottom-text">{{getOrderByCurrentMarkerIndex().consortiaName}}</view>
</view> </view>
</view> --> </view> -->
<view class="text-center make-now" v-if="getOrderByCurrentMarkerIndex().status == 1" @click.stop="goOrder(getOrderByCurrentMarkerIndex())"> <view class="text-center make-now" v-if="getOrderByCurrentMarkerIndex().status == 1" @click.stop="goOrder(getOrderByCurrentMarkerIndex())">
立即预约 立即预约
@ -202,8 +202,8 @@
style="background: #d9d9d9;color: #ffffff;width: 100%;border-radius: 30upx;height: 60upx;line-height: 60upx;margin-top: 10rpx;"> style="background: #d9d9d9;color: #ffffff;width: 100%;border-radius: 30upx;height: 60upx;line-height: 60upx;margin-top: 10rpx;">
立即预约 立即预约
</view> </view>
</view> </view>
</view> </view>
</view> </view>
@ -360,6 +360,8 @@
onLoad(e) { onLoad(e) {
let that = this let that = this
that.massageTypeId = e.massageTypeId; that.massageTypeId = e.massageTypeId;
that.classifyId = '';
that.technicianType = 3;
// that.getLocation();// // that.getLocation();//
// that.getLocation(true);// // that.getLocation(true);//
if(e){ if(e){
@ -479,7 +481,7 @@
}, },
onReady() { onReady() {
this.initMap(); this.initMap();
//this.initMapPointThread(); //this.initMapPointThread();
}, },
onUnload() { onUnload() {
@ -557,7 +559,7 @@
} else { } else {
res.data.list[i].distance = (res.data.list[i].distance).toFixed(1) + 'm' res.data.list[i].distance = (res.data.list[i].distance).toFixed(1) + 'm'
} }
} }
if (that.page == 1) { if (that.page == 1) {
that.orderList = res.data.list that.orderList = res.data.list
@ -579,7 +581,7 @@
that.creatMarker(rmap); that.creatMarker(rmap);
} }
} }
} }
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
}) })
@ -852,7 +854,7 @@
success(ret) { success(ret) {
if (ret.subscriptionsSetting.itemSettings) { if (ret.subscriptionsSetting.itemSettings) {
uni.setStorageSync('sendMsg', true) uni.setStorageSync('sendMsg', true)
uni.openSetting({ // uni.openSetting({ //
success(rea) { success(rea) {
console.log(rea.authSetting) console.log(rea.authSetting)
} }
@ -907,7 +909,7 @@
this.page = 1; this.page = 1;
this.getlist() this.getlist()
}, },
// //
tabChange() { tabChange() {
if (uni.getStorageSync('sendMsg')) { if (uni.getStorageSync('sendMsg')) {
@ -1003,7 +1005,7 @@
url: '/pages/index/search/index?index=' + index url: '/pages/index/search/index?index=' + index
}); });
}, },
// //
getLocation(isHighAccuracy = false) { getLocation(isHighAccuracy = false) {
console.log('获取地理位置,精度:', isHighAccuracy); console.log('获取地理位置,精度:', isHighAccuracy);
@ -1064,8 +1066,8 @@
that.latitude = location[1] that.latitude = location[1]
console.log("locationlocationlocationlocation>",location) console.log("locationlocationlocationlocation>",location)
uni.amap.setCenter([location[0],location[1]]) uni.amap.setCenter([location[0],location[1]])
} }
} }
}, },
@ -1316,7 +1318,7 @@
/* #endif */ /* #endif */
border-radius: 30rpx; border-radius: 30rpx;
} }
.pay_btn { .pay_btn {
width: 90%; width: 90%;
margin: 0 auto; margin: 0 auto;
@ -1638,7 +1640,7 @@
height: auto; height: auto;
border-radius: 10rpx; border-radius: 10rpx;
position: relative; position: relative;
} }
.touxiang-left-content-img-ditu{ .touxiang-left-content-img-ditu{
width: 150rpx; width: 150rpx;
@ -1676,7 +1678,7 @@
height: 100%; height: 100%;
justify-content: space-between; justify-content: space-between;
} }
/deep/.justify-between{ /deep/.justify-between{
// width: 100px; // width: 100px;
// height: 32px; // height: 32px;
@ -1721,15 +1723,15 @@
width: 110rpx; width: 110rpx;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.map-img{ .map-img{
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
} }
.dingwei-img{ .dingwei-img{
width:33.33rpx; width:33.33rpx;
height:37.5rpx; height:37.5rpx;
@ -2070,4 +2072,4 @@
margin:0 18rpx; margin:0 18rpx;
border-radius:6rpx; border-radius:6rpx;
} }
</style> </style>