去除unicloud空间绑定,修复已知错误
This commit is contained in:
@ -106,11 +106,6 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.uni-padding-wrap {
|
||||
width: 550rpx;
|
||||
padding: 0 100rpx;
|
||||
}
|
||||
|
||||
/*轮播幻灯*/
|
||||
.swiper {
|
||||
height: 300rpx;
|
||||
@ -123,11 +118,12 @@
|
||||
}
|
||||
|
||||
.swiper-item {
|
||||
width: 100%;
|
||||
width: 96%;
|
||||
display: block;
|
||||
height: 300rpx;
|
||||
line-height: 300rpx;
|
||||
text-align: center;
|
||||
margin-left: 2%;
|
||||
}
|
||||
|
||||
.swiper-image {
|
||||
|
@ -51,7 +51,7 @@
|
||||
<view class="uni-form-item ">
|
||||
<view class="title">持久登陆</view>
|
||||
<view>
|
||||
<switch name="isLong" :checked="isLong==1?true:false" />
|
||||
<switch name="isLong" :checked="isLong===1" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="uni-form-item">
|
||||
@ -219,7 +219,7 @@
|
||||
return false;
|
||||
}
|
||||
let timer = setInterval(() => {
|
||||
if (this.leftSecond == 0) {
|
||||
if (this.leftSecond === 0) {
|
||||
clearInterval(this.timer)
|
||||
this.leftSecond = this.vcode_time;
|
||||
this.vcode_again = false;
|
||||
@ -388,4 +388,4 @@
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
@ -70,6 +70,7 @@
|
||||
|
||||
<uni-notice-bar
|
||||
text="温馨提示: 请不要随车放置 贵重小件物品(如 眼镜\无线充电器\数据线\U盘\手表\Zipporr火机等)、精密仪器设备(如 电脑等)、易燃易爆物品,车内不得放置违规违禁物品(如 燃料油\火机\酒精\散装酒等),否则司机有权拒载、平台有权拒单。" />
|
||||
<uni-notice-bar text="有安装了ETC设备的,请务必关闭或移除ETC,避免扣费" />
|
||||
<uni-notice-bar text="炎热天气,不要随车装运水果,一定会闷坏的。" />
|
||||
<text class="uniui-h6 help-block"></text>
|
||||
</view>
|
||||
|
@ -85,7 +85,7 @@
|
||||
);
|
||||
},
|
||||
formReset: function(e) {
|
||||
// utils.debug('清空数据')
|
||||
utils.debug('清空数据')
|
||||
},
|
||||
goTo(page) {
|
||||
page = config.pageDir + page;
|
||||
@ -96,8 +96,8 @@
|
||||
|
||||
},
|
||||
onLoad() {
|
||||
var user = ctms.user.checkLogin();
|
||||
var user = store.state.userCloud;
|
||||
var user = ctms.user.getInfo();
|
||||
// var user = store.state.userCloud;
|
||||
this.search.phone = user.mobile;
|
||||
},
|
||||
onShow: function() {}
|
||||
@ -204,4 +204,4 @@
|
||||
line-height: 1rem;
|
||||
margin: 1.5rem;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
@ -68,9 +68,7 @@
|
||||
:direction="direction" @trigger="trigger" @fabClick="fabClick" />
|
||||
</view>
|
||||
|
||||
<uni-notice-bar
|
||||
text="温馨提示: 请不要随车放置 贵重小件物品(如 眼镜\无线充电器\数据线\U盘\手表\Zipporr火机等)、精密仪器设备(如 电脑等)、易燃易爆物品,车内不得放置违规违禁物品(如 燃料油\火机\酒精\散装酒等),否则司机有权拒载、平台有权拒单。" />
|
||||
<uni-notice-bar text="炎热天气,不要随车装运水果,一定会闷坏的。" />
|
||||
<uni-notice-bar text="温馨提示:请填写真实信息以便获取确切报价反馈。" />
|
||||
<text class="uniui-h6 help-block"></text>
|
||||
</view>
|
||||
|
||||
@ -78,10 +76,6 @@
|
||||
|
||||
<script>
|
||||
import province from '@/common/province.js';
|
||||
import letter from '@/common/letter.js';
|
||||
import carP from '@/common/car-p.js';
|
||||
import config from "@/config/ctms.config.js";
|
||||
import store from '@/store/index.js';
|
||||
import utils from "@/utils/common.js";
|
||||
import ctms from '@/apis/ctms/index.js';
|
||||
export default {
|
||||
|
@ -1,3 +1,11 @@
|
||||
<!--
|
||||
* @Author: 嗨噜客(三亚)<fm453>
|
||||
* @Date: 2021-09-06 11:48:18
|
||||
* @FilePath: pages/ctms/tabbar/index/index.vue
|
||||
* @Description:
|
||||
* @Email: 393213759@qq.com
|
||||
* Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved.
|
||||
-->
|
||||
<template>
|
||||
<view class="content">
|
||||
<!-- 轮播图 -->
|
||||
@ -11,13 +19,21 @@
|
||||
</swiper>
|
||||
</view>
|
||||
|
||||
<image class="logo" src="@/static/logo.png"></image>
|
||||
<!--计数器 -->
|
||||
<uni-notice-bar color="#2979FF" background-color="#EAF2FF" :text="h5Data.welcomeTip" />
|
||||
<view class="text-area">
|
||||
<text class="title">安邮车联</text>
|
||||
</view>
|
||||
<view class="text-area">
|
||||
<text class="title">运车助手</text>
|
||||
<view class="numCounter">
|
||||
<view class="div title">累计运单:</view>
|
||||
<view class="div" v-for="(num, index) in totalOrdersNum" :key="index">
|
||||
<text :data-value="num" class="text">{{num}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<uni-section title="近期热门" subTitle="最近咨询、下单的路段及车型信息" type="line" class="recent">
|
||||
<uni-notice-bar show-icon='false' scrollable v-for="(str, index) in h5Data.recent" :key="index"
|
||||
:text="str" />
|
||||
</uni-section>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -32,7 +48,13 @@
|
||||
banner: [{
|
||||
image: '/static/img/banner/banner.jpg',
|
||||
link: ""
|
||||
}]
|
||||
}],
|
||||
h5Data: {
|
||||
welcomeTip: '安邮车联汽车托运平台致力于为客户提供多样化、专业化的优质托运服务承运商信息,让客户省心、省钱地找到合适的汽车托运服务。',
|
||||
orderTotal: 1234567,
|
||||
recent: ['王女士,三亚=>哈尔滨,一台比亚迪宋新能源车型,日期:6月15日', '刘先生,万宁=>常德,路虎揽胜,日期:6月18日']
|
||||
},
|
||||
totalOrdersNum: [1, 2, 3, 4, 5, 6]
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@ -55,6 +77,24 @@
|
||||
}
|
||||
});
|
||||
},
|
||||
getH5datas() {
|
||||
ctms.datas.h5().then((res) => {
|
||||
var _data = res;
|
||||
if (!_data) {
|
||||
return false;
|
||||
}
|
||||
console.log(_data);
|
||||
if (_data.welcomeTip) {
|
||||
this.h5Data.welcomeTip = _data.welcomeTip;
|
||||
}
|
||||
if (_data.orderTotal) {
|
||||
this.h5Data.orderTotal = _data.orderTotal;
|
||||
}
|
||||
if (_data.recent) {
|
||||
this.h5Data.recent = _data.recent;
|
||||
}
|
||||
});
|
||||
},
|
||||
checkSplash() {
|
||||
var ls = "splashShowed";
|
||||
var a = uni.getStorageSync(ls);
|
||||
@ -63,13 +103,23 @@
|
||||
url: "/pages/index/index"
|
||||
})
|
||||
}
|
||||
},
|
||||
numToArr(num) {
|
||||
var _num = num ?? this.h5Data.orderTotal;
|
||||
_num = _num.toString();
|
||||
var arr = Array.from(_num);
|
||||
return arr;
|
||||
}
|
||||
},
|
||||
onLoad: function() {
|
||||
this.checkSplash();
|
||||
this.getH5datas();
|
||||
this.totalOrdersNum = this.numToArr();
|
||||
},
|
||||
onShow: function() {
|
||||
this.getBanner();
|
||||
this.getH5datas();
|
||||
this.totalOrdersNum = this.numToArr();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@ -102,15 +152,12 @@
|
||||
}
|
||||
</style>
|
||||
<style lang="scss">
|
||||
@import url("../../index/counter.css");
|
||||
|
||||
.uni-margin-wrap {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.uni-padding-wrap {
|
||||
width: 550rpx;
|
||||
padding: 0 100rpx;
|
||||
}
|
||||
|
||||
/*轮播幻灯*/
|
||||
.swiper {
|
||||
height: 300rpx;
|
||||
@ -145,4 +192,10 @@
|
||||
.swiper-box .wx-swiper-dots.wx-swiper-dots-horizontal {
|
||||
padding-bottom: 10rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
/*最近热门*/
|
||||
.recent {
|
||||
margin-top: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
|
@ -1,3 +1,11 @@
|
||||
<!--
|
||||
* @Author: 嗨噜客(三亚)<fm453>
|
||||
* @Date: 2021-09-06 11:48:18
|
||||
* @FilePath: pages/ctms/tabbar/me/index.vue
|
||||
* @Description:
|
||||
* @Email: 393213759@qq.com
|
||||
* Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved.
|
||||
-->
|
||||
<template>
|
||||
<view class="container">
|
||||
<view class="about">
|
||||
|
@ -1,3 +1,11 @@
|
||||
<!--
|
||||
* @Author: 嗨噜客(三亚)<fm453>
|
||||
* @Date: 2021-09-06 11:48:18
|
||||
* @FilePath: pages/ctms/tabbar/notice/index.vue
|
||||
* @Description:
|
||||
* @Email: 393213759@qq.com
|
||||
* Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved.
|
||||
-->
|
||||
<template>
|
||||
<view class="container">
|
||||
<view v-if="!totalCount" class="content">
|
||||
|
@ -1,3 +1,11 @@
|
||||
<!--
|
||||
* @Author: 嗨噜客(三亚)<fm453>
|
||||
* @Date: 2022-04-22 13:22:50
|
||||
* @FilePath: pages/ctms/tabbar/order/index.vue
|
||||
* @Description:
|
||||
* @Email: 393213759@qq.com
|
||||
* Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved.
|
||||
-->
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="uni-common-mt uni-form">
|
||||
|
Reference in New Issue
Block a user