小鹿骑行

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

View File

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