2024-06-05 19:16:02 +08:00
|
|
|
|
<template>
|
2024-06-25 21:25:46 +08:00
|
|
|
|
<view class="content content_bj">
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="index-head">
|
2024-07-16 11:17:34 +08:00
|
|
|
|
<!-- <view class="index-top">
|
2024-07-15 16:28:28 +08:00
|
|
|
|
<view v-if="XCXIsSelect != '否'" class="flex locate-line"
|
2024-07-15 18:31:03 +08:00
|
|
|
|
@tap="goCity">
|
2024-07-15 16:28:28 +08:00
|
|
|
|
<view class="localName">{{ city }}</view>
|
|
|
|
|
<image src="../../static/liliao-1.png" class="dingwei-img"></image>
|
|
|
|
|
</view>
|
2024-07-16 11:17:34 +08:00
|
|
|
|
</view> -->
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view class="index-line">
|
2024-07-22 19:25:43 +08:00
|
|
|
|
<view class="flex">
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view>
|
|
|
|
|
<image class="salogo" src="../../static/salogo.gif"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="XCXIsSelect != '否'" class="flex locate-line" @tap="goCity">
|
2024-07-22 19:25:43 +08:00
|
|
|
|
<!--<image src="../../static/liliao-1.png" class="dingwei-img"></image>-->
|
2025-02-08 16:35:24 +08:00
|
|
|
|
<view class="localName">{{ city }}
|
|
|
|
|
<view class="view-more"></view>
|
2025-02-11 14:16:34 +08:00
|
|
|
|
</view>
|
2024-07-22 19:25:43 +08:00
|
|
|
|
</view>
|
2024-07-16 11:17:34 +08:00
|
|
|
|
</view>
|
|
|
|
|
<!-- <view class="index-top-left font-size-34">盛安到家</view> -->
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="index-top-mian">
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-07-19 09:42:34 +08:00
|
|
|
|
<!-- <view class="index-top-mian-text">
|
2024-06-28 15:30:12 +08:00
|
|
|
|
<image style="margin-top: 1px;" src="../../static/index-nav-1.png" mode=""></image>
|
2024-06-26 14:45:44 +08:00
|
|
|
|
<span>实名认证</span>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
2024-06-28 15:30:12 +08:00
|
|
|
|
<view class="index-top-mian-text">
|
2024-06-26 14:45:44 +08:00
|
|
|
|
<image src="../../static/index-nav-2.png" mode=""></image>
|
|
|
|
|
<span>资质认证</span>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="index-top-mian-text">
|
2024-06-28 15:30:12 +08:00
|
|
|
|
<image src="../../static/index-nav-3.png" mode="" style="width: 14px; height: 14px;"></image>
|
2024-06-26 14:45:44 +08:00
|
|
|
|
<span>平台担保</span>
|
2024-07-19 09:42:34 +08:00
|
|
|
|
</view>-->
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2025-02-12 08:53:34 +08:00
|
|
|
|
<view class="index-headset smrz">
|
2024-07-19 09:42:34 +08:00
|
|
|
|
<!--<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> -->
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<image class="index-yanzheng" src="../../static/images/index/renzheng01.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>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
2024-07-15 16:28:28 +08:00
|
|
|
|
<view class="flex align-center index-mian">
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<uni-search-bar placeholder="请输入项目名称" @service="serviceTrue" @confirm="search" :cancelext="'取消'"
|
|
|
|
|
v-model="searchValue" @input="input" @clear="clear">
|
2024-07-15 16:30:27 +08:00
|
|
|
|
</uni-search-bar>
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view class="search-btn" @click="searchBtn">
|
2024-07-15 16:30:27 +08:00
|
|
|
|
搜索
|
2024-07-12 13:51:45 +08:00
|
|
|
|
</view>
|
2024-07-15 16:33:08 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="index-nav-bottom width">
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<image src="../../static/index-nav-8.png" mode="widthFix" @click="goNav('/pages/cooperate/index')">
|
|
|
|
|
</image>
|
2024-06-24 11:29:11 +08:00
|
|
|
|
<image src="../../static/index-nav-7.png" mode="widthFix" @click="xinren"></image>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="title-star">
|
|
|
|
|
<view class="star-technician-top">
|
|
|
|
|
<view class="star-technician-top-text">
|
|
|
|
|
<span class="star-technician-name">明星技师</span>
|
|
|
|
|
<span class="star-technician-name-bot">Star technician</span>
|
|
|
|
|
</view>
|
2024-06-15 20:59:02 +08:00
|
|
|
|
<view class="star-technician-top-text" @click="gengduo">
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<span class="star-technician-gengguo">查看更多></span>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="star-technician width">
|
|
|
|
|
<view class="star-technician-mian">
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<liu-goods-swiper :goodsList="starTechnician" :imgWidth="165" :imgHeight="120" @clickItem="chooseItem"
|
|
|
|
|
@cancellable='false'></liu-goods-swiper>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="index-project width">
|
2024-08-05 15:13:25 +08:00
|
|
|
|
<view class="index-project-content" @click="goNav('/pages/my/txszList?classifyId='+'95')">
|
2024-08-05 17:32:31 +08:00
|
|
|
|
<image src="../../static/index-fenglei16.png" mode="widthFix"></image>
|
2024-08-05 15:13:25 +08:00
|
|
|
|
<span class="feng_word">中医推拿</span>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
2024-08-05 15:13:25 +08:00
|
|
|
|
<view class="index-project-content" @click="goNav('/pages/my/txszList?classifyId='+'101')">
|
2024-08-05 17:32:31 +08:00
|
|
|
|
<image src="../../static/index-fenglei17.png" mode="widthFix"></image>
|
2024-08-05 15:13:25 +08:00
|
|
|
|
<span class="feng_word">小儿推拿</span>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
2024-08-05 15:13:25 +08:00
|
|
|
|
<view class="index-project-content" @click="goNav('/pages/my/txszList?classifyId='+'102')">
|
2024-08-05 17:32:31 +08:00
|
|
|
|
<image src="../../static/index-fenglei18.png" mode="widthFix"></image>
|
2024-08-05 15:13:25 +08:00
|
|
|
|
<span class="feng_word">产后康复</span>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
2024-08-05 15:13:25 +08:00
|
|
|
|
<!-- <view class="index-project-content" @click="goNav('/pages/cooperate/index')">
|
|
|
|
|
<image src="../../static/index-fenglei3.png" mode="widthFix"></image>
|
|
|
|
|
<span class="feng_word">招聘合作</span>
|
|
|
|
|
</view> -->
|
|
|
|
|
<view class="index-project-content" @click="goNav('/pages/my/txszList?classifyId='+'91')">
|
2024-08-05 17:32:31 +08:00
|
|
|
|
<image src="../../static/index-fenglei15.png" mode="widthFix"></image>
|
2024-08-05 15:13:25 +08:00
|
|
|
|
<span class="feng_word">私密护理</span>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view class="index-project-content" @click="goNav('/pages/my/txszList?classifyId='+'113')">
|
2024-08-05 17:32:31 +08:00
|
|
|
|
<image src="../../static/index-fenglei14.png" mode="widthFix"></image>
|
2024-08-05 15:13:25 +08:00
|
|
|
|
<span class="feng_word">正骨拨筋</span>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view class="index-project-content"
|
|
|
|
|
@click="goNav('/pages/my/indextaociliaoList?type='+104+'&name='+'index')">
|
2024-08-05 15:13:25 +08:00
|
|
|
|
<image src="../../static/index-fenglei1.png" mode="widthFix"></image>
|
|
|
|
|
<span class="feng_word">盛安套餐</span>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view class="index-project-content"
|
|
|
|
|
@click="goNav('/pages/my/indextaociliaoList?type='+106+'&name='+'index')">
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<image src="../../static/index-fenglei6.png" mode="widthFix"></image>
|
2024-06-25 21:25:46 +08:00
|
|
|
|
<span class="feng_word">服务疗程</span>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view class="index-project-content"
|
|
|
|
|
@click="goNav('/pages/my/indextaociliaoList?type='+105+'&name='+'index')">
|
2024-08-05 17:32:31 +08:00
|
|
|
|
<image src="../../static/index-fenglei19.png" mode="widthFix"></image>
|
2024-08-05 15:19:38 +08:00
|
|
|
|
<span class="feng_word">项目次卡</span>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
2024-07-09 11:02:01 +08:00
|
|
|
|
<view class="index-project-content" @click="shangcheng()">
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<image src="../../static/index-fenglei8.png" mode="widthFix"></image>
|
2024-08-05 15:13:25 +08:00
|
|
|
|
<span class="feng_word">产品商城</span>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
2024-07-09 11:02:01 +08:00
|
|
|
|
<view class="index-project-content" @click="gangBtn(type)">
|
2024-07-09 17:29:20 +08:00
|
|
|
|
<image src="../../static/index-fenglei13.png" mode="widthFix"></image>
|
2024-07-09 11:02:01 +08:00
|
|
|
|
<span class="feng_word">更多</span>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="index-guanggao width">
|
2025-02-08 16:35:24 +08:00
|
|
|
|
<!-- <image class="index-guanggao-pintuan" @click="qidai()" src="../../static/pintuan.png" mode="widthFix"></image> -->
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<image class="index-guanggao-pintuan index-interval" @click="goNav('/pages/my/newseckill?text='+'index')"
|
|
|
|
|
src="../../static/cika2.png" mode="widthFix"></image>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="index-guanggao-right">
|
2025-02-08 16:35:24 +08:00
|
|
|
|
<!-- <image class="index-guanggao-right-cika index-interval" @click="goNav('/pages/my/newseckill?text='+'index')" src="../../static/cika2.png" mode="widthFix"></image> -->
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<image class="index-guanggao-right-yuyue" @click="yuedao('企业')" src="../../static/yuyue.png"
|
|
|
|
|
mode="widthFix"></image>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="index-fujin">
|
|
|
|
|
<view class="index-fujin-title width">
|
|
|
|
|
<view class="index-fujin-title-left">
|
|
|
|
|
<image src="../../static/fujin-jishi.png" mode="widthFix"></image>
|
|
|
|
|
<span>附近技师</span>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="index-fujin-title-right">
|
2024-06-15 20:59:02 +08:00
|
|
|
|
<span class="index-fujin-title-left-text" @click="gengduo">更多</span>
|
2024-06-28 15:30:12 +08:00
|
|
|
|
<span class="index-fujin-title-left-btn">></span>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="index-fujin-img width">
|
2024-06-15 20:59:02 +08:00
|
|
|
|
<view class="fujin-view" v-for="(item,index) in nearbyTechnician" :key="index" @click="goOrder(item)">
|
2024-06-15 09:08:10 +08:00
|
|
|
|
<view class="index-fujin-view">
|
|
|
|
|
<image class="index-fujin-view-img" :src="item.artificerImg" mode=""></image>
|
2024-07-02 11:55:14 +08:00
|
|
|
|
<view class="index-fujin-view-text">
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view>
|
|
|
|
|
<image src="../../static/fujin-dingwei.png" mode="w"></image>
|
|
|
|
|
</view>
|
2024-07-20 11:44:52 +08:00
|
|
|
|
<view><span>{{item.dingwei}}km</span></view>
|
2024-06-15 09:08:10 +08:00
|
|
|
|
</view>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
2024-06-15 09:08:10 +08:00
|
|
|
|
<view class="index-fujin-jie">
|
|
|
|
|
<view class="index-fujin-jie-view">
|
|
|
|
|
<span class="index-fujin-jie-name">{{item.artificerName}}</span>
|
|
|
|
|
</view>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="index-taocan width">
|
|
|
|
|
<view class="index-taocan-view">
|
|
|
|
|
<view class="index-taocan-view-nav" v-for="item in felNav" :key="item.id" @click="chengFel(item)">
|
2024-06-24 11:29:11 +08:00
|
|
|
|
<view class="index-taocan-view-nav-s">
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<span class="index-taocan-view-nav-text"
|
|
|
|
|
:class="[currentTabFl==item.id?'activeL':'activeH']">{{item.name}}</span>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="fenjie"></view>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="index-card">
|
2024-06-24 11:29:11 +08:00
|
|
|
|
<view class="index-card-view" v-for="(item,index) in tjData" :key="index" @click="goDatail(item)">
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="index-card-view-title">
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<image class="index-card-image" :src="item.packageImg?item.packageImg:item.massageImg"
|
|
|
|
|
mode=""></image>
|
2024-06-24 11:29:11 +08:00
|
|
|
|
<!-- <view class="index-card-view-title-left">{{item.title}}</view> -->
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view class="index-card-view-title-right">
|
2024-07-25 20:58:11 +08:00
|
|
|
|
<text v-if="item.tagsData!=''">{{item.tagsData[0]}}</text>
|
|
|
|
|
<text v-else>助眠解压</text>
|
2024-08-16 17:06:40 +08:00
|
|
|
|
</view>
|
|
|
|
|
<!-- <view class="index-card-view-title-right" >助眠解压</view> -->
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="index-card-mian">
|
2024-06-24 11:29:11 +08:00
|
|
|
|
<view class="index-card-mian-title marginTop">{{item.title}}</view>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="index-card-mian-biao marginTop">
|
2024-07-25 20:58:11 +08:00
|
|
|
|
<view class="shop_label" v-if="item.tagsData!=''">
|
|
|
|
|
<span v-for="tag in item.tagsData" :key="tag">{{tag}}</span>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
2024-07-25 20:58:11 +08:00
|
|
|
|
<view class="shop_label" v-else>
|
|
|
|
|
<view class="index-card-mian-biao-left">
|
|
|
|
|
助眠减压
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <view class="index-card-mian-biao-right"> -->
|
|
|
|
|
<view class="index-card-mian-biao-left">
|
|
|
|
|
缓解疲劳
|
|
|
|
|
</view>
|
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 class="index-card-mian-time marginTop" v-if="item.duration">
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<image src="../../static/rumen-time.png" mode="widthFix"></image>
|
2024-06-24 11:29:11 +08:00
|
|
|
|
<span>{{item.duration}}分钟</span>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view class="index-card-mian-money marginTop">
|
2024-06-24 11:29:11 +08:00
|
|
|
|
<span class="index-card-mian-money-zhen">¥{{item.price}}</span>
|
|
|
|
|
<span class="index-card-mian-money-jia">¥{{item.oldPrice}}</span>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-07-23 15:42:42 +08:00
|
|
|
|
<view class="body-view">
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<!-- 使用scroll-view实现tabs滑动切换 -->
|
|
|
|
|
<scroll-view class="top-menu-view" scroll-x="true" scroll-with-animation :scroll-left="scrollLeft">
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view class="menu-topic-view" v-for="(item,index) in tabs" :id="'tabNum'+item.id" :key="index"
|
|
|
|
|
@click="swichMenu(index,item.id)">
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<view :class="currentTab==index ? 'menu-topic-act' : 'menu-topic'">
|
|
|
|
|
<text class="menu-topic-text">{{item.name}}</text>
|
|
|
|
|
<view class="menu-topic-bottom">
|
|
|
|
|
<view class="menu-topic-bottom-color"></view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</scroll-view>
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<!-- 内容 -->
|
2024-07-23 22:43:29 +08:00
|
|
|
|
<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-item-card" style="position: relative;">
|
|
|
|
|
<view class="data-list">
|
2024-08-01 13:50:54 +08:00
|
|
|
|
<view class="videoHovers" @click="towxh5Video(item,index)">
|
2024-07-23 22:43:29 +08:00
|
|
|
|
<image class="playState" src="@/static/bofang.png"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<image :src="item.picPath" mode="aspectFill" style="width: 100%; height: 100%;"></image>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="swiper-item">
|
2024-07-23 22:43:29 +08:00
|
|
|
|
<span>{{item.artificerName}}</span>
|
|
|
|
|
<span class="swiper-item-view">{{item.content}}</span>
|
2024-06-12 15:52:21 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-07-23 22:43:29 +08:00
|
|
|
|
</view>
|
|
|
|
|
</scroll-view>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-07-04 19:13:27 +08:00
|
|
|
|
<view style="width: 100%;height: 700px;"></view>
|
2024-08-19 15:37:23 +08:00
|
|
|
|
<view class="kefu" @click="goMsg">
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<image :class="{'blinking': haveNewMsg}" src="../../static/kefu.png" mode=""></image>
|
2024-08-19 15:37:23 +08:00
|
|
|
|
<!--<span>联系客服</span>-->
|
|
|
|
|
</view>
|
2024-06-15 09:08:10 +08:00
|
|
|
|
<!-- 经验筛选 -->
|
2024-07-02 15:31:05 +08:00
|
|
|
|
<u-select v-model="Cityshow" style="height: auto;" :list="cityList" @confirm="getCity"></u-select>
|
2024-09-14 15:20:40 +08:00
|
|
|
|
<uni-popup style="width: 100%;height: 100vh;" type="center" ref="bofang" @touchmove.stop.prevent="moveHandle">
|
2024-07-23 22:43:29 +08:00
|
|
|
|
<view style="width: 100%;height: 100%;position: relative;">
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<video id="myVideo" style="width: 100%;height: 100%;" :loop="true" :muted="false"
|
|
|
|
|
:show-fullscreen-btn='false' :enable-play-gesture='true' :autoplay="false" :show-play-btn='false'
|
|
|
|
|
:show-center-play-btn='false' :http-cache="true" @click="jieshu" :src="filePath"></video>
|
2024-07-23 22:43:29 +08:00
|
|
|
|
<view class="videoConten">{{contentVideo}}</view>
|
|
|
|
|
<view class="videoHover" v-if="playShow==true" @click="kaishi">
|
|
|
|
|
<image class="playState" src="@/static/bofang.png"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="guanbi" @click="guanbi">
|
|
|
|
|
<image src="@/static/closeimg.png"></image>
|
2024-08-16 17:06:40 +08:00
|
|
|
|
</view>
|
2024-09-14 15:20:40 +08:00
|
|
|
|
<view class="userInfo">
|
|
|
|
|
<!-- 1.头像 -->
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<image @click="tozuozhe(artificerItem)" class="userAvatar" :src="artificerItem.artificerImg"
|
|
|
|
|
mode="aspectFill"></image>
|
2024-11-04 15:13:46 +08:00
|
|
|
|
<!-- 2.上线或者下单 -->
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view v-if="artificerItem.onLine == 1" class="comment list-view" @click="tozuozhe(artificerItem)"
|
|
|
|
|
style="opacity: 0.9; margin-top: 17px;">
|
|
|
|
|
<image src="@/static/img/index/lijiyuyue.png"
|
|
|
|
|
style="width:40px; height:40px; position: absolute; right: 7px;"></image>
|
|
|
|
|
<text
|
|
|
|
|
style="color: #FFFFFF; margin-top: 5px; font-size: 14px; font-weight: bold; text-align: center; margin-top: 40px;">预约</text>
|
2024-11-04 15:13:46 +08:00
|
|
|
|
</view>
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view v-if="artificerItem.onLine == 2" class="comment list-view" @click="shangxian(artificerItem)"
|
|
|
|
|
style="opacity: 0.9; margin-top: 17px;">
|
|
|
|
|
<image src="@/static/img/index/qingtashangxian.png"
|
|
|
|
|
style="width:40px; height:40px; position: absolute; right: 7px;"></image>
|
|
|
|
|
<text
|
|
|
|
|
style="color: #FFFFFF; margin-top: 5px; font-size: 14px; font-weight: bold; text-align: center; margin-top: 40px;">上线</text>
|
2024-11-04 15:13:46 +08:00
|
|
|
|
</view>
|
|
|
|
|
<!-- 3.点赞 -->
|
2024-09-14 15:20:40 +08:00
|
|
|
|
<view class="list-view" @click="cLike(artificerItem);" style="opacity: 0.9; margin-top: 17px;">
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<image v-if="artificerItem.sfdz==1" src="@/static/img/index/xin.png"
|
|
|
|
|
style="width: 40px; height: 40px; position: absolute; right: 6px;"></image>
|
|
|
|
|
<image v-if="artificerItem.sfdz==0" src="@/static/img/index/xin-2.png"
|
|
|
|
|
style="width: 40px; height: 40px; position: absolute; right: 6px;"></image>
|
|
|
|
|
<text
|
|
|
|
|
style="color: #FFFFFF; margin-top: 5px; font-size: 14px; text-align: center; margin-top: 40px; font-weight: bold;"
|
|
|
|
|
:class="{'likeNumActive':artificerItem.sfdz}">{{artificerItem.dzs}}</text>
|
2024-09-14 15:20:40 +08:00
|
|
|
|
</view>
|
2024-11-04 15:13:46 +08:00
|
|
|
|
<!-- 4.评论 -->
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view class="comment list-view" @click="toComment(artificerItem)"
|
|
|
|
|
style="opacity: 0.9; margin-top: 17px;">
|
|
|
|
|
<image src="@/static/img/index/liaotian-2.png"
|
|
|
|
|
style="width:38px; height:36px; position: absolute; right: 7px;"></image>
|
|
|
|
|
<text
|
|
|
|
|
style="color: #FFFFFF; margin-top: 5px; font-size: 14px; font-weight: bold; text-align: center; margin-top: 40px;">{{artificerItem.pls}}</text>
|
2024-09-14 15:20:40 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</uni-popup>
|
|
|
|
|
<uni-popup class="uni-popup" type="bottom" ref="pinglun" @touchmove.stop.prevent="moveHandle">
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view class="popup-content-pl"
|
|
|
|
|
:style="'width: '+ windowWidth +'px; height: '+ (boxStyle.height/heightNum) +'px;'">
|
|
|
|
|
<CComment ref="ccRef" :showPopup="showPopup" :userInfo="userInfo" :tableData="tableData"
|
|
|
|
|
:tableTotal="tableTotal" likeFun="likeFun" @replyFun="replyFun" @deleteFun="deleteFun"
|
|
|
|
|
:deleteMode="deleteMode"></CComment>
|
2024-07-23 22:43:29 +08:00
|
|
|
|
</view>
|
|
|
|
|
</uni-popup>
|
2024-07-09 11:02:01 +08:00
|
|
|
|
<view>
|
|
|
|
|
<!-- 提前结束 -->
|
2024-07-26 14:21:46 +08:00
|
|
|
|
<uni-popup class="popup-view" ref="popup" background-color="#fff">
|
2024-07-09 11:02:01 +08:00
|
|
|
|
<view class="popup-content">
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view class="popup-close">
|
|
|
|
|
<image @click="closePopup(type)" class="popup-close-img" src="../../static/close.png"></image>
|
|
|
|
|
</view>
|
2024-07-09 17:29:20 +08:00
|
|
|
|
<!--<view class="popup-head">
|
2024-07-09 11:02:01 +08:00
|
|
|
|
<span></span>
|
|
|
|
|
<span @click="closePopup(type)">x</span>
|
2024-07-09 17:29:20 +08:00
|
|
|
|
</view>-->
|
2024-07-09 11:02:01 +08:00
|
|
|
|
<view class="popup-mian">
|
|
|
|
|
<view class="popup-mian-view">
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view class="index-project-content1" @click="goNav('/pages/my/newTeaml?text='+'index')">
|
2024-08-05 17:32:31 +08:00
|
|
|
|
<image src="../../static/index-fenglei20.png" mode="widthFix"></image>
|
2024-08-05 15:13:25 +08:00
|
|
|
|
<span class="feng_word">超值拼团</span>
|
|
|
|
|
</view>
|
2025-02-11 14:16:34 +08:00
|
|
|
|
<view class="index-project-content1" @click="chaoji">
|
2024-08-05 15:13:25 +08:00
|
|
|
|
<image src="../../static/index-fenglei10.png" mode="widthFix"></image>
|
|
|
|
|
<span class="feng_word">充值赠送</span>
|
|
|
|
|
</view>
|
2024-07-09 17:29:20 +08:00
|
|
|
|
<view class="index-project-content1">
|
|
|
|
|
<image src="../../static/index-fenglei11.png" mode="widthFix"></image>
|
2024-07-09 11:02:01 +08:00
|
|
|
|
<span class="feng_word">美甲师</span>
|
|
|
|
|
</view>
|
2024-07-09 17:29:20 +08:00
|
|
|
|
<view class="index-project-content1">
|
|
|
|
|
<image src="../../static/index-fenglei12.png" mode="widthFix"></image>
|
2024-07-09 11:02:01 +08:00
|
|
|
|
<span class="feng_word">美容师</span>
|
|
|
|
|
</view>
|
2024-07-10 17:58:14 +08:00
|
|
|
|
<view class="index-project-content1" @click="yuedao('商家')">
|
2024-07-09 11:02:01 +08:00
|
|
|
|
<image src="../../static/index-fenglei9.png" mode="widthFix"></image>
|
|
|
|
|
<span class="feng_word">约到店</span>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</uni-popup>
|
|
|
|
|
</view>
|
2024-06-05 19:16:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2025-02-11 14:16:34 +08:00
|
|
|
|
import * as websocketUtils from 'utils/websocketUtils.js';
|
2024-09-14 15:20:40 +08:00
|
|
|
|
import CComment from "@/components/XJ-comment/index";
|
2024-06-15 09:08:10 +08:00
|
|
|
|
import commonConfig from 'common/config.js';
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-15 09:08:10 +08:00
|
|
|
|
import * as webMap from 'utils/webMap.js';
|
2024-08-12 22:44:27 +08:00
|
|
|
|
// import permision from "@/components/permission.js";
|
2024-06-15 09:08:10 +08:00
|
|
|
|
// 调用手机系统权限
|
|
|
|
|
// #ifdef APP-PLUS
|
2024-08-12 22:44:27 +08:00
|
|
|
|
import permision from "@/components/permission.js";
|
2024-09-14 15:20:40 +08:00
|
|
|
|
|
2024-06-15 09:08:10 +08:00
|
|
|
|
// #endif
|
2024-08-01 13:50:54 +08:00
|
|
|
|
let audo = uni.createInnerAudioContext()
|
|
|
|
|
audo.loop = true
|
2024-06-05 19:16:02 +08:00
|
|
|
|
export default {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
components: {
|
|
|
|
|
CComment
|
|
|
|
|
},
|
2024-06-05 19:16:02 +08:00
|
|
|
|
data() {
|
|
|
|
|
return {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
haveMsg: false,
|
|
|
|
|
checkboxShow: 1,
|
|
|
|
|
filePath: '',
|
|
|
|
|
playShow: false,
|
|
|
|
|
videoId: 0,
|
2024-07-12 13:51:45 +08:00
|
|
|
|
current: 0,
|
2025-02-11 14:16:34 +08:00
|
|
|
|
serviceTrue: true,
|
2024-06-15 09:08:10 +08:00
|
|
|
|
cityList: [],
|
|
|
|
|
Cityshow: false,
|
|
|
|
|
artificerName: '',
|
|
|
|
|
//地图相关
|
|
|
|
|
token: '',
|
|
|
|
|
infoWindow: null,
|
|
|
|
|
amap: null,
|
|
|
|
|
latitude: '43.86487',
|
|
|
|
|
longitude: '',
|
2024-08-16 17:06:40 +08:00
|
|
|
|
city: '请选择地址',
|
2024-06-15 09:08:10 +08:00
|
|
|
|
XCXIsSelect: '否',
|
2024-06-12 15:52:21 +08:00
|
|
|
|
currentTabFl: 1,
|
2025-02-11 14:16:34 +08:00
|
|
|
|
tjData: [],
|
|
|
|
|
felNav: [{
|
|
|
|
|
id: 1,
|
2024-08-20 16:57:41 +08:00
|
|
|
|
name: '大家常买'
|
2024-06-12 15:52:21 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
2025-02-11 14:16:34 +08:00
|
|
|
|
id: 2,
|
2024-08-22 15:27:02 +08:00
|
|
|
|
name: '全部项目',
|
2024-06-12 15:52:21 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
2025-02-11 14:16:34 +08:00
|
|
|
|
id: 3,
|
2024-08-22 15:27:02 +08:00
|
|
|
|
name: '行业大拿'
|
2024-06-12 15:52:21 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
2025-02-11 14:16:34 +08:00
|
|
|
|
id: 4,
|
2024-08-22 15:27:02 +08:00
|
|
|
|
name: '女性专区',
|
2024-06-12 15:52:21 +08:00
|
|
|
|
},
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
],
|
2025-02-11 14:16:34 +08:00
|
|
|
|
scrollLeft: 0,
|
2024-06-12 15:52:21 +08:00
|
|
|
|
tabs: [{
|
|
|
|
|
id: 1,
|
|
|
|
|
name: '推荐'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 2,
|
|
|
|
|
name: '附近'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 3,
|
|
|
|
|
name: '关注'
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
currentTab: 0,
|
|
|
|
|
tabCurrent: 'tabNum1',
|
|
|
|
|
// Tab切换内容
|
2025-02-11 14:16:34 +08:00
|
|
|
|
swiperDateLists: [],
|
2024-06-12 15:52:21 +08:00
|
|
|
|
swiperDateList: [{
|
|
|
|
|
id: 1,
|
|
|
|
|
content: '中医推拿',
|
2025-02-11 14:16:34 +08:00
|
|
|
|
name: '李安茹',
|
2024-06-12 15:52:21 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 2,
|
|
|
|
|
content: '中医推拿',
|
2025-02-11 14:16:34 +08:00
|
|
|
|
name: '李安茹',
|
2024-06-12 15:52:21 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 3,
|
|
|
|
|
content: '中医推拿',
|
2025-02-11 14:16:34 +08:00
|
|
|
|
name: '李安茹',
|
2024-06-12 15:52:21 +08:00
|
|
|
|
},
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-05 19:16:02 +08:00
|
|
|
|
],
|
2025-02-11 14:16:34 +08:00
|
|
|
|
typeList: [],
|
2024-07-10 17:58:14 +08:00
|
|
|
|
searchValue: '',
|
2025-02-11 14:16:34 +08:00
|
|
|
|
starTechnician: [], //明星技师
|
|
|
|
|
nearbyTechnician: [], //附近技师
|
2024-06-15 09:08:10 +08:00
|
|
|
|
classifyId: '',
|
2025-02-11 14:16:34 +08:00
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
2024-06-25 20:23:11 +08:00
|
|
|
|
arr: [],
|
|
|
|
|
txAppKey: '',
|
|
|
|
|
tpSel: 0,
|
|
|
|
|
tpCount: 0,
|
2025-02-11 14:16:34 +08:00
|
|
|
|
cuowu: '',
|
|
|
|
|
type: 'center',
|
|
|
|
|
parType: '',
|
|
|
|
|
contentVideo: '',
|
|
|
|
|
Key2: 'ad684a15ebbb6f5d12c407a3d593c949',
|
|
|
|
|
latadd: '',
|
|
|
|
|
cityname: '',
|
|
|
|
|
artificerItem: {},
|
|
|
|
|
showPopup: false,
|
2024-09-14 15:20:40 +08:00
|
|
|
|
ccRef: null,
|
|
|
|
|
userInfo: {
|
|
|
|
|
id: 120,
|
|
|
|
|
user_name: "🍁",
|
|
|
|
|
user_avatar: "https://pic1.zhimg.com/80/v2-a79071a705f55c5d88f6c74e6111fe84_720w.webp",
|
|
|
|
|
},
|
|
|
|
|
tableTotal: 4,
|
|
|
|
|
tableData: [],
|
|
|
|
|
deleteMode: "all",
|
|
|
|
|
windowWidth: 0,
|
|
|
|
|
windowHeight: 0,
|
|
|
|
|
heightNum: 1.18,
|
|
|
|
|
deleteHeight: 0,
|
2025-02-11 14:16:34 +08:00
|
|
|
|
boxStyle: { //视频,图片封面样式🌟💗
|
2024-09-14 15:20:40 +08:00
|
|
|
|
'height': 0,
|
|
|
|
|
'width': 0,
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
connected: false,
|
|
|
|
|
connecting: false,
|
|
|
|
|
haveNewMsg: false,
|
|
|
|
|
msgInterval: null,
|
|
|
|
|
isInit: true,
|
|
|
|
|
kfInterval: null,
|
2024-06-25 20:23:11 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onShareAppMessage(res) { //发送给朋友
|
|
|
|
|
return {
|
|
|
|
|
title: this.tuiguang,
|
|
|
|
|
path: '/pages/index/index?invitation=' + this.invitationCode,
|
|
|
|
|
imageUrl: this.tuiguangImg,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onShareTimeline(res) { //分享到朋友圈
|
|
|
|
|
return {
|
|
|
|
|
title: this.tuiguang,
|
|
|
|
|
path: '/pages/index/index?invitation=' + this.invitationCode,
|
|
|
|
|
imageUrl: this.tuiguangImg,
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
2024-06-25 20:23:11 +08:00
|
|
|
|
onLoad(e) {
|
2024-06-15 09:08:10 +08:00
|
|
|
|
let that = this
|
2025-02-11 14:16:34 +08:00
|
|
|
|
if (this.platform == 'ios' && (model !== 'iPhone6' || model !== 'iPhone6s' || model !== 'iPhone7' || model !==
|
|
|
|
|
'iPhone8')) {
|
|
|
|
|
this.deleteHeight = 0 //有 tabbar的 修改这里可以改变视频高度
|
2024-09-14 15:20:40 +08:00
|
|
|
|
}
|
|
|
|
|
this.windowWidth = uni.getSystemInfoSync().windowWidth;
|
|
|
|
|
this.windowHeight = uni.getSystemInfoSync().windowHeight;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
this.boxStyle.width = this.windowWidth + 'px'; //给宽度加px
|
|
|
|
|
this.boxStyle.height = this.windowHeight - this.deleteHeight; //有 tabbar的 修改这里可以改变视频高度
|
2024-06-15 09:08:10 +08:00
|
|
|
|
that.getBannerList()
|
2024-06-24 11:29:11 +08:00
|
|
|
|
that.remen()
|
2024-08-13 14:08:40 +08:00
|
|
|
|
// that.getKTCityList();
|
2024-06-25 20:23:11 +08:00
|
|
|
|
// 获取邀请码保存到本地
|
|
|
|
|
if (e.invitation) {
|
|
|
|
|
that.$queue.setData('inviterCode', e.invitation);
|
|
|
|
|
}
|
|
|
|
|
// #ifdef MP-WEIXIN
|
|
|
|
|
if (e.scene) {
|
|
|
|
|
const scene = decodeURIComponent(e.scene);
|
|
|
|
|
this.$queue.setData('inviterCode', scene.split(',')[0]);
|
|
|
|
|
}
|
|
|
|
|
// #endif
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-07-01 15:59:33 +08:00
|
|
|
|
that.$Request.getT('/app/common/type/250').then(res => { //技师完成通知
|
2024-06-25 20:23:11 +08:00
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if (res.data && res.data.value) {
|
|
|
|
|
that.arr.push(res.data.value)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-07-01 15:59:33 +08:00
|
|
|
|
that.$Request.getT('/app/common/type/248').then(res => { //技师取消通知
|
2024-06-25 20:23:11 +08:00
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if (res.data && res.data.value) {
|
|
|
|
|
that.arr.push(res.data.value)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
that.$Request.getT('/app/common/type/217').then(res => { //腾讯地图key
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if (res.data && res.data.value) {
|
|
|
|
|
that.txAppKey = res.data.value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
var add = uni.getStorageSync('cityAdderss');
|
|
|
|
|
if (add != '') {
|
|
|
|
|
that.city = add.name;
|
|
|
|
|
that.cityname = add.cityname;
|
|
|
|
|
var location = add.location.split(",")
|
|
|
|
|
that.longitude = location[0]
|
|
|
|
|
that.latitude = location[1]
|
|
|
|
|
console.log("onLoad=========>", add)
|
|
|
|
|
} else {
|
2024-08-13 15:56:10 +08:00
|
|
|
|
uni.getLocation({
|
|
|
|
|
type: 'gcj02',
|
|
|
|
|
geocode: true, //设置该参数为true可直接获取经纬度及城市信息
|
|
|
|
|
highAccuracyExpireTime: 500,
|
|
|
|
|
success: function(res) {
|
|
|
|
|
console.log(res, '地理位置')
|
|
|
|
|
that.latitude = res.latitude
|
|
|
|
|
that.longitude = res.longitude
|
|
|
|
|
uni.setStorageSync('latitude', res.latitude)
|
|
|
|
|
uni.setStorageSync('longitude', res.longitude)
|
|
|
|
|
that.getHomeNearbyList();
|
2025-02-11 14:16:34 +08:00
|
|
|
|
that.selectCity(that.longitude, that.latitude)
|
2024-08-13 15:56:10 +08:00
|
|
|
|
},
|
|
|
|
|
fail: function(e) {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
that.cuowu = e
|
2024-08-13 15:56:10 +08:00
|
|
|
|
that.getHomeNearbyList();
|
2025-02-11 14:16:34 +08:00
|
|
|
|
console.log("获取信息失败,请重试!", e)
|
2024-08-13 15:56:10 +08:00
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
|
that.checkPermission();
|
|
|
|
|
// #endif
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-07-23 22:43:29 +08:00
|
|
|
|
that.getVideo()
|
2024-06-15 09:08:10 +08:00
|
|
|
|
},
|
|
|
|
|
onShow() {
|
|
|
|
|
let that = this
|
|
|
|
|
that.XCXIsSelect = this.$queue.getData("XCXIsSelect");
|
2024-06-25 20:23:11 +08:00
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
var add = uni.getStorageSync('cityAdderss');
|
|
|
|
|
if (add != '') {
|
|
|
|
|
that.city = add.name;
|
|
|
|
|
that.cityname = add.cityname;
|
|
|
|
|
var location = add.location.split(",")
|
|
|
|
|
that.longitude = location[0]
|
|
|
|
|
that.latitude = location[1]
|
|
|
|
|
console.log("onShow=========>", add)
|
2024-08-02 21:05:22 +08:00
|
|
|
|
}
|
2024-08-12 22:44:27 +08:00
|
|
|
|
that.getTpMy();
|
2024-08-13 15:56:10 +08:00
|
|
|
|
// that.getTpCount();
|
2024-06-25 20:23:11 +08:00
|
|
|
|
// #ifdef MP-WEIXIN
|
|
|
|
|
//订阅
|
2024-08-12 22:44:27 +08:00
|
|
|
|
if (that.showModal) {
|
|
|
|
|
that.openMsg()
|
2024-06-25 20:23:11 +08:00
|
|
|
|
}
|
|
|
|
|
// #endif
|
2024-08-12 22:44:27 +08:00
|
|
|
|
that.getIsVip()
|
2024-09-20 15:43:31 +08:00
|
|
|
|
// that.getHomeArtificerList();
|
2024-08-12 22:44:27 +08:00
|
|
|
|
that.getHomeNearbyList();
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
// uni.navigateTo({
|
|
|
|
|
// url: '/pages/public/login'
|
|
|
|
|
// })
|
2024-06-15 09:08:10 +08:00
|
|
|
|
}
|
2024-06-25 20:23:11 +08:00
|
|
|
|
that.token = uni.getStorageSync('token');
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
//客服按钮是否有新消息逻辑代码
|
|
|
|
|
that.haveNewMsg = false
|
|
|
|
|
if (that.kfInterval == null) {
|
|
|
|
|
that.selectMsg(true)
|
|
|
|
|
that.kfInterval = setInterval(() => {
|
|
|
|
|
that.selectMsg(false)
|
|
|
|
|
}, 5000)
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-05 19:16:02 +08:00
|
|
|
|
},
|
2024-07-23 22:43:29 +08:00
|
|
|
|
computed: {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
scrollIntoView() {
|
|
|
|
|
return 'tab' + this.currentTab;
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-06-05 19:16:02 +08:00
|
|
|
|
methods: {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
selectMsg(isRefresh) {
|
|
|
|
|
let that = this
|
|
|
|
|
let data = {
|
|
|
|
|
userId: uni.getStorageSync('userId'),
|
|
|
|
|
focusedUserId: '0',
|
|
|
|
|
// userName:this.order.userName
|
|
|
|
|
}
|
|
|
|
|
// app/chat/insertChatConversation
|
|
|
|
|
this.$Request.postJson('/app/chat/insertChatConversation', data).then(res => {
|
|
|
|
|
if (res.data) {
|
|
|
|
|
that.$Request.get('/app/chat/selectChatContent?page=1&limit=1000&chatConversationId=' + res
|
|
|
|
|
.data.chatConversationId).then(
|
|
|
|
|
res => {
|
|
|
|
|
if (res.data) {
|
|
|
|
|
let count_ = res.data.totalCount
|
|
|
|
|
//将新的查询结果进行保存 isRefresh意义:首次进入页面时才查询
|
|
|
|
|
if (isRefresh) that.$queue.setData('keFuLastMsgCount', count_);
|
|
|
|
|
//将每次最新读到的结果保存到keFuNewMsgCount中,方便其它页面使用
|
|
|
|
|
that.$queue.setData('keFuNewMsgCount', count_);
|
|
|
|
|
let keFuLastMsgCount = that.$queue.getData('keFuLastMsgCount')
|
|
|
|
|
if (keFuLastMsgCount == undefined) {
|
|
|
|
|
//说明是第一次查询 或 上一次查询结果是0
|
|
|
|
|
//此时只要查询到的结果数量>0则代表有新消息
|
|
|
|
|
if (count_ > 0) {
|
|
|
|
|
that.haveNewMsg = true
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
//如果新接收到的消息数量比上一次多 则判定为有新消息
|
|
|
|
|
if (count_ > keFuLastMsgCount) {
|
|
|
|
|
that.haveNewMsg = true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
2024-08-19 15:37:23 +08:00
|
|
|
|
goMsg() { //客服聊天
|
2025-02-11 14:16:34 +08:00
|
|
|
|
let that = this
|
2024-08-19 15:37:23 +08:00
|
|
|
|
let data = {
|
|
|
|
|
userId: uni.getStorageSync('userId'),
|
|
|
|
|
focusedUserId: '0',
|
|
|
|
|
// userName:this.order.userName
|
|
|
|
|
}
|
|
|
|
|
// app/chat/insertChatConversation
|
|
|
|
|
this.$Request.postJson('/app/chat/insertChatConversation', data).then(res => {
|
|
|
|
|
if (res.data) {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
that.haveNewMsg = false
|
2024-08-19 15:37:23 +08:00
|
|
|
|
let id = this.ordersId == res.data.userId ? res.data.focusedUserId : this.ordersId
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/msg/im?chatConversationId=' + res.data.chatConversationId +
|
|
|
|
|
'&byUserId=' + res.data.userId
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
2024-08-13 15:56:10 +08:00
|
|
|
|
selectCity(longitude, latitude) {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
var that = this;
|
2024-08-13 15:56:10 +08:00
|
|
|
|
var longitude = that.longitude;
|
|
|
|
|
var latitude = that.latitude;
|
|
|
|
|
let amapKey = that.Key2; // 替换为你的高德地图API Key
|
2025-02-11 14:16:34 +08:00
|
|
|
|
let url =
|
|
|
|
|
`https://restapi.amap.com/v3/geocode/regeo?key=${amapKey}&location=${longitude},${latitude}&radius=1000`;
|
2024-08-13 15:56:10 +08:00
|
|
|
|
uni.request({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
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.city = address.replace(province, '').replace(city, '').replace(district, '')
|
|
|
|
|
.replace(streetNumber, '').replace(number, '').replace(township, '')
|
|
|
|
|
that.cityname = add.city;
|
|
|
|
|
var add = uni.getStorageSync('cityAdderss');
|
|
|
|
|
if (add != '') {
|
|
|
|
|
that.city = add.name;
|
|
|
|
|
that.cityname = add.cityname;
|
|
|
|
|
var location = add.location.split(",")
|
|
|
|
|
that.longitude = location[0]
|
|
|
|
|
that.latitude = location[1]
|
|
|
|
|
console.log("location=========>", location)
|
|
|
|
|
}
|
|
|
|
|
that.page = 1;
|
|
|
|
|
// that.getTpCount();
|
|
|
|
|
} else {
|
|
|
|
|
console.log('逆地理编码失败', response.data);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fail: (error) => {
|
|
|
|
|
console.log('网络请求失败', error);
|
|
|
|
|
}
|
2024-08-13 15:56:10 +08:00
|
|
|
|
});
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
guanbi() {
|
|
|
|
|
this.playShow = false;
|
2024-07-23 22:43:29 +08:00
|
|
|
|
const videoContext = uni.createVideoContext('myVideo', this);
|
|
|
|
|
videoContext.pause(); // 播放视频
|
2024-09-14 15:20:40 +08:00
|
|
|
|
this.$refs.bofang.close("center");
|
2024-07-23 22:43:29 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
jieshu() {
|
|
|
|
|
this.playShow = true;
|
2024-07-23 22:43:29 +08:00
|
|
|
|
const videoContext = uni.createVideoContext('myVideo', this);
|
|
|
|
|
videoContext.pause(); // 播放视频
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
kaishi() {
|
|
|
|
|
this.playShow = false;
|
|
|
|
|
const videoContext = uni.createVideoContext('myVideo', this);
|
|
|
|
|
videoContext.src = this.filePath; // 设置视频源
|
|
|
|
|
videoContext.play(); // 播放视频
|
2024-07-23 22:43:29 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
towxh5Video(item, index) {
|
2024-11-04 15:13:46 +08:00
|
|
|
|
console.log(item);
|
2025-02-11 14:16:34 +08:00
|
|
|
|
this.playShow = true;
|
|
|
|
|
this.filePath = item.filePath;
|
|
|
|
|
this.contentVideo = item.content;
|
|
|
|
|
this.artificerItem = item;
|
|
|
|
|
this.videoId = item.id;
|
2024-08-01 13:51:46 +08:00
|
|
|
|
// const videoContext = uni.createVideoContext('myVideo', this);
|
|
|
|
|
// videoContext.src = this.filePath; // 设置视频源
|
|
|
|
|
// setTimeout(()=>{
|
|
|
|
|
// videoContext.play(); // 播放视频
|
|
|
|
|
// },100)
|
2024-09-14 15:20:40 +08:00
|
|
|
|
this.$refs.bofang.open("center")
|
2024-07-23 22:43:29 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
swichMenu(index, id) { //视频导航
|
2024-07-23 22:43:29 +08:00
|
|
|
|
this.currentTab = index;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
// 计算需要滚动的距离
|
|
|
|
|
const query = uni.createSelectorQuery().in(this);
|
|
|
|
|
query.select('.top-menu-view').boundingClientRect(data => {
|
|
|
|
|
this.scrollLeft = data.width / this.tabs.length * index;
|
|
|
|
|
}).exec();
|
|
|
|
|
this.parType = index + 1;
|
|
|
|
|
this.getVideo()
|
2024-07-23 22:43:29 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
swiperChange(e) { //视频导航
|
2024-07-23 22:43:29 +08:00
|
|
|
|
let index = e.detail.current
|
|
|
|
|
this.swichMenu(index);
|
2025-02-11 14:16:34 +08:00
|
|
|
|
this.parType = index + 1;
|
2024-07-23 22:43:29 +08:00
|
|
|
|
this.getVideo()
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
getVideo() {
|
|
|
|
|
var that = this;
|
2024-08-28 17:16:58 +08:00
|
|
|
|
console.log(that.parType);
|
2024-07-23 22:43:29 +08:00
|
|
|
|
// 1.这里引入后端请求数据
|
2025-02-11 14:16:34 +08:00
|
|
|
|
var data = {
|
2024-08-28 17:16:58 +08:00
|
|
|
|
userId: uni.getStorageSync('userId'),
|
2024-07-23 22:43:29 +08:00
|
|
|
|
page: this.page,
|
2025-02-11 14:16:34 +08:00
|
|
|
|
limit: 4,
|
2024-10-31 10:53:30 +08:00
|
|
|
|
status: '1'
|
2024-07-23 22:43:29 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
if (that.parType == '1') {
|
|
|
|
|
data.longitude = '';
|
|
|
|
|
data.latitude = '';
|
|
|
|
|
} else if (that.parType == '2') {
|
|
|
|
|
data.longitude = that.longitude;
|
|
|
|
|
data.latitude = that.latitude;
|
|
|
|
|
} else if (that.parType == '3') {
|
2024-08-28 17:16:58 +08:00
|
|
|
|
data.gzrId = uni.getStorageSync('userId');
|
2024-07-23 22:43:29 +08:00
|
|
|
|
}
|
|
|
|
|
this.$Request.get("/app/shipinquan/list", data).then(res => {
|
|
|
|
|
if (res.code == 0) {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
that.swiperDateLists = res.data.list || {}
|
|
|
|
|
// this.dataList=res.data.records
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-07-23 22:43:29 +08:00
|
|
|
|
} else {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: res.msg,
|
|
|
|
|
icon: 'none'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
goCity() {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
|
|
|
|
var that = this
|
|
|
|
|
uni.navigateTo({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: '/pages/index/searchAddress?text=' + 'index'
|
2024-08-26 17:51:53 +08:00
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2024-07-16 15:17:09 +08:00
|
|
|
|
},
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
searchBtn() { //搜索按钮
|
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/my/fuwuGengduo?searchValue=' + this.searchValue
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2024-07-10 17:58:14 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
input(res) { //搜索 输入框
|
|
|
|
|
this.searchValue = res;
|
2024-07-10 17:58:14 +08:00
|
|
|
|
},
|
|
|
|
|
changeSelect(e) {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
this.changeSelectData = e
|
|
|
|
|
},
|
|
|
|
|
shangcheng() {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
|
|
|
|
uni.navigateTo({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: '/package/pages/zysc/index/index'
|
2024-08-26 17:51:53 +08:00
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2024-07-09 11:02:01 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
yuedao(text) {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
|
|
|
|
uni.navigateTo({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: '/pages/shop/index?text=' + text
|
2024-08-26 17:51:53 +08:00
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2024-07-09 11:02:01 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
closePopup(type) { //提前结束 关闭弹出框
|
2024-07-09 11:02:01 +08:00
|
|
|
|
this.type = type
|
|
|
|
|
this.$refs.popup.close(type);
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
gangBtn(type) {
|
2024-07-26 14:21:46 +08:00
|
|
|
|
this.$refs.popup.open('center')
|
2024-07-09 11:02:01 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
qidai() {
|
2024-07-02 22:23:55 +08:00
|
|
|
|
uni.showToast({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
title: '敬请期待!'
|
2024-07-02 22:23:55 +08:00
|
|
|
|
})
|
|
|
|
|
},
|
2024-06-27 20:04:31 +08:00
|
|
|
|
getIsVip() {
|
|
|
|
|
this.$Request.get("/app/UserVip/selectUserVip").then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
// this.isVip = res.data
|
2025-02-11 14:16:34 +08:00
|
|
|
|
if (res.data == undefined) {
|
|
|
|
|
this.$queue.setData('isVIP', '0')
|
|
|
|
|
} else {
|
|
|
|
|
this.$queue.setData('isVIP', '1')
|
2024-06-27 20:04:31 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
2024-06-26 10:18:30 +08:00
|
|
|
|
goChat() {
|
2024-08-16 17:06:40 +08:00
|
|
|
|
let kefu = this.$queue.getData('kefu'); // 用户端联系方式 1 手机号 2企业微信
|
2024-06-26 10:18:30 +08:00
|
|
|
|
let kefuPhone = this.$queue.getData('kefuPhone');
|
|
|
|
|
if (kefu == 1) {
|
|
|
|
|
uni.makePhoneCall({
|
|
|
|
|
phoneNumber: kefuPhone //仅为示例
|
|
|
|
|
});
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else if (kefu == 3) {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/my/setting/customer'
|
|
|
|
|
});
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-06-26 10:18:30 +08:00
|
|
|
|
// #ifdef MP-WEIXIN
|
|
|
|
|
let that = this
|
|
|
|
|
try {
|
|
|
|
|
wx.openCustomerServiceChat({
|
|
|
|
|
extInfo: {
|
|
|
|
|
url: that.$queue.getData('kefuUrl')
|
|
|
|
|
},
|
|
|
|
|
corpId: that.$queue.getData('kefuAppId'),
|
|
|
|
|
success(res) {},
|
|
|
|
|
fail(res) {
|
|
|
|
|
console.error(res)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} catch (error) {
|
|
|
|
|
console.error("catchcatch" + error)
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '请更新至微信最新版本'
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
// #endif
|
|
|
|
|
// #ifndef MP-WEIXIN
|
|
|
|
|
let url = that.$queue.getData('kefuUrl');
|
|
|
|
|
if (url.indexOf('/pages/') !== -1 || url.indexOf('/my/') !== -1) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
//#ifndef H5
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/index/webView?url=' + url
|
|
|
|
|
});
|
|
|
|
|
//#endif
|
|
|
|
|
//#ifdef H5
|
|
|
|
|
window.location.href = url;
|
|
|
|
|
//#endif
|
|
|
|
|
}
|
|
|
|
|
// #endif
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-06-25 22:48:55 +08:00
|
|
|
|
calculateDistance(lat1, lon1, lat2, lon2) {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
// 将经纬度转换为弧度
|
|
|
|
|
const radLat1 = lat1 * (Math.PI / 180);
|
|
|
|
|
const radLat2 = lat2 * (Math.PI / 180);
|
|
|
|
|
const radLon1 = lon1 * (Math.PI / 180);
|
|
|
|
|
const radLon2 = lon2 * (Math.PI / 180);
|
|
|
|
|
const a = radLat1 - radLat2;
|
|
|
|
|
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 distance = 2 * 6371 * Math.atan2(Math.sqrt(Haversine), Math.sqrt(1 - Haversine));
|
|
|
|
|
|
|
|
|
|
// 返回单位为公里的距离
|
|
|
|
|
return distance;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-25 22:48:55 +08:00
|
|
|
|
},
|
2024-06-25 20:23:11 +08:00
|
|
|
|
// 开启订阅消息
|
|
|
|
|
openMsg() {
|
|
|
|
|
console.log('订阅消息')
|
|
|
|
|
var that = this
|
|
|
|
|
uni.getSetting({
|
|
|
|
|
withSubscriptions: true, //是否获取用户订阅消息的订阅状态,默认false不返回
|
|
|
|
|
success(ret) {
|
|
|
|
|
console.log(ret.subscriptionsSetting, '------------------')
|
|
|
|
|
// if (ret.subscriptionsSetting.itemSettings && Object.keys(ret.subscriptionsSetting.itemSettings).length == 2) {
|
|
|
|
|
if (ret.subscriptionsSetting.itemSettings) {
|
|
|
|
|
uni.setStorageSync('sendMsg', true)
|
2024-08-16 17:06:40 +08:00
|
|
|
|
uni.openSetting({ // 打开设置页
|
2024-06-25 20:23:11 +08:00
|
|
|
|
success(rea) {
|
|
|
|
|
console.log(rea.authSetting)
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
} else { // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息
|
|
|
|
|
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)
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-25 20:23:11 +08:00
|
|
|
|
that.showModal = false
|
|
|
|
|
} else if (res.cancel) {
|
|
|
|
|
console.log('取消')
|
|
|
|
|
// uni.setStorageSync('sendMsg', false)
|
|
|
|
|
that.showModal = true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
getTpCount() {
|
|
|
|
|
this.$Request.getT('/app/message/selectCityCount?city=' + this.city).then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.tpCount = res.data ? res.data : 0;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getTpMy() {
|
|
|
|
|
this.$Request.getT('/app/message/selectMessageByUserId?page=1&limit=1&state=11').then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if (res.data && res.data.list && res.data.list.length > 0) {
|
|
|
|
|
this.tpSel = 1;
|
|
|
|
|
} else {
|
|
|
|
|
this.tpSel = 2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
chaoji() { //超级满减
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2024-08-26 17:51:53 +08:00
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
|
|
|
|
uni.navigateTo({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: '/my/wallet/index'
|
2024-08-26 17:51:53 +08:00
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-06-24 11:29:11 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
xinren() { //新人专享
|
2024-08-26 17:51:53 +08:00
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
|
|
|
|
uni.navigateTo({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: '/my/hongbao/xinrenhongbao'
|
2024-08-26 17:51:53 +08:00
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-15 20:59:02 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
goNavs(e) {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
|
|
|
|
uni.switchTab({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: e
|
2024-06-15 20:59:02 +08:00
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
2024-06-15 20:59:02 +08:00
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2024-08-26 17:51:53 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
goNav(e) {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
if (e != undefined) {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
uni.navigateTo({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: e
|
2024-08-26 17:51:53 +08:00
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
uni.showToast({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
title: '敬请期待!'
|
2024-08-26 17:51:53 +08:00
|
|
|
|
})
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-15 20:59:02 +08:00
|
|
|
|
},
|
2024-06-24 11:29:11 +08:00
|
|
|
|
// chooseItem(item){
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-24 11:29:11 +08:00
|
|
|
|
// },
|
2025-02-11 14:16:34 +08:00
|
|
|
|
chooseItem(e) { //点击某一个item 推荐明星
|
2024-06-15 20:59:02 +08:00
|
|
|
|
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-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-24 11:29:11 +08:00
|
|
|
|
},
|
|
|
|
|
goOrder(e) {
|
2024-09-20 15:43:31 +08:00
|
|
|
|
// console.log('授权', uni.getStorageSync('sendMsg'))
|
2024-06-24 11:29:11 +08:00
|
|
|
|
if (uni.getStorageSync('sendMsg')) {
|
|
|
|
|
console.log('授权+1')
|
|
|
|
|
wx.requestSubscribeMessage({
|
|
|
|
|
tmplIds: this.arr,
|
|
|
|
|
success(re) {
|
|
|
|
|
console.log(JSON.stringify(re), 'asdasdasdasddas')
|
|
|
|
|
var datas = JSON.stringify(re);
|
|
|
|
|
if (datas.indexOf("accept") != -1) {
|
|
|
|
|
console.log(re)
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
fail: (res) => {
|
|
|
|
|
console.log(res)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if (this.token) {
|
|
|
|
|
uni.navigateTo({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: '/pages/therapist/orderDetail?artificerId=' + e.artificerId + "&classifyId=" + this
|
|
|
|
|
.tabIndex
|
2024-06-24 11:29:11 +08:00
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
});
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-15 20:59:02 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
gengduo() {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
|
|
|
|
uni.reLaunch({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: '/pages/therapist/therapist'
|
2024-08-26 17:51:53 +08:00
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2024-06-15 20:59:02 +08:00
|
|
|
|
},
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-15 09:08:10 +08:00
|
|
|
|
getCity(e) {
|
2024-08-13 14:08:40 +08:00
|
|
|
|
// this.city = e[0].label;
|
|
|
|
|
// uni.setStorageSync('city', this.city)
|
|
|
|
|
// this.getKTCityList();
|
|
|
|
|
// this.getHomeArtificerList();
|
|
|
|
|
// this.getHomeNearbyList();
|
2024-06-15 09:08:10 +08:00
|
|
|
|
// this.page = 1
|
|
|
|
|
// this.getlist()
|
|
|
|
|
},
|
2024-06-25 10:32:36 +08:00
|
|
|
|
getKTCityList() {
|
|
|
|
|
this.$Request.getT('/app/trip/selectTripList').then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.cityList = [];
|
|
|
|
|
let isOpen = false
|
|
|
|
|
let cityName = uni.getStorageSync('city') ? uni.getStorageSync('city') : '请选择城市'
|
|
|
|
|
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-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-25 10:32:36 +08:00
|
|
|
|
if (!isOpen) {
|
|
|
|
|
this.orderList = []
|
|
|
|
|
// this.showTP = true;
|
|
|
|
|
} else {
|
|
|
|
|
this.showTP = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
2024-06-15 09:08:10 +08:00
|
|
|
|
showCityList() {
|
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
|
if (this.latitude === '' || this.longitude === '') {
|
|
|
|
|
this.checkPermission();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// #endif
|
|
|
|
|
this.Cityshow = true;
|
|
|
|
|
},
|
|
|
|
|
onSearch(e) {
|
|
|
|
|
// this.artificerName = e;
|
|
|
|
|
this.getlist()
|
|
|
|
|
},
|
|
|
|
|
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: '定位服务已关闭',
|
|
|
|
|
content: "您需要打开定位权限,否则我们将无法获得到您附近的项目服务,导致我们无法为您提供服务,请到>设置>隐私>定位服务>中开启【盛安到家】定位权限",
|
|
|
|
|
confirmText: "设置",
|
|
|
|
|
success: function(res) {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
permision.gotoAppSetting();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
return status;
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
getHomeNearbyList() { //附近技师和明星技师
|
|
|
|
|
var data = {
|
2024-09-20 15:43:31 +08:00
|
|
|
|
isStart: 1,
|
|
|
|
|
status: 1,
|
|
|
|
|
// city:this.cityname,
|
2025-02-11 14:16:34 +08:00
|
|
|
|
longitude: this.longitude,
|
|
|
|
|
latitude: this.latitude,
|
2024-09-20 15:43:31 +08:00
|
|
|
|
page: 1,
|
|
|
|
|
limit: 3
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
this.$Request.get("/app/artificer/getHomeArtificerList", data).then(res => {
|
2024-07-03 09:21:00 +08:00
|
|
|
|
if (res.code == 0) {
|
2024-09-20 15:43:31 +08:00
|
|
|
|
this.starTechnician = res.startData.list;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
this.nearbyTechnician = res.nearData.list;
|
2024-09-20 15:43:31 +08:00
|
|
|
|
// const myLatitude = this.latitude; // 当前位置纬度
|
|
|
|
|
// const myLongitude = this.longitude; // 当前位置经度
|
|
|
|
|
// const targetLatitude = 39.919; // 目标位置纬度
|
|
|
|
|
// const targetLongitude = 116.486; // 目标位置经度
|
|
|
|
|
// const targetLatitude = ''; // 目标位置纬度
|
|
|
|
|
// const targetLongitude =''; // 目标位置经度
|
2025-02-11 14:16:34 +08:00
|
|
|
|
for (var i = 0; i < this.nearbyTechnician.length; i++) {
|
|
|
|
|
const distance = this.calculateDistance(
|
|
|
|
|
this.latitude,
|
|
|
|
|
this.longitude,
|
|
|
|
|
this.nearbyTechnician[i].latitude,
|
|
|
|
|
this.nearbyTechnician[i].longitude
|
|
|
|
|
);
|
|
|
|
|
this.nearbyTechnician[i].dingwei = distance.toFixed(1)
|
|
|
|
|
console.log(`距离为: ${distance.toFixed(1)} km`);
|
|
|
|
|
}
|
|
|
|
|
this.nearbyTechnician.sort((a, b) => a.dingwei - b.dingwei);
|
2024-09-20 15:43:31 +08:00
|
|
|
|
// this.classifyId = res.data[0].id;
|
|
|
|
|
// this.getorderlist('')
|
2024-06-15 09:08:10 +08:00
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
2024-09-20 15:43:31 +08:00
|
|
|
|
// getHomeArtificerList(){//明星技师
|
|
|
|
|
// var data={
|
|
|
|
|
// isStart: 1,
|
|
|
|
|
// status: 1,
|
|
|
|
|
// // city:this.cityname,
|
|
|
|
|
// longitude:this.longitude,
|
|
|
|
|
// latitude:this.latitude,
|
|
|
|
|
// page: 1,
|
|
|
|
|
// limit: 3
|
|
|
|
|
// }
|
|
|
|
|
// this.$Request.get("/app/artificer/getHomeArtificerList",data).then(res => {
|
|
|
|
|
// console.log(res);
|
|
|
|
|
// if (res.code == 0) {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
2024-09-20 15:43:31 +08:00
|
|
|
|
// this.starTechnician = res.startData.list;
|
|
|
|
|
// // for(var i=0;i<this.starTechnician.length;i++){
|
|
|
|
|
// // const distance = this.calculateDistance(
|
|
|
|
|
// // this.latitude,
|
|
|
|
|
// // this.longitude,
|
|
|
|
|
// // this.starTechnician[i].latitude,
|
|
|
|
|
// // this.starTechnician[i].longitude
|
|
|
|
|
// // );
|
|
|
|
|
// // this.starTechnician[i].dingwei= distance.toFixed(1)
|
|
|
|
|
// // console.log(`距离为: ${distance.toFixed(1)} km`);
|
|
|
|
|
// // }
|
|
|
|
|
// // this.classifyId = res.data[0].id;
|
|
|
|
|
// // this.getorderlist('')
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
// },
|
2024-06-15 09:08:10 +08:00
|
|
|
|
//获取轮播图
|
|
|
|
|
getBannerList() {
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-15 09:08:10 +08:00
|
|
|
|
this.$Request.get("/app/dict/list", {
|
|
|
|
|
type: '服务类型'
|
|
|
|
|
}).then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if (res.data) {
|
|
|
|
|
this.typeList = res.data
|
|
|
|
|
// this.classifyId = res.data[0].id;
|
|
|
|
|
// this.getorderlist('')
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
goDatail(item) { //热门精选,推荐套餐 跳详情
|
|
|
|
|
console.log("asdasdasddasd", item)
|
2024-08-26 17:51:53 +08:00
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
if (item.type == '114') {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/shop/qiyeDatail?id=' + item.id + '&name=' + 'index'
|
|
|
|
|
})
|
|
|
|
|
} else if (item.type == '104') {
|
2024-08-22 09:11:24 +08:00
|
|
|
|
uni.navigateTo({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: '/pages/my/serviceOderDrtail?id=' + item.id + '&limit=' + this.limit + '&page=' +
|
|
|
|
|
this.page + '&name=' + 'index' + '&isCanCoupon=' + item.isCanCoupon
|
2024-08-22 09:11:24 +08:00
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else if (this.typeData == '105') {
|
2024-08-22 09:11:24 +08:00
|
|
|
|
uni.navigateTo({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: '/pages/my/cikarDrtail?id=' + item.id + '&name=' + 'index' + '&isCanCoupon=' +
|
|
|
|
|
item.isCanCoupon
|
2024-08-22 09:11:24 +08:00
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else if (this.typeData == '106') {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/my/fuwuliaochengDetail?id=' + item.id + '&limit=' + this.limit +
|
|
|
|
|
'&page=' + this.page + '&name=' + 'index' + '&isCanCoupon=' + item.isCanCoupon
|
|
|
|
|
})
|
|
|
|
|
} else {
|
2024-08-26 17:51:53 +08:00
|
|
|
|
uni.navigateTo({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: '/pages/my/fuwuDateil?id=' + item.id + '&limit=' + this.limit + '&page=' + this
|
|
|
|
|
.page
|
2024-08-26 17:51:53 +08:00
|
|
|
|
})
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-06-24 11:29:11 +08:00
|
|
|
|
uni.navigateTo({
|
2024-08-26 17:51:53 +08:00
|
|
|
|
url: '/pages/public/login'
|
2024-06-24 11:29:11 +08:00
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
|
|
|
|
|
2024-06-24 11:29:11 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
chengFel(item) { //大家常买。。。 导航切换
|
|
|
|
|
this.currentTabFl = item.id;
|
|
|
|
|
if (this.currentTabFl == '1') { //大家常买
|
2024-10-26 16:30:54 +08:00
|
|
|
|
// this.remen()
|
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
|
|
|
|
uni.navigateTo({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: '/pages/my/fuwudajiachangmai?text=' + 'index'
|
2024-10-26 16:30:54 +08:00
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
} else if (this.currentTabFl == '2') { // 全部项目
|
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/my/fuwuGengduo?text=' + 'index'
|
|
|
|
|
})
|
|
|
|
|
} else {
|
2024-10-26 16:30:54 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else if (this.currentTabFl == '3') { //行业大拿
|
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/my/hangyedana'
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else { // 女性专区
|
|
|
|
|
let userId = uni.getStorageSync('userId')
|
|
|
|
|
if (userId) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/my/fuwuxiangm'
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
|
|
|
|
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
remen() { //大家常买
|
2024-08-20 16:57:41 +08:00
|
|
|
|
this.$Request.get("/app/massage/package/findPackageAndMassagePage", {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
page: '1',
|
|
|
|
|
limit: '4'
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}).then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if (res.data) {
|
|
|
|
|
this.tjData = res.data.list
|
2025-02-11 14:16:34 +08:00
|
|
|
|
for (var i = 0; i < this.tjData.length; i++) {
|
|
|
|
|
this.tjData[i].tagsData = this.tjData[i].labels.split(',');
|
2024-07-25 20:58:11 +08:00
|
|
|
|
}
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
2024-06-05 19:16:02 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
tozuozhe(item) {
|
2024-09-14 15:20:40 +08:00
|
|
|
|
// console.log("itemitemitemitemitem",item)
|
|
|
|
|
uni.reLaunch({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
url: '/pages/therapist/orderDetail?artificerId=' + item.createBy + '&classifyId=' + 'undefined'
|
2024-09-14 15:20:40 +08:00
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
this.currents = 1 //点击头像以后就会切换
|
2024-09-14 15:20:40 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
cLike(item) {
|
|
|
|
|
var data = {
|
|
|
|
|
createBy: uni.getStorageSync('userId'),
|
|
|
|
|
shipinquanId: item.id,
|
2024-09-14 15:20:40 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
if (item.sfdz == '0') {
|
2024-09-14 15:20:40 +08:00
|
|
|
|
this.$Request.post("/app/shipinquan/addDianzan", data).then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.artificerItem.dzs += 1;
|
|
|
|
|
this.artificerItem.sfdz = '1';
|
|
|
|
|
} else {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: res.msg,
|
|
|
|
|
icon: 'none'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
});
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
} else { //取消点赞
|
2024-09-14 15:20:40 +08:00
|
|
|
|
this.$Request.post("/app/shipinquan/delDianzan", data).then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.artificerItem.dzs -= 1;
|
|
|
|
|
this.artificerItem.sfdz = '0';
|
|
|
|
|
} else {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: res.msg,
|
|
|
|
|
icon: 'none'
|
|
|
|
|
})
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
});
|
2024-09-14 15:20:40 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
likeFun(params, callback) { //评论点赞返回
|
2024-09-14 15:20:40 +08:00
|
|
|
|
console.log("likeFun", params);
|
|
|
|
|
// Implement your logic for likeFun
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
toComment(item) {
|
2024-09-14 15:20:40 +08:00
|
|
|
|
// 注意点击评论之后会执行这里
|
|
|
|
|
/*
|
|
|
|
|
(1)先加载缓冲
|
|
|
|
|
(2)获取当前视频 ID 信息
|
|
|
|
|
(3)🌟🌟🌟🌟重要🌟🌟🌟🌟
|
|
|
|
|
- 一定要记得看 index.vue 里面
|
|
|
|
|
uni.setStorageSync("user",this.peopleList[i]);
|
|
|
|
|
这个东西,用于存储当前用户信息。在 插件里面会使用到这个东西,
|
|
|
|
|
记得写一下。
|
|
|
|
|
|
|
|
|
|
(4)打开评论
|
|
|
|
|
*/
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '加载中...',
|
|
|
|
|
icon: 'none',
|
|
|
|
|
position: 'bottom',
|
|
|
|
|
duration: 300
|
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
uni.setStorageSync("videoID", item.id);
|
2024-09-14 15:20:40 +08:00
|
|
|
|
this.videoID = item.id;
|
|
|
|
|
this.$refs.pinglun.open('bottom');
|
|
|
|
|
this.getPingL(this.videoID);
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
shangxian(item) { //请TA上线
|
|
|
|
|
var data = {
|
2024-11-04 15:13:46 +08:00
|
|
|
|
userId: item.createBy,
|
|
|
|
|
byUserId: uni.getStorageSync('userId'),
|
|
|
|
|
}
|
|
|
|
|
this.$Request.post("/app/message/insertUpMessage", data).then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '提醒成功!'
|
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
2024-11-04 15:13:46 +08:00
|
|
|
|
uni.showToast({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
icon: 'error',
|
2024-11-04 15:13:46 +08:00
|
|
|
|
title: '提醒失败!'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
getPingL(shipinquanId) { //获取评论列表
|
|
|
|
|
var data = {
|
2024-09-14 15:20:40 +08:00
|
|
|
|
page: this.page,
|
2025-02-11 14:16:34 +08:00
|
|
|
|
limit: 310,
|
|
|
|
|
shipinquanId: shipinquanId
|
2024-09-14 15:20:40 +08:00
|
|
|
|
}
|
|
|
|
|
this.$Request.get("/app/shipinquan/contentlist", data).then(res => {
|
|
|
|
|
if (res.code == 0) {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
var msg = res.data.records || {}
|
|
|
|
|
this.tableTotal = res.data.total;
|
|
|
|
|
var list = [];
|
|
|
|
|
// for (let i = 0; i < msg.length; i++) {
|
|
|
|
|
// list.push(msg[i])
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
this.tableData = msg.map(item => {
|
|
|
|
|
return {
|
|
|
|
|
...item,
|
|
|
|
|
parent_id: null,
|
|
|
|
|
reply_id: null,
|
|
|
|
|
reply_name: null,
|
|
|
|
|
user_name: item.userName,
|
|
|
|
|
user_avatar: item.userPhoto ? item.userPhoto : '../../static/logo.png',
|
|
|
|
|
user_content: item.content,
|
|
|
|
|
is_like: true,
|
|
|
|
|
like_count: 8,
|
|
|
|
|
create_time: item.createTime
|
|
|
|
|
};
|
|
|
|
|
});
|
2024-09-14 15:20:40 +08:00
|
|
|
|
} else {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: res.msg,
|
|
|
|
|
icon: 'none'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
replyFun(params, callback) {
|
|
|
|
|
// console.log("replyFun", params);
|
2025-02-11 14:16:34 +08:00
|
|
|
|
if (params.params.user_content == '') {
|
2024-09-14 15:20:40 +08:00
|
|
|
|
uni.hideLoading();
|
|
|
|
|
uni.showToast({
|
2025-02-11 14:16:34 +08:00
|
|
|
|
icon: 'error',
|
|
|
|
|
title: '请填写发布评论'
|
2024-09-14 15:20:40 +08:00
|
|
|
|
})
|
2025-02-11 14:16:34 +08:00
|
|
|
|
} else {
|
|
|
|
|
var data = {
|
|
|
|
|
createBy: uni.getStorageSync('userId'),
|
|
|
|
|
content: params.params.user_content,
|
|
|
|
|
shipinquanId: this.videoID,
|
2024-09-14 15:20:40 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
this.$Request.post("/app/shipinquan/addContent", data).then(res => {
|
2024-09-14 15:20:40 +08:00
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
setTimeout(() => this.getPingL(this.videoID), 500);
|
2025-02-11 14:16:34 +08:00
|
|
|
|
this.showPopup == true;
|
2024-09-14 15:20:40 +08:00
|
|
|
|
uni.hideLoading();
|
|
|
|
|
this.artificerItem.pls++
|
2025-02-11 14:16:34 +08:00
|
|
|
|
// callback(this.videoID);
|
2024-09-14 15:20:40 +08:00
|
|
|
|
} else {
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: res.msg,
|
|
|
|
|
icon: 'none'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
deleteFun({
|
|
|
|
|
params,
|
|
|
|
|
mode
|
|
|
|
|
}, callback) {
|
|
|
|
|
|
|
|
|
|
console.log("deleteFun", {
|
|
|
|
|
params,
|
|
|
|
|
mode
|
|
|
|
|
});
|
|
|
|
|
// 当请求成功, 调用callback执行评论删除;
|
|
|
|
|
switch (this.deleteMode) {
|
|
|
|
|
case "bind":
|
|
|
|
|
// 逻辑: 调用接口进行评论内容修改 update
|
|
|
|
|
setTimeout(() => callback(), 500); // 目前为了展示效果, 直接执行callback
|
|
|
|
|
break;
|
|
|
|
|
case "only":
|
|
|
|
|
// 逻辑: 调用接口删除一个评论 delete
|
|
|
|
|
setTimeout(() => callback(), 500); // 目前为了展示效果, 直接执行callback
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
// all
|
|
|
|
|
// 逻辑: 调用接口删除多个评论 [delete]
|
|
|
|
|
// Demo如下:
|
|
|
|
|
// axios.post("http://xxx/delete", { ids: params }).then((res) => {
|
|
|
|
|
// if (res.code === 0) {
|
|
|
|
|
// callback(res);
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
setTimeout(() => callback(), 500); // 目前为了展示效果, 直接执行callback
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-09-14 15:20:40 +08:00
|
|
|
|
},
|
2025-02-11 14:16:34 +08:00
|
|
|
|
closeScrollview() {
|
2024-09-14 15:20:40 +08:00
|
|
|
|
// 点击评论里面的叉叉,就会关闭评论
|
|
|
|
|
this.$refs.pinglun.close('bottom');
|
|
|
|
|
},
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
<style scoped>
|
2024-08-19 15:37:23 +08:00
|
|
|
|
.kefu span {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #1296db;
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2024-08-19 15:37:23 +08:00
|
|
|
|
.kefu image {
|
|
|
|
|
width: 50px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
}
|
2024-08-28 17:16:58 +08:00
|
|
|
|
|
2024-08-19 15:37:23 +08:00
|
|
|
|
.kefu {
|
|
|
|
|
width: 75px;
|
|
|
|
|
height: 75px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
position: fixed;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
margin-bottom: 20%;
|
2024-08-21 11:21:20 +08:00
|
|
|
|
margin-right: -5px;
|
2024-08-19 15:37:23 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/* 定义闪烁动画 */
|
|
|
|
|
@keyframes blink {
|
|
|
|
|
|
|
|
|
|
0%,
|
|
|
|
|
100% {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
/* 初始和结束状态透明度为1 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
50% {
|
|
|
|
|
opacity: 0.2;
|
|
|
|
|
/* 中间状态透明度降低 */
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 应用动画到图片 */
|
|
|
|
|
.blinking {
|
|
|
|
|
animation: blink 1s infinite;
|
|
|
|
|
/* 'blink' 是动画名, '1s' 是持续时间, 'infinite' 表示无限循环 */
|
|
|
|
|
width: 50px;
|
|
|
|
|
/* 假设设置了宽度 */
|
|
|
|
|
height: auto;
|
|
|
|
|
/* 自动调整高度 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.popup-view /deep/.uni-popup__wrapper-box {
|
2024-07-26 14:21:46 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/deep/.uni-video-fullscreen {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 隐藏小窗口按钮 */
|
|
|
|
|
/deep/.uni-video-switch {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.swiper-item-view {
|
2024-07-23 22:43:29 +08:00
|
|
|
|
width: 70%;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-box-orient: vertical;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
-webkit-line-clamp: 1;
|
|
|
|
|
/* 定义文本的行数 */
|
2024-07-23 22:43:29 +08:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
word-break: break-all;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.videoConten {
|
2024-07-23 22:43:29 +08:00
|
|
|
|
width: 70%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0px;
|
|
|
|
|
margin-bottom: 60px;
|
2024-07-24 13:50:45 +08:00
|
|
|
|
/* height: 30px; */
|
2024-07-23 22:43:29 +08:00
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-box-orient: vertical;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
|
/* 定义文本的行数 */
|
2024-07-23 22:43:29 +08:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
word-break: break-all;
|
|
|
|
|
margin-left: 15px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.top-menu-view /deep/.uni-scroll-view-content {
|
2024-08-08 13:49:29 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
2024-07-23 15:42:42 +08:00
|
|
|
|
justify-content: space-around;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.guanbi {
|
2024-07-23 22:43:29 +08:00
|
|
|
|
width: 30px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
margin-top: 15px;
|
|
|
|
|
margin-right: 9px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.guanbi image {
|
2024-07-23 22:43:29 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/deep/.uni-popup__wrapper-box {
|
2024-07-23 22:43:29 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.data-list {
|
|
|
|
|
width: 100%;
|
2024-07-23 22:43:29 +08:00
|
|
|
|
height: 162px;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
background-color: #000000;
|
|
|
|
|
|
2024-07-23 22:43:29 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.videoHovers {
|
2024-07-23 22:43:29 +08:00
|
|
|
|
width: 76px;
|
|
|
|
|
height: 76px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0px;
|
|
|
|
|
margin-top: 27%;
|
|
|
|
|
margin-left: 27%;
|
|
|
|
|
z-index: 99;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.videoHover {
|
2024-07-23 22:43:29 +08:00
|
|
|
|
width: 76px;
|
|
|
|
|
height: 76px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0px;
|
|
|
|
|
margin-top: 70%;
|
|
|
|
|
margin-left: 40%;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.videoHover image,
|
|
|
|
|
.videoHovers image {
|
2024-07-23 22:43:29 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.swiper-box-list /deep/.uni-scroll-view-content {
|
2024-08-08 13:49:29 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-around;
|
2024-07-23 22:43:29 +08:00
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.salogo {
|
2024-07-23 17:21:41 +08:00
|
|
|
|
width: 130rpx;
|
|
|
|
|
height: 32rpx;
|
2024-07-23 19:34:01 +08:00
|
|
|
|
margin-left: 34rpx;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
margin-top: 6rpx;
|
2024-07-22 19:25:43 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-yanzheng {
|
2024-07-22 19:25:43 +08:00
|
|
|
|
width: 100rpx;
|
|
|
|
|
height: 22rpx;
|
|
|
|
|
margin-left: 4rpx;
|
2024-07-19 09:42:34 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.localName {
|
2025-02-08 16:35:24 +08:00
|
|
|
|
width: 540rpx;
|
2024-07-16 11:17:34 +08:00
|
|
|
|
margin-left: 4rpx;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
font-weight: bold;
|
2024-07-16 11:17:34 +08:00
|
|
|
|
color: #333333;
|
|
|
|
|
margin-top: 3rpx;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
/* 确保超出容器的内容被裁剪 */
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
/* 确保文本在一行内显示 */
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
/* 超出部分显示省略号 */
|
2024-07-16 11:17:34 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.view-more {
|
2024-07-22 19:25:43 +08:00
|
|
|
|
display: inline-block;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
border-top: 1px solid;
|
|
|
|
|
border-right: 1px solid;
|
|
|
|
|
width: 7px;
|
|
|
|
|
height: 8px;
|
|
|
|
|
border-color: #999;
|
|
|
|
|
-webkit-transform: rotate(45deg);
|
|
|
|
|
transform: rotate(45deg);
|
|
|
|
|
margin-top: 3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/deep/.uni-icons {
|
|
|
|
|
font-family: uniicons;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
text-align: center;
|
2024-07-11 16:26:52 +08:00
|
|
|
|
color: #019c88 !important;
|
|
|
|
|
font-size: 30rpx !important;
|
|
|
|
|
margin-top: 3rpx;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-07-11 16:26:52 +08:00
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
/deep/.uni-select__selector-scroll {
|
2024-07-10 17:58:14 +08:00
|
|
|
|
height: 100px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/deep/.uni-stat__select {
|
2024-07-10 17:58:14 +08:00
|
|
|
|
width: 60px;
|
|
|
|
|
max-width: 60px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/deep/.uni-select__input-text {
|
2024-07-11 14:28:36 +08:00
|
|
|
|
width: 100%;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
color: #019c88;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
-o-text-overflow: ellipsis;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/deep/.uni-select {
|
|
|
|
|
width: 60px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
border: 1px solid #a1e0d4;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
border-radius: 30px;
|
|
|
|
|
padding: 0 4px;
|
|
|
|
|
padding-left: 10px;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-user-select: none;
|
|
|
|
|
user-select: none;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 100%;
|
|
|
|
|
flex: 1;
|
|
|
|
|
height: 30px;
|
|
|
|
|
background: linear-gradient(90deg, #a4e1d5, #e6f7f3);
|
|
|
|
|
color: #019c88;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/deep/.uni-searchbar__cancel {
|
2024-07-10 17:58:14 +08:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.search-btn {
|
2024-07-10 17:58:14 +08:00
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 31px;
|
|
|
|
|
color: #fff;
|
2024-07-19 09:42:34 +08:00
|
|
|
|
width: 130rpx !important;
|
2024-07-10 17:58:14 +08:00
|
|
|
|
height: 32px !important;
|
2024-07-19 09:42:34 +08:00
|
|
|
|
margin-right: 20rpx;
|
|
|
|
|
border-radius: 50rpx !important;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
background: linear-gradient(90deg, #019c88, #2fbf93) !important;
|
2024-07-10 17:58:14 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-line {
|
2024-07-15 16:28:28 +08:00
|
|
|
|
width: 100%;
|
2025-02-08 16:35:24 +08:00
|
|
|
|
/* display: flex; */
|
2024-07-15 16:28:28 +08:00
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-between;
|
2024-07-20 15:08:55 +08:00
|
|
|
|
align-items: center;
|
2024-07-15 16:28:28 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/deep/.uni-searchbar__box-icon-search,
|
|
|
|
|
.search-btn {
|
2024-07-10 17:58:14 +08:00
|
|
|
|
height: 60rpx;
|
|
|
|
|
background: #18A689;
|
|
|
|
|
border-radius: 31rpx;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-07-10 17:58:14 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/deep/.uni-searchbar__box {
|
2024-07-16 13:37:01 +08:00
|
|
|
|
height: 32px;
|
2024-07-10 17:58:14 +08:00
|
|
|
|
border-radius: 15px !important;
|
|
|
|
|
background-color: #fff !important;
|
2024-07-20 11:44:52 +08:00
|
|
|
|
border: 1rpx solid #019c88;
|
2024-07-10 17:58:14 +08:00
|
|
|
|
padding: 0px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
flex-flow: row-reverse;
|
|
|
|
|
position: relative;
|
2024-07-15 16:30:27 +08:00
|
|
|
|
justify-content: center;
|
2024-07-10 17:58:14 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/deep/.uni-searchbar {
|
|
|
|
|
width: 80%;
|
2024-07-10 17:58:14 +08:00
|
|
|
|
border-radius: 31rpx;
|
2024-07-22 19:25:43 +08:00
|
|
|
|
margin-left: 6rpx;
|
2024-07-10 17:58:14 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-headset {
|
2024-07-15 16:28:28 +08:00
|
|
|
|
margin-right: 30rpx;
|
2024-07-20 11:44:52 +08:00
|
|
|
|
display: flex;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
align-items: center;
|
2024-07-20 15:08:55 +08:00
|
|
|
|
margin-top: 4rpx;
|
2025-02-08 16:35:24 +08:00
|
|
|
|
justify-content: flex-end;
|
2024-07-15 16:28:28 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.locate-line {
|
2024-07-22 19:25:43 +08:00
|
|
|
|
/*padding-left: 25rpx;*/
|
2024-07-15 16:28:28 +08:00
|
|
|
|
margin-top: 3rpx;
|
2024-07-20 11:44:52 +08:00
|
|
|
|
display: flex;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
align-items: center;
|
2024-07-15 16:28:28 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.popup-mian-view {
|
2024-07-09 11:02:01 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
2024-08-15 10:11:28 +08:00
|
|
|
|
flex-wrap: wrap;
|
2024-07-09 11:02:01 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.popup-mian-btn span:nth-child(1) {
|
2024-07-09 11:02:01 +08:00
|
|
|
|
background: linear-gradient(90deg, #FE912E, #FF9970);
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.popup-mian-btn span:nth-child(2) {
|
2024-07-09 11:02:01 +08:00
|
|
|
|
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
.popup-mian-btn span {
|
2024-07-09 11:02:01 +08:00
|
|
|
|
width: 247rpx;
|
|
|
|
|
height: 77rpx;
|
|
|
|
|
line-height: 77rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #FFFEFE;
|
|
|
|
|
border-radius: 39rpx;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.popup-mian-btn {
|
2024-07-09 11:02:01 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-top: 28px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.popup-mian-textarea {
|
2024-07-09 11:02:01 +08:00
|
|
|
|
width: 525.69rpx;
|
|
|
|
|
height: 211.81rpx;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.popup-mian {
|
2024-07-09 11:02:01 +08:00
|
|
|
|
width: 88%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2024-08-15 10:49:34 +08:00
|
|
|
|
margin: 0px auto 12px auto;
|
2024-07-09 11:02:01 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.popup-head span:nth-child(2) {
|
2024-07-09 11:02:01 +08:00
|
|
|
|
width: 50rpx;
|
|
|
|
|
height: 50rpx;
|
|
|
|
|
line-height: 19px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
color: #15AB8D;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
border: 1px solid #15AB8D;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.popup-head span:nth-child(1) {
|
2024-07-09 11:02:01 +08:00
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #333333;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.popup-head {
|
2024-07-09 11:02:01 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 99.38rpx;
|
|
|
|
|
background-color: rgba(21, 171, 141, 0.09);
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 0 15px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.popup-content {
|
2024-07-09 11:02:01 +08:00
|
|
|
|
width: 613rpx;
|
2024-08-15 10:11:28 +08:00
|
|
|
|
height: auto;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
background: #fff url(../../static/background-img3.png)no-repeat;
|
2024-07-10 14:56:29 +08:00
|
|
|
|
background-size: 130%;
|
2024-07-09 11:02:01 +08:00
|
|
|
|
border-radius: 36rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.popup-close {
|
2024-07-09 17:29:20 +08:00
|
|
|
|
text-align: right;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
margin-top: 15rpx;
|
2024-07-09 17:29:20 +08:00
|
|
|
|
margin-right: 15rpx;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-07-09 17:29:20 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.popup-close-img {
|
2024-07-09 17:29:20 +08:00
|
|
|
|
width: 50rpx;
|
|
|
|
|
height: 50rpx;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/deep/.item-descr {
|
2024-08-14 09:36:25 +08:00
|
|
|
|
-webkit-line-clamp: 2;
|
2024-06-28 15:30:12 +08:00
|
|
|
|
margin-top: 5px;
|
2024-06-26 14:45:44 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-image {
|
2024-06-24 11:29:11 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2024-07-03 13:41:18 +08:00
|
|
|
|
border-radius: 15rpx;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.content_bj {
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: #fff url(../../static/background-img2.png)no-repeat;
|
2024-06-25 22:16:20 +08:00
|
|
|
|
background-size: 100%;
|
2024-06-25 21:25:46 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-view-title {
|
2024-06-24 11:29:11 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 337.5rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
border-radius: 30px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/deep/.u-select {
|
2024-06-15 09:08:10 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/deep/.u-select__header {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
height: 38px;
|
|
|
|
|
padding: 0 19px;
|
2024-06-15 09:08:10 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/deep/.u-content,
|
|
|
|
|
/deep/.u-search {
|
2024-06-15 09:08:10 +08:00
|
|
|
|
flex: none;
|
2024-06-27 22:17:57 +08:00
|
|
|
|
width: 533rpx;
|
2024-06-15 09:08:10 +08:00
|
|
|
|
border-radius: 32rpx !important;
|
|
|
|
|
height: 64rpx !important;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/deep/.u-action {
|
2024-06-15 09:08:10 +08:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.dingwei-img {
|
|
|
|
|
width: 26rpx;
|
|
|
|
|
height: 29rpx;
|
2024-06-15 09:08:10 +08:00
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.menu-topic-act .menu-topic-bottom-color {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
background: linear-gradient(90deg, rgba(234, 248, 245, 0.7), rgba(132, 211, 196, 0.7));
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
/* 字体 */
|
2025-02-11 14:16:34 +08:00
|
|
|
|
.font-size-19 {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-size: 19rpx;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.font-size-34 {
|
2024-06-27 16:26:58 +08:00
|
|
|
|
font-size: 35.72rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.width {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 95%;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
/* 样式 */
|
2025-02-11 14:16:34 +08:00
|
|
|
|
.index-taocan-view-nav:last-child .fenjie {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-taocan-view-nav-s {
|
2024-06-05 19:16:02 +08:00
|
|
|
|
width: 100%;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-taocan-view-nav {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 25%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.swiper-item span:nth-child(1) {
|
2024-06-05 19:16:02 +08:00
|
|
|
|
font-weight: bold;
|
2024-06-28 15:30:12 +08:00
|
|
|
|
font-size: 29rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #333333;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
margin: 10px 11px 0px 8px;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.swiper-item span:nth-child(2) {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
ont-weight: 400;
|
2024-06-28 15:30:12 +08:00
|
|
|
|
font-size: 24rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #999999;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.swiper-item {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.swiper-item-card {
|
2024-06-28 15:30:12 +08:00
|
|
|
|
width: 346rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
margin-top: 12rpx;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.swiper-back-img {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 338rpx;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
2024-06-12 15:52:21 +08:00
|
|
|
|
border-radius: 17rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
background: url(../../static/yuyue.png) 100% no-repeat;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.swiper-back-img image {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 91.67rpx;
|
|
|
|
|
height: 93.06rpx;
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.body-view {
|
|
|
|
|
width: 100%;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
overflow: hidden;
|
2024-07-23 22:43:29 +08:00
|
|
|
|
padding-bottom: 100px;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.top-menu-view {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
white-space: nowrap;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
background: linear-gradient(180deg, rgba(238, 250, 246, 0.6), rgba(255, 255, 255, 0.9));
|
|
|
|
|
background-color: rgba(1, 156, 136, 0.2);
|
2024-06-12 15:52:21 +08:00
|
|
|
|
height: 108rpx;
|
|
|
|
|
line-height: 108rpx;
|
2024-06-25 22:16:20 +08:00
|
|
|
|
margin-top: 10rpx;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.menu-topic-text {
|
2024-06-28 15:30:12 +08:00
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
color: #333;
|
|
|
|
|
padding: 10rpx 70rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.menu-topic-bottom {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.menu-topic-view {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
height: 86rpx;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.menu-topic-act .menu-topic-bottom {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.menu-topic-act .menu-topic-text {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #000000;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.menu-topic-bottom-color {
|
|
|
|
|
width: 62.5rpx;
|
|
|
|
|
height: 4px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 66;
|
|
|
|
|
margin-top: -23px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
/deep/.menu-topic-act {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.swiper-box-list {
|
|
|
|
|
width: 95%;
|
|
|
|
|
margin: 5px auto;
|
2024-08-08 13:49:29 +08:00
|
|
|
|
/* flex:1; */
|
2024-06-12 15:52:21 +08:00
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
|
height: 490px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.swiper-topic-list {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
width: 48%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-between;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
flex-wrap: wrap;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
/* 隐藏滚动条,但依旧具备可以滚动的功能 */
|
|
|
|
|
/deep/.uni-scroll-view::-webkit-scrollbar {
|
|
|
|
|
display: none
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
.index-card-mian-biao-left,
|
|
|
|
|
.index-card-mian-biao-right {
|
2024-06-26 10:19:28 +08:00
|
|
|
|
padding: 3px 5px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-mian-biao-right {
|
|
|
|
|
background-color: rgba(4, 184, 119, 0.12);
|
2024-06-26 10:19:28 +08:00
|
|
|
|
border-radius: 8rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: 400;
|
2024-06-28 15:55:10 +08:00
|
|
|
|
font-size: 23rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #0EBE80;
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-mian-biao-left {
|
2024-07-25 20:58:11 +08:00
|
|
|
|
background: linear-gradient(90deg, #ffefde, #fff7ef);
|
|
|
|
|
height: 34rpx;
|
|
|
|
|
line-height: 34rpx;
|
2024-06-26 10:19:28 +08:00
|
|
|
|
border-radius: 8rpx;
|
2024-07-25 20:58:11 +08:00
|
|
|
|
padding: 0 10rpx;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
margin-right: 8rpx;
|
|
|
|
|
margin-bottom: 8rpx;
|
|
|
|
|
color: #f68607;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-mian-biao {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-mian-title {
|
2024-06-25 22:16:20 +08:00
|
|
|
|
font-size: 28rpx;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
color: #333333;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.marginTop {
|
2024-06-25 22:16:20 +08:00
|
|
|
|
margin-bottom: 5px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-mian {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2024-06-25 22:16:20 +08:00
|
|
|
|
margin-top: 5px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-view-title-right {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 65px;
|
|
|
|
|
height: 47rpx;
|
|
|
|
|
line-height: 47rpx;
|
|
|
|
|
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
|
|
|
|
|
border-top-left-radius: 10px;
|
|
|
|
|
border-bottom-right-radius: 10px;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
text-align: center;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: 400;
|
2024-06-25 22:16:20 +08:00
|
|
|
|
font-size: 22rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #fff;
|
|
|
|
|
position: absolute;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
top: 15rpx;
|
|
|
|
|
left: 10rpx;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
/* margin-left: 85px; */
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-view-title-left {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 95px;
|
|
|
|
|
height: 46.53rpx;
|
|
|
|
|
line-height: 46.53rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 21rpx;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
text-align: center;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
color: #333333;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
border-top-left-radius: 30px;
|
|
|
|
|
background-color: rgba(176, 176, 176, 0.48);
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
.index-card-mian-time,
|
|
|
|
|
.index-card-mian-money {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-mian-money-zhen {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 31rpx;
|
|
|
|
|
color: #000000;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-mian-money-jia {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
margin-left: 10px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #999999;
|
|
|
|
|
text-decoration-line: line-through;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-mian-time span {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #666666;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-mian-time image {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 20.83rpx;
|
|
|
|
|
height: 20.83rpx;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card-view {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 336.81rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2024-07-02 20:57:04 +08:00
|
|
|
|
margin-top: 7px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.tuijian-view {
|
2024-06-24 11:29:11 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-top: 15px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-card {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-between;
|
2024-07-02 20:57:04 +08:00
|
|
|
|
flex-wrap: wrap;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
align-items: center;
|
|
|
|
|
margin-top: 15px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.fenjie {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 1rpx;
|
|
|
|
|
height: 32rpx;
|
|
|
|
|
background: #CCCCCC;
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
.index-taocan-view-nav-text {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: bold;
|
2024-08-22 16:00:16 +08:00
|
|
|
|
font-size: 16px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-taocan-view-nav-jie {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: 400;
|
2024-06-27 16:26:58 +08:00
|
|
|
|
font-size: 22rpx;
|
2024-06-25 21:25:46 +08:00
|
|
|
|
color: #999;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.activeL {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #019C88;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.activeXL {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #2FC590;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.activeH {
|
2024-06-25 21:25:46 +08:00
|
|
|
|
color: #333333;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.activexH {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #999999;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.feng_word {
|
2024-08-16 17:06:40 +08:00
|
|
|
|
font-size: 25rpx;
|
2024-06-25 21:25:46 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-taocan-view {
|
2024-06-05 19:16:02 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
flex-direction: row;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
align-items: center;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
justify-content: space-between;
|
2024-06-28 15:30:12 +08:00
|
|
|
|
margin-top: 28rpx;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-taocan {
|
2024-06-26 10:19:28 +08:00
|
|
|
|
padding: 0 30rpx;
|
|
|
|
|
width: 100%;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
background: linear-gradient(180deg, rgba(238, 250, 246, 0.6), rgba(255, 255, 255, 0.9));
|
2024-07-04 19:13:27 +08:00
|
|
|
|
margin: 20rpx 0px 0px 0px;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-jie-id {
|
2024-06-25 21:25:46 +08:00
|
|
|
|
height: 30rpx;
|
2024-06-27 16:26:58 +08:00
|
|
|
|
font-size: 24rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #999999;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
text-align: center;
|
|
|
|
|
display: table;
|
2024-08-16 17:06:40 +08:00
|
|
|
|
width: 100px;
|
|
|
|
|
white-space: pre-wrap;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-box-orient: vertical;
|
2024-06-25 10:32:36 +08:00
|
|
|
|
-webkit-line-clamp: 1;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
overflow: hidden;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-jie-name {
|
2024-06-27 22:17:57 +08:00
|
|
|
|
margin-bottom: 3px;
|
2024-06-28 15:30:12 +08:00
|
|
|
|
font-size: 30rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #333333;
|
2024-06-28 15:30:12 +08:00
|
|
|
|
font-weight: bold;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 290px;
|
2024-06-25 21:25:46 +08:00
|
|
|
|
background: linear-gradient(0deg, #fff, #F4FFFB);
|
2024-06-28 15:30:12 +08:00
|
|
|
|
margin-top: 5rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-jie-view {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 222.22rpx;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
2024-06-24 11:29:11 +08:00
|
|
|
|
margin-top: 10px;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-jie {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.fujin-view {
|
2024-06-15 09:08:10 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
2024-06-26 14:45:44 +08:00
|
|
|
|
padding-bottom: 10px;
|
2024-06-15 09:08:10 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-view {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 222.22rpx;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2024-06-15 09:08:10 +08:00
|
|
|
|
height: 313rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-view-img {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 100%;
|
2024-06-25 21:25:46 +08:00
|
|
|
|
height: 308.5rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
border-radius: 14rpx;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-view-text {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 63px;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
display: flex;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: flex-end;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
justify-content: center;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
background: linear-gradient(4deg, rgba(0, 156, 136, 0.3), rgba(0, 156, 136, 0));
|
2024-06-12 15:52:21 +08:00
|
|
|
|
border-radius: 0px 0px 7px 7px;
|
|
|
|
|
position: absolute;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
bottom: 1px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
padding-bottom: 13px;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-img {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
margin: 0 auto;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-view-text span {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 25rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-view-text image {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 20.83rpx;
|
2024-07-20 11:44:52 +08:00
|
|
|
|
height: 22.61rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
margin-right: 5px;
|
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
.index-fujin-title-left image {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 33.33rpx;
|
|
|
|
|
height: 33.33rpx;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-title-left span {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 31rpx;
|
|
|
|
|
color: #333333;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-title-left-text,
|
|
|
|
|
.index-fujin-title-left-btn {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: 400;
|
2024-06-28 15:30:12 +08:00
|
|
|
|
font-size: 23rpx;
|
|
|
|
|
color: #333;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-title-left-btn {
|
|
|
|
|
margin-left: 8px;
|
2024-06-28 15:30:12 +08:00
|
|
|
|
margin-right: 5px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-title-left,
|
|
|
|
|
.index-fujin-title-right {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fujin-title {
|
|
|
|
|
margin: 0 auto;
|
2024-06-25 21:25:46 +08:00
|
|
|
|
padding: 15px 0px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
2024-06-25 21:25:46 +08:00
|
|
|
|
margin-top: 10px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
.index-guanggao-pintuan {
|
2025-02-08 16:35:24 +08:00
|
|
|
|
width: 400.28rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-guanggao-right {
|
2025-02-08 16:35:24 +08:00
|
|
|
|
width: 400.28rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.index-guanggao-right-cika {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 200.56rpx;
|
2024-06-25 21:25:46 +08:00
|
|
|
|
margin-bottom: 10rpx;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.index-guanggao-right-yuyue {
|
2024-06-25 21:25:46 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 200.56rpx;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.index-guanggao {
|
|
|
|
|
margin: 10px auto;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-between;
|
2025-02-08 16:35:24 +08:00
|
|
|
|
/* height: 426.39rpx; */
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-project {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
flex-wrap: wrap;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
margin: 5px 10px 20px 10px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-project-content image {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 68.75rpx;
|
|
|
|
|
height: 72.22rpx;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.index-project-content {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex-basis: 20%;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-top: 15px;
|
|
|
|
|
height: 58px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
2024-07-09 17:29:20 +08:00
|
|
|
|
.index-project-content1 {
|
2025-02-11 14:16:34 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex-basis: 33%;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-top: 15px;
|
|
|
|
|
height: 58px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.index-project-content1 image {
|
2024-07-09 17:29:20 +08:00
|
|
|
|
width: 68.75rpx;
|
|
|
|
|
height: 72.22rpx;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.star-technician-name {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 37rpx;
|
|
|
|
|
color: #FFFFFF;
|
2024-06-28 14:29:22 +08:00
|
|
|
|
margin-top: -26rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.star-technician-name-bot {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 21rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
opacity: 0.7;
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.star-technician-gengguo {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.star-technician-top-text {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.title-star {
|
2024-06-28 14:29:22 +08:00
|
|
|
|
width: 95.1%;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
margin: 0 auto;
|
|
|
|
|
display: flex;
|
|
|
|
|
height: 51px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.star-technician-top {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
padding: 0px 20px;
|
|
|
|
|
background-image: url(../../static/frame.png);
|
|
|
|
|
background-size: 100%;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.star-technician-mian {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.star-technician {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
position: relative;
|
2024-07-03 21:34:26 +08:00
|
|
|
|
margin: -15px auto 0px auto;
|
2024-08-16 16:38:03 +08:00
|
|
|
|
height: 216px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
background: #FFFFFF;
|
2024-06-28 15:30:12 +08:00
|
|
|
|
border-radius: 0px 0px 10px 10px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
border: 4.5px solid #049E89;
|
2024-06-28 14:29:22 +08:00
|
|
|
|
padding: 0px 10px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-gun {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 400px !important;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow-x: scroll;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-fenl {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
height: 40px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.fenl:nth-child(1) {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
padding-left: 0px !important;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.fenl {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0px 10px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: #666666;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 34rpx;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-nav-bottom image {
|
2024-06-25 21:25:46 +08:00
|
|
|
|
width: 350.11rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
height: 182.64rpx;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-nav-bottom {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
2024-06-25 21:25:46 +08:00
|
|
|
|
margin: 0px auto 8px auto;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
.index-mian-select image {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 16px;
|
|
|
|
|
height: 8px;
|
|
|
|
|
margin-left: 5px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-mian-select {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-mian {
|
2024-07-23 19:34:01 +08:00
|
|
|
|
width: 98%;
|
|
|
|
|
margin: 4rpx auto;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-top-mian {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
2024-07-15 16:28:28 +08:00
|
|
|
|
margin-left: 15rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-top-left {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
color: #019C88;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-top-right {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-top-right image {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
width: 13px;
|
|
|
|
|
height: 12px;
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-top-mian-text {
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
2024-06-27 22:17:57 +08:00
|
|
|
|
margin-left: 5px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-top-mian-text span {
|
2024-06-25 21:25:46 +08:00
|
|
|
|
color: #019c88;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
font-weight: 400;
|
2024-06-28 15:30:12 +08:00
|
|
|
|
margin-left: 3px;
|
|
|
|
|
font-size: 12px;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-top-mian-text image {
|
2024-06-28 15:30:12 +08:00
|
|
|
|
width: 30rpx;
|
|
|
|
|
height: 30rpx;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
}
|
2024-08-16 17:06:40 +08:00
|
|
|
|
|
2025-02-11 14:16:34 +08:00
|
|
|
|
.index-top {
|
|
|
|
|
width: 94%;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.index-head {
|
2024-08-16 17:06:40 +08:00
|
|
|
|
width: 100%;
|
2024-06-12 15:52:21 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
padding-top: 10px;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
|
.content {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
overflow: auto;
|
2024-06-05 19:16:02 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.shop_label {
|
2024-07-25 20:58:11 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
margin-top: 10rpx;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.shop_label span {
|
2024-07-25 20:58:11 +08:00
|
|
|
|
background: linear-gradient(90deg, #ffefde, #fff7ef);
|
|
|
|
|
height: 34rpx;
|
|
|
|
|
line-height: 34rpx;
|
|
|
|
|
border-radius: 8rpx;
|
|
|
|
|
padding: 0 10rpx;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
margin-right: 8rpx;
|
|
|
|
|
margin-bottom: 8rpx;
|
|
|
|
|
color: #f68607;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.userInfo {
|
2024-09-14 15:20:40 +08:00
|
|
|
|
position: absolute;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
bottom: 110px;
|
2024-09-14 15:20:40 +08:00
|
|
|
|
right: 10px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
z-index: 18;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.userAvatar {
|
2024-09-14 15:20:40 +08:00
|
|
|
|
border-radius: 500%;
|
|
|
|
|
border-style: solid;
|
|
|
|
|
border-width: 2px;
|
|
|
|
|
border-color: #ffffff;
|
2025-02-11 14:16:34 +08:00
|
|
|
|
width: 100rpx;
|
2024-09-14 15:20:40 +08:00
|
|
|
|
height: 100rpx;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.list-view {
|
2024-09-14 15:20:40 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.uni-popup {
|
2024-09-14 15:20:40 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 500px;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
|
|
|
|
|
.popup-content-pl {
|
2024-09-14 15:20:40 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background-color: #242424;
|
|
|
|
|
border-top-left-radius: 10px;
|
|
|
|
|
border-top-right-radius: 10px;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
2025-02-12 08:53:34 +08:00
|
|
|
|
.smrz {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
2025-02-12 11:20:05 +08:00
|
|
|
|
margin-top: 5px;
|
|
|
|
|
padding-left: 20%;
|
|
|
|
|
padding-right: 20%;
|
|
|
|
|
/* padding-left: 48%;
|
|
|
|
|
padding-right: 5px; */
|
2025-02-12 08:53:34 +08:00
|
|
|
|
}
|
2025-02-11 14:16:34 +08:00
|
|
|
|
</style>
|