调整页面

This commit is contained in:
maclien
2024-05-26 17:02:46 +08:00
parent 3bf5c948d8
commit 93dbcc2cde
44 changed files with 1234 additions and 175 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
# 车宝项目
# 车宝项目
## 账号密码
//车宝
//车宝
wx71095d4049de3ed1
a80eb6ed68d7bae2d804fe507a4522f7
+5 -2
View File
@@ -53,6 +53,7 @@
"pages/order/editLicenseImg/index",
"pages/order/editInsImg/index",
"pages/order/editOtherImg/index",
"pages/order/editInvoiceImg/index",
"pages/storeData/index",
"pages/storeData/customerData/index",
"pages/storeData/wechatData/index",
@@ -62,7 +63,9 @@
"pages/order/editVoucherImg/index",
"pages/dataAnalysis/detail/index",
"pages/order/editBuyer/index",
"pages/storeData/subData/index"
"pages/storeData/subData/index",
"pages/signup/code",
"pages/signup/index"
],
"echarts": [
{
@@ -75,7 +78,7 @@
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "车宝",
"navigationBarTitleText": "车宝",
"navigationBarTextStyle": "black"
},
"sitemapLocation": "sitemap.json",
+2 -2
View File
@@ -2,8 +2,8 @@ const env = "p";
const version = 1,
//车宝
app_id = '' +
//车宝
app_id = '1c156bb57cd6984a' +
'',
key = '71fd71173b776766a2ae1209d9a2c2ed';
+5 -1
View File
@@ -99,7 +99,11 @@ wxTimer.prototype = {
//更新计时器数组
wxTimerList[that.name] = {
wxTimer: tmpTimeStr
wxTimer: tmpTimeStr,
hour: collageHour,
day:collageDay,
min:collageMin,
tim:collageTim
};
self.setData({
+1 -1
View File
@@ -40,7 +40,7 @@
<view class="auth-dialog" style="z-index:{{zindex+1}};" catchtouchmove="true" wx:elif="{{type=='mobile' && isShow}}">
<view wx:if="{{!isBindMobile}}">
<view class="cap">{{title || '立即登录'}}</view>
<view class="intro">授权手机号即可登录车小程序,了解更多车资讯,一手活动特惠即刻拥有。</view>
<view class="intro">授权手机号即可登录车小程序,了解更多车资讯,一手活动特惠即刻拥有。</view>
<view class="btn-list">
<view class="item-cell">
<button class="btn-cancel" bindtap="onClose">{{cancelbtn || '取消'}}</button>
+1 -1
View File
@@ -2,6 +2,6 @@
<view>
<text class="support-tx">Powered by</text>
<image class='inline-block img-30x30' mode='aspectFit' src='https://qs.haodian.cn/wechat_app/common/lc-logo-gray.png?v=220223'></image>
<text class="support-tx">车</text>
<text class="support-tx">车</text>
</view>
</view>
+1 -1
View File
@@ -1,7 +1,7 @@
<view class="container">
<view class='pt160 text-center'>
<image class='img-130x130 ulib-r750' mode="aspectFill" src='{{imgUrl}}/login/logo.jpg?v=220223'></image>
<view class='mt20 font-32 color-fff'>{{userInfo.uname}},欢迎回到车宝!</view>
<view class='mt20 font-32 color-fff'>{{userInfo.uname}},欢迎回到车宝!</view>
<!-- <view class="mt10 font-64 color-fff">{{userInfo.uname}}</view> -->
<view class="mt20">
<view class="inline-block bg-fff mt10 pt10 pb10 pl30 pr30 font-32 ulib-r750">{{userInfo.biz_name}}</view>
+83 -4
View File
@@ -49,6 +49,7 @@ Page({
this.getUserInfo()
this.getAppCity()
this.getAppArea() //20240526新增
//消息通讯 是否显示授权用户信息按钮
_.eventBus.on("isShowProfile", this, function(res){
@@ -131,14 +132,63 @@ Page({
cityArray:cityArray,
cityList:res.data.list,
})
this.getAppUserBizs()
// this.getAppStatisticsCust()
// this.getAppStatisticsOrders()
});
},
//20240526 获取系统配置城市省市
getAppArea(){
let area_list = [{
"name": "福建省",
"id": 1,
"propvince_id": "35",
"children": [{
"id":"19","city_id":"350900","name":"宁德市"},
{"id":"18","city_id":"350700","name":"南平市"}]
},{
"name": "湖南省",
"id": 1,
"propvince_id": "36",
"children": [{
"city_id": "120900",
"id": "20",
"name": "长沙市",
},{
"city_id": "120000",
"id": "21",
"name": "湘潭市",
}]
}]
let area_id = [35,350900]
let areaArr = []
// let cur_index = []
area_list.forEach((item,index) => {
if(item.propvince_id==area_id[0]){
item.children.forEach((it,idx)=>{
if(it.city_id==area_id[1]){
// cur_index = [item.propvince_id,it.city_id]
this.setData({
areaIndex: [index,idx]
})
areaArr = [area_list,area_list[index].children]
return;
}
})
}
});
this.setData({
area_id: area_id,
area_list: area_list,
areaArr: areaArr
// cityList: res.data.list,
})
},
//获取管理门店
getAppUserBizs(){
let params = {};
@@ -161,6 +211,35 @@ Page({
// this.getAppStatisticsOrders()
},
//20240526选择地区
changeArea(e){
this.setData({
areaIndex: e.detail.value,
})
},
//20240526地区联动
columnChangeArea(e){
let multiData = this.data.area_list;
let multiIndex = this.data.areaIndex;
let columnIndex = e.detail.column;
let columnValue = e.detail.value;
multiIndex[columnIndex] = columnValue;
console.log(e)
console.log(multiIndex)
console.log(multiData)
this.setData({
areaArr: [
multiData,
multiData[multiIndex[0]].children
],
})
},
//客户选择季度
changeCust(e) {
this.setData({
+13 -3
View File
@@ -7,13 +7,13 @@
<lcb-auth type="userinfo" isShowProfile="{{isShowProfile}}" bind:onSuccess="getUserInfo"></lcb-auth>
</view>
<view>
<view class="font-22 color-fff">Hi~ {{hoursTip}}欢迎回到车宝!</view>
<view class="font-22 color-fff">Hi~ {{hoursTip}}欢迎回到车宝!</view>
<view>
<text class="text-middle text-bold font-48 color-fff">{{userInfo.uname}}</text>
</view>
</view>
</view>
<view class="absolute allot-tip pt8 pb8 pl15 pr10 bg-f9394d font-22 color-fff ulib-rt10" bindtap="pushLink" data-url="/pages/allot/list/index?city_id={{city_id}}">车辆调拨记录<i class="iconfont icon-gengduo"></i></view>
<view wx:if="{{0}}" class="absolute allot-tip pt8 pb8 pl15 pr10 bg-f9394d font-22 color-fff ulib-rt10" bindtap="pushLink" data-url="/pages/allot/list/index?city_id={{city_id}}">车辆调拨记录<i class="iconfont icon-gengduo"></i></view>
</view>
<!-- 车辆调拨 -->
<view class="mb40 bg-ffedeb ulib-rt10" style="height:140rpx;" bindtap="pushLink" data-url="/pages/allot/list/index?channel=1" wx:if="{{allotNum>0}}">
@@ -43,12 +43,22 @@
</view> -->
<view class="relative z-index-1">
<view class="font-36">管辖门店</view>
<picker class="absolute right-0 box-middle" bindchange="changeCity" value="{{cityIndex}}" range="{{cityArray}}">
<picker wx:if="{{0}}" class="absolute right-0 box-middle" bindchange="changeCity" value="{{cityIndex}}" range="{{cityArray}}">
<view class="pt10 pb10 pl20 pr20 bg-f6 ulib-r10 font-22">
<text>{{cityArray[cityIndex]}}</text>
<i class="iconfont ml20 icon-xiala color-999"></i>
</view>
</picker>
<picker mode="multiSelector" class="absolute right-0 box-middle" bindchange="changeArea" bindcolumnchange="columnChangeArea" value="{{areaIndex}}" range="{{areaArr}}" range-key="name">
<view class="pt10 pb10 pl20 pr20 bg-f6 ulib-r10 font-22">
<text>{{area_list[areaIndex[0]].name}}-{{area_list[areaIndex[0]].children[areaIndex[1]].name}}</text>
<i class="iconfont ml20 icon-xiala color-999"></i>
</view>
</picker>
</view>
<view>
<block wx:for="{{shoplist}}" wx:key='index'>
+3 -2
View File
@@ -7,8 +7,8 @@ Page({
imgUrl:_.config.imgUrl,
tabid:1,
tab:[
{"id":1,"title":"跟进记录"},
{"id":2,"title":"客户画像"},
{"id":1,"title":"跟进记录",is_show_all:true},
{"id":2,"title":"客户画像",is_show_all:false},
],
logslist: [],//日志列表
pageNo: 1,
@@ -60,6 +60,7 @@ Page({
phoneNumber:'',//拨打的电话号码
userInfo:'',
optDefeat: false
},
onLoad(options) {
for (let key in options) {
+10 -18
View File
@@ -1,7 +1,7 @@
<view class="container">
<view class="inner40 pb0">
<view class="inner40 relative ulib-r10 box-shadow-000-10-10 mb30 overflowhidden">
<view class="absolute top-0 left-0 ml40 bg-36afa2 pl10 pr10 font-22 color-fff" wx:if="{{detailinfo.tip}}">
<view class="absolute top-0 left-0 ml40 bg-36afa2 pl10 pr10 font-22 color-fff" wx:if="{{detailinfo.tip&&!optDefeat}}">
{{detailinfo.tip}}
</view>
<view class="relative pr180">
@@ -10,25 +10,13 @@
{{detailinfo.name}}<text class="ml10 font-22 color-666">编号 {{detailinfo.id}}</text>
</text>
<text class="text-middle iconfont icon-weixin1 ml10 color-00c800" wx:if="{{detailinfo.is_weChat}}"></text>
<text class="iconfont icon-xingxing ml10 {{detailinfo.is_top==1?'color-f9394d':'color-ccc'}}" catchtap="optTop" data-index="{{index}}"></text>
<text wx:if="{{!optDefeat}}" class="iconfont icon-xingxing ml10 {{detailinfo.is_top==1?'color-f9394d':'color-ccc'}}" catchtap="optTop" data-index="{{index}}"></text>
</view>
<view class="mt10 text-nowrap font-28">
<text>{{detailinfo.mobile}}</text>
</view>
<!-- <view class="text-nowrap">
<text class="mr15 font-22 color-666">编号:{{detailinfo.id}}</text>
<block wx:for="{{detailinfo.tags}}" wx:for-index='i' wx:for-item='tag' wx:key='i'>
<text class="inline-block mr10 pl10 pr10 bg-666 font-18 color-fff ulib-r750" wx:if="{{i<4}}">{{tag}}</text>
</block>
<block wx:if="{{detailinfo.tags.length>4}}">
...
</block>
</view> -->
<view class="absolute right-0 box-middle text-right mt5">
<view wx:if="{{!optDefeat}}" class="absolute right-0 box-middle text-right mt5">
<view class="text-center">
<!--view class="inline-block relative img-55x55 bg-333 font-28 color-fff mr30 ulib-r750" catchtap="showMessage" data-id="{{detailinfo.id}}">
<i class="absolute box-center-middle iconfont icon-duanxinguanli"></i>
</view-->
<view class="inline-block relative img-55x55 bg-333 font-28 color-fff ulib-r750" catchtap="call" data-id="{{detailinfo.id}}">
<i class="absolute box-center-middle iconfont icon-dianhua"></i>
</view>
@@ -47,13 +35,13 @@
<view class="pl30 pr30">
<view class="fn-flex pl50 pr50 font-32 color-666 text-center">
<block wx:for='{{tab}}' wx:key='list'>
<view class="fn-flex-item pl20 pr20 tabmenu2 {{tabid == item.id?'active color-36afa2':''}}" data-index="{{index}}" bindtap="changeTab">
<view wx:if="{{item.is_show_all||(!item.is_show_all&&!optDefeat)}}" class="fn-flex-item pl20 pr20 tabmenu2 {{tabid == item.id?'active color-36afa2':''}}" data-index="{{index}}" bindtap="changeTab">
<view class="relative">{{item.title}}</view>
</view>
</block>
</view>
<view class="mt30 pb150" wx:if="{{tabid == 1}}">
<view class="fn-flex text-center">
<view wx:if="{{!optDefeat}}" class="fn-flex text-center">
<block wx:for="{{statistics}}" wx:key='index'>
<view class="fn-flex-item ml15 mr15 pt20 pb20 bg-f3f6fc ulib-r10" style="background-color:{{item.color}}">
<view class="font-32">{{item.val}}</view>
@@ -180,7 +168,11 @@
<!-- <view>
<button bindtap="pushLink" data-url="/pages/customer/editCard/index?id={{id}}" class="inline-block btn-36afa2 font-22 color-fff ulib-r10" hover-class="btn-36afa2-hover"></button>
</view> -->
<view class="fn-flex text-center">
<view wx:if="{{optDefeat}}" class="fn-flex text-center fn-flex-between">
<view ></view>
<view class="fn-flex-item flexsize4 pt20 pb20 btn-36afa2 font-32 color-fff ulib-r750" bindtap="pushLink" data-url="/pages/customer/optDefeat/index">返回列表</view>
</view>
<view wx:else class="fn-flex text-center">
<view class="fn-flex-item flexsize3 pt10 color-36afa2" bindtap="pushLink" data-url="/pages/customer/editCard/index?id={{id}}">
<i class="iconfont icon-bianjiwenjian font-36"></i>
<view class="font-22">修改信息</view>
+3 -3
View File
@@ -3,15 +3,15 @@
<view class="mt20 pl30 pr30">
<view class="mb20 font-28" wx:if="{{total>0}}">共<text class="pl5 pr5 color-f9394d">{{total}}</text>个</view>
<block wx:for='{{list}}' wx:key='index'>
<view class="inner40 relative ulib-r10 box-shadow-000-10-10 mb30 overflowhidden" bindtap="pushLink" data-url="/pages/customer/detail/index?id={{item.id}}&optDefeat=true">
<view class="inner30 relative ulib-r10 bds-1-eb mb30 overflowhidden" bindtap="pushLink" data-url="/pages/customer/detail/index?id={{item.id}}&optDefeat=true">
<view class="relative pr180">
<view>
<text class="font-32">{{item.name}}</text>
<text class="font-28 color-666">({{item.mobile}})</text>
</view>
<view class="absolute right-0 box-middle font-24 color-666">查看详情<text class="iconfont icon-gengduo ml10"></text></view>
<view class="absolute right-0 box-middle font-24 color-666">详细信息<text class="iconfont icon-gengduo ml10"></text></view>
</view>
<view class="mt15 pt5 pb5 pl20 pr20 font-22 color-f9394d tip-radius" wx:if="{{item.reason}}">{{item.reason}}</view>
<view class="mt15 pt5 pb5 pl20 pr20 font-22 color-f9394d tip-radius" wx:if="{{item.reason&&0}}">{{item.reason}}</view>
</view>
</block>
<lcb-listmore isLoading='{{loading}}' isEnd='{{end}}' isNoData='{{noData}}'></lcb-listmore>
+1 -1
View File
@@ -19,7 +19,7 @@
<text class="font-28">¥</text>
<text class="ml5 font-40">2345.12</text>
</view>
<view class="pt30 font-22 color-999">注:若提现出现问题,请联系小<text class="ml10 color-f9394d" bindtap="call" data-tel="1812334344">1812334344</text></view>
<view class="pt30 font-22 color-999">注:若提现出现问题,请联系小<text class="ml10 color-f9394d" bindtap="call" data-tel="1812334344">1812334344</text></view>
</view>
<view class="mt60">
<button class="btn-f9394d font-32 color-fff ulib-r750 text-center ml35 mr35" hover-class="btn-1a1a1a-hover" bindtap="putDistributionCash" disabled="{{submitFlag}}">立即提现</button>
+1 -1
View File
@@ -25,7 +25,7 @@
<view class="fixed pb100 left-0 right-0 bottom-0 text-center">
<view class="inline-block bg-f8 pt10 pb10 pl40 pr40 font-28 color-999 ulib-r750" bindtap="optShowKefu">
<i class="iconfont icon-kefu"></i>
联系小
联系小
</view>
</view>
+5 -5
View File
@@ -7,7 +7,7 @@
<lcb-auth type="userinfo" isShowProfile="{{isShowProfile}}" bind:onSuccess="getUserInfo"></lcb-auth>
</view>
<view>
<view class="font-22 color-fff">Hi~ {{hoursTip}}欢迎回到车宝!</view>
<view class="font-22 color-fff">Hi~ {{hoursTip}}欢迎回到车宝!</view>
<view>
<text class="text-middle text-bold font-48 color-fff">{{userInfo.uname}}</text>
<text class="inline-block ml10 pl10 pr10 bg-fff text-middle font-18 ulib-r750">{{userInfo.biz_name}}</text>
@@ -15,7 +15,7 @@
</view>
</view>
</view>
<view class="mb30 pt40 pb40 bg-fff box-shadow-000-10-10 ulib-r10 text-center">
<view wx:if="{{0}}" class="mb30 pt40 pb40 bg-fff box-shadow-000-10-10 ulib-r10 text-center">
<view class="pl20 pr20 fn-flex font-22 color-666">
<view class="relative fn-flex-item" bindtap="pushLink" data-url="/pages/inventory/list/index">
<view class="absolute peg-tip box-center ml30 bg-f9394d bds-2-fff img-24x24 text-center font-18 color-fff ulib-r750 z-index-1" wx:if="{{pandianNum}}"><text class="absolute box-center-middle">{{pandianNum}}</text></view>
@@ -43,7 +43,7 @@
<view class="font-36">数据看板</view>
<view class="fn-flex fn-flex-wrap pt20 pb10 text-center">
<block wx:for="{{userCal.statistics}}" wx:key='index'>
<view class="wp33 relative pt20 pb20 {{index>2?'bts-1-eb':''}} {{index%3==2?'':'brs-1-eb'}}" bindtap="pushLink" data-url="{{item.today.url}}">
<view class="wp25 relative pt20 pb20 {{index>2?'bts-1-eb':''}} {{index%3==2?'':'brs-1-eb'}}" bindtap="pushLink" data-url="{{item.today.url}}">
<view class="text-bold"><text class="font-36">{{item.today.value}}</text><text class="font-28 color-666">/{{item.month.value}}</text></view>
<view class="font-22"><text>{{item.today.title}}</text><text class="color-666">/{{item.month.title}}</text></view>
</view>
@@ -213,7 +213,7 @@
<!-- <view class="text-bold font-24">截图并识别二维码关注服务号</view> -->
</view>
<view class="inner40 pt0 pb20 font-28 color-666">
亲爱的用户,关注 “车宝”公众号。后续关于客户、订单以及其他相关资讯,将逐步通过服务号通知的形式进行消息通知,请提前关注~
亲爱的用户,关注 “车宝”公众号。后续关于客户、订单以及其他相关资讯,将逐步通过服务号通知的形式进行消息通知,请提前关注~
</view>
<view class="pl40 pr40 pb20 font-28 color-666">联系电话:<text bindtap="call">18965133055</text></view>
<view class="pb40 text-center font-28 color-666" bindtap="checkNotice">
@@ -285,7 +285,7 @@
<!-- 更新新版本提醒 -->
<lcb-msg isShow="{{isShowVersionInfo}}" isBottomOpt="{{true}}" closeWord="我知道了" bind:closeevent="closeVersionInfo" isCustomTabBar="{{true}}">
<view slot="content" class="inner40 text-center" style="width:550rpx;">
<view class="font-36">车宝 {{versionInfo.number}} 更新说明</view>
<view class="font-36">车宝 {{versionInfo.number}} 更新说明</view>
<view class="inline-block mt10 font-28 color-666">
<view class="mt15 text-left" wx:for-items="{{versionInfo.list}}" wx:key='index'>{{index+1}}、{{item}}</view>
</view>
+1 -1
View File
@@ -1,5 +1,5 @@
{
"navigationBarTitleText": "车宝",
"navigationBarTitleText": "车宝",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#1a1c26",
"backgroundColor": "#ffffff",
+5 -5
View File
@@ -1,8 +1,8 @@
<view class="container">
<view hidden="{{!pageshow}}">
<view class='pt100 text-center'>
<image class='img-140x140 ulib-r750' mode="aspectFill" src='{{imgUrl}}/login/logo.jpg?v=220223'></image>
<view class='mt10 font-32 color-fff'>车宝</view>
<image class='img-140x140 ulib-r750' mode="aspectFill" src='https://img.liche.cn/spacestation/logo-alpha.png?v=20240526'></image>
<view class='mt10 font-32 color-fff'>车宝</view>
</view>
<view class='pt30 pb30 pl90 pr90 relative z-index-4'>
<view class="bg-e4 mt40 pt20 pb20 relative fn-clear ulib-r750">
@@ -20,9 +20,9 @@
</view>
<view class="mt30 font-22 color-ccc text-center">
<label class="inline-block text-middle statement fn-clear"><checkbox class="fn-fl" checked="" /><text class="pt3 fn-fl">我已阅读并同意</text></label>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/registration/index">《车用户注册协议》</text>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/registration/index">《车用户注册协议》</text>
<!-- <text class="text-middle">和</text>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/privacy/index">《车用户隐私政策》</text> -->
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/privacy/index">《车用户隐私政策》</text> -->
</view>
<view class='mt30 relative'>
<button class='btn-36afa2 font-36 color-fff ulib-r750' hover-class='btn-36afa2-hover' bindtap='getUserUkey'>登录</button>
@@ -34,7 +34,7 @@
<QYWXcontact buttonText="{{4}}" class="pt40 pb40" styleType='1' plugid='9280d952ecab1136d907a34b6799df97' />
<QYWXcontact buttonText="{{4}}" class="pt40 pb40" styleType='1' plugid='9280d952ecab1136d907a34b6799df97' />
</view>
<i class="iconfont icon-kefu mr5"></i>联系小
<i class="iconfont icon-kefu mr5"></i>联系小
</view>
</view>
</view>
+3 -2
View File
@@ -1,15 +1,16 @@
page{
background-repeat:no-repeat;
background-position:center bottom;
background-size:100% auto;
background-size:cover;
background-color:#1a1c26;
background-image:url('http://qs.haodian.cn/wechat_app/lichebao/login/login-bg.jpg?v=20210721');
background-image:url('https://img.liche.cn/spacestation/bg.jpg?v=20240526');
}
.con-100{width:100rpx;}
.login-light{left:0;bottom:322rpx;height:138rpx;animation:light linear 2s infinite;}
@keyframes light{0%{opacity:1}100%{opacity:0}}
.login-light{display:none;}
.bottom-170{bottom:170rpx;}
+2 -2
View File
@@ -40,8 +40,8 @@ Page({
// },
{
icon:'https://qs.haodian.cn/wechat_app/lichebao/mine/icon-sucai2.png',
title:'我的素材',
url:'/pages/distribute/index',
title:'签到码',
url:'/pages/signup/code',
},
{
icon:'https://qs.haodian.cn/wechat_app/lichebao/mine/icon-sezhi2.png',
+73
View File
@@ -1,4 +1,6 @@
import _ from '../../../commons/js/commons'
const timer = require('../../../commons/js/lib/wxTimer');
var wxTimer = null
const app = getApp()
Page({
data: {
@@ -20,6 +22,10 @@ Page({
other_img:[],//交车合照
isShowCK:false,
isShowBill:false,
isShowConfirm: false, //是否显示确认窗口
confirm_count_down: 3,
wxTimerList: {},
wxTimer: null,
},
onLoad: function (options) {
for (let key in options) {
@@ -37,6 +43,20 @@ Page({
this.getAppCusorderdata()
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
if (wxTimer) {
wxTimer.stop();
wxTimer = null
}
this.setData({
wxTimerList: {},
wxTimer: null,
})
},
//获取用户信息
getUserInfo(){
_.apiQuery.getUserInfo().then(res => {
@@ -912,10 +932,63 @@ Page({
})
},
//20240526 确认弹窗
bindShowConfirm(){
this.setData({
isShowConfirm:true,
submitFlag: true
},()=>{
this.getTimes(this.data.confirm_count_down)
})
},
//关闭短信弹框
hideConfirm(e){
this.setData({
isShowConfirm:false,
})
},
//20240526 确定无误接口
postConfirmOrder(){
console.log('postConfirmOrder')
},
/**
* 生成倒计时
*/
getTimes(seconds) {
let that = this
return new Promise(function (resolve, reject) {
wxTimer = new timer({
name: 'wxTimer',
leftTime: seconds,
complete: function () {
// that.setData({
// isShow: false
// })
setTimeout(() => {
that.setData({
'submitFlag': false,
wxTimerList: {}
})
}, 1000);
// that.getAppActivityExchange()
resolve()
},
})
wxTimer.start(that);
})
},
//页面相关事件处理函数--监听用户下拉动作
onPullDownRefresh(){
this.getAppCusorderdata()
this.getAppCusorderV2()
this.setData({
wxTimerList: {},
wxTimer: null
})
},
})
+39 -19
View File
@@ -28,7 +28,7 @@
<button bindtap="pushLink" data-url="/pages/order/editOwner/index?id={{id}}" class="inline-block font-22 color-fff ulib-r10 btn-36afa2" hover-class="btn-36afa2-hover"><i class="iconfont icon-dengji mr10"></i>修改</button>
</view>
</view>
<block wx:if="{{info.main_type==0}}">
<block wx:if="{{info.main_type==0&&0}}">
<view class="relative bbs-1-eb pl140 font-28">
<view class="absolute left-0 box-middle font-28 color-333">车主姓名</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx">{{info.owner_name}}</view>
@@ -133,14 +133,18 @@
</view>
</view>
<view class="bbs-1-eb" wx:if="{{info.bill_img}}">
<view class="relative pt30 pb30" bindtap="optShowBill">
<text class="font-32">发票</text>
<view class="absolute right-0 box-middle red-tip mr30 ulib-r750" wx:if="{{!isShowBill}}"></view>
<i class="absolute right-0 box-middle iconfont {{isShowBill?'icon-xuanze':'icon-gengduo'}} font-26 color-999"></i>
<view class="relative pt30 pb30" bindtap="pushLink" data-url="/pages/order/editInvoiceImg/index?id={{id}}">
<text class="absolute left-0 box-middle font-32 color-333">发票</text>
<view class="pt30 pb30 text-right font-26 color-999" style="min-height:38rpx">
<view>{{info.bill_img?'更新':'上传'}}<i class="iconfont ml10 icon-gengduo"></i></view>
<!-- <button bindtap="pushLink" data-url="/pages/order/editCardid/index?id={{id}}" class="inline-block text-middle font-22 color-fff ulib-r10 btn-36afa2" hover-class="btn-36afa2-hover"><i class="iconfont icon-dengji mr10"></i>{{cardida.value||cardidb.value?'更新':'上传'}}</button> -->
</view>
<!-- <view class="absolute right-0 box-middle red-tip mr30 ulib-r750" wx:if="{{!isShowBill}}"></view>
<i class="absolute right-0 box-middle iconfont {{isShowBill?'icon-xuanze':'icon-gengduo'}} font-26 color-999"></i> -->
</view>
<view hidden="{{!isShowBill}}">
<!-- <view hidden="{{!isShowBill}}">
<view class="mt10 mb10"><image bindtap="previewImage" data-type="bill_img" data-current="{{info.bill_img}}" class='wp100' lazy-load="{{true}}" mode="widthFix" src="{{info.bill_img}}"></image></view>
</view>
</view> -->
</view>
</view>
@@ -233,16 +237,16 @@
</view>
</view> -->
</block>
<!--上传车辆证件-->
<!--上传行驶证-->
<view class="relative bbs-1-eb pl140 font-28" bindtap="{{!info.refund_status?'pushLink':''}}" data-url="/pages/order/editLicenseImg/index?id={{id}}">
<view class="absolute left-0 box-middle font-32 color-333">车辆证件</view>
<view class="absolute left-0 box-middle font-32 color-333">行驶证</view>
<view class="pt30 pb30 text-right font-26 color-999" style="min-height:38rpx">
<view>{{register_img.value||car_img.value?'更新':'上传'}}<i class="iconfont ml10 icon-gengduo"></i></view>
<!-- <button bindtap="pushLink" data-url="/pages/order/editLicenseImg/index?id={{id}}" class="inline-block text-middle font-22 color-fff ulib-r10 btn-36afa2" hover-class="btn-36afa2-hover"><i class="iconfont icon-dengji mr10"></i>{{register_img.value||car_img.value?'更新':'上传'}}</button> -->
</view>
</view>
<!-- <view class="mt40 font-32">车辆证件</view>
<!-- <view class="mt40 font-32">行驶证</view>
<view class="fn-flex mt30 text-center">
<view class="fn-flex-item relative mr10" bindtap="chooseImg" data-type="register_img">
<block wx:if="{{register_img.value}}">
@@ -333,7 +337,7 @@
</view> -->
<!--上传交车合照-->
<!--添加企微-->
<view class="relative bbs-1-eb pl140 font-28" bindtap="{{!info.refund_status?'pushLink':''}}" data-url="/pages/order/editQVImg/index?id={{id}}">
<view wx:if="{{0}}" class="relative bbs-1-eb pl140 font-28" bindtap="{{!info.refund_status?'pushLink':''}}" data-url="/pages/order/editQVImg/index?id={{id}}">
<view class="absolute left-0 box-middle font-32 color-333">企微信息</view>
<view class="pt30 pb30 text-right font-26 color-999" style="min-height:38rpx">
<view>{{imgInfo.imgs.wx_img.value||imgInfo.imgs.mut_wx_img.value?'更新':'上传'}}<i class="iconfont ml10 icon-gengduo"></i></view>
@@ -341,7 +345,7 @@
</view>
<!--end添加企微-->
<!--实名认证资料-->
<view class="relative bbs-1-eb pl140 font-28" bindtap="{{!info.refund_status?'pushLink':''}}" data-url="/pages/order/editVoucherImg/index?id={{id}}">
<view wx:if="{{0}}" class="relative bbs-1-eb pl140 font-28" bindtap="{{!info.refund_status?'pushLink':''}}" data-url="/pages/order/editVoucherImg/index?id={{id}}">
<view class="absolute left-0 box-middle font-32 color-333">实名认证资料</view>
<view class="pt30 pb30 text-right font-26 color-999" style="min-height:38rpx">
<view>{{imgInfo.imgs.destory_img.value?'更新':'上传'}}<i class="iconfont ml10 icon-gengduo"></i></view>
@@ -385,7 +389,7 @@
</block>
<!--国家补材料-->
<block wx:if="{{imgInfo.imgs.register_img.img||imgInfo.imgs.car_img.img}}">
<view class="mt40 font-32">车辆证件</view>
<view class="mt40 font-32">行驶证</view>
<view class="fn-flex mt30 text-center">
<view class="fn-flex-item relative mr10">
<view class="inline-block bg-f8 img-300x200 relative ulib-r10 overflowhidden" wx:if="{{imgInfo.imgs.register_img.img}}" bindtap="previewImage" data-type="register_img">
@@ -431,7 +435,7 @@
</view>
</block>
<!--添加企微-->
<block wx:if="{{imgInfo.imgs.wx_img.img||imgInfo.imgs.mut_wx_img.img}}">
<block wx:if="{{(imgInfo.imgs.wx_img.img||imgInfo.imgs.mut_wx_img.img)&&0}}">
<view class="mt40 font-32">添加企微</view>
<view class="fn-flex mt30 text-center">
<view class="fn-flex-item relative mr10">
@@ -447,7 +451,7 @@
</view>
</block>
<!--实名认证资料-->
<block wx:if="{{imgInfo.imgs.destory_img.img}}">
<block wx:if="{{imgInfo.imgs.destory_img.img&&0}}">
<view class="mt40 font-32">实名认证资料</view>
<view class="mt30 pb20 text-center">
<view class="inline-block bg-f8 img-300x200 ml15 mr15 relative ulib-r10 overflowhidden" bindtap="previewImage" data-type="destory_img">
@@ -473,7 +477,7 @@
<!--交付随车信息-->
<block wx:if="{{info.ckcar_status == 1}}">
<view class="pl30">
<view class="pl30" wx:if="{{0}}">
<view>
<view class="mr30 pt30 pb30 font-28 color-333">随车资料</view>
<view class="fn-clear">
@@ -509,7 +513,7 @@
<button class="wp100 btn-36afa2 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" disabled="{{submitFlag}}" bindtap="putAppCusorderCkcar">确认交车</button>
</view>
</block>
<view class="pl30 pr30" wx:if="{{info.ckcar_status == 0&&info.ckcar_data.info.length>0}}">
<view class="pl30 pr30" wx:if="{{info.ckcar_status == 0&&info.ckcar_data.info.length>0&&0}}">
<view class="relative bbs-1-eb bbs-1-eb pl140 font-28">
<view class="absolute left-0 box-middle font-28 color-333">随车资料</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">
@@ -534,9 +538,12 @@
<!--end交付随车信息-->
<!--订单作废 收取意向金 操作-->
<view class="fixed left-0 right-0 bottom-0 pt20 pl30 pr30 pb40 bg-000-op80 fn-flex z-index-9999" wx:if="{{!info.refund_status}}">
<view class="fixed left-0 right-0 bottom-0 pt20 pl30 pr30 pb40 bg-000-op80 fn-flex" style="z-index:999" wx:if="{{!info.refund_status}}">
<button bindtap="putAppCusorderV2Status" class="fn-flex-item ml20 mr20 btn-36afa2 wp100 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover" wx:if="{{!info.inten_money&&!info.price_book_status&&!info.price_last_status&&!price_srv_status}}"><i class="iconfont mr5 icon-zuofei"></i>订单作废</button>
<button bindtap="optShowOrderCode" class="fn-flex-item ml20 mr20 btn-36afa2 wp100 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover"><i class="iconfont mr5 icon-zhifu"></i>邀请扫码</button>
<button wx:if="{{0}}" bindtap="optShowOrderCode" class="fn-flex-item ml20 mr20 btn-36afa2 wp100 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover"><i class="iconfont mr5 icon-zhifu"></i>邀请扫码</button>
<button bindtap="bindShowConfirm" class="fn-flex-item ml20 mr20 btn-36afa2 wp100 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">
下定信息确认无误 / 发票信息确认无误 / 支付信息确认无误
</button>
</view>
</view>
@@ -568,3 +575,16 @@
</view>
</view>
</lcb-msg>
<lcb-msg style="z-index:9999;" isShow="{{isShowConfirm}}">
<view slot="content">
<view class="inner40">
<view class="text-center font-32 text-bold">温馨提示</view>
<view class="font-28 pt40" style="min-height:8vh;">是否提交信息至汽车之家AHOH系统?</view>
</view>
<view class="fn-flex pl60 pr60 pb50 text-center font-32 color-666">
<button bindtap="hideConfirm" class="fn-flex-item mr20 bds-2-36afa2 btn-no-bg wp100 font-28 color-36afa2 ulib-r750">取消</button>
<button disabled="{{submitFlag}}" bindtap="postConfirmOrder" class="fn-flex-item ml20 btn-36afa2 wp100 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">{{wxTimerList&&wxTimerList.wxTimer&&wxTimerList.wxTimer.tim?(wxTimerList.wxTimer.tim+'S后'):''}}确定</button>
</view>
</view>
</lcb-msg>
+2 -2
View File
@@ -25,9 +25,9 @@
</view>
<view class="mt40 font-22 color-666 text-center">
<label class="inline-block text-middle statement fn-clear"><checkbox class="fn-fl" value="cb" /><text class="pt3 fn-fl">我已阅读并同意</text></label>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/registration/index">《车用户注册协议》</text>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/registration/index">《车用户注册协议》</text>
<text class="text-middle">和</text>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/privacy/index">《车用户隐私政策》</text>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/privacy/index">《车用户隐私政策》</text>
</view>
</view>
+20 -9
View File
@@ -9,7 +9,7 @@
</view>
<block wx:if="{{(info.price_loan0>0&&tabkey==1&&!info.price_loan0_status)||(info.price_loan0>0&&tabkey==0&&!info.price_loan_status)||(!(info.price_loan0>0)&&!info.price_loan_status)}}">
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{financeArray.length>0}}">
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{financeArray.length>0&&0}}">
<view class="absolute left-0 box-middle font-28 color-333">金融机构<text class="color-f9394d">*</text></view>
<view class="pt30 pb30 text-right font-28">
<picker bindchange="changeFinance" value="{{financeIndex}}" range="{{financeArray}}">
@@ -35,13 +35,20 @@
</picker>
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{!(info.price_loan0>0&&tabkey==1)}}">
<!-- 20240226 增加月供 -->
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle">月供<text class="color-f9394d">*</text></view>
<view>
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="number" placeholder="请输入月供" model:value='{{price_loan}}' />
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{!(info.price_loan0>0&&tabkey==1&&0)}}">
<view class="absolute left-0 box-middle">是否贴息</view>
<view class="relative pt30 pb30 text-right">
<switch checked="{{is_tiexi==1}}" bindchange="switchTiexi" type="switch" color='#36afa2' style="zoom:0.8" />
</view>
</view>
<block wx:if="{{userInfo.biz_type==1}}">
<block wx:if="{{userInfo.biz_type==1&&0}}">
<view class="relative bbs-1-eb last-b-none pl140 pr40 font-28">
<view class="absolute left-0 box-middle">按揭返点</view>
<view>
@@ -50,7 +57,7 @@
<view class="absolute right-0 box-middle">%</view>
</view>
</block>
<view class="relative">
<view class="relative" wx:if="{{0}}">
<view class="mt30 font-28">按揭通知函<text class="color-f9394d">*</text></view>
<view class="mt30 pb30 text-center">
<scroll-view class="space-nowrap" scroll-x="true">
@@ -73,7 +80,7 @@
</view>
</block>
<block wx:else>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{0}}">
<view class="absolute left-0 box-middle font-28 color-333">金融机构</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">{{financeArray[financeIndex]}}</view>
</view>
@@ -85,17 +92,21 @@
<view class="absolute left-0 box-middle">分期期数</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">{{nums[numIndex]}}</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{!(info.price_loan0>0&&tabkey==1)}}">
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle">月供</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">{{(price_loan/nums[numIndex])}}</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{!(info.price_loan0>0&&tabkey==1)&&0}}">
<view class="absolute left-0 box-middle">是否贴息</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">{{is_tiexi==1?'是':'否'}}</view>
</view>
<block wx:if="{{userInfo.biz_type==1}}">
<block wx:if="{{userInfo.biz_type==1&&0}}">
<view class="relative bbs-1-eb last-b-none pl140 pr40 font-28">
<view class="absolute left-0 box-middle">按揭返点</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">{{loan_rebate}}%</view>
</view>
</block>
<view class="relative">
<view class="relative" wx:if="{{0}}">
<view class="mt30 font-28">按揭通知函</view>
<view class="mt30 pb30 text-center">
<scroll-view class="space-nowrap" scroll-x="true">
@@ -116,7 +127,7 @@
</view>
</view>
</block>
<view class="relative">
<view class="relative" wx:if="{{0}}">
<view class="mt30 font-28">放款通知函</view>
<view class="mt30 text-center">
<view class="inline-block img-300x200 relative ulib-r10 overflowhidden">
+597
View File
@@ -0,0 +1,597 @@
import _ from '../../../commons/js/commons'
const app = getApp()
Page({
data: {
cardida:{},//身份证正面照片
cardidb:{},//身份证反面照片
business_licence:{},//营业执照照片
car_img:{},//行驶证照片
register_img:{},//登记证照片
ins_img:[],//保险照片
other_img:[],//交车合照
},
onLoad: function (options) {
for (let key in options) {
this.setData({
[key]: options[key]
})
}
this.getAppCusorderdata()
},
onShow: function () {
},
//获取订单图片
getAppCusorderdata(){
let params = {};
params['id'] = this.data.id;
_.apiQuery.getAppCusorderdata(params).then(res=>{
this.setData({
imgInfo:res.data,
})
if(res.data.img_status == 1){
this.setData({
cardida:res.data.imgs.cardida.length==0?{}:res.data.imgs.cardida,
cardidb:res.data.imgs.cardidb.length==0?{}:res.data.imgs.cardidb,
business_licence:res.data.imgs.business_licence.length==0?{}:res.data.imgs.business_licence,
car_img:res.data.imgs.car_img.length==0?{}:res.data.imgs.car_img,
register_img:res.data.imgs.register_img.length==0?{}:res.data.imgs.register_img,
ins_img:res.data.imgs.ins_img.length==0?[]:res.data.imgs.ins_img,
other_img:res.data.imgs.bill_ck_img.length==0?[]:res.data.imgs.bill_ck_img, //20240526
})
}
wx.stopPullDownRefresh()
})
},
//选择图片
chooseImg(e) {
let that = this
//上传身份证正面
if(e.currentTarget.dataset.type=='cardida'){
wx.chooseImage({
count: 1, // 默认9
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
success(res) {
wx.showLoading({
title: '上传中',
})
wx.uploadFile({
url:_.config.api.upImg,
filePath:res.tempFilePaths[0],
name: 'img',
formData: {
'app': 'liche'
},
success: (resp) => {
resp.data = JSON.parse(resp.data);
if (resp.data.code == 200) {
let params = {};
params['id'] = that.data.id;
params['cardida'] = resp.data.data.url;
_.apiQuery.putAppCusorderdata(params).then(res2 => {
wx.hideLoading();
that.setData({
'cardida.value':resp.data.data.url,
'cardida.img':resp.data.data.full_url,
})
}).catch(res2=>{
wx.hideLoading();
if(res2.code==418){
that.setData({
'cardida.value':resp.data.data.url,
'cardida.img':resp.data.data.full_url,
'cardida.err':!res2.data[0].caridA,
'cardida.errmsg':res2.data[0].errmsg,
})
}
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
},
fail: res => {
console.log(res)
wx.showToast({
title: '文件选择失败',
icon: 'none',
duration: 2000
})
}
})
}
//上传身份证背面
if(e.currentTarget.dataset.type=='cardidb'){
wx.chooseImage({
count: 1, // 默认9
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
success(res) {
wx.showLoading({
title: '上传中',
})
wx.uploadFile({
url:_.config.api.upImg,
filePath:res.tempFilePaths[0],
name: 'img',
formData: {
'app': 'liche'
},
success: (resp) => {
resp.data = JSON.parse(resp.data);
if (resp.data.code == 200) {
let params = {};
params['id'] = that.data.id;
params['cardidb'] = resp.data.data.url;
_.apiQuery.putAppCusorderdata(params).then(res2 => {
wx.hideLoading();
that.setData({
'cardidb.value':resp.data.data.url,
'cardidb.img':resp.data.data.full_url,
})
}).catch(res2=>{
wx.hideLoading();
if(res2.code==418){
that.setData({
'cardidb.value':resp.data.data.url,
'cardidb.img':resp.data.data.full_url,
'cardidb.err':!res2.data[1].caridB,
'cardidb.errmsg':res2.data[1].errmsg,
})
}
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
},
fail: res => {
wx.showToast({
title: '文件选择失败',
icon: 'none',
duration: 2000
})
}
})
}
//上传营业执照
if(e.currentTarget.dataset.type=='business_licence'){
wx.chooseImage({
count: 1, // 默认9
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
success(res) {
wx.showLoading({
title: '上传中',
})
wx.uploadFile({
url:_.config.api.upImg,
filePath:res.tempFilePaths[0],
name: 'img',
formData: {
'app': 'liche'
},
success: (resp) => {
resp.data = JSON.parse(resp.data);
if (resp.data.code == 200) {
let params = {};
params['id'] = that.data.id;
params['business_licence'] = resp.data.data.url;
_.apiQuery.putAppCusorderdata(params).then(res2 => {
wx.hideLoading();
that.setData({
'business_licence.value':resp.data.data.url,
'business_licence.img':resp.data.data.full_url,
})
}).catch(res2=>{
wx.hideLoading();
if(res2.code==418){
that.setData({
'business_licence.value':resp.data.data.url,
'business_licence.img':resp.data.data.full_url,
'business_licence.err':!res2.data[0].business_licence,
'business_licence.errmsg':res2.data[0].errmsg,
})
}
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
},
fail: res => {
wx.showToast({
title: '文件选择失败',
icon: 'none',
duration: 2000
})
}
})
}
//上传登记证
if(e.currentTarget.dataset.type=='register_img'){
wx.chooseImage({
count: 1, // 默认9
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
success(res) {
wx.showLoading({
title: '上传中',
})
wx.uploadFile({
url:_.config.api.upImg,
filePath:res.tempFilePaths[0],
name: 'img',
formData: {
'app': 'liche'
},
success: (resp) => {
resp.data = JSON.parse(resp.data);
if (resp.data.code == 200) {
let params = {};
params['id'] = that.data.id;
params['register_img'] = resp.data.data.url;
_.apiQuery.putAppCusorderdata(params).then(res2 => {
wx.hideLoading();
that.setData({
'register_img.value':resp.data.data.url,
'register_img.img':resp.data.data.full_url,
})
}).catch(res2=>{
wx.hideLoading();
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
},
fail: res => {
wx.showToast({
title: '文件选择失败',
icon: 'none',
duration: 2000
})
}
})
}
//上传行驶证
if(e.currentTarget.dataset.type=='car_img'){
wx.chooseImage({
count: 1, // 默认9
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
success(res) {
wx.showLoading({
title: '上传中',
})
wx.uploadFile({
url:_.config.api.upImg,
filePath:res.tempFilePaths[0],
name: 'img',
formData: {
'app': 'liche'
},
success: (resp) => {
resp.data = JSON.parse(resp.data);
if (resp.data.code == 200) {
let params = {};
params['id'] = that.data.id;
params['car_img'] = resp.data.data.url;
_.apiQuery.putAppCusorderdata(params).then(res2 => {
wx.hideLoading();
that.setData({
'car_img.value':resp.data.data.url,
'car_img.img':resp.data.data.full_url,
})
}).catch(res2=>{
wx.hideLoading();
});
}else{
wx.hideLoading();
wx.showToast({
title: '上传失败',
icon: 'none',
duration: 2000
})
}
},
})
},
fail: res => {
wx.showToast({
title: '文件选择失败',
icon: 'none',
duration: 2000
})
}
})
}
//上传保单
if(e.currentTarget.dataset.type=='ins_img'){
wx.chooseImage({
count: 10 - that.data.ins_img.length, //
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
success(res1) {
wx.showLoading({
title: '上传中',
})
let ins_img=that.data.ins_img
let k = 0
for (let i = 0; i < res1.tempFilePaths.length; i++) {
//上传图片
wx.uploadFile({
url:_.config.api.upImg,
filePath:res1.tempFilePaths[i],
name: 'img',
formData: {
'app': 'liche'
},
success: (resp) => {
k = k + 1
resp.data = JSON.parse(resp.data);
if (resp.data.code == 200) {
let imgdata = resp.data
let list = []
list.push({
value:imgdata.data.url,
img:imgdata.data.full_url,
})
ins_img=ins_img.concat(list)
if(k == res1.tempFilePaths.length){
let params = {};
params['id'] = that.data.id;
let img = []
ins_img.forEach(item => {
img.push(item.value)
})
params['ins_imgs'] = img;
_.apiQuery.putAppCusorderdata(params).then(res2 => {
wx.hideLoading();
that.setData({
ins_img,
})
}).catch(res2=>{
wx.hideLoading();
});
}
}else{
wx.hideLoading();
}
},
})
}
},
fail: res => {
wx.showToast({
title: '文件选择失败',
icon: 'none',
duration: 2000
})
}
})
}
//上传交车合照
if(e.currentTarget.dataset.type=='other_img'){
wx.chooseImage({
count: 1, //
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
success(res1) {
wx.showLoading({
title: '上传中',
})
let other_img=that.data.other_img
let k = 0
for (let i = 0; i < res1.tempFilePaths.length; i++) {
//上传图片
wx.uploadFile({
url:_.config.api.upImg,
filePath:res1.tempFilePaths[i],
name: 'img',
formData: {
'app': 'liche'
},
success: (resp) => {
k = k + 1
resp.data = JSON.parse(resp.data);
if (resp.data.code == 200) {
let imgdata = resp.data
let list = []
list.push({
value:imgdata.data.url,
img:imgdata.data.full_url,
})
other_img=other_img.concat(list)
if(k == res1.tempFilePaths.length){
let params = {};
params['id'] = that.data.id;
let img = []
other_img.forEach(item => {
img.push(item.value)
})
params['other_imgs'] = img;
_.apiQuery.putAppCusorderdata(params).then(res2 => {
wx.hideLoading();
that.setData({
other_img,
})
}).catch(res2=>{
wx.hideLoading();
});
}
}else{
wx.hideLoading();
}
},
})
}
},
fail: res => {
wx.showToast({
title: '文件选择失败',
icon: 'none',
duration: 2000
})
}
})
}
//上传发票
if(e.currentTarget.dataset.type=='bill_img'){
wx.chooseImage({
count: 1, //
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
success(res1) {
wx.showLoading({
title: '上传中',
})
let other_img=that.data.other_img
let k = 0
for (let i = 0; i < res1.tempFilePaths.length; i++) {
//上传图片
wx.uploadFile({
url:_.config.api.upImg,
filePath:res1.tempFilePaths[i],
name: 'img',
formData: {
'app': 'liche'
},
success: (resp) => {
k = k + 1
resp.data = JSON.parse(resp.data);
if (resp.data.code == 200) {
let imgdata = resp.data
let list = []
list.push({
value:imgdata.data.url,
img:imgdata.data.full_url,
})
other_img=other_img.concat(list)
if(k == res1.tempFilePaths.length){
let params = {};
params['id'] = that.data.id;
let img = []
other_img.forEach(item => {
img.push(item.value)
})
params['bill_img'] = img;
_.apiQuery.putAppCusorderdata(params).then(res2 => {
wx.hideLoading();
that.setData({
other_img,
})
}).catch(res2=>{
wx.hideLoading();
});
}
}else{
wx.hideLoading();
}
},
})
}
},
fail: res => {
wx.showToast({
title: '文件选择失败',
icon: 'none',
duration: 2000
})
}
})
}
},
// 编辑页面删除图片
delImg(e){
if(e.currentTarget.dataset.type=='ins_img'){
let ins_img = this.data.ins_img
ins_img.splice(e.currentTarget.dataset.index, 1)
let params = {};
params['id'] = this.data.id;
let img = []
ins_img.forEach(item => {
img.push(item.value)
})
params['ins_imgs'] = img;
_.apiQuery.putAppCusorderdata(params).then(res => {
this.setData({
ins_img,
})
})
}else if(e.currentTarget.dataset.type=='other_img'){
let other_img = this.data.other_img
other_img.splice(e.currentTarget.dataset.index, 1)
let params = {};
params['id'] = this.data.id;
let img = []
other_img.forEach(item => {
img.push(item.value)
})
params['other_imgs'] = img;
_.apiQuery.putAppCusorderdata(params).then(res => {
this.setData({
other_img,
})
})
}
},
//查看图片
previewImage: function (e) {
if(e.currentTarget.dataset.type=='other_img'){
let img = []
this.data.imgInfo.imgs.other_img.forEach(item => {
img.push(item.img)
})
wx.previewImage({
current:e.currentTarget.dataset.current,
urls:img,
})
}
},
})
+4
View File
@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "交车合照信息",
"usingComponents": {}
}
+25
View File
@@ -0,0 +1,25 @@
<view class="container">
<view class="inner30">
<!-- <view class="mt40 font-32">交车合照</view> -->
<view class="mt30 pb20 text-center">
<scroll-view class="space-nowrap" scroll-x="true">
<block wx:for='{{other_img}}' wx:for-item='other_img' wx:key='index'>
<view class="inline-block bg-f8 img-300x200 ml15 mr15 relative ulib-r10 overflowhidden">
<i class="absolute top-0 right-0 bg-000-op50 iconfont icon-guanbi1 inner10 font-26 color-fff ulib-rtr10 ulib-rbl10 z-index-1" bindtap="delImg" data-type="bill_img" data-index="{{index}}" ></i>
<image class='block wp100 img-h-200 ulib-r10' src='{{other_img.img}}' mode='aspectFit' bindtap="previewImage" data-type="bill_img" data-current="{{other_img.img}}"></image>
</view>
</block>
<block wx:if="{{other_img.length<1}}">
<view class="inline-block bg-f8 img-300x200 ml15 mr15 relative ulib-r10 overflowhidden" bindtap="chooseImg" data-type="bill_img">
<view class="absolute left-0 right-0 box-middle color-ccc">
<i class="iconfont icon-paizhao font-48"></i>
<view class="mt10 font-22">上传发票</view>
</view>
</view>
</block>
</scroll-view>
</view>
</view>
</view>
+1
View File
@@ -0,0 +1 @@
/* pages/order/editOtherImg/index.wxss */
+1
View File
@@ -102,6 +102,7 @@ Page({
})
},
fail: res => {
console.log(res)
wx.showToast({
title: '文件选择失败',
icon: 'none',
+2 -2
View File
@@ -57,9 +57,9 @@
</view>
<view class="mt40 font-22 color-666 text-center">
<label class="inline-block text-middle statement fn-clear"><checkbox class="fn-fl" value="cb" /><text class="pt3 fn-fl">我已阅读并同意</text></label>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/registration/index">《车用户注册协议》</text>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/registration/index">《车用户注册协议》</text>
<text class="text-middle">和</text>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/privacy/index">《车用户隐私政策》</text>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/privacy/index">《车用户隐私政策》</text>
</view>
</view>
+59 -19
View File
@@ -72,29 +72,69 @@
<view class="fn-fl color-333">企业名称</view>
<view class="fn-fr wp60 text-nowrap text-right color-666">{{item.company}}</view>
</view>
<block wx:if="{{item.other_data_step&&item.other_data_step.length>0}}" >
<block
wx:for="{{item.other_data}}"
wx:for-item="it"
wx:for-index="k"
wx:key="k">
<view wx:if="{{it.length>0}}" class="inner10 bds-1-eb">
<block wx:for="{{it}}" wx:for-index='key' wx:for-item="pin" wx:key='i'>
<!-- <view class="bds-1-eb inner10">1111</view> -->
<view class="pt20 fn-clear font-28">
<view class="fn-fl color-333">{{key}}</view>
<block wx:if="{{key=='销售顾问'}}">
<view class="fn-fr wp60 text-nowrap text-right">
<text class="text-middle color-666" wx:if="{{pin.value}}">{{pin.value}}</text>
<text class="inline-block ml10 bg-36afa2 pt5 pb5 pl15 pr15 text-middle font-22 color-fff ulib-r10" catchtap="showTransfer" data-id="{{item.id}}" wx:if="{{item.allot == 1}}">移交</text>
</view>
</block>
<view wx:else class="fn-fr wp60 text-nowrap text-right color-666">
<block wx:if="{{pin.type=='checkbox'}}">
<block wx:for="{{pin.lists}}" wx:for-index='key' wx:for-item="lable" wx:key='j'>
<view class="inline-block ml10 mr10"><i class="iconfont font-34 mr5 text-middle {{lable.selected?'icon-danxuan_xuanzhong color-36afa2':'icon-danxuan'}}" /><text class="text-middle">{{lable.value}}</text></view>
</block>
</block>
<block wx:elif="{{pin.type=='text'}}">
<text class="inline-block mr10 pt5 pb5 pl20 pr20 font-22 color-fff ulib-r750" style="background-color:{{pin.bg_color}};" wx:if="{{pin.bg_color}}">{{pin.value}}</text>
<text wx:else>{{pin.value}}</text>
</block>
</view>
</view>
<block wx:for="{{item.other_data}}" wx:for-index='key' wx:for-item="pin" wx:key='i'>
<view class="mt20 fn-clear font-28">
<view class="fn-fl color-333">{{key}}</view>
<block wx:if="{{key=='销售顾问'}}">
<view class="fn-fr wp60 text-nowrap text-right">
<text class="text-middle color-666" wx:if="{{pin.value}}">{{pin.value}}</text>
<text class="inline-block ml10 bg-36afa2 pt5 pb5 pl15 pr15 text-middle font-22 color-fff ulib-r10" catchtap="showTransfer" data-id="{{item.id}}" wx:if="{{item.allot == 1}}">移交</text>
</view>
</block>
<view wx:else class="fn-fr wp60 text-nowrap text-right color-666">
<block wx:if="{{pin.type=='checkbox'}}">
<block wx:for="{{pin.lists}}" wx:for-index='key' wx:for-item="lable" wx:key='j'>
<view class="inline-block ml10 mr10"><i class="iconfont font-34 mr5 text-middle {{lable.selected?'icon-danxuan_xuanzhong color-36afa2':'icon-danxuan'}}" /><text class="text-middle">{{lable.value}}</text></view>
</block>
</block>
<block wx:elif="{{pin.type=='text'}}">
<text class="inline-block mr10 pt5 pb5 pl20 pr20 font-22 color-fff ulib-r750" style="background-color:{{pin.bg_color}};" wx:if="{{pin.bg_color}}">{{pin.value}}</text>
<text wx:else>{{pin.value}}</text>
</block>
</view>
</view>
</block>
</block>
<block wx:elif="{{item.other_data}}">
<block wx:for="{{item.other_data}}" wx:for-index='key' wx:for-item="pin" wx:key='key'>
<!-- <view class="bds-1-eb inner10">1111</view> -->
<view class="pt20 fn-clear font-28">
<view class="fn-fl color-333">{{key}}</view>
<block wx:if="{{key=='销售顾问'}}">
<view class="fn-fr wp60 text-nowrap text-right">
<text class="text-middle color-666" wx:if="{{pin.value}}">{{pin.value}}</text>
<text class="inline-block ml10 bg-36afa2 pt5 pb5 pl15 pr15 text-middle font-22 color-fff ulib-r10" catchtap="showTransfer" data-id="{{item.id}}" wx:if="{{item.allot == 1}}">移交</text>
</view>
</block>
<view wx:else class="fn-fr wp60 text-nowrap text-right color-666">
<block wx:if="{{pin.type=='checkbox'}}">
<block wx:for="{{pin.lists}}" wx:for-index='key' wx:for-item="lable" wx:key='j'>
<view class="inline-block ml10 mr10"><i class="iconfont font-34 mr5 text-middle {{lable.selected?'icon-danxuan_xuanzhong color-36afa2':'icon-danxuan'}}" /><text class="text-middle">{{lable.value}}</text></view>
</block>
</block>
<block wx:elif="{{pin.type=='text'}}">
<text class="inline-block mr10 pt5 pb5 pl20 pr20 font-22 color-fff ulib-r750" style="background-color:{{pin.bg_color}};" wx:if="{{pin.bg_color}}">{{pin.value}}</text>
<text wx:else>{{pin.value}}</text>
</block>
</view>
</view>
</block>
</block>
<view class="mt20 pt5 pb5 pl20 pr20 bg-f6 font-22 color-666 ulib-rlb750 ulib-rr750" wx:if="{{item.remark}}">注:{{item.remark}}</view>
</view>
+57 -40
View File
@@ -105,6 +105,8 @@ Page({
price_loan0:'',//首付按揭金额
firstPayArr:['现金','0首付','按揭',],//首付类型
firstPayIndex:0,//首付类型
is_get_brand: false,//20240526是否店内上牌
is_get_insure: false,//20240526是否店内投保
},
//生命周期函数--监听页面加载
onLoad: function (options) {
@@ -160,24 +162,24 @@ Page({
icon: 'none'
})
}
else if(this.data.main_type == 0&&this.data.owner_name == ''){
wx.showToast({
title: '请填写车主姓名',
icon: 'none'
})
}
else if(this.data.main_type == 0&&this.data.owner_mobile != this.data.org_mobile && !/^1[3456789]\d{9}$/.test(this.data.owner_mobile)){
wx.showToast({
title: '请填写车主手机号',
icon: 'none'
})
}
else if(this.data.main_type == 0&&(this.data.owner_cardid == ''|| !/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[012])(0[1-9]|[12]\d|3[01])\d{3}(\d|[xX])$/.test(this.data.owner_cardid))){
wx.showToast({
title: '请填写正确车主身份证',
icon: 'none'
})
}
// else if(this.data.main_type == 0&&this.data.owner_name == ''){
// wx.showToast({
// title: '请填写车主姓名',
// icon: 'none'
// })
// }
// else if(this.data.main_type == 0&&this.data.owner_mobile != this.data.org_mobile && !/^1[3456789]\d{9}$/.test(this.data.owner_mobile)){
// wx.showToast({
// title: '请填写车主手机号',
// icon: 'none'
// })
// }
// else if(this.data.main_type == 0&&(this.data.owner_cardid == ''|| !/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[012])(0[1-9]|[12]\d|3[01])\d{3}(\d|[xX])$/.test(this.data.owner_cardid))){
// wx.showToast({
// title: '请填写正确车主身份证',
// icon: 'none'
// })
// }
// else if(this.data.main_type == 0&&(this.data.address == '')){
// wx.showToast({
// title: '请填写车主地址',
@@ -196,12 +198,12 @@ Page({
icon: 'none'
})
}
else if(this.data.c_city_id == ''){
wx.showToast({
title: '请选择上牌城市',
icon: 'none'
})
}
// else if(this.data.c_city_id == ''){
// wx.showToast({
// title: '请选择上牌城市',
// icon: 'none'
// })
// }
else{
this.setData({
step:2,
@@ -219,16 +221,16 @@ Page({
title: '请选择车辆版本',
icon: 'none'
})
}else if(this.data.color_id == '' ){
wx.showToast({
title: '请选择车身颜色',
icon: 'none'
})
}else if(this.data.incolor_id == '' ){
wx.showToast({
title: '请选择内饰颜色',
icon: 'none'
})
// }else if(this.data.color_id == '' ){
// wx.showToast({
// title: '请选择车身颜色',
// icon: 'none'
// })
// }else if(this.data.incolor_id == '' ){
// wx.showToast({
// title: '请选择内饰颜色',
// icon: 'none'
// })
}else{
this.setData({
step:3,
@@ -242,12 +244,12 @@ Page({
icon: 'none'
})
}
else if(this.data.delry_time == ''){
wx.showToast({
title: '请输入期望交付时间',
icon: 'none'
})
}
// else if(this.data.delry_time == ''){
// wx.showToast({
// title: '请输入期望交付时间',
// icon: 'none'
// })
// }
else if(this.data.if_zero_firstpay!=1&&(!this.data.priceinfo.sdeposit||this.data.priceinfo.sdeposit == '')){
wx.showToast({
title: '请设置定金',
@@ -1513,4 +1515,19 @@ Page({
}
},
//20240526是否店内上牌
changeIsGetBrand(e){
console.log('是否店内上牌',e.detail.value)
this.setData({
is_get_brand: e.detail.value
})
},
//20240526是否店内投保
changeIsGetInsure(e){
console.log('是否店内投保',e.detail.value)
this.setData({
is_get_insure: e.detail.value
})
}
})
+52 -16
View File
@@ -49,7 +49,7 @@
</view>
</block>
</view>
<block wx:if="{{main_type==0}}">
<block wx:if="{{main_type==0&&0}}">
<view class="mt40 fn-clear">
<view class="fn-fl mt10 font-32">车主信息</view>
<view class="fn-fr">
@@ -124,9 +124,9 @@
</block>
<view class="mt40 font-22 color-666 text-center">
<label class="inline-block text-middle statement fn-clear"><checkbox class="fn-fl" value="cb" /><text class="pt3 fn-fl">我已阅读并同意</text></label>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/registration/index">《车用户注册协议》</text>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/registration/index">《车用户注册协议》</text>
<text class="text-middle">和</text>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/privacy/index">《车用户隐私政策》</text>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/privacy/index">《车用户隐私政策》</text>
</view>
</view>
<view wx:if="{{step == 2}}">
@@ -161,7 +161,7 @@
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{levelIndex != -1}}">
<view class="absolute left-0 box-middle font-28 color-333">车身颜色<text class="color-f9394d">*</text></view>
<view class="absolute left-0 box-middle font-28 color-333">车身颜色</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker bindchange="changeColor" value="{{colorIndex}}" range="{{colorArray}}">
<text class="color-ccc" wx:if="{{colorIndex == -1}}">请选择</text>
@@ -171,7 +171,7 @@
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{colorIndex != -1}}">
<view class="absolute left-0 box-middle font-28 color-333">内饰颜色<text class="color-f9394d">*</text></view>
<view class="absolute left-0 box-middle font-28 color-333">内饰颜色</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker bindchange="changeInterior" value="{{interiorIndex}}" range="{{interiorArray}}">
<text class="color-ccc" wx:if="{{interiorIndex == -1}}">请选择</text>
@@ -214,7 +214,7 @@
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle">期望交付时间<text class="color-f9394d">*</text></view>
<view class="absolute left-0 box-middle">期望交付时间</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker mode="date" value="{{delry_time}}" bindchange="delryTime">
<text class="color-ccc" wx:if="{{delry_time == ''}}">请选择</text>
@@ -223,10 +223,10 @@
</picker>
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price}}">
<!-- <view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price}}">
<view class="absolute left-0 box-middle color-333">平台售价</view>
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.price}}</text>元</view>
</view>
</view> -->
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price_color}}">
<view class="absolute left-0 box-middle color-333">颜色加价</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.price_color}}</text>元</view>
@@ -297,7 +297,7 @@
</view>
</view> -->
<block wx:if="{{userInfo.biz_type == 1}}">
<view class="bbs-1-eb last-b-none" wx:if="{{agencyList.length>0}}">
<view class="bbs-1-eb last-b-none" wx:if="{{agencyList.length>0&&0}}">
<view class="relative pl190">
<view class="absolute left-0 box-middle font-28 color-333">委托代办</view>
<view class="pt30 pb30 text-right font-28 color-666">
@@ -324,7 +324,7 @@
</checkbox-group>
</view>
</view>
<view class="bbs-1-eb last-b-none">
<view class="bbs-1-eb last-b-none" wx:if="{{0}}">
<view class="relative pl190">
<view class="absolute left-0 box-middle font-28 color-333">精品选装</view>
<view class="pt30 pb30 text-right font-28 color-666">
@@ -363,6 +363,26 @@
<view class="relative pt30 font-28 color-333">特别约定</view>
<textarea class="wp100 mt20 inner20 line-height-16 bg-f6 font-28 ulib-r10" style="height:180rpx;" placeholder-class="color-ccc" placeholder="请填写特别约定" model:value='{{sa}}' always-embed='{{true}}' />
</block>
<!-- 20240526 新增是否店内上牌 ,非必填 新增是否店内投保, 非必填-->
<block>
<view class="bbs-1-eb last-b-none">
<view class="relative pl190">
<view class="absolute left-0 box-middle font-28 color-333">是否店内上牌</view>
<view class="pb10 pt10 text-right">
<switch checked="{{is_get_brand}}" bindchange="changeIsGetBrand"></switch>
</view>
</view>
</view>
<view class="bbs-1-eb last-b-none">
<view class="relative pl190">
<view class="absolute left-0 box-middle font-28 color-333">是否店内投保</view>
<view class="pb10 pt10 text-right">
<switch checked="{{is_get_insure}}" bindchange="changeIsGetInsure"></switch>
</view>
</view>
</view>
</block>
<!-- 20240526 -->
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.show_local_bill}}">
<view class="absolute left-0 box-middle">需开具本地发票</view>
<view class="relative pt30 pb30 text-right">
@@ -374,7 +394,7 @@
<view class="fixed left-0 right-0 bottom-0 bg-fff-op90 inner40 fn-flex safe-pb">
<block wx:if="{{step==1}}">
<block wx:if="{{!isFill}}">
<block wx:if="{{!isFill&&0}}">
<button class="wp100 bds-2-36afa2 bg-fff mr20 pt10 pb10 text-center font-32 color-36afa2 ulib-r750" bindtap="createV2Inten">收取意向金</button>
</block>
<button class="wp100 btn-36afa2 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" bindtap="nextstep">下一步</button>
@@ -511,10 +531,10 @@
<view class="absolute left-0 box-middle font-28 color-333">期望交付时间</view>
<view class="pt30 pb30 text-right font-28 color-666">{{delry_time}}</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price}}">
<!-- <view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price}}">
<view class="absolute left-0 box-middle color-333">平台售价</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.price}}</text>元</view>
</view>
</view> -->
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price_color}}">
<view class="absolute left-0 box-middle color-333">颜色加价</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.price_color}}</text>元</view>
@@ -535,10 +555,10 @@
<view class="absolute left-0 box-middle color-333">定金</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.sdeposit}}</text>元</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price}}">
<!-- <view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price}}">
<view class="absolute left-0 box-middle color-333">最终售价</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{options_total+priceinfo.price+priceinfo.price_color+priceinfo.price_coplus-(priceinfo.sdisc_money>0?priceinfo.sdisc_money:0)}}</text>元</view>
</view>
</view> -->
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{!!priceinfo.sdisc_money&&priceinfo.sdisc_money != ''}}">
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>优惠</view>
<view class="pt25 pb25 text-right" style="min-height:30rpx"><text class="mr10 color-f9394d">{{priceinfo.sdisc_money}}</text>元</view>
@@ -551,7 +571,7 @@
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>优惠</view>
<view class="pt25 pb25 text-right" style="min-height:30rpx"><text class="mr10 color-f9394d">{{priceinfo.sdisc_fine_money}}</text>元</view>
</view> -->
<block wx:if="{{userInfo.biz_type == 1}}">
<block wx:if="{{userInfo.biz_type == 1&&0}}">
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle color-333">委托代办</view>
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{srv_total}}</text>元</view>
@@ -594,6 +614,22 @@
<view class="relative pt30 font-28 color-333">特别约定</view>
<view class="mt20 inner30 bds-1-eb line-height-16 font-28 color-666 ulib-r10">{{sa}}</view>
</block>
<!-- 20240526 新增是否店内上牌 ,非必填 新增是否店内投保, 非必填-->
<block>
<view class="bbs-1-eb last-b-none">
<view class="relative pl190">
<view class="absolute left-0 box-middle font-28 color-333">是否店内上牌</view>
<view class="pt30 pb30 text-right font-28 color-666"> 是 </view>
</view>
</view>
<view class="bbs-1-eb last-b-none">
<view class="relative pl190">
<view class="absolute left-0 box-middle font-28 color-333">是否店内投保</view>
<view class="pt30 pb30 text-right font-28 color-666"> 是 </view>
</view>
</view>
</block>
<!-- 20240526 -->
<view class="fixed left-0 right-0 bottom-0 bg-fff-op90 inner40 fn-flex safe-pb">
<button class="wp100 bds-2-36afa2 bg-fff mr20 pt10 pb10 text-center font-32 color-36afa2 ulib-r750" hover-class="btn-36afa2-hover" bindtap="optPreview">重新编辑</button>
<button class="wp100 btn-36afa2 ml20 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" disabled="{{submitFlag}}" bindtap="postAppCusorderV2">确认登记</button>
+66
View File
@@ -0,0 +1,66 @@
// pages/signup/code.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})
+3
View File
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
+2
View File
@@ -0,0 +1,2 @@
<!--pages/signup/code.wxml-->
<text>pages/signup/code.wxml</text>
+1
View File
@@ -0,0 +1 @@
/* pages/signup/code.wxss */
+66
View File
@@ -0,0 +1,66 @@
// pages/signup/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})
+3
View File
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
+2
View File
@@ -0,0 +1,2 @@
<!--pages/signup/index.wxml-->
<text>pages/signup/index.wxml</text>
+1
View File
@@ -0,0 +1 @@
/* pages/signup/index.wxss */
+1 -1
View File
@@ -1,4 +1,4 @@
{
"navigationBarTitleText": "车用户隐私政策",
"navigationBarTitleText": "车用户隐私政策",
"usingComponents": {}
}
+6 -6
View File
@@ -1,6 +1,6 @@
<view class="container">
<view class="inner30">
<view class="font-32 text-center text-bold">车用户隐私政策</view>
<view class="font-32 text-center text-bold">车用户隐私政策</view>
<view class="mt30 inner30 bg-f8 bds-1-eb ulib-r10 line-height-18 font-24 color-666">
<text>狸车(厦门)网络科技有限公司(“狸车”或“我们”)深知个人信息对用户(或称“您”)的重要性,也非常重视用户的隐私和个人信息保护。我们通过狸车官方网站、狸车App、狸车小程序,狸车线下门店以及我们现在或将来还可能在其他客户端或场景中为您提供狸车服务(“我们的产品和/或服务”),我们可能会由此处理与您相关的个人信息。我们根据《中华人民共和国网络安全法》《中华人民共和国个人信息保护法》《中华人民共和国数据安全法》等法律法规,并参考《信息安全技术 个人信息安全规范》(GB/T 35273-2020)等国家标准,制定《狸车用户隐私政策》(“本隐私政策”)。本隐私政策向您说明我们在您使用我们的产品和/或服务时如何处理您的个人信息,以及我们为您提供的查询、更新、删除和保护这些信息的方式,以使您感到安心和放心。您的信任对我们非常重要,我们深知个人信息对您的重要性,我们将按法律法规要求,采取相应安全保护措施,尽力保护您的个人信息安全可控。
@@ -34,13 +34,13 @@
一 我们如何收集和使用您的个人信息
(一)车产品和服务收集个人信息场景
(一)车产品和服务收集个人信息场景
我们会遵循正当、合法、必要的原则,出于本隐私政策所述的以下目的,收集和使用您在使用我们产品和/或服务过程中您主动提供,或我们直接采集您因使用我们产品和/或服务而产生的,以及经您授权的第三方合作方向我们提供的您的个人信息。如果我们要将您的个人信息用于本隐私政策未载明的其它用途,或基于特定目的将收集而来的信息用于其他目的,我们将以合理的方式向您告知,并再次征得您的同意。在您使用我们的产品和/或服务时,我们需要/可能需要收集和使用您的个人信息包括如下场景:
1、用户注册及登录
当您注册或登录车App账号时,您需要向我们提供您的手机号码作为识别您身份的信息,我们将通过发送短信验证码来验证您的身份是否有效。如果您不提供这些信息,则您将无法注册/登录狸车App,无法正常使用我们的产品和/或服务涉及的业务功能。如果您不想进行注册,您可选择进入仅浏览模式,进行部分社区内容的查看,此功能下不收集您的个人信息。
当您注册或登录车App账号时,您需要向我们提供您的手机号码作为识别您身份的信息,我们将通过发送短信验证码来验证您的身份是否有效。如果您不提供这些信息,则您将无法注册/登录狸车App,无法正常使用我们的产品和/或服务涉及的业务功能。如果您不想进行注册,您可选择进入仅浏览模式,进行部分社区内容的查看,此功能下不收集您的个人信息。
2、填写个人资料
@@ -56,11 +56,11 @@
在您车辆交付时,我们需要核对购车人的有效证件原件,作为购车人身份的证明。若涉及到您需要运送车辆向您进行交付的,您需要提供收件人姓名、地址、手机号码,以便我们向您交付车辆。
5、车App远程车控
5、车App远程车控
若您将车辆与车App绑定,并使用车App进行远程控车,在您激活车辆时,您需要向我们提供您的车App账号头像、昵称、车辆SN码及车辆VIN码用于激活车机并将账号与车辆进行绑定。并且,您需要在设置安全码前确认输入姓名、身份证号信息,以便确认身份。您也可以选择通过使用系统的指纹ID或面部ID功能进行身份验证。我们不直接收集指纹ID和面部ID,仅获取由硬件服务商基于您的单独授权提供的验证结果。
若您将车辆与车App绑定,并使用车App进行远程控车,在您激活车辆时,您需要向我们提供您的车App账号头像、昵称、车辆SN码及车辆VIN码用于激活车机并将账号与车辆进行绑定。并且,您需要在设置安全码前确认输入姓名、身份证号信息,以便确认身份。您也可以选择通过使用系统的指纹ID或面部ID功能进行身份验证。我们不直接收集指纹ID和面部ID,仅获取由硬件服务商基于您的单独授权提供的验证结果。
您可以在车App查看您的车辆相关状态,包括车端获取的车锁、车窗、尾门、空调、电量信息。关于我们处理车机端个人信息的情况,请您详见《狸车车联网服务隐私政策》。
您可以在车App查看您的车辆相关状态,包括车端获取的车锁、车窗、尾门、空调、电量信息。关于我们处理车机端个人信息的情况,请您详见《狸车车联网服务隐私政策》。
6、客户服务与售后功能
+1 -1
View File
@@ -1,4 +1,4 @@
{
"navigationBarTitleText": "车用户注册协议",
"navigationBarTitleText": "车用户注册协议",
"usingComponents": {}
}
+2 -2
View File
@@ -1,8 +1,8 @@
<view class="container">
<view class="inner30">
<view class="font-32 text-center text-bold">车用户注册协议</view>
<view class="font-32 text-center text-bold">车用户注册协议</view>
<view class="mt30 inner30 bg-f8 bds-1-eb ulib-r10 line-height-18 font-24 color-666">
<view>欢迎您注册、使用车账号</view>
<view>欢迎您注册、使用车账号</view>
<view class="mt10" style="text-indent:48rpx;">本协议系您与狸车(厦门)网络科技有限公司(以下简称“汽车”或“我们”) 就小程序账号的注册和使用而订立的(本协议以下简称“用户协议”)。汽车在此特别提醒您认真阅读、充分理解本协议各条款,特别是涉及服务费用条款,免除或者限制汽车责任的条款,对您的权利限制条款,争议解决和法律适用条款等,此类条款将以加粗的形式提示您注意,并选择接受或不接受本协议。如您为无民事行为能力人或为限制民事行为能力人,请告知您的监护人或法定代理人,并在您监护人或法定代理人的陪同和指导下阅读本协议并注册使用本账号。如您对本协议内容或页面提示信息有疑问,请勿进行下一步操作。您注册和使用本账号的行为将视为您已充分理解本协议,并同意接受本协议各项条款的约束。
</view>
<view class="mt10 text-bold">一、 关于汽车账号</view>