Commit f6277b40 by 张立顺

feat 联调

1 parent f40104ec
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
"pages/changeScene/changeScene", "pages/changeScene/changeScene",
"pages/materails/index", "pages/materails/index",
"pages/pointsReview/pointsReview", "pages/pointsReview/pointsReview",
"pages/h5AuthPhone/h5AuthPhone" "pages/h5AuthPhone/h5AuthPhone",
"pages/tabRepairOrder/pages/index/index"
], ],
"window": { "window": {
"backgroundTextStyle": "light", "backgroundTextStyle": "light",
...@@ -37,22 +38,22 @@ ...@@ -37,22 +38,22 @@
"selectedIconPath": "images/tab-home-active.png" "selectedIconPath": "images/tab-home-active.png"
}, },
{ {
"pagePath": "pages/tabWorkOrder/pages/index/index",
"text": "工单管理",
"iconPath": "images/tab-order.png",
"selectedIconPath": "images/tab-order-active.png"
},
{
"pagePath": "pages/tabDateIndex/pages/tabDateIndex", "pagePath": "pages/tabDateIndex/pages/tabDateIndex",
"text": "预约管理", "text": "预约管理",
"iconPath": "images/tab-date.png", "iconPath": "images/tab-date.png",
"selectedIconPath": "images/tab-date-active.png" "selectedIconPath": "images/tab-date-active.png"
}, },
{ {
"pagePath": "pages/materails/index", "pagePath": "pages/tabWorkOrder/pages/index/index",
"text": "营销素材", "text": "客户工单",
"iconPath": "images/tab-material.png", "iconPath": "images/tab-order.png",
"selectedIconPath": "images/tab-material-active.png" "selectedIconPath": "images/tab-order-active.png"
},
{
"pagePath": "pages/tabRepairOrder/pages/index/index",
"text": "施工单",
"iconPath": "images/tab-repair.png",
"selectedIconPath": "images/tab-repair-active.png"
}, },
{ {
"pagePath": "pages/tabMine/pages/index/index", "pagePath": "pages/tabMine/pages/index/index",
...@@ -97,6 +98,7 @@ ...@@ -97,6 +98,7 @@
"root": "tabRepairOrder", "root": "tabRepairOrder",
"name": "tabRepairOrder", "name": "tabRepairOrder",
"pages": [ "pages": [
"pages/confirmWorkOrder/confirmWorkOrder",
"pages/repairOrderDetail/repairOrderDetail" "pages/repairOrderDetail/repairOrderDetail"
] ]
}, },
......
...@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd' ...@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布 * 4预发布
* 5cdptest * 5cdptest
*/ */
let index = 3 let index = 4
const accountInfo = wx.getAccountInfoSync() const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync() const systemInfo = wx.getSystemInfoSync()
const envName = accountInfo.miniProgram.envVersion const envName = accountInfo.miniProgram.envVersion
......
{ {
"name": "dj-car-boutique-work-wechat",
"lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "lockfileVersion": 1,
"": { "dependencies": {
"dependencies": { "@vant/area-data": {
"@vant/area-data": "^1.5.1",
"@vant/weapp": "^1.10.24",
"dayjs": "^1.11.11",
"glsk-applet-component": "^1.0.0",
"glsx-applet-component": "^1.1.29",
"glsx-common-sdk": "^0.2.8",
"number-precision": "^1.6.0",
"rfdc": "^1.3.0"
}
},
"node_modules/@vant/area-data": {
"version": "1.5.1", "version": "1.5.1",
"resolved": "https://registry.npmjs.org/@vant/area-data/-/area-data-1.5.1.tgz", "resolved": "https://registry.npmjs.org/@vant/area-data/-/area-data-1.5.1.tgz",
"integrity": "sha512-gR5TPEzTbxN1cTK1aDhCoyikSCLX7DAacxyXoKyI4SAsYYTZrDl/nLgQFIm9vLsvWzlPIda8xV8/U3x7M9k6ww==" "integrity": "sha512-gR5TPEzTbxN1cTK1aDhCoyikSCLX7DAacxyXoKyI4SAsYYTZrDl/nLgQFIm9vLsvWzlPIda8xV8/U3x7M9k6ww=="
}, },
"node_modules/@vant/weapp": { "@vant/weapp": {
"version": "1.10.24", "version": "1.10.24",
"resolved": "https://registry.npmmirror.com/@vant/weapp/-/weapp-1.10.24.tgz", "resolved": "https://registry.npmmirror.com/@vant/weapp/-/weapp-1.10.24.tgz",
"integrity": "sha512-oovAaaJq3mlB+wto5bHVCn/rov8IgRDg+gJXy6hPX0A3c9WF1GqLqSmoXyaktgidJ9IaV1RADd3PAFlw4lUsnQ==" "integrity": "sha512-oovAaaJq3mlB+wto5bHVCn/rov8IgRDg+gJXy6hPX0A3c9WF1GqLqSmoXyaktgidJ9IaV1RADd3PAFlw4lUsnQ=="
}, },
"node_modules/dayjs": { "dayjs": {
"version": "1.11.11", "version": "1.11.11",
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.11.tgz", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.11.tgz",
"integrity": "sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg==" "integrity": "sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg=="
}, },
"node_modules/glsk-applet-component": { "glsk-applet-component": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/glsk-applet-component/-/glsk-applet-component-1.0.0.tgz", "resolved": "https://registry.npmjs.org/glsk-applet-component/-/glsk-applet-component-1.0.0.tgz",
"integrity": "sha512-ulz1OquWy4y4Q26Zu4FLDWzyqK+sInPWs4o8MKj2N8V/TnYQlUXoWkkgKh8fERK8A+rsusf3eiyZB0odchKk8g==" "integrity": "sha512-ulz1OquWy4y4Q26Zu4FLDWzyqK+sInPWs4o8MKj2N8V/TnYQlUXoWkkgKh8fERK8A+rsusf3eiyZB0odchKk8g=="
}, },
"node_modules/glsx-applet-component": { "glsx-applet-component": {
"version": "1.1.29", "version": "1.1.29",
"resolved": "https://registry.npmmirror.com/glsx-applet-component/-/glsx-applet-component-1.1.29.tgz", "resolved": "https://registry.npmmirror.com/glsx-applet-component/-/glsx-applet-component-1.1.29.tgz",
"integrity": "sha512-HPzVayIRZvA3nvG2Lj9V9+S+BFiCer4XxjQwuZksta5Bs9JbbKaY4ztcIEe1Se3vw3rbPL0Dv2OsWvVz2b5jfw==" "integrity": "sha512-HPzVayIRZvA3nvG2Lj9V9+S+BFiCer4XxjQwuZksta5Bs9JbbKaY4ztcIEe1Se3vw3rbPL0Dv2OsWvVz2b5jfw=="
}, },
"node_modules/glsx-common-sdk": { "glsx-common-sdk": {
"version": "0.2.8", "version": "0.2.8",
"resolved": "https://registry.npmjs.org/glsx-common-sdk/-/glsx-common-sdk-0.2.8.tgz", "resolved": "https://registry.npmjs.org/glsx-common-sdk/-/glsx-common-sdk-0.2.8.tgz",
"integrity": "sha512-qCDUBRvJwE2Gs1PLwB+fHOSFPgB5W5fwYC3GSBSjMQOxs4keeOvd7o5wIb7bNakp0xF6ARPqpC/xm3hZ9TRW6A==" "integrity": "sha512-qCDUBRvJwE2Gs1PLwB+fHOSFPgB5W5fwYC3GSBSjMQOxs4keeOvd7o5wIb7bNakp0xF6ARPqpC/xm3hZ9TRW6A=="
}, },
"node_modules/number-precision": { "number-precision": {
"version": "1.6.0", "version": "1.6.0",
"resolved": "https://registry.npmmirror.com/number-precision/-/number-precision-1.6.0.tgz", "resolved": "https://registry.npmmirror.com/number-precision/-/number-precision-1.6.0.tgz",
"integrity": "sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ==" "integrity": "sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ=="
}, },
"node_modules/rfdc": { "rfdc": {
"version": "1.3.0", "version": "1.3.0",
"resolved": "https://registry.npmmirror.com/rfdc/-/rfdc-1.3.0.tgz", "resolved": "https://registry.npmmirror.com/rfdc/-/rfdc-1.3.0.tgz",
"integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==" "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA=="
......
/* tabRepairOrder/pages/confirmWorkOrder/confirmWorkOrder.wxss */
\ No newline at end of file \ No newline at end of file
{ {
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
"usingComponents": {
"time-select": "../../components/timeSelect/index",
"outbound-popup": "../../components/outboundPopup/index",
"rework-popup": "../../components/reworkPopup/index",
"review-popup": "../../components/reviewPopup/index"
},
"navigationBarTitleText": "施工单详情"
}
/* tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.wxss */
\ No newline at end of file \ No newline at end of file
/* tabRepairOrder/pages/repairOrderDetail/index.wxss */
page {
background: #F7F8FA;
}
.isFullSucreen {
padding-bottom: var(--fontSize228) !important;
}
.main {
.status-box {
background: #347BFF;
font-size: var(--fontSize28);
color: #FFFFFF;
padding: var(--fontSize48) var(--fontSize40) var(--fontSize48) var(--fontSize60);
box-sizing: border-box;
.user-info {
display: flex;
align-items: flex-end;
.hide-text {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
}
.car {
font-size: var(--fontSize40);
font-weight: 600;
margin-right: var(--fontSize8);
max-width: var(--fontSize400);
image {
width: var(--fontSize40);
height: var(--fontSize40);
margin-right: var(--fontSize20);
margin-top: var(--fontSize8);
}
}
.staff-name {
background: none;
max-width: var(--fontSize242);
display: inline-block;
background: #2979ff;
color: #fff;
line-height: 1.4;
word-break: break-all;
white-space: normal;
}
margin-bottom: var(--fontSize32);
}
.content {
display: flex;
align-items: center;
justify-content: space-between;
.tips {
font-size: var(--fontSize24);
margin-right: var(--fontSize50);
}
.btn {
flex-shrink: 0;
padding: var(--fontSize8) var(--fontSize28);
border: var(--fontSize2) solid #FFFFFF;
border-radius: var(--fontSize30);
}
}
}
.box {
background: #FFFFFF;
box-shadow: 0 var(--fontSize4) var(--fontSize20) 0 rgba(0, 0, 0, 0.10);
border-radius: var(--fontSize16);
padding: var(--fontSize40) var(--fontSize40) var(--fontSize2);
position: relative;
margin: var(--fontSize20) var(--fontSize20) 0;
.title {
font-size: var(--fontSize32);
color: #292D33;
margin-bottom: var(--fontSize20);
position: relative;
font-weight: 600;
&::after {
position: absolute;
content: '';
width: var(--fontSize8);
height: var(--fontSize44);
background: #347BFF;
left: calc(-1 * var(--fontSize40));
top: 50%;
transform: translateY(-50%);
}
}
.flex {
display: flex;
align-items: center;
justify-content: space-between;
.example {
font-weight: 400;
color: #347BFF;
font-size: var(--fontSize26);
}
}
.cell {
font-size: var(--fontSize28);
color: #999EA8;
display: flex;
align-items: flex-start;
margin-bottom: var(--fontSize32);
.label {
flex-shrink: 0;
width: var(--fontSize208);
}
.value {
color: #292D33;
display: flex;
flex-flow: wrap;
align-items: center;
}
.placeholder {
color: #BEC1C7;
}
.copy,
.edit {
color: #347BFF;
margin-left: auto;
.image {
width: var(--fontSize32);
height: var(--fontSize32);
vertical-align: middle;
}
}
}
.image-box {
display: flex;
flex-wrap: wrap;
margin-bottom: var(--fontSize32);
.tire-block {
width: var(--fontSize196);
height: var(--fontSize196);
box-sizing: border-box;
background-color: #F4F5F7;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border-radius: var(--fontSize8);
overflow: hidden;
&:not(:nth-child(3n)) {
margin-right: var(--fontSize20);
}
&:nth-child(n+4) {
margin-top: var(--fontSize20);
}
.tire-img-box {
position: relative;
width: 100%;
height: 100%;
.tire-img {
width: 100%;
height: 100%;
}
.icon-delete {
position: absolute;
top: var(--fontSize12);
right: var(--fontSize12);
width: var(--fontSize40);
height: var(--fontSize40);
}
}
.icon-plus {
width: var(--fontSize80);
height: var(--fontSize80);
}
.plus-text {
color: #999EA8;
font-size: var(--fontSize28);
}
}
}
.service {
padding-bottom: var(--fontSize16);
.category {
padding-bottom: var(--fontSize8);
font-size: var(--fontSize28);
color: #292D33;
}
.service-item {
background: #F7F8FA;
border-radius: var(--fontSize12);
padding: var(--fontSize24);
font-size: var(--fontSize26);
margin: var(--fontSize16) calc(-1 * var(--fontSize8));
.name {
color: #EA6612;
margin-bottom: var(--fontSize12);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
}
.bott {
display: flex;
font-size: var(--fontSize24);
color: #5A5E66;
.split {
margin: 0 var(--fontSize6);
}
}
}
.edit-item {
display: flex;
align-items: center;
image {
width: var(--fontSize32);
height: var(--fontSize32);
margin-right: var(--fontSize20);
flex-shrink: 0;
}
}
}
.empty-box {
width: 100%;
font-size: var(--fontSize24);
color: #BEC1C7;
display: flex;
align-items: center;
justify-content: center;
image {
width: var(--fontSize86);
height: var(--fontSize86);
margin-right: var(--fontSize16);
}
}
.goods {
margin: 0 calc(-1 * var(--fontSize8));
font-size: var(--fontSize28);
color: #292D33;
padding-bottom: var(--fontSize32);
.goods-item {
padding: var(--fontSize24);
background: #F7F8FA;
border-radius: var(--fontSize12);
margin-bottom: var(--fontSize16);
position: relative;
.goods-name {
width: calc(100% - var(--fontSize52));
padding-left: var(--fontSize28);
}
&::after {
position: absolute;
width: var(--fontSize12);
height: var(--fontSize12);
top: var(--fontSize44);
left: var(--fontSize24);
transform: translateY(-50%);
content: '';
background: #347BFF;
border-radius: 100%;
}
&:last-child {
margin-bottom: 0;
}
}
.bott {
margin-top: var(--fontSize12);
padding-left: var(--fontSize28);
font-size: var(--fontSize24);
color: #999EA8;
.split {
margin: 0 var(--fontSize6);
}
}
}
}
.isFullSucreen-btn {
padding-bottom: 34px !important;
}
.btns {
position: fixed;
left: 0;
width: 100%;
bottom: 0;
min-height: var(--fontSize100);
background: #FFFFFF;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
font-size: var(--fontSize32);
font-weight: 500;
z-index: 99;
flex-direction: column;
.tips_box {
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
width: 100%;
height: var(--fontSize52);
padding: 0 var(--fontSize20) 0 var(--fontSize32);
font-size: var(--fontSize24);
color: #FF9D0A;
background: #FEF5E7;
.tipsIcon {
flex-shrink: 0;
width: var(--fontSize28);
height: var(--fontSize28);
margin-right: var(--fontSize8);
}
.contentText {
margin-right: auto;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.close-image {
width: var(--fontSize32);
height: var(--fontSize32);
}
}
.btns-con {
box-sizing: border-box;
display: flex;
padding: var(--fontSize10) 0;
width: calc(100% - var(--fontSize80));
.confirm {
border-radius: var(--fontSize12);
height: var(--fontSize80);
box-sizing: border-box;
width: 100%;
color: #fff;
background-color: #347BFF;
}
}
}
}
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!