v2.31.3 优化芝麻免押
This commit is contained in:
parent
357e274a8f
commit
d64f67140c
|
|
@ -1,9 +1,9 @@
|
||||||
const install = (Vue, vm) => {
|
const install = (Vue, vm) => {
|
||||||
uni.setStorageSync('deptId', 100);
|
uni.setStorageSync('deptId', 100);
|
||||||
Vue.prototype.$u.http.setConfig({
|
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: 'http://192.168.2.221:4101', //景森本地
|
||||||
// baseUrl: 'https://ele.ccttiot.com/prod-api', //线上 小鹿appid: wx8a05cf95418a6859 小兔骑骑appid:wx38f96c87621a87ab 遇福兴https://fu.chuantewulian.cn wxcb1d6a5d9dca8bbe
|
baseUrl: 'https://ele.ccttiot.com/prod-api', //线上 小鹿appid: wx8a05cf95418a6859 小兔骑骑appid:wx38f96c87621a87ab 遇福兴https://fu.chuantewulian.cn wxcb1d6a5d9dca8bbe
|
||||||
// baseUrl: 'https://cc.ccttiot.com/prod-api', //叉车线上
|
// baseUrl: 'https://cc.ccttiot.com/prod-api', //叉车线上
|
||||||
// baseUrl:'https://ysd.chuantewulian.cn/prod-api', //嵛山岛线上api 嵛山岛appid:wx4d178f8c80348214
|
// baseUrl:'https://ysd.chuantewulian.cn/prod-api', //嵛山岛线上api 嵛山岛appid:wx4d178f8c80348214
|
||||||
loadingText: '努力加载中~',
|
loadingText: '努力加载中~',
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,8 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="bot">
|
<view class="bot">
|
||||||
<view class="rt" @click="$emit('update:visible', true)">
|
<view class="rt" @click="$emit('update:visible', true)">
|
||||||
<text>{{yucun == 0 ? '免押金' : '押金'}}</text>
|
<text v-if="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;" v-else> 押金 ¥{{yucun}}</text>
|
||||||
<text style="display: inline-block;font-size: 32rpx;margin-left: 12rpx;">¥{{yucun}}</text>
|
|
||||||
<text style="margin-top: 10rpx;">{{yucun == 0 ? '订单结束后,再支付骑行订单费用' : '订单结束后,余额将自动退回原支付账号'}} </text>
|
<text style="margin-top: 10rpx;">{{yucun == 0 ? '订单结束后,再支付骑行订单费用' : '订单结束后,余额将自动退回原支付账号'}} </text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -108,7 +107,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<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 {
|
export default {
|
||||||
name: 'FeeDetailPanel',
|
name: 'FeeDetailPanel',
|
||||||
components: { ZhimaNoDepositBadge },
|
components: { ZhimaNoDepositBadge },
|
||||||
|
|
|
||||||
|
|
@ -194,6 +194,16 @@
|
||||||
</view>
|
</view>
|
||||||
<u-switch v-model="data.timeoutFinish" @change="toggleUseLimitsss" active-color="#4C97E7" size="40"></u-switch>
|
<u-switch v-model="data.timeoutFinish" @change="toggleUseLimitsss" active-color="#4C97E7" size="40"></u-switch>
|
||||||
</view>
|
</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>
|
</view>
|
||||||
|
|
||||||
<!-- 车型选择卡片 -->
|
<!-- 车型选择卡片 -->
|
||||||
|
|
@ -311,11 +321,12 @@
|
||||||
userId:'',
|
userId:'',
|
||||||
startRule:{},
|
startRule:{},
|
||||||
modellds:[],
|
modellds:[],
|
||||||
depositDeduction:false,
|
depositDeduction:false,
|
||||||
autoDeduct:false,
|
autoDeduct:false,
|
||||||
depositAmount:'',
|
depositAmount:'',
|
||||||
areaId:''
|
undepositEnabled:false,
|
||||||
},
|
areaId:''
|
||||||
|
},
|
||||||
ruleId: '',
|
ruleId: '',
|
||||||
userinfo: {},
|
userinfo: {},
|
||||||
intervalRule: [
|
intervalRule: [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user