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 3fd1e393
authored
Mar 17, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
第二轮bug修复
1 parent
8af97323
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
111 additions
and
12 deletions
components/RemarkPopup/RemarkPopup.js
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.js
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.wxml
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.js
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.json
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.wxml
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.wxss
packageEquity/pages/carQuotation/fullSignture/fullSignture.js
packageEquity/pages/carQuotation/schemeConfirmation/schemeConfirmation.wxml
packageEquity/pages/carQuotation/signature/signature.js
packageEquity/pages/carQuotation/signature/signature.sass
packageEquity/pages/carQuotation/signature/signature.wxml
components/RemarkPopup/RemarkPopup.js
View file @
3fd1e39
...
...
@@ -35,6 +35,10 @@ Component({
isInt
:
{
type
:
Boolean
,
value
:
false
},
required
:
{
type
:
Boolean
,
value
:
false
}
},
...
...
@@ -86,7 +90,7 @@ Component({
},
remarkConfirm
()
{
// console.log('confirm')
let
{
isInt
,
value
,
inputValue
,
isEdit
}
=
this
.
data
let
{
isInt
,
value
,
inputValue
,
isEdit
,
required
}
=
this
.
data
let
confirmValue
=
isEdit
?
inputValue
:
value
console
.
log
(
'1'
,
confirmValue
)
console
.
log
(
'confirmValue'
,
confirmValue
.
length
)
...
...
@@ -96,6 +100,13 @@ Component({
icon
:
'none'
})
}
if
(
required
&&
!
confirmValue
.
length
)
{
return
wx
.
showToast
({
title
:
'内容不能为空'
,
icon
:
'none'
})
}
// let { isFormComponent } = this.data
this
.
triggerEvent
(
'confirm'
,
confirmValue
)
// if (!isFormComponent) {
...
...
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.js
View file @
3fd1e39
...
...
@@ -99,6 +99,7 @@ Component({
// 弹出框确认事件
onConfirm
(
e
)
{
// console.log(e, 1111)
let
{
value
}
=
e
.
detail
let
thisPage
=
wx
.
$router
.
getPageInstance
()
console
.
log
(
value
,
'value'
)
thisPage
.
setData
({
...
...
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.wxml
View file @
3fd1e39
...
...
@@ -29,7 +29,7 @@
<van-field
class="inputBox"
border="{{false}}"
hold-keyboard
hold-keyboard
value="{{orderInfo.business.base}}"
data-attrName="base"
data-type='number'
...
...
@@ -59,7 +59,7 @@
class="inputBox"
border="{{false}}"
placeholder="请输入保费"
hold-keyboard
hold-keyboard
value="{{orderInfo.business.threePremium}}"
data-type='number'
data-attrType="business"
...
...
@@ -254,9 +254,8 @@
<view class="label">增值车损险</view>
</view>
</view>
<van-checkbox value="{{ true }}" shape="square" bind:change="onChange">
请勾选增值车损险服务
</van-checkbox>
<!-- bind:change="onChange" -->
<van-checkbox value="{{ true }}" shape="square">请勾选增值车损险服务</van-checkbox>
<view class="incrementInfo">
<!-- <view class="img" mode="widthFix" /> -->
<image class="img" src="{{orderInfo.quotationGoodsInfo.titlePictureUrl}}" />
...
...
@@ -267,7 +266,9 @@
<text>包含</text>
<!-- {{orderInfo.quotationGoodsInfo.quotationGoodsServiceItemsRelationDTOList.length==index?'':'、'}} -->
<block wx:key="index" wx:for="{{orderInfo.quotationGoodsInfo.quotationGoodsServiceItemsRelationDTOList}}">
<text>{{item.serviceName}}{{orderInfo.quotationGoodsInfo.quotationGoodsServiceItemsRelationDTOList.length==index?'':'、'}}</text>
<text>
{{item.serviceName}}{{orderInfo.quotationGoodsInfo.quotationGoodsServiceItemsRelationDTOList.length==index?'':'、'}}
</text>
</block>
</view>
</view>
...
...
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.js
View file @
3fd1e39
...
...
@@ -45,8 +45,8 @@ Page({
},
// 页面存放表单对象的对象名
dataAttrName
:
'owner'
,
//
step: 'first',
step
:
'second'
,
step
:
'first'
,
//
step: 'second',
needChangeList
:
[
'price'
,
'base'
,
'threePremium'
,
'carInsidePremium'
,
'passengerPremium'
,
'payPrice'
]
},
reWrite
(
type
,
data
)
{
...
...
@@ -345,6 +345,15 @@ Page({
}
return
parseFloat
(
strVal
)
},
back
()
{
wx
.
$router
.
reLaunch
(
'pages.sceneIndex'
)
},
navbarReady
(
e
)
{
let
navBarHeight
=
e
.
detail
.
height
this
.
setData
({
navBarHeight
})
},
onRoute
(
options
)
{
console
.
log
(
options
,
'options'
)
// 判断是编辑还是新增
...
...
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.json
View file @
3fd1e39
...
...
@@ -3,5 +3,6 @@
"usingComponents"
:
{
"first-step"
:
"../components/FirstStep/FirstStep"
,
"second-step"
:
"../components/SecondStep/SecondStep"
}
},
"navigationStyle"
:
"custom"
}
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.wxml
View file @
3fd1e39
<!-- packageEquity/pages/carEquity/serviceInfo/serviceInfo.wxml -->
<navigation-bar
class="navigation-header"
bindnavbarReady="navbarReady"
showMenu="{{true}}"
bindback="back">
<!-- bindtap="showStorePicker" -->
<view class="navigation-title">
<view class="navigation-title-text text-hide">
{{userInfo && userInfo.default4SStoreInfo && userInfo.default4SStoreInfo.merchantName}}
</view>
<view class="arrow">
<image src="/images/back.png" />
</view>
</view>
</navigation-bar>
<view class="layout">
<first-step
wx:if="{{step == 'first'}}"
...
...
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.wxss
View file @
3fd1e39
...
...
@@ -5,4 +5,39 @@
/* 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: hidden;
}
\ No newline at end of file
packageEquity/pages/carQuotation/fullSignture/fullSignture.js
View file @
3fd1e39
...
...
@@ -196,7 +196,7 @@ Page({
quotationUpgrade
(
para
).
then
(
res
=>
{
wx
.
$util
.
hideLoading
()
let
{
code
,
data
}
=
res
code
==
0
&&
wx
.
$router
.
re
l
aunch
(
'CarQuotationPay'
,
{
data
,
id
})
code
==
0
&&
wx
.
$router
.
re
L
aunch
(
'CarQuotationPay'
,
{
data
,
id
})
})
}
})
packageEquity/pages/carQuotation/schemeConfirmation/schemeConfirmation.wxml
View file @
3fd1e39
...
...
@@ -22,6 +22,7 @@
<remark-popup
wx:if="{{showRemark}}"
show="{{showRemark}}"
required="{{true}}"
bindconfirm="remarkConfirm"
placeholder="请填写内容,最多15个字"
maxlength="15" />
...
...
packageEquity/pages/carQuotation/signature/signature.js
View file @
3fd1e39
...
...
@@ -172,10 +172,14 @@ Page({
btnTap
(
e
)
{
// console.log(e.detail)
// console.log(e.currentTarget.dataset)
// console.log(name)
let
{
name
}
=
e
.
detail
console
.
log
(
name
)
this
[
name
]()
},
cancel
()
{
// wx.$router.reLaunch('')
wx
.
$router
.
reLaunch
(
'packageEquity.equityPage'
)
},
toFullPage
()
{
let
{
id
}
=
this
.
data
wx
.
$router
.
go
(
'fullSignture'
,
{
id
})
...
...
packageEquity/pages/carQuotation/signature/signature.sass
View file @
3fd1e39
...
...
@@ -68,6 +68,14 @@ page {
position
:
absolute
;
right
:
26rpx
;
// top: 16rpx;
top
:
26rpx
;
z-index
:
10000
;
}
.delete_icon
{
position
:
absolute
;
right
:
26rpx
;
// top: 16rpx;
bottom
:
26rpx
;
z-index
:
10000
;
}
...
...
@@ -77,6 +85,12 @@ page {
height
:
40rpx
;
}
.deleteIcon
{
transform
:
rotate
(
-90deg
)
;
width
:
80rpx
;
height
:
80rpx
;
}
.full_icon
.full_text
{
font-size
:
24rpx
;
font-weight
:
400
;
...
...
packageEquity/pages/carQuotation/signature/signature.wxml
View file @
3fd1e39
...
...
@@ -30,6 +30,13 @@
src="../../../images/fullScreen.png" />
<!-- <cover-view class="full_text">全屏</cover-view> -->
</cover-view>
<cover-view bind:tap="clearCanvas" class="delete_icon flex_scb">
<cover-image
webp
mode="widthFix "
class="icon deleteIcon"
src="../../../images/sign_del.png" />
</cover-view>
</view>
<view wx:else class="canvas_wrap">
<image class="coverImage" src="{{signImage}}" />
...
...
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