v2.31.3 优化芝麻免押

This commit is contained in:
磷叶 2026-03-13 13:59:36 +08:00
parent 357e274a8f
commit d64f67140c
3 changed files with 21 additions and 11 deletions

View File

@ -1,9 +1,9 @@
const install = (Vue, vm) => {
uni.setStorageSync('deptId', 100);
Vue.prototype.$u.http.setConfig({
baseUrl: 'http://192.168.1.9:4101', //键辉本地
// baseUrl: 'http://192.168.1.9:4101', //键辉本地
// baseUrl: 'http://192.168.2.221:4101', //景森本地
// baseUrl: 'https://ele.ccttiot.com/prod-api', //线上 小鹿appid wx8a05cf95418a6859 小兔骑骑appidwx38f96c87621a87ab 遇福兴https://fu.chuantewulian.cn wxcb1d6a5d9dca8bbe
baseUrl: 'https://ele.ccttiot.com/prod-api', //线上 小鹿appid wx8a05cf95418a6859 小兔骑骑appidwx38f96c87621a87ab 遇福兴https://fu.chuantewulian.cn wxcb1d6a5d9dca8bbe
// baseUrl: 'https://cc.ccttiot.com/prod-api', //叉车线上
// baseUrl:'https://ysd.chuantewulian.cn/prod-api', //嵛山岛线上api 嵛山岛appidwx4d178f8c80348214
loadingText: '努力加载中~',

View File

@ -9,9 +9,8 @@
</view>
<view class="bot">
<view class="rt" @click="$emit('update:visible', true)">
<text>{{yucun == 0 ? '免押金' : '押金'}}</text>
<zhima-no-deposit-badge v-if="yucun == 0" style="margin-left: 12rpx; vertical-align: middle;" />
<text style="display: inline-block;font-size: 32rpx;margin-left: 12rpx;">{{yucun}}</text>
<text v-if="yucun == 0">免押金</text>
<text style="display: inline-block;font-size: 32rpx;margin-left: 12rpx;" v-else> 押金 {{yucun}}</text>
<text style="margin-top: 10rpx;">{{yucun == 0 ? '订单结束后,再支付骑行订单费用' : '订单结束后,余额将自动退回原支付账号'}} </text>
</view>
</view>
@ -108,7 +107,7 @@
</template>
<script>
import ZhimaNoDepositBadge from '@/components/zhima-no-deposit-badge/zhima-no-deposit-badge.vue'
import ZhimaNoDepositBadge from '@/components/zhima-no-deposit-badge/zhima-no-deposit-badge.vue';
export default {
name: 'FeeDetailPanel',
components: { ZhimaNoDepositBadge },

View File

@ -194,6 +194,16 @@
</view>
<u-switch v-model="data.timeoutFinish" @change="toggleUseLimitsss" active-color="#4C97E7" size="40"></u-switch>
</view>
<view class="divider margin-tb"></view>
<view class="switch-item">
<view class="switch-info">
<view class="label">信用免押</view>
<view class="desc">开启后支持芝麻信用免押骑行将收取相应手续费</view>
</view>
<u-switch v-model="data.undepositEnabled" active-color="#4C97E7" size="40"></u-switch>
</view>
</view>
<!-- 车型选择卡片 -->
@ -311,11 +321,12 @@
userId:'',
startRule:{},
modellds:[],
depositDeduction:false,
autoDeduct:false,
depositAmount:'',
areaId:''
},
depositDeduction:false,
autoDeduct:false,
depositAmount:'',
undepositEnabled:false,
areaId:''
},
ruleId: '',
userinfo: {},
intervalRule: [