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 2b956143
authored
Oct 26, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式修改
1 parent
1dbd3309
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
105 additions
and
19 deletions
packageEquity/pages/carQuotation/index/index.js
packageEquity/pages/carQuotation/index/index.wxml
packageEquity/pages/carQuotation/index/index.wxss
packageEquity/pages/carQuotation/index/index.js
View file @
2b95614
...
@@ -7,6 +7,7 @@ import {
...
@@ -7,6 +7,7 @@ import {
}
from
'../../../api'
}
from
'../../../api'
import
data
from
'../constant/data'
import
data
from
'../constant/data'
import
constantData
from
'../constant/data'
import
constantData
from
'../constant/data'
import
{
ImgUrl
}
from
'~/config'
Component
({
Component
({
/**
/**
* 组件的属性列表
* 组件的属性列表
...
@@ -25,6 +26,7 @@ Component({
...
@@ -25,6 +26,7 @@ Component({
* 组件的初始数据
* 组件的初始数据
*/
*/
data
:
{
data
:
{
ImgUrl
,
orderObj
:
[{
orderObj
:
[{
label
:
'车架号'
,
label
:
'车架号'
,
key
:
'carVin'
key
:
'carVin'
...
...
packageEquity/pages/carQuotation/index/index.wxml
View file @
2b95614
...
@@ -76,9 +76,9 @@
...
@@ -76,9 +76,9 @@
<!-- == '3' -->
<!-- == '3' -->
<view wx:if="{{ item.orderStatus == '3'||item.orderStatus =='5'}}">
<view wx:if="{{ item.orderStatus == '3'||item.orderStatus =='5'}}">
<span class="green-txt">{{orderStatusObj[item.orderStatus]}}</span>
<span class="green-txt">{{orderStatusObj[item.orderStatus]}}</span>
<
span class="header-price">¥ {{item.quotedPriceUpdate || ''}}</span
>
<
!-- <span class="header-price">¥ {{item.quotedPriceUpdate || ''}}</span> --
>
</view>
</view>
<view wx:else class="{{item.orderStatus == '-1' ? 'red-txt' : '' }}">
<view wx:else class="{{item.orderStatus == '-1' ? 'red-txt' : '
default-txt
' }}">
{{orderStatusObj[item.orderStatus] || '--'}}
{{orderStatusObj[item.orderStatus] || '--'}}
</view>
</view>
</view>
</view>
...
@@ -99,7 +99,8 @@
...
@@ -99,7 +99,8 @@
<block>{{item[i.key] || ''}}</block>
<block>{{item[i.key] || ''}}</block>
</view>
</view>
</view>
</view>
<view class="order" wx:if="{{i.key == 'createdTime' &&( item.orderStatus == '3'||item.orderStatus =='5')}}">
<!-- &&( item.orderStatus == '3'||item.orderStatus =='5') -->
<view class="order" wx:if="{{i.key == 'createdTime' }}">
<view class="order-label">{{i.label}}</view>
<view class="order-label">{{i.label}}</view>
<view class="order-value">
<view class="order-value">
<block>{{item[i.key] || ''}}</block>
<block>{{item[i.key] || ''}}</block>
...
@@ -132,17 +133,19 @@
...
@@ -132,17 +133,19 @@
</view>
</view>
<!-- footer -->
<!-- footer -->
<view class="item-footer">
<view class="item-footer">
<view>
<view class="pricePay" wx:if="{{item.orderStatus != '-1' && item.quotedPriceUpdate}}">
<view wx:if="{{(item.orderStatus == '3' && item.equityOrderStatus == '0') || (item.orderStatus == '5' && item.equityOrderStatus == '0')}}" class="orange-txt">
<view class="order-label">支付金额</view>
<view class="header-price"><text class="unit">¥</text> {{item.quotedPriceUpdate || ''}}</view>
<!-- 已录单未签名 -->
<!-- <view wx:if="{{(item.orderStatus == '3' && item.equityOrderStatus == '0') || (item.orderStatus == '5' && item.equityOrderStatus == '0')}}" class="orange-txt">
<image class="icon-info" src="/packageEquity/images/icon-info.png"></image>
<image class="icon-info" src="/packageEquity/images/icon-info.png"></image>
订单已支付,未录入权益合同
订单已支付,未录入权益合同
</view>
</view>
<!-- 已录单未签名 -->
<view wx:elif="{{item.orderStatus == '3' && item.equityOrderStatus == '2'}}" class="orange-txt">
<view wx:elif="{{item.orderStatus == '3' && item.equityOrderStatus == '2'}}" class="orange-txt">
<image class="icon-info" src="/packageEquity/images/icon-info.png"></image>
<image class="icon-info" src="/packageEquity/images/icon-info.png"></image>
订单已支付,尚未签名确认
订单已支付,尚未签名确认
</view>
</view>
-->
<
view wx:else>创建时间:{{item.createdTime}}</view
>
<
!-- <view wx:else>创建时间:{{item.createdTime}}</view> --
>
</view>
</view>
<!-- 超管isSuper/商户类型 userType 1账号不可操作 -->
<!-- 超管isSuper/商户类型 userType 1账号不可操作 -->
<block wx:if="{{!userInfo.isSuper && userInfo.userType == 2}}">
<block wx:if="{{!userInfo.isSuper && userInfo.userType == 2}}">
...
@@ -172,6 +175,17 @@
...
@@ -172,6 +175,17 @@
</view>
</view>
</block>
</block>
</view>
</view>
<!-- <view class="tipsCon"> -->
<view wx:if="{{(item.orderStatus == '3' && item.equityOrderStatus == '0') || (item.orderStatus == '5' && item.equityOrderStatus == '0')}}" class="orange-txt tipsCon">
<image class="icon-info" src="/packageEquity/images/icon-info.png"></image>
订单已支付,未录入权益合同
</view>
<!-- 已录单未签名 -->
<view wx:elif="{{item.orderStatus == '3' && item.equityOrderStatus == '2'}}" class="orange-txt tipsCon">
<image class="icon-info" src="/packageEquity/images/icon-info.png"></image>
订单已支付,尚未签名确认
</view>
<!-- </view> -->
</view>
</view>
<block wx:if="{{nothing}}">
<block wx:if="{{nothing}}">
<view class="list-nothing">到底了~</view>
<view class="list-nothing">到底了~</view>
...
@@ -184,7 +198,9 @@
...
@@ -184,7 +198,9 @@
</scroll-view>
</scroll-view>
</view>
</view>
<!-- 超管isSuper/商户类型 userType 1账号不可操作 -->
<!-- 超管isSuper/商户类型 userType 1账号不可操作 -->
<view class="addOrderBtn" wx:if="{{!userInfo.isSuper && userInfo.userType == 2&&mode!=-1}}">
<image data-target="addOrder" wx:if="{{!userInfo.isSuper && userInfo.userType == 2&&mode!=-1}}" bind:tap="handleClickOrderBtn" class="addOrder" src="/packageEquity/images/addOrder.png" mode="scaleToFill|aspectFit|aspectFill|widthFix" binderror="" bindload="" />
<image data-target="addOrder" bind:tap="handleClickOrderBtn" class="addOrder" src="{{ImgUrl}}/miniProgram/crateOrder.png" mode="scaleToFill|aspectFit|aspectFill|widthFix" binderror="" bindload="" />
<view class="label">新增提单</view>
</view>
</view>
</view>
<remark-popup wx:if="{{showRemark}}" title="战败原因" show="{{showRemark}}" required="{{true}}" bindcancel="remarkCancel" bindconfirm="remarkConfirm" placeholder="请填写战败原因" maxlength="15" value="{{sufferReason}}" />
<remark-popup wx:if="{{showRemark}}" title="战败原因" show="{{showRemark}}" required="{{true}}" bindcancel="remarkCancel" bindconfirm="remarkConfirm" placeholder="请填写战败原因" maxlength="15" value="{{sufferReason}}" />
packageEquity/pages/carQuotation/index/index.wxss
View file @
2b95614
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
border-radius: 48rpx 48rpx 0 0;
border-radius: 48rpx 48rpx 0 0;
overflow: hidden;
overflow: hidden;
/* height: calc(100% - 260rpx); */
/* height: calc(100% - 260rpx); */
height: calc(100%
);
height: calc(100%);
}
}
.to-box {
.to-box {
...
@@ -209,6 +209,7 @@
...
@@ -209,6 +209,7 @@
box-shadow: 0 6rpx 16rpx 0 rgba(205, 205, 209, 0.5);
box-shadow: 0 6rpx 16rpx 0 rgba(205, 205, 209, 0.5);
border-radius: 16rpx;
border-radius: 16rpx;
margin: 0 6rpx 20rpx;
margin: 0 6rpx 20rpx;
padding-bottom: 20rpx;
}
}
.list .item:first-child {
.list .item:first-child {
...
@@ -240,7 +241,6 @@
...
@@ -240,7 +241,6 @@
.list .header-status {
.list .header-status {
font-weight: 500;
font-weight: 500;
font-size: 28rpx;
font-size: 28rpx;
color: #FF9D0A;
}
}
.header-price {
.header-price {
...
@@ -250,10 +250,23 @@
...
@@ -250,10 +250,23 @@
.green-txt {
.green-txt {
color: #4AC18E;
color: #4AC18E;
background: #EAF9F1;
padding: 4rpx 8rpx;
border-radius: 4rpx;
}
}
.red-txt {
.red-txt {
color: #EB4E4E;
color: #EB4E4E;
background: #FDECE9;
padding: 4rpx 8rpx;
border-radius: 4rpx;
}
.default-txt {
color: #FF9D0A;
background: #FFF5E6;
padding: 4rpx 8rpx;
border-radius: 4rpx;
}
}
.list .content {
.list .content {
...
@@ -408,7 +421,26 @@
...
@@ -408,7 +421,26 @@
font-size: 24rpx;
font-size: 24rpx;
color: #9B9B9E;
color: #9B9B9E;
border-top: 1rpx solid #EDEDED;
border-top: 1rpx solid #EDEDED;
padding: 20rpx 32rpx;
padding: 20rpx 32rpx 0;
}
.pricePay {
display: flex;
align-items: center;
}
.pricePay .unit {
font-size: 28rpx;
}
.pricePay .order-label {
width: 136rpx;
color: #9B9B9E;
}
.pricePay .header-price {
font-family: 'numberBold';
font-weight: 700;
font-size: 36rpx;
color: #347BFF;
}
}
.orange-txt {
.orange-txt {
...
@@ -425,6 +457,7 @@
...
@@ -425,6 +457,7 @@
.btn_class {
.btn_class {
display: flex;
display: flex;
gap: 20rpx;
gap: 20rpx;
margin-left: auto;
}
}
.order-btn {
.order-btn {
...
@@ -528,12 +561,15 @@
...
@@ -528,12 +561,15 @@
height: 64rpx;
height: 64rpx;
}
}
.addOrder {
.tipsCon {
width: 112rpx;
box-sizing: border-box;
height: 112rpx;
width: 646rpx;
position: fixed;
height: 56rpx;
right: 32rpx;
margin: 20rpx auto 0;
bottom: 250rpx;
line-height: 56rpx;
padding: 0rpx 12rpx;
background: #FFF5E6;
border-radius: 8rpx;
}
}
.no-data {
.no-data {
...
@@ -549,4 +585,36 @@
...
@@ -549,4 +585,36 @@
.list-nothing,
.list-nothing,
.list-not {
.list-not {
text-align: center;
text-align: center;
}
.addOrderBtn {
position: fixed;
right: 32rpx;
bottom: 250rpx;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 104rpx;
height: 172rpx;
background: #ffffffe6;
border: 2rpx solid #EFF0F2;
box-shadow: 0 4rpx 20rpx 0 #0000001a;
border-radius: 52rpx;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 20rpx;
color: #757980;
}
.addOrder {
width: 96rpx;
height: 96rpx;
margin-top: -16rpx;
}
.addOrderBtn .label {
margin-top: -10rpx;
}
}
\ No newline at end of file
\ No newline at end of file
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