feat: 细节优化

This commit is contained in:
gcd 2025-05-08 00:00:02 +08:00
parent 1a8ba0a783
commit 371808abf1
5 changed files with 22 additions and 2 deletions

View File

@ -49,3 +49,6 @@
.icon-user:before {
content: "\e910";
}
.icon-edit-line:before {
content: "\e911";
}

Binary file not shown.

View File

@ -50,8 +50,12 @@
<view class="item-row flex-sb line-after">
<view class="title flex-l">预约上门时间</view>
<view class="value flex-r value-theme" v-if="data.status === enums.ORDER_DISPATCH_STATUS.STATUS_PLANIT">
<text>{{data.plan_time}}</text>
<me-icon class="icon" type="icon-call" color="var(--themeColor)" size="40rpx"></me-icon>
<uni-datetime-picker type="datetime" :hide-second="true" @change="changePlanTime">
<view class="flex-r">
<text>{{data.plan_time}}</text>
<me-icon class="icon" type="icon-edit-line" color="var(--themeColor)" size="40rpx"></me-icon>
</view>
</uni-datetime-picker>
</view>
<view v-else class="value flex-r">
<text>{{data.plan_time}}</text>
@ -199,6 +203,17 @@ const canReportOrderException = computed(() => {
return data.value.status !== enums.ORDER_DISPATCH_STATUS.STATUS_TOGET && data.value.status !== enums.ORDER_DISPATCH_STATUS.STATUS_REFUSED
})
const changePlanTime = (e) => {
//TODO
console.log(e)
uni.showModal({
title: '提示信息',
showCancel: false,
content: '修改前需和客户约定,确定修改上门时间?'
});
}
//
const updateWorkerRemark = () => {
helpers.jumpToPage('worker-remark', `id=${id.value}&worker_remark=${data.value.worker_remark}`)

1
svg_icons/README.md Normal file
View File

@ -0,0 +1 @@
图标原 svg 文件,可通过这些 svg 文件,修改或新增图标,生成新的 ttf 文件。

1
svg_icons/edit-line.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="20" height="20" viewBox="0 0 20 20"><defs><clipPath id="master_svg0_3986_4676"><rect x="0" y="0" width="20" height="20" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_3986_4676)"><g><path d="M3.333333,3L9.16667,3Q9.215910000000001,3,9.26421,2.990393Q9.31251,2.980785,9.35801,2.9619400000000002Q9.403500000000001,2.943094,9.44445,2.915735Q9.4854,2.888375,9.52022,2.853553Q9.55504,2.818731,9.5824,2.777785Q9.60976,2.736839,9.628599999999999,2.691342Q9.64745,2.645845,9.657060000000001,2.5975451Q9.66667,2.5492457,9.66667,2.5Q9.66667,2.4507543,9.657060000000001,2.4024549Q9.64745,2.354155,9.628599999999999,2.308658Q9.60976,2.263161,9.5824,2.222215Q9.55504,2.181269,9.52022,2.146447Q9.4854,2.111625,9.44445,2.084265Q9.403500000000001,2.056906,9.35801,2.0380599999999998Q9.31251,2.019215,9.26421,2.009607Q9.215910000000001,2,9.16667,2L3.333333,2Q2.781048,2,2.390524,2.390524Q2,2.781048,2,3.333333L2,16.6667Q2,17.219,2.390526,17.6095Q2.781048,18,3.333333,18L16.6667,18Q17.219,18,17.6095,17.6095Q18,17.219,18,16.6667L18,10.83333Q18,10.78409,17.9904,10.73579Q17.980800000000002,10.68749,17.9619,10.64199Q17.9431,10.59649,17.9157,10.55555Q17.8884,10.5146,17.8536,10.47978Q17.8187,10.44496,17.7778,10.4176Q17.736800000000002,10.39024,17.6913,10.37139Q17.6458,10.35255,17.5975,10.342939999999999Q17.5492,10.33333,17.5,10.33333Q17.4508,10.33333,17.4025,10.342939999999999Q17.3542,10.35255,17.3087,10.37139Q17.263199999999998,10.39024,17.2222,10.4176Q17.1813,10.44496,17.1464,10.47978Q17.1116,10.5146,17.0843,10.55555Q17.0569,10.59649,17.0381,10.64199Q17.019199999999998,10.68749,17.0096,10.73579Q17,10.78409,17,10.83333L17,16.6667Q17,17,16.6667,17L3.333333,17Q3,17,3,16.6667L3,3.333333Q3,3,3.333333,3Z" fill-rule="evenodd" fill="#2772F0" fill-opacity="1"/></g><g><path d="M14.102731953125,2.146369L14.102441953125,2.146658L5.479486953125,10.77995Q5.409257953125,10.85026,5.371254953125,10.94209Q5.333251953125,11.03391,5.333251953125,11.13329L5.333251953125,14.1667Q5.333251953125,14.2159,5.342858953125,14.2642Q5.352466953125,14.3125,5.371311953125,14.358Q5.390157953125,14.4035,5.417516953125,14.4445Q5.444876953125,14.4854,5.479698953125,14.5202Q5.514520953125,14.555,5.555466953125,14.5824Q5.596412953125,14.6098,5.641909953125,14.6286Q5.687406953125,14.6475,5.735706853125,14.6571Q5.784006253125,14.6667,5.833251953125,14.6667L8.882081953125,14.6667Q8.981571953125,14.6667,9.073481953125,14.6286Q9.165381953125,14.5905,9.235711953125,14.5201L17.853551953125,5.8985199999999995Q17.888351953125,5.8637,17.915651953125,5.822760000000001Q17.943051953125,5.78182,17.961851953125,5.736330000000001Q17.980751953125,5.69085,17.990351953125,5.64256Q17.999951953125,5.59427,17.999951953125,5.54504Q17.999951953125,5.4958100000000005,17.990351953125,5.44752Q17.980751953125,5.39924,17.961851953125,5.35375Q17.943051953125,5.308260000000001,17.915651953125,5.26732Q17.888351953125,5.22639,17.853551953125,5.1915700000000005L14.809841953125,2.146524Q14.739531953125,2.076182,14.647651953125,2.038102Q14.555771953125,2.000022,14.456321953125,2Q14.356861953125,1.999978,14.264971953125,2.0380190000000002Q14.173071953125,2.076059,14.102731953125,2.146369ZM14.456341953125,3.207396L6.333251953125,11.34022L6.333251953125,13.6667L8.674911953125001,13.6667L16.792951953124998,5.54504L14.456341953125,3.207396Z" fill-rule="evenodd" fill="#2772F0" fill-opacity="1"/></g></g></svg>

After

Width:  |  Height:  |  Size: 3.4 KiB