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 8af97323
authored
Mar 17, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
bug修复提交
2 parents
20de0017
96ab4754
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
4 deletions
packageEquity/pages/carEquity/components/ShadeTip/ShadeTip.js
packageEquity/pages/carEquity/components/ShadeTip/ShadeTip.wxml
packageEquity/pages/carEquity/components/ShadeTip/ShadeTip.wxss
packageEquity/pages/carEquity/serviceInfo/serviceInfo.js
packageEquity/pages/carEquity/serviceInfo/serviceInfo.wxml
packageEquity/pages/carQuotation/index/index.js
packageEquity/pages/carQuotation/index/index.wxml
packageEquity/pages/carEquity/components/ShadeTip/ShadeTip.js
View file @
8af9732
...
@@ -40,6 +40,9 @@ Component({
...
@@ -40,6 +40,9 @@ Component({
methods
:
{
methods
:
{
handleClick
()
{
handleClick
()
{
this
.
triggerEvent
(
'click'
)
this
.
triggerEvent
(
'click'
)
},
handleClose
()
{
this
.
triggerEvent
(
'close'
)
}
}
}
}
})
})
packageEquity/pages/carEquity/components/ShadeTip/ShadeTip.wxml
View file @
8af9732
...
@@ -8,5 +8,5 @@
...
@@ -8,5 +8,5 @@
<view class="tipTxt">{{tipTxt}}</view>
<view class="tipTxt">{{tipTxt}}</view>
<view class="btn" bindtap="handleClick">{{btnTxt}}</view>
<view class="btn" bindtap="handleClick">{{btnTxt}}</view>
</view>
</view>
<image src="{{IMG_URL}}index/close.png" class="close" bindtap="handle
Show
"></image>
<image src="{{IMG_URL}}index/close.png" class="close" bindtap="handle
Close
"></image>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/carEquity/components/ShadeTip/ShadeTip.wxss
View file @
8af9732
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
}
}
.content {
.content {
position: relative;
text-align: center;
text-align: center;
box-sizing: border-box;
box-sizing: border-box;
padding: 48rpx 76rpx;
padding: 48rpx 76rpx;
...
@@ -55,6 +56,8 @@
...
@@ -55,6 +56,8 @@
}
}
.btn {
.btn {
position: absolute;
bottom: 80rpx;
width: 392rpx;
width: 392rpx;
height: 96rpx;
height: 96rpx;
line-height: 96rpx;
line-height: 96rpx;
...
...
packageEquity/pages/carEquity/serviceInfo/serviceInfo.js
View file @
8af9732
...
@@ -251,6 +251,17 @@ Page({
...
@@ -251,6 +251,17 @@ Page({
this
.
handleSecondConfirm
(
params
)
this
.
handleSecondConfirm
(
params
)
},
},
handleTipClose
(
e
)
{
let
{
type
}
=
e
.
currentTarget
.
dataset
if
(
type
==
'success'
)
{
this
.
handlePreviewContract
()
return
true
}
this
.
setData
({
isDialogShow
:
false
})
},
// 合同
// 合同
handlePreviewContract
()
{
handlePreviewContract
()
{
wx
.
$router
.
go
(
'previewContract'
,
{
wx
.
$router
.
go
(
'previewContract'
,
{
...
...
packageEquity/pages/carEquity/serviceInfo/serviceInfo.wxml
View file @
8af9732
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
<view class="layout">
<view class="layout">
<first-step wx:if="{{step == 'first'}}" id="FirstStep" serviceInfo="{{serviceInfo}}" dataAttrName="{{dataAttrName}}" bindconfirm="handleFirstConfirm" binddraft="handleSecondConfirm"></first-step>
<first-step wx:if="{{step == 'first'}}" id="FirstStep" serviceInfo="{{serviceInfo}}" dataAttrName="{{dataAttrName}}" bindconfirm="handleFirstConfirm" binddraft="handleSecondConfirm"></first-step>
<second-step wx:if="{{step == 'second'}}" id="SecondStep" serviceInfo="{{serviceInfo}}" dataAttrName="{{dataAttrName}}" bindconfirm="handleSecondConfirm" binddraft="handleSecondConfirm"></second-step>
<second-step wx:if="{{step == 'second'}}" id="SecondStep" serviceInfo="{{serviceInfo}}" dataAttrName="{{dataAttrName}}" bindconfirm="handleSecondConfirm" binddraft="handleSecondConfirm"></second-step>
<shade-tip isShow="{{isDialogShow}}" type="{{dialogObj.type}}" title="{{dialogObj.title}}" tipTxt="{{dialogObj.tipTxt}}" btnTxt="{{dialogObj.btnTxt}}" bindclick="handleTipClick" data-type="{{dialogObj.type}}"></shade-tip>
<shade-tip isShow="{{isDialogShow}}" type="{{dialogObj.type}}" title="{{dialogObj.title}}" tipTxt="{{dialogObj.tipTxt}}" btnTxt="{{dialogObj.btnTxt}}" bindclick="handleTipClick"
bindclose="handleTipClose"
data-type="{{dialogObj.type}}"></shade-tip>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/carQuotation/index/index.js
View file @
8af9732
...
@@ -120,7 +120,7 @@ Component({
...
@@ -120,7 +120,7 @@ Component({
if
(
!
arr
)
{
if
(
!
arr
)
{
return
arr
return
arr
}
}
var
attrList
=
[
'equityPrice'
,
'quotedPrice'
,
'
equityPric
e'
]
var
attrList
=
[
'equityPrice'
,
'quotedPrice'
,
'
quotedPriceUpdat
e'
]
arr
.
forEach
(
item
=>
{
arr
.
forEach
(
item
=>
{
attrList
.
forEach
(
k
=>
{
attrList
.
forEach
(
k
=>
{
if
(
item
[
k
])
{
if
(
item
[
k
])
{
...
...
packageEquity/pages/carQuotation/index/index.wxml
View file @
8af9732
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
<!-- 0待报价、1待确认、2待支付、3已支付、-1战败 -->
<!-- 0待报价、1待确认、2待支付、3已支付、-1战败 -->
<view wx:if="{{item.orderStatus == '3'}}">
<view wx:if="{{item.orderStatus == '3'}}">
<span class="green-txt">{{orderStatusObj[item.orderStatus]}}</span>
<span class="green-txt">{{orderStatusObj[item.orderStatus]}}</span>
<span class="header-price">¥ {{item.
equityPric
e}}</span>
<span class="header-price">¥ {{item.
quotedPriceUpdat
e}}</span>
</view>
</view>
<view wx:else class="{{item.orderStatus == '-1' ? 'red-txt' : '' }}">
<view wx:else class="{{item.orderStatus == '-1' ? 'red-txt' : '' }}">
{{orderStatusObj[item.orderStatus] || '--'}}
{{orderStatusObj[item.orderStatus] || '--'}}
...
...
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