小鹿骑行

This commit is contained in:
吴鹏 2026-02-02 17:32:09 +08:00
parent f62f27cbed
commit 56297a7549
2 changed files with 66 additions and 122 deletions

View File

@ -43,9 +43,6 @@
</view> </view>
</view> </view>
</view> </view>
<view class="zcfangan"> <view class="zcfangan">
<view class="name" style="margin-bottom: 24rpx;font-size:36rpx;font-weight: 700;"> <view class="name" style="margin-bottom: 24rpx;font-size:36rpx;font-weight: 700;">
选择套餐 选择套餐
@ -157,10 +154,10 @@
</view> </view>
</view> </view>
<!-- 信息提示 --> <!-- 信息提示 -->
<view class="interval-tip"> <!-- <view class="interval-tip">
<u-icon name="info-circle" color="#4297F3" size="20"></u-icon> <u-icon name="info-circle" color="#4297F3" size="20"></u-icon>
<text class="tip-text">不同时段按对应标准计费</text> <text class="tip-text">不同时段按对应标准计费</text>
</view> </view> -->
</template> </template>
</view> </view>
</view> </view>
@ -300,8 +297,6 @@
</view> </view>
</view> </view>
</view> </view>
<view class="yajin" v-if="false"> <view class="yajin" v-if="false">
<view class="name"> <view class="name">
<view class="lt"> <view class="lt">
@ -449,8 +444,8 @@
<text class="price-text">{{taocanlist[fanganindex].startRule.startingPrice}}</text> <text class="price-text">{{taocanlist[fanganindex].startRule.startingPrice}}</text>
<text class="separator">/</text> <text class="separator">/</text>
<text class="price-text">{{taocanlist[fanganindex].startRule.startingTime}}</text> <text class="price-text">{{taocanlist[fanganindex].startRule.startingTime}}</text>
<text v-if="taocanlist[fanganindex].rentalUnit == 'hours'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'hours'"></text>
<text v-if="taocanlist[fanganindex].rentalUnit == 'minutes'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'minutes'"></text>
<text v-if="taocanlist[fanganindex].rentalUnit == 'day'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'day'"></text>
</text> </text>
</view> </view>
@ -460,8 +455,8 @@
<text class="price-text">{{taocanlist[fanganindex].startRule.timeoutPrice}}</text> <text class="price-text">{{taocanlist[fanganindex].startRule.timeoutPrice}}</text>
<text class="separator">/</text> <text class="separator">/</text>
<text class="price-text">{{taocanlist[fanganindex].startRule.timeoutTime}}</text> <text class="price-text">{{taocanlist[fanganindex].startRule.timeoutTime}}</text>
<text v-if="taocanlist[fanganindex].rentalUnit == 'hours'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'hours'"></text>
<text v-if="taocanlist[fanganindex].rentalUnit == 'minutes'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'minutes'"></text>
<text v-if="taocanlist[fanganindex].rentalUnit == 'day'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'day'"></text>
</text> </text>
</view> </view>
@ -479,15 +474,15 @@
<text class="interval-range-detail"> <text class="interval-range-detail">
<text v-if="rule.end == null || rule.end === undefined"> <text v-if="rule.end == null || rule.end === undefined">
{{rule.start == null ? '0' : rule.start}} {{rule.start == null ? '0' : rule.start}}
<text v-if="taocanlist[fanganindex].rentalUnit == 'hours'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'hours'"></text>
<text v-if="taocanlist[fanganindex].rentalUnit == 'minutes'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'minutes'"></text>
<text v-if="taocanlist[fanganindex].rentalUnit == 'day'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'day'"></text>
以上 以上
</text> </text>
<text v-else> <text v-else>
{{rule.start == null ? '0' : rule.start}}-{{rule.end}} {{rule.start == null ? '0' : rule.start}}-{{rule.end}}
<text v-if="taocanlist[fanganindex].rentalUnit == 'hours'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'hours'"></text>
<text v-if="taocanlist[fanganindex].rentalUnit == 'minutes'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'minutes'"></text>
<text v-if="taocanlist[fanganindex].rentalUnit == 'day'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'day'"></text>
</text> </text>
</text> </text>
@ -495,8 +490,8 @@
<view class="interval-right-detail"> <view class="interval-right-detail">
<text class="interval-price-detail">{{rule.fee}}</text> <text class="interval-price-detail">{{rule.fee}}</text>
<text class="interval-unit-detail">/{{rule.eachUnit}} <text class="interval-unit-detail">/{{rule.eachUnit}}
<text v-if="taocanlist[fanganindex].rentalUnit == 'hours'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'hours'"></text>
<text v-if="taocanlist[fanganindex].rentalUnit == 'minutes'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'minutes'"></text>
<text v-if="taocanlist[fanganindex].rentalUnit == 'day'"></text> <text v-if="taocanlist[fanganindex].rentalUnit == 'day'"></text>
</text> </text>
</view> </view>
@ -743,7 +738,6 @@
} }
}, },
onLoad(option) { onLoad(option) {
console.log(option,'sasdadas'); console.log(option,'sasdadas');
if(option.duoirder){ if(option.duoirder){
this.duoirder = option.duoirder this.duoirder = option.duoirder
@ -1152,7 +1146,7 @@
uni.showToast({ uni.showToast({
title: '客服电话为空', title: '客服电话为空',
icon: 'none', icon: 'none',
duration: 2000 duration: 5000
}) })
return return
} }
@ -1172,12 +1166,13 @@
}) })
}, },
getQiniuToken() { getQiniuToken() {
console.log('diaou'); this.$u.get("/common/qiniuToken").then((res) => {
this.$u.get("/common/qiniuToken").then((res) => { if (res.code == 200) {
if (res.code == 200) { this.token=res.data
this.token=res.data }else if(res.code == 401){
} this.getlogo()
}) }
})
}, },
recordVideo() { recordVideo() {
// API // API
@ -1209,7 +1204,8 @@
console.log('录像失败:', err); console.log('录像失败:', err);
uni.showToast({ uni.showToast({
title: '录像失败,请重试', title: '录像失败,请重试',
icon: 'none' icon: 'none',
duration:5000
}); });
} }
}) })
@ -1249,8 +1245,8 @@
// //
if (!(selectedItem && selectedItem.subList && selectedItem.subList.length > 0)) { if (!(selectedItem && selectedItem.subList && selectedItem.subList.length > 0)) {
this.$nextTick(() => { this.$nextTick(() => {
this.getjisuan(); this.getjisuan()
}); })
} }
}, },
@ -1575,6 +1571,7 @@
// //
openDevice() { openDevice() {
this.mxflag = true
let xllat = null let xllat = null
let xllng = null let xllng = null
uni.getLocation({ uni.getLocation({
@ -1753,13 +1750,6 @@
this.wenbentxtflag = true this.wenbentxtflag = true
this.wenbentxt = '开锁中...' this.wenbentxt = '开锁中...'
this.openDevice() this.openDevice()
// this.zhezhaoflag = true
// setTimeout(() => {
// uni.switchTab({
// url: '/pages/index/index?orderid=' + resp.data.pay.bstId
// })
// uni.hideLoading()
// }, 2000)
} }
}else if(resp.code == 401){ }else if(resp.code == 401){
// this.logoflag = true // this.logoflag = true
@ -2070,7 +2060,7 @@
clearTimeout(this.scrollPauseTimers[index]) clearTimeout(this.scrollPauseTimers[index])
delete this.scrollPauseTimers[index] delete this.scrollPauseTimers[index]
} }
//
// 0 // 0
// maxScrollLeft // maxScrollLeft
// maxScrollLeft * 20 // maxScrollLeft * 20
@ -2190,15 +2180,6 @@
} }
return '--' return '--'
}, },
//
// btndaohang() {
// uni.openLocation({
// latitude: 11, //-/
// longitude: 11, //-/
// name: 11, //
// address: 11 //
// })
// },
// //
getPhoneNumber(e) { getPhoneNumber(e) {
let that = this let that = this
@ -2452,7 +2433,6 @@
position: fixed; position: fixed;
bottom: 100rpx; bottom: 100rpx;
left: 38rpx; left: 38rpx;
// margin-top: 128rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -2584,12 +2564,9 @@
height: 370rpx; height: 370rpx;
background: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.2);
border-radius: 40rpx; border-radius: 40rpx;
// box-shadow: 0 rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10rpx); backdrop-filter: blur(10rpx);
-webkit-backdrop-filter: blur(10rpx); /* For Safari */ -webkit-backdrop-filter: blur(10rpx); /* For Safari */
// border: 1rpx solid rgba(255, 255, 255, 0.3);
z-index: 10; z-index: 10;
} }
} }
@ -3155,40 +3132,33 @@
font-size: 28rpx; font-size: 28rpx;
font-weight: 500; font-weight: 500;
color: #6B7280; color: #6B7280;
text { text {
color: #4297F3; color: #4297F3;
font-weight: 600; font-weight: 600;
} }
} }
.bot { .bot {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 0 32rpx; padding: 0 32rpx;
box-sizing: border-box; box-sizing: border-box;
.lt { .lt {
display: flex; display: flex;
align-items: center; align-items: center;
.money { .money {
font-weight: 700; font-weight: 700;
font-size: 40rpx; font-size: 40rpx;
color: #EF4444; color: #EF4444;
text { text {
font-size: 56rpx; font-size: 56rpx;
} }
} }
.mx { .mx {
font-size: 30rpx; font-size: 30rpx;
font-weight: 600; font-weight: 600;
color: #4297F3; color: #4297F3;
margin-left: 32rpx; margin-left: 32rpx;
text { text {
margin-left: 8rpx; margin-left: 8rpx;
} }
@ -3243,11 +3213,9 @@
border-radius: 20rpx; border-radius: 20rpx;
overflow: hidden; overflow: hidden;
margin-top: 20rpx; margin-top: 20rpx;
.bot { .bot {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
view { view {
margin-top: 2rpx; margin-top: 2rpx;
margin-right: 2rpx; margin-right: 2rpx;
@ -3263,11 +3231,9 @@
color: #3D3D3D; color: #3D3D3D;
} }
} }
.top { .top {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
view { view {
margin-right: 2rpx; margin-right: 2rpx;
width: 50%; width: 50%;
@ -3281,7 +3247,6 @@
} }
} }
} }
.biaoge { .biaoge {
width: 648rpx; width: 648rpx;
max-height: 522rpx; max-height: 522rpx;
@ -3289,11 +3254,9 @@
border-radius: 20rpx; border-radius: 20rpx;
overflow: hidden; overflow: hidden;
margin-top: 20rpx; margin-top: 20rpx;
.bot { .bot {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
view { view {
margin-top: 2rpx; margin-top: 2rpx;
margin-right: 2rpx; margin-right: 2rpx;
@ -3308,11 +3271,9 @@
color: #3D3D3D; color: #3D3D3D;
} }
} }
.top { .top {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
view { view {
margin-right: 2rpx; margin-right: 2rpx;
width: 50%; width: 50%;
@ -3326,27 +3287,23 @@
} }
} }
} }
.name { .name {
font-weight: 600; font-weight: 600;
font-size: 28rpx; font-size: 28rpx;
color: #3D3D3D; color: #3D3D3D;
} }
.qcxz { .qcxz {
font-weight: 600; font-weight: 600;
font-size: 28rpx; font-size: 28rpx;
color: #3D3D3D; color: #3D3D3D;
margin-top: 16rpx; margin-top: 16rpx;
} }
.tishi { .tishi {
font-size: 28rpx; font-size: 28rpx;
color: #3D3D3D; color: #3D3D3D;
margin-top: 16rpx; margin-top: 16rpx;
} }
} }
.yajin { .yajin {
margin: auto; margin: auto;
margin-top: 16rpx; margin-top: 16rpx;
@ -3356,13 +3313,11 @@
border-radius: 20rpx; border-radius: 20rpx;
padding: 18rpx 24rpx; padding: 18rpx 24rpx;
box-sizing: border-box; box-sizing: border-box;
.sixia { .sixia {
font-size: 28rpx; font-size: 28rpx;
color: #808080; color: #808080;
margin-top: 18rpx; margin-top: 18rpx;
} }
.jiaoya { .jiaoya {
width: 642rpx; width: 642rpx;
height: 156rpx; height: 156rpx;
@ -3372,26 +3327,22 @@
padding-top: 30rpx; padding-top: 30rpx;
padding-left: 34rpx; padding-left: 34rpx;
box-sizing: border-box; box-sizing: border-box;
.ts { .ts {
text { text {
padding-bottom: 0 !important; padding-bottom: 0 !important;
} }
display: flex; display: flex;
align-items: center; align-items: center;
font-weight: 600; font-weight: 600;
font-size: 32rpx; font-size: 32rpx;
color: #3D3D3D; color: #3D3D3D;
} }
.sm { .sm {
font-size: 28rpx; font-size: 28rpx;
color: #3D3D3D; color: #3D3D3D;
margin-top: 14rpx; margin-top: 14rpx;
} }
} }
.tuihuan { .tuihuan {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@ -3444,7 +3395,6 @@
align-items: center; align-items: center;
font-size: 24rpx; font-size: 24rpx;
color: #3D3D3D; color: #3D3D3D;
image { image {
width: 24rpx; width: 24rpx;
height: 27rpx; height: 27rpx;
@ -3452,48 +3402,39 @@
} }
} }
} }
page { page {
background: #F7F7F7; background: #F7F7F7;
border-radius: 0rpx 0rpx 0rpx 0rpx; border-radius: 0rpx 0rpx 0rpx 0rpx;
width: 100%; width: 100%;
} }
.zcfangan { .zcfangan {
margin: auto; margin: auto;
// padding: 18rpx 24rpx;
padding-right: 0 !important; padding-right: 0 !important;
box-sizing: border-box; box-sizing: border-box;
width: 698rpx; width: 698rpx;
max-height: 555257rpx; max-height: 555257rpx;
// background: #FFFFFF;
border-radius: 20rpx; border-radius: 20rpx;
margin-top: 16rpx; margin-top: 16rpx;
.shichang { .shichang {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-top: 48rpx; margin-top: 48rpx;
align-items: center; align-items: center;
.zcsc { .zcsc {
font-size: 28rpx; font-size: 28rpx;
color: #3D3D3D; color: #3D3D3D;
} }
.jisuan { .jisuan {
display: flex; display: flex;
align-items: center; align-items: center;
padding-right: 24rpx; padding-right: 24rpx;
box-sizing: border-box; box-sizing: border-box;
.zong { .zong {
font-weight: 600; font-weight: 600;
font-size: 28rpx; font-size: 28rpx;
color: #3D3D3D; color: #3D3D3D;
margin-right: 10rpx; margin-right: 10rpx;
} }
.jibu { .jibu {
width: 229rpx; width: 229rpx;
height: 56rpx; height: 56rpx;
@ -3504,11 +3445,9 @@
padding: 0 24rpx; padding: 0 24rpx;
box-sizing: border-box; box-sizing: border-box;
justify-content: center; justify-content: center;
text { text {
font-size: 32rpx; font-size: 32rpx;
} }
input { input {
width: 120rpx; width: 120rpx;
height: 56rpx; height: 56rpx;
@ -3520,7 +3459,6 @@
} }
} }
} }
.name { .name {
font-size: 32rpx; font-size: 32rpx;
color: #111827; color: #111827;
@ -3551,7 +3489,8 @@
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
min-height: 200rpx; height: 218rpx;
overflow: hidden;
box-sizing: border-box; box-sizing: border-box;
transition: all 0.3s ease; transition: all 0.3s ease;
@ -3568,7 +3507,6 @@
justify-content: center; justify-content: center;
z-index: 10; z-index: 10;
box-shadow: 0 4rpx 12rpx rgba(66, 151, 243, 0.4); box-shadow: 0 4rpx 12rpx rgba(66, 151, 243, 0.4);
.check-mark { .check-mark {
font-size: 32rpx; font-size: 32rpx;
font-weight: 700; font-weight: 700;
@ -3581,7 +3519,6 @@
.package-name-wrapper { .package-name-wrapper {
width: 100%; width: 100%;
margin-bottom: 18rpx; margin-bottom: 18rpx;
// scroll-view // scroll-view
::v-deep .uni-scroll-view { ::v-deep .uni-scroll-view {
width: 100%; width: 100%;
@ -3657,6 +3594,7 @@
background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%); background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
box-shadow: 0 6rpx 20rpx rgba(66, 151, 243, 0.25); box-shadow: 0 6rpx 20rpx rgba(66, 151, 243, 0.25);
transform: translateY(-2rpx); transform: translateY(-2rpx);
height: 100% !important;
} }
&.interval-billing { &.interval-billing {

View File

@ -19,7 +19,6 @@
<view class="vadio_png"> <view class="vadio_png">
<image :src="iconobj.huancheimgone" mode=""></image> <image :src="iconobj.huancheimgone" mode=""></image>
</view> </view>
<view class="btn" @click="sub" :class='videoUrl!="" ? "act1": ""'> <view class="btn" @click="sub" :class='videoUrl!="" ? "act1": ""'>
还车 还车
</view> </view>
@ -138,10 +137,11 @@
} }
}else{ }else{
uni.hideLoading() uni.hideLoading()
uni.showToast({ uni.showModal({
title: res.msg, title: '提示',
icon: 'none', content: res.msg,
duration: 2000 showCancel: false,
confirmText: '知道了'
}) })
} }
}) })
@ -201,18 +201,20 @@
}) })
} else { } else {
uni.hideLoading() uni.hideLoading()
uni.showToast({ uni.showModal({
title: res.msg, title: '提示',
icon: 'none', content: res.msg,
duration: 2000 showCancel: false,
confirmText: '知道了'
}) })
} }
}) })
}else{ }else{
uni.showToast({ uni.showModal({
title: res.msg, title: '提示',
icon: 'none', content: res.msg,
duration: 2000 showCancel: false,
confirmText: '知道了'
}) })
} }
}) })
@ -258,10 +260,11 @@
}) })
} else { } else {
uni.hideLoading() uni.hideLoading()
uni.showToast({ uni.showModal({
title: res.msg, title: '提示',
icon: 'none', content: res.msg,
duration: 2000 showCancel: false,
confirmText: '知道了'
}) })
} }
}) })
@ -315,30 +318,33 @@
uni.showToast({ uni.showToast({
title: '未知错误', title: '未知错误',
icon: 'none', icon: 'none',
duration: 2000 duration: 5000
}) })
} else { } else {
uni.hideLoading() uni.hideLoading()
uni.showToast({ uni.showModal({
title: res.msg, title: '提示',
icon: 'none', content: res.msg,
duration: 2000 showCancel: false,
confirmText: '知道了'
}) })
} }
}) })
}else{ }else{
uni.showToast({ uni.showModal({
title: res.msg, title: '提示',
icon: 'none', content: res.msg,
duration: 2000 showCancel: false,
confirmText: '知道了'
}) })
} }
}) })
}else{ }else{
uni.showToast({ uni.showModal({
title: res.msg, title: '提示',
icon: 'none', content: res.msg,
duration: 2000 showCancel: false,
confirmText: '知道了'
}) })
} }
}) })
@ -355,7 +361,7 @@
uni.showToast({ uni.showToast({
title: res.msg, title: res.msg,
icon: 'none', icon: 'none',
duration: 2000 duration: 5000
}) })
} }
}) })