chuangte_bike_newxcx/pages/my.vue

860 lines
20 KiB
Vue
Raw Normal View History

2023-12-05 16:45:28 +08:00
<template>
2024-01-27 16:37:52 +08:00
<view class="page">
2025-12-20 14:29:10 +08:00
<u-navbar title="我的" :border-bottom="false" back-icon-color="000" :background="bgc" title-color='#000'
title-size='36' height='44' id="navbar" :custom-back="btnfh">
2024-01-27 16:37:52 +08:00
</u-navbar>
2025-09-22 17:08:55 +08:00
<image :src="appimg.mineUserBg" class="imgbj" mode=""></image>
2025-08-30 17:38:15 +08:00
<view class="toptx">
<view class="tx">
2025-11-08 09:37:13 +08:00
<image :src="appimg.mineDefaultAvatar" mode="aspectFill" style="border-radius: 50%;"></image>
2025-08-30 17:38:15 +08:00
</view>
<view class="rt">
<view class="name" @click="btnpage(1)">
2025-12-20 14:29:10 +08:00
{{user.nickName == null ? '--' : maskName(user.nickName)}} <text
v-if="user.authTypes.some(tag => tag == 1)">已实名</text> <text v-else>未实名</text>
2025-08-30 17:38:15 +08:00
</view>
<view class="tel">
2025-12-20 14:29:10 +08:00
{{user.userName == null ? '--' : maskPhone(user.userName)}}
2025-08-30 17:38:15 +08:00
</view>
</view>
</view>
<view class="dahezi" style="margin-top: 56rpx;">
2025-04-01 21:35:30 +08:00
<view class="caozuo">
2025-09-22 17:08:55 +08:00
<image @click="btnpage(1)" :src="appimg.mineAuth" mode=""></image>
<image @click="btnpage(2)" :src="appimg.mineOrder" mode=""></image>
<image @click="btnpage(3)" :src="appimg.mineUseGuide" mode=""></image>
<image @click="btnpage(4)" :src="appimg.mineRentGuide" mode=""></image>
2024-01-27 16:37:52 +08:00
</view>
2025-04-01 21:35:30 +08:00
<view class="ul">
2025-06-06 11:32:12 +08:00
<view class="li" @click="btnpage(14)">
<view class="lt">
2025-09-22 17:08:55 +08:00
<image :src="appimg.mineVip" mode=""></image> 我的会员
2025-12-20 14:29:10 +08:00
</view>
2026-01-15 14:40:00 +08:00
<image src="/static/image/jt.png" mode=""></image>
2025-06-06 11:32:12 +08:00
</view>
2026-02-26 18:05:57 +08:00
<view class="li" @click="btnpage(16)">
<view class="lt">
<image :src="appimg.mineCouponVerify" mode=""></image> 团购核销
</view>
<image src="/static/image/jt.png" mode=""></image>
</view>
2025-04-01 21:35:30 +08:00
<view class="li" @click="btnpage(5)">
<view class="lt">
2025-09-22 17:08:55 +08:00
<image :src="appimg.mineFaultReport" mode=""></image> 故障上报
2025-04-01 21:35:30 +08:00
</view>
2026-01-15 14:40:00 +08:00
<image src="/static/image/jt.png" mode=""></image>
2025-04-01 21:35:30 +08:00
</view>
<view class="li" @click="btnpage(7)">
<view class="lt">
2025-09-22 17:08:55 +08:00
<image :src="appimg.mineOrderComplaint" mode=""></image> 订单投诉
2025-04-01 21:35:30 +08:00
</view>
2026-01-15 14:40:00 +08:00
<image src="/static/image/jt.png" mode=""></image>
2025-04-01 21:35:30 +08:00
</view>
<view class="li" @click="btnpage(9)">
<view class="lt">
2025-09-22 17:08:55 +08:00
<image :src="appimg.mineHelp" mode=""></image> 帮助中心
2025-04-01 21:35:30 +08:00
</view>
2026-01-15 14:40:00 +08:00
<image src="/static/image/jt.png" mode=""></image>
2024-03-13 10:54:22 +08:00
</view>
2025-04-27 17:37:23 +08:00
</view>
<view class="ul" v-if="guanliflag || adminflag">
2025-04-01 21:35:30 +08:00
<view class="li" @click="btnpage(11)" v-if="guanliflag">
<view class="lt">
2025-09-22 17:08:55 +08:00
<image :src="appimg.mineAdmin" mode=""></image> 管理后台
2025-12-20 14:29:10 +08:00
</view>
2026-01-15 14:40:00 +08:00
<image src="/static/image/jt.png" mode=""></image>
2024-03-13 10:54:22 +08:00
</view>
2025-04-01 21:35:30 +08:00
<view class="li" @click="btnpage(13)" v-if="adminflag">
<view class="lt">
2025-09-22 17:08:55 +08:00
<image :src="appimg.mineDeviceInput" mode=""></image> 设备录入
2025-04-01 21:35:30 +08:00
</view>
2026-01-15 14:40:00 +08:00
<image src="/static/image/jt.png" mode=""></image>
2024-03-13 10:54:22 +08:00
</view>
2024-01-27 16:37:52 +08:00
</view>
2025-08-30 17:38:15 +08:00
<view class="ul" style="padding: 0 56rpx;">
<view class="li" @click="btnpage(12)" v-if="logoflag == false">
<view class="lt">
2025-09-22 17:08:55 +08:00
<image :src="appimg.mineLogout" mode=""></image> 退出登录
2025-12-20 14:29:10 +08:00
</view>
2026-01-15 14:40:00 +08:00
<image src="/static/image/jt.png" mode=""></image>
2025-08-30 17:38:15 +08:00
</view>
<view class="li" @click="btnpage(15)" v-else>
<view class="lt">
2025-09-22 17:08:55 +08:00
<image :src="appimg.mineLogout" mode=""></image> 立即登录
2025-08-30 17:38:15 +08:00
</view>
2026-01-15 14:40:00 +08:00
<image src="/static/image/jt.png" mode=""></image>
2025-08-30 17:38:15 +08:00
</view>
</view>
2025-12-20 14:29:10 +08:00
<view class="" style="width: 100%;text-align: center;margin-top: 20rpx;color: #ccc;">
本小程序由创特物联提供技术支持 v1.0.1
</view>
2024-01-27 16:37:52 +08:00
</view>
2025-04-01 21:35:30 +08:00
<!-- 平台客服弹窗 -->
<view class="kefutc" v-if="kefuflag">
2026-01-15 14:40:00 +08:00
<image src="/static/image/icon16.png" mode="" @click="btmnyc">
2025-12-20 14:29:10 +08:00
</image>
2025-04-01 21:35:30 +08:00
<view class="box">
2025-04-10 08:57:21 +08:00
<view class="" style="max-height: 170rpx;overflow: scroll;">
<view class="top" v-for="(item,index) in kefulist" :key="index">
<view class="dianhua">
{{item.name == null ? '--' : item.name}}{{item.contact == null ? '--' : item.contact}}
</view>
<view class="boda" @click.stop="btnptkf(item.contact)">
<u-icon name="phone-fill" color="#4297F3" size="28"></u-icon>
<text>拨打</text>
</view>
2024-01-27 16:37:52 +08:00
</view>
</view>
2025-04-01 21:35:30 +08:00
<view class="bot">
<view class="wz">
平台客服工作时间
2024-01-27 16:37:52 +08:00
</view>
2025-04-01 21:35:30 +08:00
<view class="wz">
0800~2000
2024-01-27 16:37:52 +08:00
</view>
2025-04-01 21:35:30 +08:00
<view class="wzs">
客服电话高峰期可能遇忙请耐心等待
2024-01-27 16:37:52 +08:00
</view>
</view>
</view>
</view>
2025-04-10 08:57:21 +08:00
<view class="masks" v-if="kefuflag"></view>
2025-04-27 17:37:23 +08:00
<view class="custom-select" v-if="show">
2025-12-20 14:29:10 +08:00
<view class="mask" @click="btnguanli"></view>
<view class="select-content">
<view class="select-header">
<text>选择运营区</text>
<text class="close" @click="btnguanli">×</text>
</view>
<view class="search-box">
<input type="text" v-model="searchKey" placeholder="搜索运营区" @input="handleSearch" />
</view>
<scroll-view scroll-y class="select-list">
2025-04-01 21:35:30 +08:00
<view class="select-item" v-for="item in displayList" :key="item.value" @click="selectItem(item)"
:class="{ 'highlight': searchKey && item.label.includes(searchKey) }">
{{ item.label }}
2025-12-20 14:29:10 +08:00
<view style="font-size: 24rpx;color: #999;margin-left: auto;">
{{ item.deptName == null ? '--' : item.deptName}}</view>
2025-04-01 21:35:30 +08:00
</view>
2025-12-20 14:29:10 +08:00
</scroll-view>
</view>
</view>
2025-07-15 17:36:34 +08:00
<!-- <tab-bar :indexs='4'></tab-bar> -->
2023-12-05 16:45:28 +08:00
</view>
</template>
<script>
export default {
data() {
return {
2024-01-27 16:37:52 +08:00
bgc: {
2025-04-01 21:35:30 +08:00
backgroundColor: "",
2024-01-27 16:37:52 +08:00
},
2025-12-20 14:29:10 +08:00
kefuflag: false,
list: [],
show: false,
totype: 0,
2025-04-01 21:35:30 +08:00
displayList: [], // 用于显示的列表
searchKey: '',
2025-12-20 14:29:10 +08:00
guanliflag: false,
adminflag: false,
user: {},
kefulist: [],
lists: [],
logoflag: false,
tiaozhuanlist: [],
appimg: this.$store.state.app.imgConfig
2024-01-23 19:15:52 +08:00
}
},
2025-04-01 21:35:30 +08:00
onLoad() {
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
},
onShow() {
2026-01-28 18:00:39 +08:00
this.$store.dispatch('jiance');
2025-04-01 21:35:30 +08:00
this.getareaList()
},
2024-01-23 19:15:52 +08:00
methods: {
2025-12-20 14:29:10 +08:00
btnguanli() {
2025-08-30 17:38:15 +08:00
this.show = false
},
// 名称:将第二位替换为 *
maskName(name) {
if (!name || typeof name !== 'string') return name
const chars = Array.from(name)
if (chars.length < 2) return name
chars[1] = '*'
return chars.join('')
},
2025-12-20 14:29:10 +08:00
// 手机号:将中间四位替换为 *
2025-08-30 17:38:15 +08:00
maskPhone(phone) {
if (!phone) return phone
const str = String(phone)
if (str.length < 7) return str
return str.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2')
},
2025-12-20 14:29:10 +08:00
btnqyc() {
2025-08-30 17:38:15 +08:00
this.kefuflag = false
},
2025-07-15 17:36:34 +08:00
// 点击返回首页
2025-12-20 14:29:10 +08:00
btnfh() {
2025-07-15 17:36:34 +08:00
uni.reLaunch({
2025-12-20 14:29:10 +08:00
url: '/pages/nearbystores/index'
2025-07-15 17:36:34 +08:00
})
},
2025-04-16 09:14:52 +08:00
// 点击跳转到商家合作
2025-12-20 14:29:10 +08:00
btnshangjia() {
2025-04-16 09:14:52 +08:00
uni.navigateTo({
2025-12-20 14:29:10 +08:00
url: '/page_user/zhaoshang'
2025-04-16 09:14:52 +08:00
})
},
2025-04-21 18:00:19 +08:00
// 点击跳转轮播图跳转
2025-12-20 14:29:10 +08:00
btnshangjia(e) {
console.log(e, '1212121', this.tiaozhuanlist[e].urlType);
if (this.tiaozhuanlist[e].urlType == 1) {
2025-04-21 18:00:19 +08:00
uni.navigateTo({
url: '/page_fenbao/webview?url=' + this.tiaozhuanlist[e].url
})
2025-12-20 14:29:10 +08:00
} else {
2025-04-21 18:00:19 +08:00
uni.navigateTo({
url: '/' + this.tiaozhuanlist[e].url
})
}
},
2025-04-11 18:23:16 +08:00
// 获取广告轮播图
2025-12-20 14:29:10 +08:00
getlunbo() {
2025-04-11 18:23:16 +08:00
this.$u.get("/app/ad").then(res => {
2025-12-20 14:29:10 +08:00
if (res.code == 200) {
2025-04-16 09:14:52 +08:00
this.lists = []
2025-04-21 18:00:19 +08:00
this.tiaozhuanlist = res.data
2025-12-20 14:29:10 +08:00
if (res.data.length > 0 && res.data[0] != null) {
res.data.forEach(item => {
2025-04-11 18:23:16 +08:00
this.lists.push({
2025-12-20 14:29:10 +08:00
image: item.picture,
2025-04-11 18:23:16 +08:00
title: item.adId
})
})
2025-12-20 14:29:10 +08:00
} else {
2025-04-11 18:23:16 +08:00
this.lists.push({
2025-12-20 14:29:10 +08:00
image: "https://api.ccttiot.com/smartmeter/img/static/uTZBBRuyRexKd6c4VE9d",
2025-04-11 18:23:16 +08:00
title: ""
})
}
}
})
},
2025-04-01 21:35:30 +08:00
handleSearch(e) {
2025-10-25 15:52:11 +08:00
const value = e.detail.value
2025-12-20 14:29:10 +08:00
console.log(e, value)
2025-04-01 21:35:30 +08:00
if (!value) {
// 搜索框为空时显示全部数据
2025-10-25 15:52:11 +08:00
this.displayList = this.list
2025-04-01 21:35:30 +08:00
} else {
// 有搜索内容时过滤数据
2025-04-30 18:03:27 +08:00
this.displayList = this.list.filter(item => {
2025-12-20 14:29:10 +08:00
const label = String(item.label || '').toLowerCase()
const deptName = String(item.deptName || '').toLowerCase()
const searchValue = String(value || '').toLowerCase()
return label.includes(searchValue) || deptName.includes(searchValue)
2025-10-25 15:52:11 +08:00
})
2025-04-01 21:35:30 +08:00
}
2025-12-20 14:29:10 +08:00
},
2025-04-01 21:35:30 +08:00
selectItem(item) {
2025-04-23 17:50:42 +08:00
this.show = false
this.searchKey = '' // 选择后清空搜索框
this.displayList = this.list // 重置显示列表
2025-09-22 17:08:55 +08:00
console.log(item);
uni.setStorageSync('adminAreaid', item.value)
2025-12-20 14:29:10 +08:00
uni.setStorageSync('adminname', item.label)
2025-09-22 17:08:55 +08:00
uni.navigateTo({
url: `/page_shanghu/guanli/admin_worke?id=${item.value}`
})
2025-04-01 21:35:30 +08:00
},
// 选择好运营区
confirm(e) {
2025-12-20 14:29:10 +08:00
console.log(e, e.value)
2025-04-27 17:37:23 +08:00
uni.setStorageSync('adminAreaid', e.value)
2025-12-20 14:29:10 +08:00
uni.setStorageSync('adminname', e.label)
2025-04-16 09:14:52 +08:00
uni.navigateTo({
2025-04-27 17:37:23 +08:00
url: `/page_shanghu/guanli/admin_worke?id=${e.value}`
2025-04-16 09:14:52 +08:00
})
2025-04-01 21:35:30 +08:00
},
// 请求运营区
getareaList() {
2025-12-20 14:29:10 +08:00
this.$u.get("/getInfo").then(res => {
if (res.code == 200) {
2025-04-23 17:50:42 +08:00
this.logoflag = false
2025-04-01 21:35:30 +08:00
this.user = res.user
2025-12-20 14:29:10 +08:00
uni.setStorageSync('user', res.user)
2025-04-27 17:37:23 +08:00
res.roles.filter(item => {
2025-12-20 14:29:10 +08:00
if (item == 'sys_admin') {
2025-04-27 17:37:23 +08:00
this.adminflag = true
}
})
2025-12-20 14:29:10 +08:00
if (res.roles != null || res.roles.length > 0) {
this.$u.get('/bst/area/list?pageNum=1&pageSize=9999').then((res) => {
2025-04-01 21:35:30 +08:00
if (res.code == 200) {
this.guanliflag = true
this.list = res.rows.map(item => ({
value: item.id,
label: item.name,
2025-04-27 17:37:23 +08:00
deptName: item.userName
2025-04-01 21:35:30 +08:00
}))
this.displayList = this.list; // 重置显示列表
}
})
}
2025-12-20 14:29:10 +08:00
} else if (res.code == 401) {
this.logoflag = true
}
2025-04-01 21:35:30 +08:00
})
},
// 点击拨打平台客服电话
2025-12-20 14:29:10 +08:00
btnptkf() {
2025-04-01 21:35:30 +08:00
uni.makePhoneCall({
phoneNumber: '18888888888',
success: function(res) {
console.log('拨打电话成功', res)
},
fail: function(err) {
console.error('拨打电话失败', err)
}
})
},
2025-12-20 14:29:10 +08:00
// 点击事件进行操作
btnpage(num) {
if (num == 15) {
2025-06-06 11:32:12 +08:00
uni.reLaunch({
2025-12-20 14:29:10 +08:00
url: '/pages/login/login'
2025-06-06 11:32:12 +08:00
})
2025-12-20 14:29:10 +08:00
} else if (this.logoflag == true) {
2025-04-01 21:35:30 +08:00
uni.showModal({
title: '提示',
2025-04-17 17:12:42 +08:00
content: '您当前未登录,是否前去登录?',
2025-04-01 21:35:30 +08:00
showCancel: true,
2025-12-20 14:29:10 +08:00
success: function(res) {
2025-04-01 21:35:30 +08:00
if (res.confirm) {
2025-04-17 17:12:42 +08:00
uni.reLaunch({
2025-12-20 14:29:10 +08:00
url: '/pages/login/login'
2025-04-17 17:12:42 +08:00
})
2025-04-01 21:35:30 +08:00
} else if (res.cancel) {
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
}
}
})
2025-12-20 14:29:10 +08:00
} else {
if (num == 1) { //实名认证
uni.navigateTo({
url: '/page_user/renzheng/index'
})
2025-06-06 11:32:12 +08:00
// uni.navigateTo({
// url:'/page_user/shiming?user=' + JSON.stringify(this.user)
// })
2025-12-20 14:29:10 +08:00
} else if (num == 2) { //我的订单
uni.navigateTo({
url: '/pages/myorder/index'
})
} else if (num == 3) { //用车指南
uni.navigateTo({
url: '/page_user/yongche/index?type=1'
})
} else if (num == 4) { //租车指南
uni.navigateTo({
url: '/page_user/yongche/index?type=0'
})
} else if (num == 5) { //故障上报
uni.navigateTo({
url: '/page_user/guzhang/index'
})
} else if (num == 6) { //故障上报记录
uni.navigateTo({
url: '/page_user/guzhang/guzhanglv'
})
} else if (num == 7) { //意见反馈
uni.navigateTo({
url: '/page_fenbao/tousu/index'
})
} else if (num == 8) { //联系客服
this.kefuflag = true
} else if (num == 9) { //帮助中心
uni.navigateTo({
url: '/page_user/bangzhu'
})
} else if (num == 10) { //运维人员
this.totype = 1
if (this.list.length < 2) {
uni.setStorageSync('adminAreaid', this.list[0].value)
uni.navigateTo({
url: '/page_shanghu/fix_index'
})
} else {
this.show = true
}
} else if (num == 11) { //管理人员
2026-01-15 14:40:00 +08:00
if(uni.getStorageSync('user').authTypes.includes('1')){
if(uni.getStorageSync('wzid')){
if (this.list.length < 2) {
uni.setStorageSync('adminAreaid', this.list[0].value);
uni.setStorageSync('adminname', this.list[0].label)
uni.navigateTo({
url: `/page_shanghu/guanli/admin_worke?id=${this.list[0].value}`
})
} else {
this.show = true
}
}else{
uni.navigateTo({
url:'/pages/xiqian'
})
}
}else{
uni.navigateTo({
url:'/page_user/shiming'
})
}
2025-12-20 14:29:10 +08:00
// this.$u.get(`/app/contract/checkSigned?type=1`).then(res => {
// if (res.code == 200) {
// if (res.data == false) {
// uni.showLoading({
// title: '加载中...',
// mask: 'true',
// })
// let data = {
// type: 1,
// userId: this.user.userId
// }
// this.$u.post(`/app/contract/gen`, data).then(resp => {
// if (resp.code == 200) {
// uni.hideLoading()
// uni.navigateTo({
// url: '/page_fenbao/storedlist/pdfht/index?genFileUrl=' + resp.data.genFileUrl + '&userId=' + this.user.userId + '&id=' + resp.data.id
// })
// } else if (res.code == 10001) {
// uni.hideLoading()
// uni.navigateTo({
// url: '/page_user/shiming'
// })
// } else {
// uni.hideLoading()
// uni.showToast({
// title: res.msg,
// icon: 'none',
// duration: 2000
// })
// }
// })
// } else {
// this.totype = 2
// console.log(this.list.length, this.list)
// if (this.list.length < 2) {
// console.log(111)
// uni.setStorageSync('adminAreaid', this.list[0].value)
// uni.setStorageSync('adminname', this.list[0].label)
// uni.navigateTo({
// url: `/page_shanghu/guanli/admin_worke?id=${this.list[0].value}`
// })
// } else {
// console.log(222)
// this.show = true
// }
// }
// }
// })
} else if (num == 12) {
2025-04-17 17:12:42 +08:00
uni.showModal({
title: '提示',
content: '您确定要退出登录吗?',
showCancel: true,
2025-12-20 14:29:10 +08:00
success: function(res) {
2025-04-17 17:12:42 +08:00
if (res.confirm) {
try {
2025-12-20 14:29:10 +08:00
uni.clearStorageSync() // 同步清除
console.log('所有缓存已清除')
uni.showToast({
title: '缓存已清除',
icon: 'success',
duration: 3000
})
2025-04-17 17:12:42 +08:00
uni.reLaunch({
2025-12-20 14:29:10 +08:00
url: '/pages/login/login'
})
} catch (e) {
console.error('清除失败:', e)
uni.showToast({
title: '清除失败',
icon: 'none',
duration: 3000
2025-04-17 17:12:42 +08:00
})
2025-12-20 14:29:10 +08:00
}
2025-04-17 17:12:42 +08:00
} else if (res.cancel) {
2025-12-20 14:29:10 +08:00
console.log('取消'); // 用户点击取消
2025-04-17 17:12:42 +08:00
}
}
})
2025-12-20 14:29:10 +08:00
} else if (num == 13) { //点击跳转到录入
2025-04-17 17:12:42 +08:00
uni.navigateTo({
2025-12-20 14:29:10 +08:00
url: '/page_user/luru/index'
2025-04-17 17:12:42 +08:00
})
2025-12-20 14:29:10 +08:00
} else if (num == 14) {
2025-06-06 11:32:12 +08:00
uni.navigateTo({
2025-12-20 14:29:10 +08:00
url: '/page_fenbao/huiyuan/myhuiyuan'
2025-06-06 11:32:12 +08:00
})
2026-02-26 18:05:57 +08:00
} else if (num == 16) {
uni.navigateTo({
url: '/page_user/verify/index'
})
2025-04-17 17:12:42 +08:00
}
2024-01-27 16:37:52 +08:00
}
}
2024-01-23 19:15:52 +08:00
}
}
2023-12-05 16:45:28 +08:00
</script>
2025-04-01 21:35:30 +08:00
<style lang="scss">
2025-12-20 14:29:10 +08:00
::v-deep wx-swiper {
2025-04-27 17:37:23 +08:00
height: 180rpx !important;
2025-04-11 18:23:16 +08:00
}
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
page {
2025-12-20 14:29:10 +08:00
background: linear-gradient(180deg, #CCE5FF 0%, rgba(204, 229, 255, 0) 40%);
2025-04-01 21:35:30 +08:00
}
2025-12-20 14:29:10 +08:00
::v-deep .u-title {
2025-04-16 09:14:52 +08:00
padding-bottom: 18rpx !important;
2025-04-01 21:35:30 +08:00
}
2025-12-20 14:29:10 +08:00
.toptx {
2025-08-30 17:38:15 +08:00
display: flex;
align-items: center;
width: 692rpx;
margin: auto;
margin-top: 24rpx;
2025-12-20 14:29:10 +08:00
.tx {
2025-08-30 17:38:15 +08:00
width: 114rpx;
height: 114rpx;
background: #D8D8D8;
border-radius: 50%;
margin-right: 44rpx;
}
2025-12-20 14:29:10 +08:00
.rt {
.name {
2025-08-30 17:38:15 +08:00
font-weight: 600;
font-size: 32rpx;
color: #3D3D3D;
2025-12-20 14:29:10 +08:00
text {
2025-08-30 17:38:15 +08:00
display: inline-block;
width: 102rpx;
height: 40rpx;
2025-12-20 14:29:10 +08:00
background: linear-gradient(145deg, #FFCDAD 2%, #F17F37 100%);
2025-08-30 17:38:15 +08:00
border-radius: 4rpx 4rpx 4rpx 4rpx;
font-size: 24rpx;
color: #984918;
text-align: center;
line-height: 40rpx;
margin-left: 32rpx;
2025-12-20 14:29:10 +08:00
}
2025-08-30 17:38:15 +08:00
}
2025-12-20 14:29:10 +08:00
.tel {
2025-08-30 17:38:15 +08:00
font-size: 24rpx;
color: #6F6F6F;
margin-top: 14rpx;
}
}
}
2025-12-20 14:29:10 +08:00
.imgbj {
2025-08-30 17:38:15 +08:00
width: 100%;
height: 478rpx;
position: fixed;
top: 0;
left: 0;
z-index: -1;
}
2025-12-20 14:29:10 +08:00
.tuichu {
2025-04-27 17:37:23 +08:00
width: 692rpx;
height: 80rpx;
line-height: 80rpx;
margin: auto;
margin-top: 30rpx;
border: 1px solid #2d8cf0;
border-radius: 20rpx;
color: #2d8cf0;
display: flex;
justify-content: center;
align-items: center;
2025-12-20 14:29:10 +08:00
image {
2025-04-27 17:37:23 +08:00
width: 48rpx;
height: 48rpx;
margin-right: 10rpx;
}
}
2025-12-20 14:29:10 +08:00
.dahezi {
2025-04-01 21:35:30 +08:00
width: 100%;
2025-08-30 17:38:15 +08:00
height: 77vh;
2025-04-01 21:35:30 +08:00
overflow: scroll;
2025-04-10 08:57:21 +08:00
}
2025-12-20 14:29:10 +08:00
2025-04-10 08:57:21 +08:00
.masks {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 97;
height: 100vh;
width: 100%;
2025-04-01 21:35:30 +08:00
}
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
.custom-select {
.mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
2024-01-27 16:37:52 +08:00
}
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
.select-content {
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: #fff;
border-radius: 20rpx 20rpx 0 0;
z-index: 1000;
height: 50vh; // 最大高度
display: flex;
flex-direction: column;
padding-bottom: 20rpx;
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
.select-header {
padding: 20rpx 30rpx;
2024-01-27 16:37:52 +08:00
display: flex;
2025-04-01 21:35:30 +08:00
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #eee;
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
.close {
font-size: 40rpx;
color: #999;
2024-01-27 16:37:52 +08:00
}
2025-04-01 21:35:30 +08:00
}
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
.search-box {
padding: 15rpx 20rpx;
border-bottom: 1px solid #eee;
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
input {
2024-03-13 10:54:22 +08:00
width: 100%;
2025-04-01 21:35:30 +08:00
height: 60rpx;
background: #f5f5f5;
border-radius: 30rpx;
padding: 0 30rpx;
font-size: 28rpx;
2024-03-13 10:54:22 +08:00
}
}
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
.select-list {
flex: 1;
max-height: calc(50vh - 140rpx);
min-height: 260rpx; // 为列表添加最小高度
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
.select-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20rpx 30rpx;
border-bottom: 1px solid #eee;
font-size: 28rpx;
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
&.highlight {
background-color: #f0f9ff;
color: #2d8cf0;
}
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
&:active {
background: #f5f5f5;
}
2024-03-13 10:54:22 +08:00
}
2024-01-27 16:37:52 +08:00
}
}
}
2025-12-20 14:29:10 +08:00
2025-04-01 21:35:30 +08:00
@keyframes fadeIn {
2025-12-20 14:29:10 +08:00
from {
opacity: 0;
}
to {
opacity: 1;
}
2025-04-01 21:35:30 +08:00
}
2025-12-20 14:29:10 +08:00
.kefutc {
2025-04-01 21:35:30 +08:00
animation: fadeIn 0.5s ease-in-out forwards;
position: fixed;
top: 660rpx;
left: 50%;
transform: translateX(-50%);
z-index: 99;
2025-12-20 14:29:10 +08:00
.bot {
2025-04-01 21:35:30 +08:00
margin-top: 30rpx;
2025-12-20 14:29:10 +08:00
.wz {
2025-04-01 21:35:30 +08:00
margin-top: 10rpx;
font-weight: 600;
font-size: 28rpx;
color: #3D3D3D;
}
2025-12-20 14:29:10 +08:00
.wzs {
2025-04-01 21:35:30 +08:00
margin-top: 10rpx;
font-size: 24rpx;
color: #7C7C7C;
2024-01-27 16:37:52 +08:00
}
2025-04-01 21:35:30 +08:00
}
2025-12-20 14:29:10 +08:00
.top {
2025-04-01 21:35:30 +08:00
width: 538rpx;
height: 122rpx;
background: #FFFFFF;
2025-12-20 14:29:10 +08:00
box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(0, 0, 0, 0.1);
2025-04-01 21:35:30 +08:00
border-radius: 14rpx 14rpx 14rpx 14rpx;
display: flex;
justify-content: space-between;
align-items: center;
padding-right: 14rpx;
box-sizing: border-box;
2025-04-10 08:57:21 +08:00
margin-top: 20rpx;
2025-12-20 14:29:10 +08:00
.dianhua {
2025-04-01 21:35:30 +08:00
font-weight: 600;
2024-01-27 16:37:52 +08:00
font-size: 28rpx;
2025-04-01 21:35:30 +08:00
color: #3D3D3D;
padding-left: 26rpx;
box-sizing: border-box;
2024-01-27 16:37:52 +08:00
}
2025-12-20 14:29:10 +08:00
.boda {
2025-04-01 21:35:30 +08:00
width: 94rpx;
height: 94rpx;
background: #DCEDFF;
border-radius: 8rpx 8rpx 8rpx 8rpx;
text-align: center;
padding-top: 8rpx;
box-sizing: border-box;
2025-12-20 14:29:10 +08:00
text {
2025-04-01 21:35:30 +08:00
display: block;
2024-01-27 16:37:52 +08:00
}
}
}
2025-12-20 14:29:10 +08:00
image {
2025-04-01 21:35:30 +08:00
position: absolute;
top: -280rpx;
z-index: -1;
left: 50%;
transform: translateX(-50%);
width: 614rpx;
height: 748rpx;
}
}
2025-12-20 14:29:10 +08:00
.clmask {
2025-04-01 21:35:30 +08:00
width: 100%;
height: 100vh;
position: fixed;
z-index: 98;
2025-12-20 14:29:10 +08:00
background-color: rgba(0, 0, 0, 0.08);
2025-04-01 21:35:30 +08:00
top: 0;
left: 0;
}
2025-12-20 14:29:10 +08:00
.gg {
2025-04-01 21:35:30 +08:00
width: 692rpx;
2025-04-27 17:37:23 +08:00
height: 180rpx;
2025-04-01 21:35:30 +08:00
margin: auto;
margin-top: 30rpx;
2025-12-20 14:29:10 +08:00
image {
2025-04-01 21:35:30 +08:00
width: 100%;
height: 100%;
}
}
2025-12-20 14:29:10 +08:00
.ul {
2025-04-01 21:35:30 +08:00
width: 692rpx;
max-height: 1734rpx;
background: #FFFFFF;
2025-12-20 14:29:10 +08:00
box-shadow: 0rpx 10rpx 64rpx 0rpx rgba(0, 0, 0, 0.08);
2025-04-01 21:35:30 +08:00
border-radius: 14rpx 14rpx 14rpx 14rpx;
padding: 26rpx 56rpx;
box-sizing: border-box;
margin: auto;
margin-top: 20rpx;
2025-12-20 14:29:10 +08:00
.li {
2025-04-01 21:35:30 +08:00
display: flex;
justify-content: space-between;
2025-04-11 18:23:16 +08:00
height: 100rpx;
2025-04-01 21:35:30 +08:00
align-items: center;
2025-12-20 14:29:10 +08:00
.lt {
2024-01-27 16:37:52 +08:00
display: flex;
align-items: center;
2025-04-01 21:35:30 +08:00
font-size: 32rpx;
color: #3D3D3D;
2025-12-20 14:29:10 +08:00
image {
2025-04-01 21:35:30 +08:00
width: 48rpx;
height: 48rpx;
margin-right: 38rpx;
2024-01-27 16:37:52 +08:00
}
2026-02-26 18:05:57 +08:00
.verify-icon {
width: 48rpx;
height: 48rpx;
margin-right: 38rpx;
display: flex;
align-items: center;
justify-content: center;
}
2024-01-27 16:37:52 +08:00
}
2025-12-20 14:29:10 +08:00
image {
2025-04-01 21:35:30 +08:00
width: 52rpx;
height: 52rpx;
}
}
}
2025-12-20 14:29:10 +08:00
.caozuo {
2025-04-01 21:35:30 +08:00
width: 692rpx;
height: 188rpx;
background: #FFFFFF;
2025-12-20 14:29:10 +08:00
box-shadow: 0rpx 10rpx 64rpx 0rpx rgba(0, 0, 0, 0.08);
2025-04-01 21:35:30 +08:00
border-radius: 14rpx 14rpx 14rpx 14rpx;
display: flex;
justify-content: space-between;
padding: 45rpx 56rpx;
box-sizing: border-box;
margin: auto;
margin-top: 10rpx;
2025-12-20 14:29:10 +08:00
image {
2025-04-01 21:35:30 +08:00
width: 112rpx;
height: 98rpx;
2024-01-27 16:37:52 +08:00
}
}
2025-04-01 21:35:30 +08:00
</style>