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 3d6c39de
authored
Dec 25, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式修改
1 parent
6edae0d0
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
39 additions
and
117 deletions
packageUsedCar/components/TabBar/TabBar.wxss
packageUsedCar/pages/deliveryNote/components/step1/step1.js
packageUsedCar/pages/deliveryNote/components/step2/step2.js
packageUsedCar/pages/deliveryNote/deliveryDetail/deliveryDetail.js
packageUsedCar/pages/deliveryNote/deliveryList/deliveryList.js
packageUsedCar/pages/evaluationForm/components/evaluationCard/evaluationCard.sass
packageUsedCar/pages/evaluationForm/confirmCar/confirmCar.js
packageUsedCar/pages/evaluationForm/evaluationList/evaluationList.js
packageUsedCar/pages/evaluationForm/signInfo/signInfo.js
packageUsedCar/pages/indexPage/dailyReport/dailyReport.js
packageUsedCar/pages/indexPage/dailyReport/dailyReport.sass
packageUsedCar/pages/indexPage/dailyReport/dailyReport.wxml
packageUsedCar/components/TabBar/TabBar.wxss
View file @
3d6c39d
...
...
@@ -50,13 +50,12 @@
.scroll .tab-item {
width: fit-content;
min-width: var(--fontSize144);
height: 100%;
flex-shrink: 0;
font-size: var(--fontSize28);
text-align: center;
position: relative;
padding: 0 var(--fontSize
10
);
padding: 0 var(--fontSize
24
);
}
.scroll .tab-item .text-item {
...
...
packageUsedCar/pages/deliveryNote/components/step1/step1.js
View file @
3d6c39d
...
...
@@ -57,10 +57,7 @@ Component({
}
// 埋点
wx
.
$track
.
setTrackData
(
0
,
'delivery_arrive_shop'
,
{},
''
,
7
)
wx
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
wx
.
$util
.
showLoading
(
'加载中'
)
// 设置加载状态
this
.
setData
({
isLoading
:
true
...
...
packageUsedCar/pages/deliveryNote/components/step2/step2.js
View file @
3d6c39d
...
...
@@ -78,10 +78,7 @@ Component({
loadingFlag
:
true
})
const
uploadImages
=
async
(
tempFiles
)
=>
{
wx
.
showLoading
({
title
:
'上传中'
,
mask
:
true
})
wx
.
$util
.
showLoading
(
'上传中'
)
try
{
for
(
const
item
of
tempFiles
)
{
const
val
=
item
.
path
...
...
@@ -134,10 +131,7 @@ Component({
// 埋点
wx
.
$track
.
setTrackData
(
0
,
'delivery_arrive_shop'
,
{},
''
,
7
)
// 显示加载
wx
.
showLoading
({
title
:
'提交中...'
,
mask
:
true
})
wx
.
$util
.
showLoading
(
'提交中...'
)
const
res
=
await
newApi
.
deliveryConfirmDelivery
({
confirmImages
,
deliveryOrderId
:
detail
?.
deliveryOrderId
,
...
...
packageUsedCar/pages/deliveryNote/deliveryDetail/deliveryDetail.js
View file @
3d6c39d
...
...
@@ -51,10 +51,7 @@ Page({
async
getDeliveryOrderDetail
(
id
)
{
try
{
wx
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
wx
.
$util
.
showLoading
(
'加载中'
)
const
data
=
await
newApi
.
getDeliveryOrderDetail
({
id
:
Number
(
id
)
})
...
...
packageUsedCar/pages/deliveryNote/deliveryList/deliveryList.js
View file @
3d6c39d
...
...
@@ -115,7 +115,7 @@ Component({
async
getList
(
isReset
=
false
)
{
let
{
searchText
,
orderStatus
,
createdStartDate
,
createdEndDate
,
currentPage
,
nothing
}
=
this
.
data
if
(
nothing
)
return
wx
.
showLoading
(
)
wx
.
$util
.
showLoading
(
'加载中'
)
const
res
=
await
newApi
.
getDeliveryOrderPageList
({
t
:
{
searchText
,
orderStatus
,
createdStartDate
,
createdEndDate
},
currentPage
:
currentPage
,
...
...
packageUsedCar/pages/evaluationForm/components/evaluationCard/evaluationCard.sass
View file @
3d6c39d
...
...
@@ -83,6 +83,7 @@
width
:
calc
(
100%
-
var
(
--
fontSize256
))
;
.car-type-name
{
// width: calc(100% - var(--fontSize256));
font-size
:
28rpx
;
display
:
-
webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
...
...
@@ -112,6 +113,11 @@
color
:
#999EA8
;
font-size
:
var
(
--
fontSize24
)
;
margin
:
var
(
--
fontSize16
)
0
;
margin-right
:
12rpx
;
}
.text-gray
{
color
:
#999EA8
;
margint-right
:
12rpx
;
}
.text-blue
{
color
:
#347BFF
;
...
...
packageUsedCar/pages/evaluationForm/confirmCar/confirmCar.js
View file @
3d6c39d
...
...
@@ -239,10 +239,7 @@ Page({
}
}
const
upload
=
async
(
tempFiles
)
=>
{
wx
.
showLoading
({
title
:
'上传中'
,
mask
:
true
})
wx
.
$util
.
showLoading
(
'上传中'
)
try
{
for
(
const
item
of
tempFiles
)
{
const
val
=
item
.
path
...
...
@@ -296,10 +293,7 @@ Page({
})
}
const
upload
=
async
(
tempFiles
)
=>
{
wx
.
showLoading
({
title
:
'上传中'
,
mask
:
true
})
wx
.
$util
.
showLoading
(
'上传中'
)
try
{
for
(
const
item
of
tempFiles
)
{
const
val
=
item
.
tempFilePath
...
...
@@ -368,10 +362,7 @@ Page({
}
}
const
upload
=
async
(
tempFiles
)
=>
{
wx
.
showLoading
({
title
:
'上传中'
,
mask
:
true
})
wx
.
$util
.
showLoading
(
'上传中'
)
try
{
for
(
const
item
of
tempFiles
)
{
const
val
=
item
.
tempFilePath
...
...
@@ -515,10 +506,7 @@ Page({
let
{
key
}
=
e
.
currentTarget
.
dataset
const
loc
=
await
wx
.
getLocation
()
const
{
latitude
,
longitude
}
=
loc
wx
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
wx
.
$util
.
showLoading
(
'加载中'
)
const
res
=
await
mapApi
.
detailedAdrress
([
latitude
,
longitude
])
const
locationName
=
`
${
res
?.
addressComponent
?.
province
}
$
{
res
?.
addressComponent
?.
city
}
` || res?.formatted_address || "已定位"
wx.hideLoading()
...
...
@@ -574,10 +562,7 @@ Page({
if (formData.supplementaryClauseText) {
if (this.data.confirmRepealFlag) return
this.setData({confirmRepealFlag: true})
wx.showLoading({
title: '加载中',
mask: true
})
wx.$util.showLoading('加载中')
newApi.salesAgreementPreview({
evalOrderNo: query.evalOrderNo,
supplementaryClauseText: formData.supplementaryClauseText
...
...
@@ -702,10 +687,7 @@ Page({
confirmColor: '#347BFF',
complete: async (res) => {
if (res.confirm) {
wx.showLoading({
title: '加载中',
mask: true
})
wx.$util.showLoading('加载中')
const res = await newApi.confirmDelivery({
evalOrderNo: query.evalOrderNo,
...formData
...
...
packageUsedCar/pages/evaluationForm/evaluationList/evaluationList.js
View file @
3d6c39d
...
...
@@ -122,10 +122,7 @@ Component({
let
{
keyWord
,
status
,
currentPage
,
nothing
}
=
this
.
data
const
userInfo
=
wx
.
$util
.
getUserInfo
()
if
(
nothing
)
return
wx
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
wx
.
$util
.
showLoading
(
'加载中'
)
const
res
=
await
newApi
.
evalOrderList
({
t
:
{
keyWord
,
status
,
sellerMerchantId
:
userInfo
?.
shopMerchantId
},
currentPage
:
currentPage
,
...
...
@@ -276,10 +273,7 @@ Component({
}
if (this.data.ownerReQuoteFlag) return
this.setData({ownerReQuoteFlag: true})
wx.showLoading({
title: '加载中',
mask: true
})
wx.$util.showLoading('加载中')
const res = await newApi.evalOrderOwnerReQuote(requoteObj)
if (res.data.code == 0) {
...
...
@@ -338,10 +332,7 @@ Component({
confirmColor: "#347BFF",
complete: async (res) => {
if (res.confirm) {
wx.showLoading({
title: '加载中',
mask: true
})
wx.$util.showLoading('加载中')
const res = await newApi.evalOrderCancelContract(cancelSignObj)
if (res.data.code == 0) {
wx.hideLoading()
...
...
@@ -377,10 +368,7 @@ Component({
confirmColor: '#347BFF',
complete: (res) => {
if (res.confirm) {
wx.showLoading({
title: '加载中',
mask: true
})
wx.$util.showLoading('加载中')
newApi.revokeSaleContract({
saleContractNo: item.saleContractNo
}).then(res => {
...
...
@@ -433,10 +421,7 @@ Component({
this.setData({
'payPopupObj.paymentMethod': 1
})
wx.showLoading({
title: '加载中',
mask: true
})
wx.$util.showLoading('加载中')
const res = await newApi.getContractDetail({
contractNo: item?.saleContractNo,
});
...
...
@@ -462,10 +447,7 @@ Component({
async confirmAmountRequested() {
let { payPopupObj } = this.data
if (payPopupObj.type == 'payDeposit') {
wx.showLoading({
title: '加载中',
mask: true
})
wx.$util.showLoading('加载中')
const res = await newApi.payDepositApplication({
evalOrderNo: payPopupObj.evalOrderNo,
paymentMethod: payPopupObj.paymentMethod
...
...
@@ -486,10 +468,7 @@ Component({
wx.$util.showToast(res.data.msg || "请求失败");
}
} else {
wx.showLoading({
title: '加载中',
mask: true
})
wx.$util.showLoading('加载中')
const res = await newApi.signAgreement({
evalOrderNo: payPopupObj.evalOrderNo,
paymentMethod: payPopupObj.paymentMethod
...
...
@@ -522,10 +501,7 @@ Component({
this.setData({
signAgreementObjDetail: item
})
wx.showLoading({
title: '加载中',
mask: true
})
wx.$util.showLoading('加载中')
newApi.checkSignAgreement({
evalOrderNo: item.evalOrderNo
})
...
...
@@ -567,10 +543,7 @@ Component({
wx.$util.showToast("请选择代保管人");
return;
}
wx.showLoading({
title: '加载中',
mask: true
})
wx.$util.showLoading('加载中')
newApi.sendCustodyAgreement({ ...signAgreementObj, evalOrderNo: signAgreementObjDetail.evalOrderNo }).then(res => {
if (res.data.code == 0) {
wx.hideLoading()
...
...
@@ -667,10 +640,7 @@ Component({
wx.$util.showToast("请输入地址")
return
}
wx.showLoading({
title: '加载中',
mask: true
})
wx.$util.showLoading('加载中')
newApi.addCustodyAgreement(addSignAgreementObj).then(async res => {
if (res.data.code == 0) {
wx.hideLoading();
...
...
@@ -701,10 +671,7 @@ Component({
let { item } = e.currentTarget.dataset
if (this.data.reSubmitFlag) return
this.setData({reSubmitFlag: true})
wx.showLoading({
title: '加载中',
mask: true
})
wx.$util.showLoading('加载中')
const res = await newApi.evalOrderConfirmVehicleDelivery({
evalOrderNo: item?.evalOrderNo,
});
...
...
packageUsedCar/pages/evaluationForm/signInfo/signInfo.js
View file @
3d6c39d
...
...
@@ -264,10 +264,7 @@ Page({
async
getEvalOrderSimpleDetail
()
{
let
{
query
}
=
this
.
data
wx
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
wx
.
$util
.
showLoading
(
'加载中'
)
const
res
=
await
newApi
.
evalOrderSimpleDetail
({
evalOrderNo
:
query
.
evalOrderNo
})
...
...
@@ -614,10 +611,7 @@ Page({
let
{
key
}
=
e
.
currentTarget
.
dataset
const
loc
=
await
wx
.
getLocation
()
const
{
latitude
,
longitude
}
=
loc
wx
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
wx
.
$util
.
showLoading
(
'加载中'
)
const
res
=
await
mapApi
.
detailedAdrress
([
latitude
,
longitude
])
const
locationName
=
`
${
res
?.
addressComponent
?.
province
}
$
{
res
?.
addressComponent
?.
city
}
` || res?.formatted_address || "已定位"
wx.hideLoading()
...
...
@@ -645,10 +639,7 @@ Page({
}
}
const upload = async (tempFiles) => {
wx.showLoading({
title: '上传中',
mask: true
})
wx.$util.showLoading('上传中')
try {
for (const item of tempFiles) {
const val = item.path
...
...
@@ -698,10 +689,7 @@ Page({
})
}
const upload = async (tempFiles) => {
wx.showLoading({
title: '上传中',
mask: true
})
wx.$util.showLoading('上传中')
try {
for (const item of tempFiles) {
const val = item.tempFilePath
...
...
@@ -769,10 +757,7 @@ Page({
}
}
const upload = async (tempFiles) => {
wx.showLoading({
title: '上传中',
mask: true
})
wx.$util.showLoading('上传中')
try {
for (const item of tempFiles) {
const val = item.tempFilePath
...
...
@@ -1030,10 +1015,7 @@ Page({
delete formData.depositPrice
delete formData.finalPrice
}
wx.showLoading({
title: '加载中',
mask: true
})
wx.$util.showLoading('加载中')
if (this.data.confirmFlag) return
this.setData({confirmFlag: true})
newApi.evalOrderSignContract({ ...formData, evalOrderNo: query.evalOrderNo }).then(res => {
...
...
packageUsedCar/pages/indexPage/dailyReport/dailyReport.js
View file @
3d6c39d
...
...
@@ -226,7 +226,7 @@ Page({
weeklyList
}
=
this
.
data
,
item
=
weeklyList
?.
find
(
item
=>
item
.
date
==
currentDate
)
if
(
item
&&
item
.
id
)
{
wx
.
showLoading
(
)
wx
.
$util
.
showLoading
(
'加载中'
)
const
data
=
await
newApi
.
getCarDailyReportDetail
({
id
:
item
.
id
,
})
...
...
@@ -396,9 +396,7 @@ Page({
// 提交/保存
async
submit
()
{
wx
.
showLoading
({
title
:
'提交中'
})
wx
.
$util
.
showLoading
(
'提交中'
)
// 二手车日报提交埋点
// wx.$track.setTrackData(0, 'submit_used_car_daily_report', {}, '', 1)
try
{
...
...
packageUsedCar/pages/indexPage/dailyReport/dailyReport.sass
View file @
3d6c39d
...
...
@@ -4,7 +4,7 @@ page {
}
.report-view
{
box-sizing
:
border-box
;
height
:
calc
(
100
vh
-
var
(
--
fontSize300
))
;
height
:
calc
(
100
%
-
var
(
--
fontSize300
))
;
position
:
relative
;
.flex
{
display
:
flex
;
...
...
packageUsedCar/pages/indexPage/dailyReport/dailyReport.wxml
View file @
3d6c39d
...
...
@@ -3,7 +3,7 @@
<view class="title-text">驻店日报</view>
</navigation-bar>
<wxs src="./index.wxs" module="filter" />
<view style="padding-top:{{ navBarHeight }}px;height: 100vh;">
<view style="padding-top:{{ navBarHeight }}px;height: 100vh;
box-sizing: border-box;
">
<weekCalendar timeBean="{{ timeBean }}" bind:lastWeek="lastWeek" bind:nextWeek="nextWeek" bind:dayClick="dayClick"></weekCalendar>
<view class="report-view">
<block wx:if="{{loadComplete}}">
...
...
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