Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ba96fa6f
authored
May 09, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
功能开发
1 parent
cab74383
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
1056 additions
and
0 deletions
app.json
packageEquity/pages/carQuotation/components/FirstStepSimple/FirstStep.js
packageEquity/pages/carQuotation/components/FirstStepSimple/FirstStep.json
packageEquity/pages/carQuotation/components/FirstStepSimple/FirstStep.sass
packageEquity/pages/carQuotation/components/FirstStepSimple/FirstStep.wxml
packageEquity/pages/carQuotation/components/FirstStepSimple/FirstStep.wxss
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.js
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.json
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.sass
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.wxml
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.json
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.scss
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.wxml
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.wxss
project.private.config.json
app.json
View file @
ba96fa6
...
...
@@ -63,6 +63,7 @@
"pages/carQuotation/CarQuotationDetail/CarQuotationDetail"
,
"pages/carQuotation/CarQuotationPay/CarQuotationPay"
,
"pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation"
,
"pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple"
,
"pages/ocrEquityModules/ocrEquityModules"
,
"pages/carEquity/serviceInfo/serviceInfo"
,
"pages/carEquity/carBrands/carBrands"
,
...
...
packageEquity/pages/carQuotation/components/FirstStepSimple/FirstStep.js
0 → 100644
View file @
ba96fa6
// packageEquity/pages/carEquity/components/FirstStep/FirstStep.js
import
data
from
'../constant/stepData'
import
fn
from
'../constant/ruleFn'
import
carLifeApi
from
'~/packageEquity/carEquityApi'
const
defaultLabelWidth
=
'140rpx'
// import api from '~/api/api'
Component
({
options
:
{
styleIsolation
:
'apply-shared'
},
/**
* 组件的属性列表
*/
properties
:
{
serviceInfo
:
{
type
:
Object
,
observer
:
function
(
n
)
{
this
.
setData
({
formData
:
n
})
}
},
orderInfo
:
{
type
:
Object
,
observer
:
function
(
n
)
{
if
(
n
?.
modifyEquityQuotation
)
{
this
.
setData
({
// activeNames: ['3'],
disable
:
true
})
}
else
{
this
.
setData
({
disable
:
false
})
}
}
},
// 页面存放表单对象的对象名
dataAttrName
:
{
type
:
String
,
value
:
null
}
},
/**
* 组件的初始数据
*/
data
:
{
defaultLabelWidth
,
formData
:
{},
employeeList
:
[],
first
:
data
.
firstObj
,
disable
:
true
,
formRule
:
data
.
formRule
,
referrerPicker
:
false
,
textNameObj
:
{
confirmName
:
'下一步(1/4)'
,
cancelName
:
'存草稿'
}
},
lifetimes
:
{
attached
()
{
this
.
getEmployee
()
}
},
/**
* 组件的方法列表
*/
methods
:
{
// 推荐人
// handleSalesChange(e) {
// let idx = e.detail.value || 0
// this.setData({
// 'formData.referrerId': this.data.employeeList[idx].uuid,
// 'formData.referrer': this.data.employeeList[idx].staffName
// })
// },
handleReferrerPicker
()
{
this
.
setData
({
referrerPicker
:
true
})
},
handleSalesChange
(
e
)
{
// let value = e.detail
console
.
log
(
e
)
let
idx
=
e
.
detail
.
value
||
0
let
{
employeeList
,
disable
}
=
this
.
data
if
(
disable
)
return
false
let
thisPage
=
wx
.
$router
.
getPageInstance
()
thisPage
.
setData
({
[
'orderInfo.referrerId'
]:
employeeList
[
idx
].
uuid
,
[
'orderInfo.referrer'
]:
employeeList
[
idx
].
staffName
})
},
// 获取推荐人列表
getEmployee
()
{
let
userInfo
=
wx
.
$util
.
getStorageSync
(
'dj_boutique_user_info'
)
let
params
=
{
merchantId
:
userInfo
.
default4SStoreInfo
.
merchantId
}
carLifeApi
.
getEmployeeList
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
this
.
setData
({
employeeList
:
res
.
data
})
}
else
{
wx
.
$util
.
showToast
(
res
.
message
||
'接口异常'
)
}
})
},
// // 推荐人
// handleSalesChange(e) {
// let idx = e.detail.value || 0
// this.setData({
// 'formData.actualSalesPersonId': this.data.salesList[idx].id,
// 'formData.actualSalesPerson': this.data.salesList[idx].name
// })
// },
navOcr
(
e
)
{
// idCard:1,
// vehicleCertificate:5
let
{
type
}
=
e
.
currentTarget
.
dataset
console
.
log
(
type
)
// wx.$router.go('ocrEquityModules', { type })
wx
.
$router
.
go
(
`ocrEquityModules?type=
${
type
}
`
)
},
// handleInput(e) {
// let { value } = e.detail
// let { attr } = e.currentTarget.dataset
// this.setData({
// ['formData.' + attr]: value
// })
// },
btnTap
(
e
)
{
console
.
log
(
e
)
let
{
name
}
=
e
.
detail
if
(
name
==
'confirm'
)
{
// this.triggerEvent('confirm')
// 需要校验
this
.
handleConfirm
()
}
else
{
this
.
triggerEvent
(
'editSave'
)
}
},
handleConfirm
()
{
var
{
dataAttrName
,
formRule
}
=
this
.
data
// let thisPage = this.$router.getCurrentPage()
let
thisPage
=
wx
.
$router
.
getPageInstance
()
// console.log(thisPage.data['orderInfo']['actualSalesPersonId'])
if
(
!
thisPage
.
data
[
'orderInfo'
][
'referrerId'
])
{
wx
.
$util
.
showToast
(
'请选择推荐人'
)
return
}
let
validObj
=
fn
.
checkRequired
(
thisPage
.
data
[
dataAttrName
],
formRule
)
if
(
validObj
)
{
wx
.
$util
.
showToast
(
validObj
.
message
)
return
}
this
.
triggerEvent
(
'confirm'
)
}
}
})
packageEquity/pages/carQuotation/components/FirstStepSimple/FirstStep.json
0 → 100644
View file @
ba96fa6
{
"component"
:
true
,
"usingComponents"
:
{
"gl-form"
:
"/packageEquity/components/GLForm/GLForm"
,
"Gl-Button-Group"
:
"../../../../components/GlButtonGroup/GlButtonGroup"
,
"store-referrer-picker"
:
"../storeReferrerPicker/storeReferrerPicker"
}
}
packageEquity/pages/carQuotation/components/FirstStepSimple/FirstStep.sass
0 → 100644
View file @
ba96fa6
/* packageEquity/pages/carEquity/components/FirstStep/FirstStep.wxss */
.firstStep
{
padding
:
20rpx
;
}
.box
{
box-sizing
:
border-box
;
background
:
#FFFFFF
;
box-shadow
:
0
6rpx
16rpx
0
#cdcdd1
59
;
border-radius
:
16rpx
;
/* margin: 20rpx; */
/* padding: 20rpx; */
margin-bottom
:
20rpx
;
/* margin-top: 50rpx; */
color
:
#222222
;
overflow
:
hidden
;
}
.pickerCell
{
.cell-label
{
font-weight
:
500
;
font-size
:
32rpx
;
color
:
#222222
;
}
}
.employeeBox
{
box-shadow
:
0
6rpx
16rpx
0
#cdcdd1
59
;
border-radius
:
16rpx
;
overflow
:
hidden
;
}
.m-b-40
{
margin-bottom
:
40rpx
;
}
.flex
{
display
:
flex
;
}
.title
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
height
:
96rpx
;
line-height
:
96rpx
;
font-weight
:
600
;
font-size
:
32rpx
;
padding
:
0
32rpx
;
.ocrBtn
{
box-sizing
:
border-box
;
display
:
flex
;
// width: 180rpx;
height
:
48rpx
;
align-items
:
center
;
// opacity: 0.12;
// background: #3582EE;
background-color
:
#e5f2fd
;
border-radius
:
32rpx
;
padding
:
6rpx
20rpx
;
.pictureIcon
{
width
:
28rpx
;
height
:
28rpx
;
margin-right
:
10rpx
;
}
.text
{
font-size
:
26rpx
;
color
:
#3582EE
;
}
}
}
.picker
{
display
:
flex
;
flex-direction
:
row-reverse
;
height
:
80rpx
;
line-height
:
80rpx
;
text-align
:
right
;
}
.placeholder
{
font-weight
:
400
;
font-size
:
28rpx
;
color
:
#B6B6B8
;
}
.pickerArrow
{
width
:
28rpx
;
height
:
26rpx
;
margin-top
:
26rpx
;
flex-shrink
:
0
;
}
.text-hide
{
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
.input
{
text-align
:
right
;
font-size
:
28rpx
;
}
.placeholder-class
{
color
:
#C3C3C3
;
}
.tire-box
{
padding
:
0
40rpx
44rpx
;
font-size
:
28rpx
;
color
:
#9B9B9E
;
}
.tire-block
{
width
:
240rpx
;
height
:
240rpx
;
box-sizing
:
border-box
;
background-color
:
#F4F5F7
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
text-align
:
center
;
}
.tire-block
:first-child
{
margin-right
:
20rpx
;
}
.tire-tip
{
height
:
40rpx
;
line-height
:
40rpx
;
background-color
:
#ebf2fd
;
border-radius
:
8rpx
;
font-size
:
24rpx
;
color
:
#3582EE
;
margin-top
:
28rpx
;
padding
:
4rpx
24rpx
;
border-radius
:
8rpx
;
}
.icon-plus
{
width
:
35rpx
;
height
:
35rpx
;
margin-bottom
:
20rpx
;
}
.btn
{
box-sizing
:
border-box
;
height
:
88rpx
;
line-height
:
88rpx
;
text-align
:
center
;
font-size
:
32rpx
;
color
:
#FFFFFF
;
background
:
#3582EE
;
border-radius
:
12rpx
;
margin
:
0
64rpx
20rpx
;
}
.draft-btn
{
background
:
#FFFFFF
;
color
:
#3582EE
;
}
\ No newline at end of file
packageEquity/pages/carQuotation/components/FirstStepSimple/FirstStep.wxml
0 → 100644
View file @
ba96fa6
<!-- packageEquity/pages/carEquity/components/FirstStep/FirstStep.wxml -->
<view class="firstStep">
<view class="box employeeBox">
<gl-cell
border
valueAlign="right"
label="推荐人"
class="pickerCell"
labelWidth="{{defaultLabelWidth}}">
<!-- <picker
bindchange="handleSalesChange"
value="{{index}}"
range="{{employeeList}}"
range-key="staffName"> -->
<view class="picker" bindtap="handleReferrerPicker">
<image class="pickerArrow" src="/components/images/arrow-x.png" />
<view class="text-hide" wx:if="{{orderInfo.referrerId }}">{{orderInfo.referrer }}</view>
<text class="placeholder" wx:else>请选择</text>
</view>
<!-- </picker> -->
</gl-cell>
</view>
<view class="box">
<!-- <view class="title">客户信息</view> -->
<view class="title">
<view>客户信息</view>
<view class="ocrBtn" data-type="idCard" bind:tap="navOcr">
<image
data-type="idCard"
data-ocrType="idCard"
class="pictureIcon"
src="/packageEquity/images/pictureIcon.png"
binderror=""
bindload="" />
<view class="text" data-type="idCard">拍照识别</view>
</view>
</view>
<gl-form
disable="{{disable}}"
formData="{{serviceInfo}}"
dataAttrName="{{dataAttrName}}"
formDataList="{{first.customerFormList}}" />
</view>
<view class="box">
<view class="title">
<view>车辆信息</view>
<view class="ocrBtn" data-type="vehicleCertificate" bind:tap="navOcr">
<image
data-type="vehicleCertificate"
data-ocrType="car"
class="pictureIcon"
src="/packageEquity/images/pictureIcon.png"
binderror=""
bindload="" />
<view class="text" data-type="vehicleCertificate">拍照识别</view>
</view>
</view>
<gl-form
disable="{{disable}}"
formData="{{serviceInfo}}"
dataAttrName="{{dataAttrName}}"
formDataList="{{first.carFormList}}" />
</view>
<Gl-Button-Group bindbtnTap="btnTap" textNameObj="{{textNameObj}}" />
</view>
<store-referrer-picker
bindconfirm="handleSalesChange"
show="{{referrerPicker}}"
referrerId="{{orderInfo.referrerId}}"
pickerListAll="{{employeeList}}" />
packageEquity/pages/carQuotation/components/FirstStepSimple/FirstStep.wxss
0 → 100644
View file @
ba96fa6
File mode changed
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.js
0 → 100644
View file @
ba96fa6
// packageEquity/pages/carEquity/components/SecondStep/SecondStep.js
import
data
from
'../constant/stepData'
import
fn
from
'../constant/ruleFn'
import
{
priceCounter
}
from
'~/packageEquity/api'
const
defaultLabelWidth
=
'140rpx'
Component
({
options
:
{
styleIsolation
:
'apply-shared'
},
// behaviors: ['wx://component-export'],
attached
()
{
console
.
log
(
'component attached'
)
this
.
makeYear
()
},
/**
* 组件的属性列表
*/
pageLifetimes
:
{
show
:
function
()
{},
attached
:
function
()
{
// 在组件实例进入页面节点树时执行
},
hide
:
function
()
{}
},
properties
:
{
serviceInfo
:
{
type
:
Object
,
value
:
()
=>
{}
},
orderInfo
:
{
type
:
Object
,
observer
:
function
(
n
)
{
if
(
n
?.
modifyEquityQuotation
)
{
this
.
setData
({
activeNames
:
[
'3'
],
disable
:
true
})
}
else
{
this
.
setData
({
activeNames
:
[
'1'
,
'2'
,
'3'
,
'4'
],
disable
:
false
})
}
}
}
},
/**
* 组件的初始数据
*/
data
:
{
defaultLabelWidth
,
showYear
:
false
,
// 选择时间的年份
columns
:
[],
disable
:
false
,
currentDate
:
new
Date
().
getTime
(),
// 默认当前年份
currentIndex
:
new
Date
().
getFullYear
()
-
(
new
Date
().
getFullYear
()
-
25
),
currentName
:
new
Date
().
getFullYear
()
+
'年'
,
popupShow
:
false
,
popupInputShow
:
false
,
// customInput: true,
// secondObj: data.secondObj,
formRule
:
data
.
formRule
,
textNameObj
:
{
confirmName
:
'下一步·生成告知书(2/4)'
,
// editName: '修改',
cancelName
:
'存草稿'
},
// '1', '2', '3',
activeNames
:
[
'1'
,
'2'
,
'3'
,
'4'
],
showPicker
:
false
,
// optionsSelect: Object.freeze(optionsSelect),
popObj
:
{
popValue
:
''
},
popInputObj
:
{
type
:
'add'
},
showError
:
false
,
insuranceCheck
:
false
,
testQuotedPriceUpdate
:
0
},
/**
* 组件的方法列表
*/
methods
:
{
// test() {
// let { activeNames } = this.data
// console.log('activeNames', activeNames)
// },
onChangeInsurance
(
e
)
{
console
.
log
(
e
)
let
{
detail
}
=
e
console
.
log
(
detail
,
'detail'
)
if
(
!
detail
)
{
return
this
.
setData
({
insuranceCheck
:
false
})
}
let
thisPage
=
wx
.
$router
.
getPageInstance
()
let
params
=
thisPage
.
getInsurance
()
let
owner
=
thisPage
.
getOwnerInfo
()
// const owner = wx.$util.deepClone(thisPage.data.owner)
params
.
owner
=
owner
// params.owner = owner
// params.owner.price = this.multipliedByHundred(orderInfo.owner?.price) || ''
// console.log(thisPage)
if
(
params
.
owner
?.
buyCarTime
)
{
delete
params
.
owner
.
buyCarTime
}
// quotedPriceUpdate
delete
params
?.
quotedPriceUpdate
// if (params?.quotedPriceUpdate) {
// }
console
.
log
(
params
,
'params'
)
priceCounter
(
params
)
.
then
(
result
=>
{
console
.
log
(
'result'
,
result
)
let
{
data
,
code
,
message
}
=
result
if
(
code
)
{
let
thisPage
=
wx
.
$router
.
getPageInstance
()
thisPage
.
setData
({
[
'orderInfo.quotedPriceUpdate'
]:
data
.
quotedPriceUpdate
})
this
.
setData
({
insuranceCheck
:
true
,
testQuotedPriceUpdate
:
data
.
quotedPriceUpdate
/
100
})
}
else
{
wx
.
$util
.
showToast
({
title
:
message
||
'获取报价失败'
,
icon
:
'error'
})
}
})
.
catch
(
err
=>
{})
},
//--------自定义方法----------
// 选择年份的区域,弹出弹窗框
chooseYear
()
{
console
.
log
(
'选择年份'
)
this
.
setData
({
showYear
:
true
})
},
// 弹出框确认事件
onConfirm
(
e
)
{
// console.log(e, 1111)
let
{
value
}
=
e
.
detail
let
thisPage
=
wx
.
$router
.
getPageInstance
()
console
.
log
(
value
,
'value'
)
thisPage
.
setData
({
// ['orderInfo' + '.' + attrtype + '.' + attrname]: value
[
'orderInfo.vehiclesAndVessels.compensation'
]:
value
+
'年'
})
this
.
setData
({
showYear
:
false
})
this
.
cancelInsuranceCheck
()
},
cancelInsuranceCheck
()
{
this
.
setData
({
insuranceCheck
:
false
})
},
// 取消选择年份的弹框
onCancel
()
{
let
that
=
this
that
.
setData
({
showYear
:
false
})
},
// 对选择时间进行单独的处理
makeYear
()
{
console
.
log
(
'makeYear'
)
let
year
=
[]
let
currentDate
=
new
Date
()
console
.
log
(
currentDate
.
getFullYear
())
for
(
let
j
=
currentDate
.
getFullYear
()
-
25
;
j
<
currentDate
.
getFullYear
();
j
++
)
{
year
.
push
(
j
)
}
for
(
let
i
=
currentDate
.
getFullYear
();
i
<=
currentDate
.
getFullYear
()
+
25
;
i
++
)
{
year
.
push
(
i
)
}
console
.
log
(
year
,
'year'
)
this
.
setData
({
columns
:
year
})
},
handlePopupShow
(
e
)
{
// console.log(e)
let
{
disable
}
=
this
.
data
if
(
disable
)
return
false
//修改权益价时,不可修改
// let { attrtype, attrname, typename } = e.target.dataset
let
{
attrtype
,
attrname
,
typename
}
=
e
.
currentTarget
.
dataset
console
.
log
(
attrtype
,
attrname
,
typename
,
'attrType, attrName'
)
let
thisPage
=
wx
.
$router
.
getPageInstance
()
let
popValue
=
thisPage
.
data
.
orderInfo
?.[
attrtype
]?.[
attrname
]
||
''
this
.
setData
({
popupShow
:
true
,
// popValue
popObj
:
{
attrtype
,
attrname
,
popValue
,
typename
}
})
},
handlePopInputShow
(
e
)
{
// console.log(e)
let
{
disable
}
=
this
.
data
if
(
disable
)
return
false
//修改权益价时,不可修改
let
{
handletype
,
index
}
=
e
.
target
.
dataset
console
.
log
(
handletype
,
index
,
'type, index'
)
let
thisPage
=
wx
.
$router
.
getPageInstance
()
let
popValue
=
''
if
(
handletype
==
'edit'
)
{
popValue
=
thisPage
.
data
.
orderInfo
?.[
'otherInsuranceList'
]?.[
index
]
||
''
}
console
.
log
(
popValue
,
'popValue'
)
this
.
setData
({
popupInputShow
:
true
,
popInputObj
:
{
handletype
,
index
,
...
popValue
}
})
},
btnTap
(
e
)
{
console
.
log
(
e
)
let
{
name
}
=
e
.
detail
// let { attrtype, attrname, typename } = this.data.tableObj
let
{
showError
,
insuranceCheck
,
orderInfo
}
=
this
.
data
if
(
showError
)
return
wx
.
$util
.
showToast
(
'权益价不能小于最低权益价'
)
if
(
name
==
'confirm'
)
{
// 不是修改报价时,需要勾选保险
if
(
!
insuranceCheck
&&
!
orderInfo
.
modifyEquityQuotation
)
return
wx
.
$util
.
showToast
(
'请先勾选保险'
)
this
.
triggerEvent
(
'confirm'
)
}
else
{
this
.
triggerEvent
(
'editSave'
)
}
},
onChange
(
event
)
{
console
.
log
(
event
,
'event'
)
this
.
setData
({
activeNames
:
event
.
detail
})
},
handleInput
(
e
)
{
let
value
=
e
.
detail
console
.
log
(
e
)
let
{
attrname
,
attrtype
,
type
}
=
e
.
currentTarget
.
dataset
value
=
type
==
'number'
?
wx
.
$util
.
numberFixedDigit
(
value
)
:
value
if
(
type
==
'number'
)
{
value
=
parseFloat
(
value
)
>
2000000
?
2000000
:
value
}
let
thisPage
=
wx
.
$router
.
getPageInstance
()
console
.
log
(
attrtype
)
if
(
attrtype
==
'modifyEquityQuotation'
)
{
let
{
orderInfo
}
=
this
.
data
let
showError
=
orderInfo
.
modifyEquityQuotation
.
minEquityPrice
<=
value
?
false
:
true
this
.
setData
({
showError
})
}
// ['orderInfo' + '.' + attrType]
// console.log(['orderInfo' + '.' + attrType], '2')
thisPage
.
setData
({
[
'orderInfo'
+
'.'
+
attrtype
+
'.'
+
attrname
]:
value
})
this
.
cancelInsuranceCheck
()
// console.log(thisPage.data)
}
// numberFixedDigit (e) { // 固定两位小数
// e.target.value = (e.target.value.match(/^\d*(\.?\d{0,2})/g)[0]) || ''
// this.$nextTick(() => {
// this.number= e.target.value
// })
// },
}
})
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.json
0 → 100644
View file @
ba96fa6
{
"component"
:
true
,
"usingComponents"
:
{
"gl-form"
:
"/packageEquity/components/GLForm/GLForm"
,
"Gl-Button-Group"
:
"../../../../components/GlButtonGroup/GlButtonGroup"
,
"van-collapse"
:
"@vant/weapp/collapse/index"
,
"van-collapse-item"
:
"@vant/weapp/collapse-item/index"
,
"van-checkbox"
:
"@vant/weapp/checkbox/index"
,
"popup-select"
:
"../PopupSelect/PopupSelect"
,
"popup-input"
:
"../PopupInput/PopupInput"
,
"van-popup"
:
"@vant/weapp/popup/index"
,
"van-picker"
:
"@vant/weapp/picker/index"
}
}
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.sass
0 → 100644
View file @
ba96fa6
/* packageEquity/pages/carEquity/components/SecondStep/SecondStep.wxss */
.testFormCon
{
padding
:
20rpx
20rpx
40rpx
;
}
.draft-btn
{
background
:
#FFFFFF
;
color
:
#3582EE
;
}
.insuranceCompany
{
box-sizing
:
border-box
;
padding
:
32rpx
;
width
:
710rpx
;
height
:
120rpx
;
background
:
#FFFFFF
;
box-shadow
:
0
6rpx
16rpx
0
#cdcdd1
59
;
border-radius
:
16rpx
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
margin-bottom
:
20rpx
;
.label
{
font-weight
:
500
;
font-size
:
32rpx
;
color
:
#222222
;
}
.right
{
display
:
flex
;
align-items
:
center
;
font-weight
:
400
;
font-size
:
28rpx
;
color
:
#222222
;
.arrow
{
// position: absolute;
// right: 40rpx;
// top: 50%;
// transform: translateY(-50%);
width
:
32rpx
;
height
:
32rpx
;
margin-left
:
17rpx
;
}
}
}
.selectItem
{
box-sizing
:
border-box
;
position
:
relative
;
width
:
630rpx
;
height
:
88rpx
;
background
:
#FFFFFF
;
border
:
2rpx
solid
#EFF0F2
;
border-radius
:
12rpx
;
// line-height: 88rpx;
font-size
:
28rpx
;
color
:
#222222
;
padding
:
24rpx
;
.arrow
{
position
:
absolute
;
right
:
40rpx
;
top
:
50%
;
transform
:
translateY
(
-50%
)
;
width
:
28rpx
;
height
:
26rpx
;
}
}
.collapse
{
box-sizing
:
border-box
;
background
:
#FFFFFF
;
box-shadow
:
0
6rpx
16rpx
0
#cdcdd1
59
;
border-radius
:
16rpx
;
margin-bottom
:
20rpx
;
overflow
:
hidden
;
color
:
#222222
;
.collapseBoxTitle
{
.label
{
font-weight
:
500
;
font-size
:
32rpx
;
}
}
.title
{
color
:
#222222
;
font-size
:
28rpx
;
}
.box
{
box-sizing
:
border-box
;
// width: 630rpx;
// width: 100%;
margin
:
0
20rpx
;
}
.otherInsuranceList
{
box-sizing
:
border-box
;
// width: 630rpx;
// width: 100%;
padding
:
0
20rpx
;
.title
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
font-weight
:
400
;
font-size
:
28rpx
;
color
:
#222222
;
.editIcon
{
width
:
32rpx
;
height
:
32rpx
;
}
}
}
.inputBox
{
display
:
flex
;
box-sizing
:
border-box
;
width
:
630rpx
;
height
:
88rpx
;
align-items
:
center
;
//
padding
:
24rpx
;
border
:
2rpx
solid
#EFF0F2
;
border-radius
:
12rpx
;
overflow
:
hidden
;
margin
:
16rpx
0
;
.van-field__body
{
padding-left
:
8rpx
;
width
:
570rpx
;
}
}
}
.field_test
{
color
:
blue
!
important
;
}
.incrementInfo
{
box-sizing
:
border-box
;
width
:
100%
;
// height: 96px;
padding
:
10px
;
// background: #ffb45a;
border-radius
:
4px
;
display
:
flex
;
margin-top
:
20rpx
;
// flex-wrap: wrap;
.img
{
width
:
128rpx
;
height
:
128rpx
;
min-width
:
128rpx
;
min-height
:
128rpx
;
margin-right
:
10px
;
background
:
#FFFFFF
;
border-radius
:
4px
;
overflow
:
hidden
;
// background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/gif.png');
// background-position: -15px 0px;
// background-size: cover;
}
.info
{
.infoTitle
{
font-family
:
PingFangSC-SNaNpxibold
;
font-weight
:
600
;
font-size
:
16px
;
color
:
#000000
;
}
.content
{
font-family
:
PingFangSC-Regular
;
font-weight
:
400
;
font-size
:
14px
;
color
:
#A1A1A1
;
display
:
flex
;
flex-wrap
:
wrap
;
}
}
}
.otherCollapse
{
display
:
flex
;
justify-content
:
space-between
;
.add
{
display
:
flex
;
align-items
:
center
;
font-weight
:
500
;
font-size
:
28rpx
;
color
:
#3582EE
;
.addIcon
{
width
:
24
.5rpx
;
height
:
24
.5rpx
;
// margin-right: 10rpx;
}
.text
{
margin
:
0
10rpx
;
}
}
}
.errorMessage
{
// text-align: right;
padding-left
:
20rpx
;
font-size
:
28rpx
;
color
:
#EB4E4E
;
}
.placeHolder
{
color
:
#B6B6B8
;
}
\ No newline at end of file
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.wxml
0 → 100644
View file @
ba96fa6
This diff is collapsed.
Click to expand it.
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
0 → 100644
View file @
ba96fa6
This diff is collapsed.
Click to expand it.
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.json
0 → 100644
View file @
ba96fa6
{
"navigationBarTitleText"
:
"服务信息"
,
"usingComponents"
:
{
"first-step"
:
"../components/FirstStep/FirstStep"
,
"second-step"
:
"../components/SecondStep/SecondStep"
},
"navigationStyle"
:
"custom"
}
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.scss
0 → 100644
View file @
ba96fa6
/* packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.wxss */
\ No newline at end of file
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.wxml
0 → 100644
View file @
ba96fa6
<!-- packageEquity/pages/carEquity/serviceInfo/serviceInfo.wxml -->
<navigation-bar
class="navigation-header"
bindnavbarReady="navbarReady"
showBack="{{true}}"
bindback="back">
<!-- showMenu="{{true}}" -->
<!-- bindtap="showStorePicker" -->
<view class="navigation-title">
<view class="navigation-title-text text-hide">
<!-- {{userInfo && userInfo.default4SStoreInfo && userInfo.default4SStoreInfo.merchantName}} -->
{{step=='first'?'车辆和车主信息':'车险信息'}}
</view>
<!-- <view class="arrow">
<image src="/images/back.png" />
</view> -->
</view>
</navigation-bar>
<!-- height: calc(100vh - {{navBarHeight}}px); -->
<view class="layout" style="padding-top:{{navBarHeight}}px; ">
<first-step
wx:if="{{step == 'first'}}"
id="FirstStep"
serviceInfo="{{owner}}"
dataAttrName="{{dataAttrName}}"
orderInfo="{{orderInfo}}"
bindconfirm="handleFirstConfirm"
bindeditSave="handleEditSave" />
<second-step
wx:if="{{step == 'second'}}"
id="SecondStep"
orderInfo="{{orderInfo}}"
bindconfirm="handleSecondConfirm"
bindeditSave="handleEditSave" />
</view>
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.wxss
0 → 100644
View file @
ba96fa6
/* packageEquity/pages/carEquity/serviceInfo/serviceInfo.wxss */
page{
background: #f3f5f7;
}
.layout {
/* background: #F4F5F7; */
/* background: #1253d5; */
/* padding-bottom: 60rpx; */
background: #f3f5f7;
/* min-height: 100vh; */
}
.navigation-title {
display: flex;
align-items: center;
justify-content: center;
}
.navigation-title-text {
text-align: center;
max-width: calc(100% - 24rpx);
}
.navigation-title .arrow {
flex-shrink: 0;
width: 32rpx;
height: 32rpx;
margin-left: 4rpx;
transform: rotate(180deg);
transition: all 0.5s;
}
.navigation-title .move {
transform: rotate(270deg);
}
.layout {
box-sizing: border-box;
position: relative;
font-size: 24rpx;
color: #8A8C90;
display: flex;
flex-direction: column;
/* height: calc(100vh - 50px); */
overflow: scroll;
}
\ No newline at end of file
project.private.config.json
View file @
ba96fa6
...
...
@@ -291,6 +291,13 @@
"query"
:
""
,
"launchMode"
:
"default"
,
"scene"
:
null
},
{
"name"
:
""
,
"pathName"
:
"packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple"
,
"query"
:
""
,
"launchMode"
:
"default"
,
"scene"
:
null
}
]
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment