Commit 94f5e54b authored by ian.gao's avatar ian.gao

天合五期微信miniApp

parent ba358a85
/*
* Eslint config file
* Documentation: https://eslint.org/docs/user-guide/configuring/
* Install the Eslint extension before using this feature.
*/
module.exports = {
env: {
es6: true,
browser: true,
node: true,
},
ecmaFeatures: {
modules: true,
},
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
globals: {
wx: true,
App: true,
Page: true,
getCurrentPages: true,
getApp: true,
Component: true,
requirePlugin: true,
requireMiniProgram: true,
},
// extends: 'eslint:recommended',
rules: {},
}
//app.js
App({
globalData: {
userInfo: null,
host: "https://otmuat.trinasolar.com"
}
});
{
"pages": [
"pages/welcome/index",
"pages/welcome/indexServ",
"pages/menu/menu",
"pages/my/my",
"pages/my/changePassword",
"pages/shipSearch/shipSearch",
"pages/shipSearch/completedShipDetail",
"pages/shipSearch/unCompletedShipDetail",
"pages/extFactory/extFactory",
"pages/extFactory/extFactoryDetail",
"pages/departFactory/departFactory",
"pages/departFactory/departFactoryDetail",
"pages/actualSign/actualSign",
"pages/actualSign/actualSignDetail",
"pages/actualSign/actualSignDetailRegister",
"pages/actualSign/actualSignRegister",
"pages/actualArrival/actualArrival",
"pages/actualArrival/actualArrivalDetail",
"pages/accident/accident",
"pages/accident/accidentDetail",
"pages/accident/accidentDetailRegister",
"pages/accident/accidentRegister"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#1E90FF",
"navigationBarTitleText": "天合光能TMS",
"navigationBarTextStyle": "white"
},
"tabBar": {
"color": "#1E90FF",
"selectedColor": "#1E90FF",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/menu/menu",
"text": "首页",
"iconPath": "images/user-off.png",
"selectedIconPath": "images/user-on.png"
},
{
"pagePath": "pages/my/my",
"text": "我的",
"iconPath": "images/home-off.png",
"selectedIconPath": "images/home-on.png"
}
]
},
"networkTimeout": {
"request": 10000
},
"subPackages": [],
"sitemapLocation": "sitemap.json"
}
/**app.wxss**/
.container {
height: 100%;
display: flex;
flex-direction: column;
/**align-items: center;
justify-content: space-between;**/
padding: 200rpx 0;
box-sizing: border-box;
}
page {
font-family: MicroSoft Yahei;
font-size: 30rpx;
color: #666;
}
Component({
options: {
multipleSlots: true // 在组件定义时的选项中启用多slot支持
},
/**
* 组件的属性列表
*/
properties: {
extClass: {
type: String,
value: ''
},
title: {
type: String,
value: ''
},
background: {
type: String,
value: ''
},
color: {
type: String,
value: ''
},
back: {
type: Boolean,
value: true
},
loading: {
type: Boolean,
value: false
},
homeButton: {
type: Boolean,
value: false,
},
animated: {
// 显示隐藏的时候opacity动画效果
type: Boolean,
value: true
},
show: {
// 显示隐藏导航,隐藏的时候navigation-bar的高度占位还在
type: Boolean,
value: true,
observer: '_showChange'
},
// back为true的时候,返回的页面深度
delta: {
type: Number,
value: 1
},
},
/**
* 组件的初始数据
*/
data: {
displayStyle: ''
},
lifetimes: {
attached() {
const rect = wx.getMenuButtonBoundingClientRect()
wx.getSystemInfo({
success: (res) => {
const isAndroid = res.platform === 'android'
const isDevtools = res.platform === 'devtools'
this.setData({
ios: !isAndroid,
innerPaddingRight: `padding-right: ${res.windowWidth - rect.left}px`,
leftWidth: `width: ${res.windowWidth - rect.left }px`,
safeAreaTop: isDevtools || isAndroid ? `height: calc(var(--height) + ${res.safeArea.top}px); padding-top: ${res.safeArea.top}px` : ``
})
}
})
},
},
/**
* 组件的方法列表
*/
methods: {
_showChange(show) {
const animated = this.data.animated
let displayStyle = ''
if (animated) {
displayStyle = `opacity: ${
show ? '1' : '0'
};transition:opacity 0.5s;`
} else {
displayStyle = `display: ${show ? '' : 'none'}`
}
this.setData({
displayStyle
})
},
back() {
const data = this.data
if (data.delta) {
wx.navigateBack({
delta: data.delta
})
}
this.triggerEvent('back', { delta: data.delta }, {})
}
},
})
{
"component": true,
"styleIsolation": "apply-shared",
"usingComponents": {}
}
\ No newline at end of file
<view class="weui-navigation-bar {{extClass}}">
<view class="weui-navigation-bar__inner {{ios ? 'ios' : 'android'}}" style="color: {{color}}; background: {{background}}; {{displayStyle}}; {{innerPaddingRight}}; {{safeAreaTop}};">
<!-- 左侧按钮 -->
<view class='weui-navigation-bar__left' style="{{leftWidth}};">
<block wx:if="{{back || homeButton}}">
<!-- 返回上一页 -->
<block wx:if="{{back}}">
<view class="weui-navigation-bar__buttons weui-navigation-bar__buttons_goback">
<view
bindtap="back"
class="weui-navigation-bar__btn_goback_wrapper"
hover-class="weui-active"
hover-stay-time="100"
aria-role="button"
aria-label="返回"
>
<view class="weui-navigation-bar__button weui-navigation-bar__btn_goback"></view>
</view>
</view>
</block>
<!-- 返回首页 -->
<block wx:if="{{homeButton}}">
<view class="weui-navigation-bar__buttons weui-navigation-bar__buttons_home">
<view
bindtap="home"
class="weui-navigation-bar__btn_home_wrapper"
hover-class="weui-active"
aria-role="button"
aria-label="首页"
>
<view class="weui-navigation-bar__button weui-navigation-bar__btn_home"></view>
</view>
</view>
</block>
</block>
<block wx:else>
<slot name="left"></slot>
</block>
</view>
<!-- 标题 -->
<view class='weui-navigation-bar__center'>
<view wx:if="{{loading}}" class="weui-navigation-bar__loading" aria-role="alert">
<view
class="weui-loading"
aria-role="img"
aria-label="加载中"
></view>
</view>
<block wx:if="{{title}}">
<text>{{title}}</text>
</block>
<block wx:else>
<slot name="center"></slot>
</block>
</view>
<!-- 右侧留空 -->
<view class='weui-navigation-bar__right'>
<slot name="right"></slot>
</view>
</view>
</view>
.weui-navigation-bar {
--weui-FG-0:rgba(0,0,0,.9);
--height: 44px;
--left: 16px;
}
.weui-navigation-bar .android {
--height: 48px;
}
.weui-navigation-bar {
overflow: hidden;
color: var(--weui-FG-0);
flex: none;
}
.weui-navigation-bar__inner {
position: relative;
top: 0;
left: 0;
height: calc(var(--height) + env(safe-area-inset-top));
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding-top: env(safe-area-inset-top);
width: 100%;
box-sizing: border-box;
}
.weui-navigation-bar__left {
position: relative;
padding-left: var(--left);
display: flex;
flex-direction: row;
align-items: flex-start;
height: 100%;
box-sizing: border-box;
}
.weui-navigation-bar__btn_goback_wrapper {
padding: 11px 18px 11px 16px;
margin: -11px -18px -11px -16px;
}
.weui-navigation-bar__btn_goback_wrapper.weui-active {
opacity: 0.5;
}
.weui-navigation-bar__btn_goback {
font-size: 12px;
width: 12px;
height: 24px;
-webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 12 24'%3E %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M10 19.438L8.955 20.5l-7.666-7.79a1.02 1.02 0 0 1 0-1.42L8.955 3.5 10 4.563 2.682 12 10 19.438z'/%3E%3C/svg%3E") no-repeat 50% 50%;
mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 12 24'%3E %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M10 19.438L8.955 20.5l-7.666-7.79a1.02 1.02 0 0 1 0-1.42L8.955 3.5 10 4.563 2.682 12 10 19.438z'/%3E%3C/svg%3E") no-repeat 50% 50%;
-webkit-mask-size: cover;
mask-size: cover;
background-color: var(--weui-FG-0);
}
.weui-navigation-bar__center {
font-size: 17px;
text-align: center;
position: relative;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
font-weight: bold;
flex: 1;
height: 100%;
}
.weui-navigation-bar__loading {
margin-right: 4px;
align-items: center;
}
.weui-loading {
font-size: 16px;
width: 16px;
height: 16px;
display: block;
background: transparent url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='80px' height='80px' viewBox='0 0 80 80' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Ctitle%3Eloading%3C/title%3E%3Cdefs%3E%3ClinearGradient x1='94.0869141%25' y1='0%25' x2='94.0869141%25' y2='90.559082%25' id='linearGradient-1'%3E%3Cstop stop-color='%23606060' stop-opacity='0' offset='0%25'%3E%3C/stop%3E%3Cstop stop-color='%23606060' stop-opacity='0.3' offset='100%25'%3E%3C/stop%3E%3C/linearGradient%3E%3ClinearGradient x1='100%25' y1='8.67370605%25' x2='100%25' y2='90.6286621%25' id='linearGradient-2'%3E%3Cstop stop-color='%23606060' offset='0%25'%3E%3C/stop%3E%3Cstop stop-color='%23606060' stop-opacity='0.3' offset='100%25'%3E%3C/stop%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' opacity='0.9'%3E%3Cg%3E%3Cpath d='M40,0 C62.09139,0 80,17.90861 80,40 C80,62.09139 62.09139,80 40,80 L40,73 C58.2253967,73 73,58.2253967 73,40 C73,21.7746033 58.2253967,7 40,7 L40,0 Z' fill='url(%23linearGradient-1)'%3E%3C/path%3E%3Cpath d='M40,0 L40,7 C21.7746033,7 7,21.7746033 7,40 C7,58.2253967 21.7746033,73 40,73 L40,80 C17.90861,80 0,62.09139 0,40 C0,17.90861 17.90861,0 40,0 Z' fill='url(%23linearGradient-2)'%3E%3C/path%3E%3Ccircle id='Oval' fill='%23606060' cx='40.5' cy='3.5' r='3.5'%3E%3C/circle%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A") no-repeat;
background-size: 100%;
margin-left: 0;
animation: loading linear infinite 1s;
}
@keyframes loading {
from {
transform: rotate(0);
}
to {
transform: rotate(360deg);
}
}
Component({
properties: {
propArray: {
type: Array
}
},
data: {
selectShow: !1,
nowId: "-1",
nowText: "请选择",
animationData: {}
},
methods: {
selectToggle: function() {
var t = this.data.selectShow, a = wx.createAnimation({
timingFunction: "ease"
});
this.animation = a, t ? (a.rotate(0).step(), this.setData({
animationData: a.export()
})) : (a.rotate(180).step(), this.setData({
animationData: a.export()
})), this.setData({
selectShow: !t
});
},
setText: function(t) {
var a = this.properties.propArray, e = t.target.dataset.index, i = a[e].text, o = a[e].id;
this.animation.rotate(0).step(), this.setData({
selectShow: !1,
nowId: o,
nowText: i,
animationData: this.animation.export()
});
}
}
});
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="com-selectBox">
<view bindtap="selectToggle" class="com-sContent">
<view class="com-sTxt">{{nowText}}</view>
<image animation="{{animationData}}" class="com-sImg" src="../../images/down.png"></image>
</view>
<view class="com-sList" wx:if="{{selectShow}}">
<view bindtap="setText" class="com-sItem" data-index="{{index}}" wx:for="{{propArray}}">{{item.text}}</view>
</view>
</view>
.com-selectBox {
width: 200px;
}
.com-sContent {
border: 1px solid #e2e2e2;
background: #fff;
font-size: 16px;
position: relative;
height: 30px;
line-height: 30px;
}
.com-sImg {
position: absolute;
right: 10px;
top: 11px;
width: 16px;
height: 9px;
transition: all .3s ease;
}
.com-sTxt {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 20px 0 6px;
font-size: 14px;
}
.com-sList {
background: #fff;
width: inherit;
position: absolute;
border: 1px solid #e2e2e2;
border-top: none;
box-sizing: border-box;
z-index: 3;
max-height: 120px;
overflow: auto;
}
.com-sItem {
height: 30px;
line-height: 30px;
border-top: 1px solid #e2e2e2;
padding: 0 6px;
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 14px;
}
.com-sItem:first-child {
border-top: none;
}
\ No newline at end of file
var t = [ {
id: "1",
name: "张三"
}, {
id: "2",
name: "李四"
} ], i = void 0;
Component({
properties: {
list: {
type: [ Array, Object ],
value: t,
description: "数据源",
observer: function(t, i) {
this.setData({
list: t,
list2: t
});
}
},
_width: {
type: String,
value: "100rpx"
},
_height: {
type: String,
value: "100rpx"
},
actualvalue: {
type: String,
value: "id"
},
showvalue: {
type: String,
value: "name"
},
select_name: {
type: String,
value: "",
observer: function(t, i) {
this.setData({
picker_value: t
});
}
}
},
data: {
picker_value: "",
index: 0,
list2: []
},
created: function(t) {
i = this;
},
methods: {
bindkeyinput: function(t) {
var i = t.detail.value, e = this.data.showvalue, a = JSON.parse(JSON.stringify(this.data.list)).filter(function(t) {
return -1 != t[e].indexOf(i);
}).map(function(t) {
return JSON.parse(JSON.stringify(t));
});
this.setData({
list2: a
});
},
bindchange: function(t) {
var i = t.detail.value, e = this.data.showvalue, a = this.data.actualvalue, n = this.data.list2[i][a];
this.setData({
index: i,
list2: this.data.list,
picker_value: this.data.list2[i][e]
}), this.fun(n);
},
fun: function(t) {
this.triggerEvent("action", {
id: t
});
}
}
});
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="uni-picker-input" style="width:{{_width}};height:{{_height}};">
<input bindinput="bindkeyinput" class="picker-item-input" value="{{picker_value}}"></input>
<picker bindchange="bindchange" range="{{list2}}" rangeKey="{{showvalue}}" style="width:50%;height:100%;" value="{{list2[index][actualvalue]}}">
<view class="uni-picker-icon">
<image class="img" src="../../images/xialajiantou.png"></image>
</view>
</picker>
</view>
.uni-picker-input {
display: flex;
flex-direction: space-between;
border-radius: 5px;
border: 1px solid #999;
}
.picker-item-input {
margin-left: 10rpx;
width: 80%;
height: 100%;
line-height: 60rpx;
font-size: 34rpx;
}
.uni-picker-icon {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: flex-end;
}
.img {
width: 60rpx;
height: 60rpx;
margin-right: 10rpx;
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>异常</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="首页" transform="translate(-516.000000, -608.000000)">
<g id="编组-2备份" transform="translate(387.000000, 560.000000)">
<g id="异常" transform="translate(129.000000, 48.000000)">
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="0" y="0" width="72" height="72"></rect>
<path d="M55,23 L58,23 L58,23 L58,57 L26,57 L26,52 C26,35.9837423 38.9837423,23 55,23 Z" id="矩形" fill-opacity="0.117460664" fill="#2F74E6"></path>
<path d="M60.4872,59.57064 L12.23316,59.57064 L12.23316,28.4328 C12.23316,15.1078148 23.0351948,4.30578 36.36018,4.30578 C49.6851652,4.30578 60.4872,15.1078148 60.4872,28.4328 L60.4872,59.57064 Z M55.7824838,55.2659409 L55.7824838,28.7233011 C55.7824838,17.9966589 47.0868222,9.3009973 36.36018,9.3009973 C25.6335378,9.3009973 16.9378762,17.9966589 16.9378762,28.7233011 L16.9378762,55.2659409 L55.7824838,55.2659409 Z M64.77552,68.04 L7.94484,68.04 C7.02902457,68.0508962 6.17807485,67.5685584 5.71699279,66.7772051 C5.25591074,65.9858519 5.25591074,65.0077081 5.71699279,64.2163549 C6.17807485,63.4250016 7.02902457,62.9426638 7.94484,62.95356 L64.77552,62.95356 C65.6913354,62.9426638 66.5422852,63.4250016 67.0033672,64.2163549 C67.4644493,65.0077081 67.4644493,65.9858519 67.0033672,66.7772051 C66.5422852,67.5685584 65.6913354,68.0508962 64.77552,68.04 Z M35.06796,48.8214039 C34.1112348,48.8206375 33.2358471,48.2831252 32.8023433,47.4302488 C32.3688396,46.5773724 32.4505421,45.5533861 33.0138,44.78004 L39.21948,36.2718 L29.90016,36.2718 C28.5077926,36.2807728 27.2350979,35.4860045 26.63208,34.23096 C26.0273405,32.9948742 26.1902851,31.5208004 27.0504,30.44664 L34.85484,20.59488 C35.4188195,19.8821566 36.3201914,19.5244524 37.2194177,19.6565113 C38.118644,19.7885701 38.8791108,20.390329 39.2143577,21.2351113 C39.5496046,22.0798935 39.4086995,23.0393566 38.84472,23.75208 L32.95584,31.18572 L42.1254,31.18572 C43.4915932,31.1796044 44.7443159,31.944863 45.36252,33.1632 C45.9773879,34.3644837 45.8610262,35.8100176 45.06192,36.89748 L37.12608,47.77668 C36.6469145,48.4343995 35.8817121,48.822823 35.06796,48.8214039 L35.06796,48.8214039 Z" id="形状" fill="#2F74E6" fill-rule="nonzero"></path>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>车辆运抵</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="首页" transform="translate(-161.000000, -864.000000)">
<g id="编组备份-2" transform="translate(32.000000, 816.000000)">
<g id="车辆运抵" transform="translate(129.000000, 48.000000)">
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="0" y="0" width="72" height="72"></rect>
<path d="M7,30 L37,30 C51.9116882,30 64,42.0883118 64,57 L64,57 L64,57 L10,57 C8.34314575,57 7,55.6568542 7,54 L7,30 L7,30 Z" id="矩形" fill-opacity="0.117214816" fill="#2F74E6" transform="translate(35.500000, 43.500000) scale(-1, 1) translate(-35.500000, -43.500000) "></path>
<path d="M59.625,38.25 L59.625,12.375 L28.125,12.375 L28.125,54 L43.63875,54 C44.6068125,50.7470625 47.620125,48.375 51.1875,48.375 C54.754875,48.375 57.7681875,50.7470625 58.73625,54 L59.625,54 L59.625,39.25 M64.125,39.25 L64.125,54.5 C64.125,56.709139 62.334139,58.5 60.125,58.5 L58.73625,58.5 C57.7681875,61.7529375 54.754875,64.125 51.1875,64.125 C47.620125,64.125 44.6068125,61.7529375 43.63875,58.5 L22.73625,58.5 C21.7681875,61.7529375 18.754875,64.125 15.1875,64.125 C11.620125,64.125 8.6068125,61.7529375 7.63875,58.5 L6.25,58.5 C4.040861,58.5 2.25,56.709139 2.25,54.5 L2.25,39.0851955 C2.25,38.0272343 2.6691291,37.0123603 3.41565112,36.2627025 L14.2677621,25.3650071 C15.0183839,24.6112323 16.0383397,24.1875 17.102111,24.1875 L23.625,24.1875 L23.625,11.875 C23.625,9.665861 25.415861,7.875 27.625,7.875 L60.125,7.875 C62.334139,7.875 64.125,9.665861 64.125,11.875 L64.125,38.25 M15.1875,52.875 C13.3236562,52.875 11.8125,54.3861562 11.8125,56.25 C11.8125,58.1138438 13.3236562,59.625 15.1875,59.625 C17.0513438,59.625 18.5625,58.1138438 18.5625,56.25 C18.5625,54.3861562 17.0513438,52.875 15.1875,52.875 Z M51.1875,52.875 C49.3236562,52.875 47.8125,54.3861562 47.8125,56.25 C47.8125,58.1138438 49.3236562,59.625 51.1875,59.625 C53.0513438,59.625 54.5625,58.1138438 54.5625,56.25 C54.5625,54.3861562 53.0513438,52.875 51.1875,52.875 Z M23.625,28.6875 L17.30925,28.6875 L6.75,39.2911875 L6.75,54 L7.63875,54 C8.6068125,50.7470625 11.620125,48.375 15.1875,48.375 C18.754875,48.375 21.7681875,50.7470625 22.73625,54 L23.625,54 L23.625,28.6875 Z" id="形状" fill="#2E75E6" fill-rule="nonzero"></path>
<path d="M45.5,22.5 L45.4998599,34.326 L48.5017129,31.3242907 L51.3301401,34.1527178 L43.5,41.9828579 L35.6698599,34.1527178 L38.4982871,31.3242907 L41.4998599,34.326 L41.5,22.5 L45.5,22.5 Z" id="形状结合" fill="#2E75E6" fill-rule="nonzero"></path>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>签收确认</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="首页" transform="translate(-517.000000, -864.000000)">
<g id="编组-2备份-2" transform="translate(387.000000, 816.000000)">
<g id="签收确认" transform="translate(130.000000, 48.000000)">
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="0" y="0" width="72" height="72"></rect>
<path d="M10,31 L25,31 C39.9116882,31 52,43.0883118 52,58 L52,62 L52,62 L13,62 C11.3431458,62 10,60.6568542 10,59 L10,31 L10,31 Z" id="矩形" fill-opacity="0.117214816" fill="#2F74E6"></path>
<path d="M63.1234772,20.7299589 C64.1762814,22.7544045 65.0057182,26.1274157 64.9999703,28.4041184 L64.9999703,59.567748 C64.9967557,62.5697735 62.5639276,65.0026016 59.5619021,65.0057862 L12.4380382,65.0057862 C9.43536087,65.0041736 7.00161264,62.5704253 7,59.567748 L7,28.1865969 C7,25.9011933 7.83820561,22.5310371 8.90841153,20.5095824 L13.8592015,11.1648575 C15.0918009,8.83010378 18.1341793,7 20.782164,7 L51.2584256,7 C53.9034874,7 56.9429429,8.84172759 58.1669093,11.1909601 L63.1264002,20.7299589 L63.1234772,20.7299589 Z M13.1632006,22.2033273 C12.8963289,22.7021994 12.6556277,23.3634648 12.4381062,24.0595337 L59.8146146,24.0595337 C59.639616,23.4912741 59.4204756,22.9375595 59.1591951,22.4034471 L54.9562916,13.4010468 C54.3472313,12.2350634 52.5867344,11.1648575 51.2642035,11.1648575 L21.491454,11.1648575 C20.1602223,11.1648575 18.3881016,12.2350634 17.7674855,13.4009788 L13.1632006,22.2033273 Z M60.9689742,29.1433064 C60.9689742,28.9374087 60.9311119,28.6647591 60.9107872,28.4240579 L11.3969258,28.4240579 C11.3795241,28.5865193 11.3534215,28.7807932 11.3534215,28.92293 L11.3534215,58.986204 C11.3534215,59.9809571 12.1655245,60.7959831 13.1632006,60.7959831 L59.1591951,60.7959831 C60.1597941,60.7959831 60.9689742,59.9838801 60.9689742,58.986204 L60.9689742,29.1433064 Z M52.9796363,37.1438608 C53.6107629,37.2909703 54.1154659,37.7636071 54.3036287,38.3837335 C54.4917914,39.0038599 54.3348274,39.677264 53.8918636,40.1502809 L43.5668644,51.1801179 C43.3661979,51.3842922 43.1195446,51.5374308 42.8475479,51.6267167 C42.6151773,51.7329444 42.3634309,51.7902121 42.1079747,51.7949561 C41.6288867,51.7949561 41.169549,51.6040548 40.831871,51.2642035 L35.8608243,46.3047127 C35.2069714,45.5890842 35.2318378,44.4856905 35.9172657,43.8002444 C36.6026936,43.1147983 37.7060867,43.0899026 38.4217325,43.7437366 L42.1080426,47.4213458 L51.2439468,37.6705355 C51.6868427,37.1975186 52.3485097,36.9967513 52.9796363,37.1438608 Z M32.4065825,42.1282993 C32.4065825,43.1278127 31.5963168,43.9380784 30.5968034,43.9380784 L19.717804,43.9380784 C18.7182906,43.9380784 17.9080249,43.1278127 17.9080249,42.1282993 C17.9080249,41.1287859 18.7182906,40.3185202 19.717804,40.3185202 L30.5967354,40.3185202 C31.5963168,40.3185202 32.4065825,41.1287859 32.4065825,42.1282993 Z M26.9090657,49.8619374 C26.9090657,50.8622392 26.0981609,51.673144 25.0978591,51.673144 L19.6598209,51.673144 C18.6595191,51.673144 17.8486143,50.8622392 17.8486143,49.8619374 C17.8486143,48.8616356 18.6595191,48.0507308 19.6598209,48.0507308 L25.0950042,48.0507308 C26.0981609,48.0507308 26.9090657,48.8616356 26.9090657,49.8619374 Z" id="形状" fill="#2F74E6" fill-rule="nonzero"></path>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<style type="text/css">
.st0{fill:#04004E;}
.st1{fill:#140050;}
.st2{fill:none;stroke:#140050;stroke-width:5;stroke-miterlimit:10;}
.st3{fill:#FFFD38;}
.st4{fill:none;stroke:#04004E;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#04004E;}
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFD38;}
.st7{fill:#04004E;stroke:#04004E;stroke-width:0.75;stroke-miterlimit:10;}
.st8{fill:#FFFFFF;}
.st9{fill:none;stroke:#04004E;stroke-width:4;stroke-miterlimit:10;}
.st10{fill:none;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st11{fill:#FFFD38;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st12{fill:#FFFFFF;stroke:#04004E;stroke-width:3;stroke-miterlimit:10;}
.st13{fill:#04004E;stroke:#04004E;stroke-width:2;stroke-miterlimit:10;}
</style>
<g>
<path class="st3" d="M59.27,47.82h-7.09v-7.09c0-1.2-0.98-2.18-2.18-2.18s-2.18,0.98-2.18,2.18v7.09h-7.09
c-1.2,0-2.18,0.98-2.18,2.18s0.98,2.18,2.18,2.18h7.09v7.09c0,1.2,0.98,2.18,2.18,2.18s2.18-0.98,2.18-2.18v-7.09h7.09
c1.2,0,2.18-0.98,2.18-2.18S60.48,47.82,59.27,47.82z"/>
<path class="st3" d="M50,26c-13.23,0-24,10.77-24,24c0,13.23,10.77,24,24,24s24-10.77,24-24C74,36.77,63.23,26,50,26z M50,70.88
c-11.51,0-20.88-9.37-20.88-20.88c0-11.51,9.37-20.88,20.88-20.88S70.88,38.49,70.88,50C70.88,61.51,61.51,70.88,50,70.88z"/>
</g>
</svg>
{
"pages": [
"pages/welcome/index",
"pages/menu/menu",
"pages/my/my"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#1E90FF",
"navigationBarTitleText": "爱城置业",
"navigationBarTextStyle": "white"
},
"tabBar": {
"color": "#1E90FF",
"selectedColor": "#1E90FF",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/menu/menu",
"text": "首页",
"iconPath": "images/user-off.png",
"selectedIconPath": "images/user-on.png"
},
{
"pagePath": "pages/my/my",
"text": "我的",
"iconPath": "images/home-off.png",
"selectedIconPath": "images/home-on.png"
}
]
},
"networkTimeout": {
"request": 10000
},
"subPackages": [
]
}
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<style type="text/css">
.st0{fill:#04004E;}
.st1{fill:#140050;}
.st2{fill:none;stroke:#140050;stroke-width:5;stroke-miterlimit:10;}
.st3{fill:#FFFD38;}
.st4{fill:none;stroke:#04004E;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#04004E;}
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFD38;}
.st7{fill:#04004E;stroke:#04004E;stroke-width:0.75;stroke-miterlimit:10;}
.st8{fill:#FFFFFF;}
.st9{fill:none;stroke:#04004E;stroke-width:4;stroke-miterlimit:10;}
.st10{fill:none;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st11{fill:#FFFD38;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st12{fill:#FFFFFF;stroke:#04004E;stroke-width:3;stroke-miterlimit:10;}
.st13{fill:#04004E;stroke:#04004E;stroke-width:2;stroke-miterlimit:10;}
</style>
<g>
<path class="st0" d="M51.91,50.29l-2.96,2.89c-0.49,0.49-1.27,0.42-1.69-0.14l-7.32-9.79c-0.49-0.63-1.41-0.56-1.83,0.07
L26.14,62.26c-0.49,0.77,0.07,1.76,0.99,1.76h27.26c0.99-2.46,2.54-4.58,4.44-6.2L53.6,50.5C53.18,49.86,52.41,49.79,51.91,50.29z"
/>
<circle class="st0" cx="55.29" cy="41.34" r="4.16"/>
<path class="st0" d="M73.02,57.94V26.03c0-1.09-0.86-2.03-2.03-2.03H18.8c-1.09,0-2.03,0.86-2.03,2.03v47.35
c0,1.09,0.86,2.03,2.03,2.03h36.67c1.72,5.85,7.1,10.14,13.5,10.14c7.8,0,14.12-6.32,14.12-14.12
C83.09,65.11,78.8,59.65,73.02,57.94z M54.92,71.43H20.75V28.06h48.21v29.33C61.24,57.39,54.92,63.71,54.92,71.43z M74.55,72.91
h-4.03v4.02c0,0.86-0.7,1.56-1.56,1.56c-0.86,0-1.56-0.7-1.56-1.56v-4.02h-4.03c-0.86,0-1.56-0.7-1.56-1.56
c0-0.86,0.7-1.56,1.56-1.56h4.03v-4.03c0-0.86,0.7-1.56,1.56-1.56c0.86,0,1.56,0.7,1.56,1.56v4.03h4.03c0.86,0,1.56,0.7,1.56,1.56
C76.11,72.21,75.41,72.91,74.55,72.91z"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<style type="text/css">
.st0{fill:#04004E;}
.st1{fill:#140050;}
.st2{fill:none;stroke:#140050;stroke-width:5;stroke-miterlimit:10;}
.st3{fill:#FFFD38;}
.st4{fill:none;stroke:#04004E;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#04004E;}
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFD38;}
.st7{fill:#04004E;stroke:#04004E;stroke-width:0.75;stroke-miterlimit:10;}
.st8{fill:#FFFFFF;}
.st9{fill:none;stroke:#04004E;stroke-width:4;stroke-miterlimit:10;}
.st10{fill:none;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st11{fill:#FFFD38;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st12{fill:#FFFFFF;stroke:#04004E;stroke-width:3;stroke-miterlimit:10;}
.st13{fill:#04004E;stroke:#04004E;stroke-width:2;stroke-miterlimit:10;}
</style>
<path class="st0" d="M63.4,28.5H36.6c-4.47,0-8.1,3.64-8.1,8.1V63.4c0,4.47,3.64,8.1,8.1,8.1H63.4c4.47,0,8.1-3.64,8.1-8.1V36.6
C71.5,32.14,67.86,28.5,63.4,28.5z M68.5,63.4c0,2.81-2.29,5.1-5.1,5.1H36.6c-2.81,0-5.1-2.29-5.1-5.1V36.6c0-2.81,2.29-5.1,5.1-5.1
H63.4c2.81,0,5.1,2.29,5.1,5.1V63.4z"/>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<style type="text/css">
.st0{fill:#04004E;}
.st1{fill:#140050;}
.st2{fill:none;stroke:#140050;stroke-width:5;stroke-miterlimit:10;}
.st3{fill:#FFFD38;}
.st4{fill:none;stroke:#04004E;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#04004E;}
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFD38;}
.st7{fill:#04004E;stroke:#04004E;stroke-width:0.75;stroke-miterlimit:10;}
.st8{fill:#FFFFFF;}
.st9{fill:none;stroke:#04004E;stroke-width:4;stroke-miterlimit:10;}
.st10{fill:none;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st11{fill:#FFFD38;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st12{fill:#FFFFFF;stroke:#04004E;stroke-width:3;stroke-miterlimit:10;}
.st13{fill:#04004E;stroke:#04004E;stroke-width:2;stroke-miterlimit:10;}
</style>
<path class="st0" d="M63.4,28.5H36.6c-4.47,0-8.1,3.64-8.1,8.1V63.4c0,4.47,3.64,8.1,8.1,8.1H63.4c4.47,0,8.1-3.64,8.1-8.1V36.6
C71.5,32.14,67.86,28.5,63.4,28.5z"/>
<g>
<path class="st8" d="M46.4,59.3l-8.5-8.5c-0.66-0.66-0.66-1.73,0-2.39c0.66-0.66,1.73-0.66,2.39,0l6.11,6.11L59.71,41.2
c0.66-0.66,1.73-0.66,2.39,0c0.66,0.66,0.66,1.73,0,2.39L46.4,59.3z"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<style type="text/css">
.st0{fill:#04004E;}
.st1{fill:#140050;}
.st2{fill:none;stroke:#140050;stroke-width:5;stroke-miterlimit:10;}
.st3{fill:#FFFD38;}
.st4{fill:none;stroke:#04004E;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#04004E;}
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFD38;}
.st7{fill:#04004E;stroke:#04004E;stroke-width:0.75;stroke-miterlimit:10;}
.st8{fill:#FFFFFF;}
.st9{fill:none;stroke:#04004E;stroke-width:4;stroke-miterlimit:10;}
.st10{fill:none;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st11{fill:#FFFD38;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st12{fill:#FFFFFF;stroke:#04004E;stroke-width:3;stroke-miterlimit:10;}
.st13{fill:#04004E;stroke:#04004E;stroke-width:2;stroke-miterlimit:10;}
</style>
<g>
<path class="st0" d="M55.14,61.57V47.43c0-0.71,0.58-1.29,1.29-1.29c0.71,0,1.29,0.58,1.29,1.29v14.14c0,0.71-0.58,1.29-1.29,1.29
C55.72,62.86,55.14,62.28,55.14,61.57z M43.57,62.86c0.71,0,1.29-0.58,1.29-1.29V47.43c0-0.71-0.58-1.29-1.29-1.29
c-0.71,0-1.29,0.58-1.29,1.29v14.14C42.29,62.28,42.86,62.86,43.57,62.86z M64.14,39.71v2.57c0,0.71-0.58,1.29-1.29,1.29v20.57
c0,2.13-1.73,3.86-3.86,3.86H41c-2.13,0-3.86-1.73-3.86-3.86V43.57c-0.71,0-1.29-0.58-1.29-1.29v-2.57c0-2.13,1.73-3.86,3.86-3.86
h5.14c0-2.13,1.73-3.86,3.86-3.86h2.57c2.13,0,3.86,1.73,3.86,3.86h5.14C62.42,35.86,64.14,37.58,64.14,39.71z M47.43,35.86h5.14
c0-0.71-0.58-1.29-1.29-1.29h-2.57C48,34.57,47.43,35.15,47.43,35.86z M60.29,43.57H39.71v20.57c0,0.71,0.58,1.29,1.29,1.29h18
c0.71,0,1.29-0.58,1.29-1.29V43.57z M61.57,39.71c0-0.71-0.58-1.29-1.29-1.29H39.71c-0.71,0-1.29,0.58-1.29,1.29V41h23.14V39.71z
M50,62.86c0.71,0,1.29-0.58,1.29-1.29V47.43c0-0.71-0.58-1.29-1.29-1.29s-1.29,0.58-1.29,1.29v14.14
C48.71,62.28,49.29,62.86,50,62.86z"/>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>车辆发运</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="首页" transform="translate(-161.000000, -608.000000)">
<g id="编组备份" transform="translate(32.000000, 560.000000)">
<g id="车辆发运" transform="translate(129.000000, 48.000000)">
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="0" y="0" width="72" height="72"></rect>
<path d="M64.125,11.875 L64.125,15.75 L64.125,15.75 L59.625,15.75 L59.625,12.375 L28.125,12.375 L28.125,54 L43.63875,54 C44.6068125,50.7470625 47.620125,48.375 51.1875,48.375 C54.754875,48.375 57.7681875,50.7470625 58.73625,54 L59.625,54 L59.625,38.25 L64.125,38.25 L64.125,54.5 C64.125,56.709139 62.334139,58.5 60.125,58.5 L58.73625,58.5 L58.73625,58.5 C57.7681875,61.7529375 54.754875,64.125 51.1875,64.125 C47.620125,64.125 44.6068125,61.7529375 43.63875,58.5 L22.73625,58.5 C21.7681875,61.7529375 18.754875,64.125 15.1875,64.125 C11.620125,64.125 8.6068125,61.7529375 7.63875,58.5 L6.25,58.5 C4.040861,58.5 2.25,56.709139 2.25,54.5 L2.25,39.0851955 C2.25,38.0272343 2.6691291,37.0123603 3.41565112,36.2627025 L14.2677621,25.3650071 C15.0183839,24.6112323 16.0383397,24.1875 17.102111,24.1875 L23.625,24.1875 L23.625,24.1875 L23.625,11.875 C23.625,9.665861 25.415861,7.875 27.625,7.875 L60.125,7.875 C62.334139,7.875 64.125,9.665861 64.125,11.875 Z M15.1875,52.875 C13.3236562,52.875 11.8125,54.3861562 11.8125,56.25 C11.8125,58.1138438 13.3236562,59.625 15.1875,59.625 C17.0513438,59.625 18.5625,58.1138438 18.5625,56.25 C18.5625,54.3861562 17.0513438,52.875 15.1875,52.875 Z M51.1875,52.875 C49.3236562,52.875 47.8125,54.3861562 47.8125,56.25 C47.8125,58.1138438 49.3236562,59.625 51.1875,59.625 C53.0513438,59.625 54.5625,58.1138438 54.5625,56.25 C54.5625,54.3861562 53.0513438,52.875 51.1875,52.875 Z M23.625,28.6875 L17.30925,28.6875 L6.75,39.2911875 L6.75,54 L7.63875,54 C8.6068125,50.7470625 11.620125,48.375 15.1875,48.375 C18.754875,48.375 21.7681875,50.7470625 22.73625,54 L23.625,54 L23.625,28.6875 Z M68.625,31.5 L68.625,36 L47.25,36 L47.25,31.5 L68.625,31.5 Z M67.21875,24.75 L67.21875,29.25 L50.625,29.25 L50.625,24.75 L67.21875,24.75 Z M69.75,18 L69.75,22.5 L53.15625,22.5 L53.15625,18 L69.75,18 Z" id="形状" fill="#2E75E6" fill-rule="nonzero"></path>
<path d="M7,30 L37,30 C51.9116882,30 64,42.0883118 64,57 L64,57 L64,57 L10,57 C8.34314575,57 7,55.6568542 7,54 L7,30 L7,30 Z" id="矩形" fill-opacity="0.117214816" fill="#2F74E6" transform="translate(35.500000, 43.500000) scale(-1, 1) translate(-35.500000, -43.500000) "></path>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>车辆到达</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="首页" transform="translate(-516.000000, -352.000000)">
<g id="编组-2" transform="translate(387.000000, 304.000000)">
<g id="车辆到达" transform="translate(129.000000, 48.000000)">
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="0" y="0" width="72" height="72"></rect>
<path d="M39.875,7.875 C42.084139,7.875 43.875,9.665861 43.875,11.875 L43.875,11.875 L43.875,20.25 L52.647889,20.25 C53.7116603,20.25 54.7316161,20.6737323 55.4822379,21.4275071 L55.4822379,21.4275071 L66.3343489,32.3252025 C67.0808709,33.0748603 67.5,34.0897343 67.5,35.1476955 L67.5,35.1476955 L67.5,54.5 C67.5,56.709139 65.709139,58.5 63.5,58.5 L63.5,58.5 L62.11125,58.5 C61.1431875,61.7529375 58.129875,64.125 54.5625,64.125 C50.995125,64.125 47.9818125,61.7529375 47.01375,58.5 L47.01375,58.5 L31,58.5 L31,54 L39.375,54 L39.375,12.375 L9,12.375 L9,25 L4.5,25 L4.5,11.875 C4.5,9.73280461 6.18396847,7.98392112 8.30035966,7.87989531 L8.5,7.875 Z M54.5625,52.875 C52.6986562,52.875 51.1875,54.3861562 51.1875,56.25 C51.1875,58.1138438 52.6986562,59.625 54.5625,59.625 C56.4263438,59.625 57.9375,58.1138438 57.9375,56.25 C57.9375,54.3861562 56.4263438,52.875 54.5625,52.875 Z M52.44075,24.75 L43.875,24.75 L43.875,54 L47.01375,54 C47.9818125,50.7470625 50.995125,48.375 54.5625,48.375 C58.129875,48.375 61.1431875,50.7470625 62.11125,54 L62.11125,54 L63,54 L63,42.75 L47.25,42.75 L47.25,29.25 L56.9221875,29.25 L52.44075,24.75 Z M61.4030625,33.75 L51.75,33.75 L51.75,38.25 L63,38.25 L63,35.3536875 L61.4030625,33.75 Z" id="形状结合" fill="#2E75E6" fill-rule="nonzero"></path>
<path d="M10,35 L44,35 C56.7025492,35 67,45.2974508 67,58 L67,58 L67,58 L13,58 C11.3431458,58 10,56.6568542 10,55 L10,35 L10,35 Z" id="矩形" fill-opacity="0.117214816" fill="#2F74E6" transform="translate(38.500000, 46.500000) scale(-1, 1) translate(-38.500000, -46.500000) "></path>
<path d="M15,29 C18.0375661,29 20.7875661,30.2312169 22.7781746,32.2218254 C24.7687831,34.2124339 26,36.9624339 26,40 C26,44.2783587 22.2127031,51.5661499 14.9993732,61.9147446 C7.78680104,51.5651956 4,44.2780786 4,40 C4,36.9624339 5.23121694,34.2124339 7.22182541,32.2218254 C9.21243388,30.2312169 11.9624339,29 15,29 Z" id="椭圆形" stroke="#2E75E6" stroke-width="4"></path>
<circle id="椭圆形" fill="#2E75E6" cx="15" cy="41" r="4"></circle>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 65 65" style="enable-background:new 0 0 65 65;" xml:space="preserve">
<style type="text/css">
.st0{fill:#04004E;}
.st1{fill:#140050;}
.st2{fill:none;stroke:#140050;stroke-width:5;stroke-miterlimit:10;}
.st3{fill:#FFFD38;}
.st4{fill:none;stroke:#04004E;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#04004E;}
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFD38;}
.st7{fill:#04004E;stroke:#04004E;stroke-width:0.75;stroke-miterlimit:10;}
.st8{fill:#FFFFFF;}
.st9{fill:none;stroke:#04004E;stroke-width:4;stroke-miterlimit:10;}
.st10{fill:none;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st11{fill:#FFFD38;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st12{fill:#FFFFFF;stroke:#04004E;stroke-width:3;stroke-miterlimit:10;}
.st13{fill:#04004E;stroke:#04004E;stroke-width:2;stroke-miterlimit:10;}
</style>
<g>
<g>
<path class="st1" d="M32.02,9.77c4.45,0,8.06,3.62,8.06,8.06s-3.62,8.06-8.06,8.06s-8.06-3.62-8.06-8.06S27.57,9.77,32.02,9.77
M32.02,4.77c-7.18,0-13.06,5.88-13.06,13.06s5.88,13.06,13.06,13.06s13.06-5.88,13.06-13.06S39.2,4.77,32.02,4.77L32.02,4.77z"/>
</g>
<path class="st1" d="M55.43,59.54c-1.36,0-2.48-1.09-2.5-2.46c-0.09-5.8-2.32-11.13-6.29-15.01c-2.45-2.45-5.89-3.85-9.46-3.85
H26.87c-3.56,0-7,1.4-9.44,3.83c-4,4-6.21,9.33-6.21,14.99c0,1.38-1.12,2.5-2.5,2.5s-2.5-1.12-2.5-2.5c0-7,2.73-13.58,7.67-18.53
c3.37-3.36,8.09-5.29,12.97-5.29h10.31c4.88,0,9.61,1.93,12.97,5.29c4.9,4.79,7.66,11.36,7.77,18.49c0.02,1.38-1.08,2.52-2.46,2.54
C55.46,59.54,55.44,59.54,55.43,59.54z"/>
</g>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 65 65" style="enable-background:new 0 0 65 65;" xml:space="preserve">
<style type="text/css">
.st0{fill:#04004E;}
.st1{fill:#140050;}
.st2{fill:none;stroke:#140050;stroke-width:5;stroke-miterlimit:10;}
.st3{fill:#FFFD38;}
.st4{fill:none;stroke:#04004E;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#04004E;}
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFD38;}
.st7{fill:#04004E;stroke:#04004E;stroke-width:0.75;stroke-miterlimit:10;}
.st8{fill:#FFFFFF;}
.st9{fill:none;stroke:#04004E;stroke-width:4;stroke-miterlimit:10;}
.st10{fill:none;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st11{fill:#FFFD38;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st12{fill:#FFFFFF;stroke:#04004E;stroke-width:3;stroke-miterlimit:10;}
.st13{fill:#04004E;stroke:#04004E;stroke-width:2;stroke-miterlimit:10;}
</style>
<g>
<path class="st1" d="M32.44,4.79c-7.18,0-13.06,5.88-13.06,13.06s5.88,13.06,13.06,13.06S45.5,25.03,45.5,17.85
S39.62,4.79,32.44,4.79z"/>
<path class="st1" d="M51.86,37.97c-3.41-3.41-8.24-5.41-13.3-5.41H26.32c-5.06,0-9.88,2-13.3,5.41c-5.3,5.3-8.24,12.36-8.24,19.89
c0,1.29,1.06,2.35,2.35,2.35h50.72c1.29,0,2.35-1.06,2.35-2.35C60.09,50.21,57.15,43.15,51.86,37.97z"/>
</g>
</svg>
<svg width="110" height="110" viewBox="0 0 110 110" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="110" height="110" rx="12" fill="#0084FF"/>
<path d="M83.6609 65.0134C85.1794 63.1594 86.2302 60.9636 86.8173 58.6712C87.4145 56.4259 87.5378 54.0369 87.2747 51.6823C86.9748 49.3848 86.2683 47.0276 85.1017 44.8191C83.9454 42.6577 82.4535 40.7656 80.7876 39.2064C79.1217 37.6472 77.2347 36.4312 75.2206 35.5379C73.2065 34.6446 71.0755 34.121 68.9216 33.947C66.7677 33.7729 64.5541 34.0055 62.385 34.6713L44.4597 40.187C42.1836 40.8874 40.9149 43.309 41.6348 45.579V45.579C42.3607 47.8679 44.8252 49.1139 47.0988 48.3415L63.6799 42.7086C64.8249 42.3134 66.0676 42.1431 67.2202 42.2384C68.4197 42.3236 69.5659 42.6171 70.6587 43.119C71.7516 43.6209 72.7808 44.2842 73.6627 45.1763C74.5344 46.0213 75.3058 47.0849 75.9094 48.2832C76.466 49.4916 76.7875 50.7509 76.9006 51.9568C76.9768 53.2199 76.8447 54.4296 76.4571 55.5962C76.0695 56.7627 75.4634 57.8288 74.6286 58.7476C73.7937 59.6663 72.7301 60.4376 71.5115 60.9472L31.8275 77.3882C29.1486 78.4981 27.6563 81.4095 28.2692 84.2437V84.2437C29.0795 87.9913 33.1629 90.0938 36.6483 88.4961L77.8169 69.6236C80.1397 68.5308 82.1525 66.9144 83.6609 65.0134Z" fill="white"/>
<path d="M29.6719 32.6894C27.6553 34.0605 25.9183 35.8141 24.5611 37.7316C23.1202 39.7165 22.0795 41.9593 21.5597 44.3356C21.0032 46.769 20.9206 49.346 21.4327 51.9421C22.002 54.575 23.1622 56.9818 24.7786 58.9946C26.4051 61.0544 28.5348 62.7101 30.9022 63.8715C33.3166 65.0228 36.0257 65.7166 38.801 65.8055C41.5762 65.8945 44.4748 65.4154 47.2411 64.3251L66.5697 56.7099C69.0155 55.7463 70.1697 52.9424 69.111 50.5362V50.5362C68.132 48.3108 65.5987 47.2214 63.31 48.0415L46.5904 54.0323C45.2206 54.5253 43.8368 54.7261 42.486 54.6244C41.1454 54.5698 39.8378 54.2127 38.6408 53.6841C37.4336 53.1085 36.431 52.341 35.5758 51.3448C34.7308 50.3955 34.1374 49.2443 33.7587 47.9481C33.3902 46.699 33.3508 45.3787 33.5769 44.1487C33.8031 42.9186 34.2479 41.789 34.901 40.7127C35.5643 39.6834 36.3992 38.7646 37.4157 38.0035C38.4323 37.2423 39.5836 36.6489 40.8327 36.2804L71.2229 27.4077C73.3081 26.799 74.3011 24.4226 73.2691 22.5112V22.5112C72.5193 21.1226 70.9151 20.4292 69.3899 20.8347L36.2949 29.6333C33.8805 30.3029 31.6415 31.3284 29.6719 32.6894Z" fill="white"/>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<style type="text/css">
.st0{fill:#04004E;}
.st1{fill:#140050;}
.st2{fill:none;stroke:#140050;stroke-width:5;stroke-miterlimit:10;}
.st3{fill:#FFFD38;}
.st4{fill:none;stroke:#04004E;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#04004E;}
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFD38;}
.st7{fill:#04004E;stroke:#04004E;stroke-width:0.75;stroke-miterlimit:10;}
.st8{fill:#FFFFFF;}
.st9{fill:none;stroke:#04004E;stroke-width:4;stroke-miterlimit:10;}
.st10{fill:none;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st11{fill:#FFFD38;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st12{fill:#FFFFFF;stroke:#04004E;stroke-width:3;stroke-miterlimit:10;}
.st13{fill:#04004E;stroke:#04004E;stroke-width:2;stroke-miterlimit:10;}
</style>
<path class="st3" d="M50,25.76c-13.38,0-24.24,10.85-24.24,24.24S36.62,74.24,50,74.24S74.24,63.38,74.24,50S63.38,25.76,50,25.76z
M62.12,56.83c1.46,1.46,1.46,3.83,0,5.29c-1.46,1.46-3.83,1.46-5.29,0L50,55.29l-6.83,6.83c-1.46,1.46-3.83,1.46-5.29,0
c-1.46-1.46-1.46-3.83,0-5.29L44.71,50l-6.83-6.83c-1.46-1.46-1.46-3.83,0-5.29c1.46-1.46,3.83-1.46,5.29,0L50,44.71l6.83-6.83
c1.46-1.46,3.83-1.46,5.29,0c1.46,1.46,1.46,3.83,0,5.29L55.29,50L62.12,56.83z"/>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<style type="text/css">
.st0{fill:#04004E;}
.st1{fill:#140050;}
.st2{fill:none;stroke:#140050;stroke-width:5;stroke-miterlimit:10;}
.st3{fill:#FFFD38;}
.st4{fill:none;stroke:#04004E;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#04004E;}
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFD38;}
.st7{fill:#04004E;stroke:#04004E;stroke-width:0.75;stroke-miterlimit:10;}
.st8{fill:#FFFFFF;}
.st9{fill:none;stroke:#04004E;stroke-width:4;stroke-miterlimit:10;}
.st10{fill:none;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st11{fill:#FFFD38;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st12{fill:#FFFFFF;stroke:#04004E;stroke-width:3;stroke-miterlimit:10;}
.st13{fill:#04004E;stroke:#04004E;stroke-width:2;stroke-miterlimit:10;}
</style>
<g>
<path class="st0" d="M50,77.09c-14.94,0-27.09-12.15-27.09-27.09S35.06,22.91,50,22.91c14.94,0,27.09,12.15,27.09,27.09
S64.94,77.09,50,77.09z M50,26.36c-13.04,0-23.64,10.61-23.64,23.64S36.96,73.64,50,73.64S73.65,63.04,73.65,50
S63.04,26.36,50,26.36z"/>
<g>
<path class="st0" d="M37.16,51.72H20.72C19.77,51.72,19,50.95,19,50s0.77-1.72,1.72-1.72h16.43c0.95,0,1.72,0.77,1.72,1.72
S38.11,51.72,37.16,51.72z"/>
<path class="st0" d="M79.28,51.72H62.84c-0.95,0-1.72-0.77-1.72-1.72s0.77-1.72,1.72-1.72h16.43c0.95,0,1.72,0.77,1.72,1.72
S80.23,51.72,79.28,51.72z"/>
</g>
<path class="st0" d="M50,81c-0.95,0-1.72-0.77-1.72-1.72V62.84c0-0.95,0.77-1.72,1.72-1.72s1.72,0.77,1.72,1.72v16.43
C51.72,80.23,50.95,81,50,81z"/>
<path class="st0" d="M50,38.88c-0.95,0-1.72-0.77-1.72-1.72V20.72c0-0.95,0.77-1.72,1.72-1.72s1.72,0.77,1.72,1.72v16.43
C51.72,38.11,50.95,38.88,50,38.88z"/>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>任务查询</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="首页" transform="translate(-161.000000, -352.000000)">
<g id="编组" transform="translate(32.000000, 304.000000)">
<g id="任务查询" transform="translate(129.000000, 48.000000)">
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="0" y="0" width="72" height="72"></rect>
<path d="M10.1671875,9.7453125 L40.89375,9.7453125 L53.690625,22.1554688 L53.690625,30.4734375 L58.6125,30.4734375 L58.6125,22.0851563 C58.6125,20.8054688 58.0851563,19.5679688 57.1710938,18.675 L44.2757813,6.16640625 C43.3828125,5.3015625 42.2085938,4.83046875 40.9710938,4.83046875 L9.9984375,4.83046875 C7.3828125,4.83046875 5.25234375,6.9609375 5.25234375,9.5765625 L5.25234375,61.9453125 C5.25234375,64.5609375 7.3828125,66.6914062 9.9984375,66.6914062 L32.5335938,66.6914062 L32.5335938,61.7695312 L10.1742187,61.7695312 L10.1742187,9.7453125 L10.1671875,9.7453125 Z M65.896875,61.9382812 L60.1382812,56.1796875 C63.9070313,50.765625 63.3726562,43.2492187 58.5492188,38.4257812 C55.9265625,35.803125 52.4390625,34.3546875 48.7265625,34.3546875 C45.0140625,34.3546875 41.5265625,35.803125 38.9039062,38.4257812 C36.28125,41.0484375 34.8328125,44.5359375 34.8328125,48.2484375 C34.8328125,51.9609375 36.28125,55.4484375 38.9039062,58.0710937 C41.6109375,60.778125 45.16875,62.1351562 48.7265625,62.1351562 C51.5039062,62.1351562 54.28125,61.3125 56.6578125,59.6601562 L62.4164063,65.41875 C63.3796875,66.3820312 64.9335938,66.3820312 65.896875,65.41875 C66.8601563,64.4625 66.8601563,62.9015625 65.896875,61.9382812 Z M42.384375,54.5976562 C40.6898438,52.903125 39.7546875,50.653125 39.7546875,48.2554687 C39.7546875,45.8578125 40.6898438,43.6078125 42.384375,41.9132812 C44.0789063,40.21875 46.3289063,39.2835938 48.7265625,39.2835938 C51.1242188,39.2835938 53.3742188,40.21875 55.06875,41.9132812 C58.5632813,45.4078125 58.5632813,51.103125 55.06875,54.5976562 C51.5742188,58.0921875 45.8859375,58.0921875 42.384375,54.5976562 L42.384375,54.5976562 Z M18.7734375,18.6539062 C17.4164063,18.6539062 16.3125,19.7578125 16.3125,21.1148437 C16.3125,22.471875 17.4164063,23.5757812 18.7734375,23.5757812 L39.2203125,23.5757812 C40.5773438,23.5757812 41.68125,22.471875 41.68125,21.1148437 C41.68125,19.7578125 40.5773438,18.6539062 39.2203125,18.6539062 L18.7734375,18.6539062 Z M31.05,32.259375 L18.7734375,32.259375 C17.4164063,32.259375 16.3125,33.3632813 16.3125,34.7203125 C16.3125,36.0773438 17.4164063,37.18125 18.7734375,37.18125 L31.05,37.18125 C32.4070313,37.18125 33.5109375,36.0773437 33.5109375,34.7203125 C33.5109375,33.3632813 32.4070313,32.259375 31.05,32.259375 L31.05,32.259375 Z M18.7734375,50.79375 L22.78125,50.79375 C24.1382812,50.79375 25.2421875,49.6898437 25.2421875,48.3328125 C25.2421875,46.9757812 24.1382812,45.871875 22.78125,45.871875 L18.7734375,45.871875 C17.4164063,45.871875 16.3125,46.9757812 16.3125,48.3328125 C16.3125,49.6898437 17.409375,50.79375 18.7734375,50.79375 Z" id="形状" fill="#2E75E6" fill-rule="nonzero"></path>
<path d="M8,36 L32,36 C46.9116882,36 59,48.0883118 59,63 L59,67 L59,67 L11,67 C9.34314575,67 8,65.6568542 8,64 L8,36 L8,36 Z" id="矩形" fill-opacity="0.117214816" fill="#2F74E6"></path>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 65 65" style="enable-background:new 0 0 65 65;" xml:space="preserve">
<style type="text/css">
.st0{fill:#04004E;}
.st1{fill:#140050;}
.st2{fill:none;stroke:#140050;stroke-width:5;stroke-miterlimit:10;}
.st3{fill:#FFFD38;}
.st4{fill:none;stroke:#04004E;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#04004E;}
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFD38;}
.st7{fill:#04004E;stroke:#04004E;stroke-width:0.75;stroke-miterlimit:10;}
.st8{fill:#FFFFFF;}
.st9{fill:none;stroke:#04004E;stroke-width:4;stroke-miterlimit:10;}
.st10{fill:none;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st11{fill:#FFFD38;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st12{fill:#FFFFFF;stroke:#04004E;stroke-width:3;stroke-miterlimit:10;}
.st13{fill:#04004E;stroke:#04004E;stroke-width:2;stroke-miterlimit:10;}
</style>
<path class="st1" d="M59.71,19.43L36.06,3.66c-2.16-1.44-4.96-1.44-7.12,0L5.3,19.42c-1.75,1.16-2.8,3.13-2.8,5.23V62.5h24v-20h12
v20h24V24.65C62.5,22.55,61.45,20.59,59.71,19.43z M56.5,56.5h-12v-16c0-2.21-1.79-4-4-4h-16c-2.21,0-4,1.79-4,4v16h-12V24.65
c0-0.09,0.04-0.18,0.12-0.23L32.27,8.65c0.14-0.09,0.32-0.09,0.46,0l23.65,15.77c0.08,0.05,0.12,0.14,0.12,0.23V56.5z"/>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 65 65" style="enable-background:new 0 0 65 65;" xml:space="preserve">
<style type="text/css">
.st0{fill:#04004E;}
.st1{fill:#140050;}
.st2{fill:none;stroke:#140050;stroke-width:5;stroke-miterlimit:10;}
.st3{fill:#FFFD38;}
.st4{fill:none;stroke:#04004E;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#04004E;}
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFD38;}
.st7{fill:#04004E;stroke:#04004E;stroke-width:0.75;stroke-miterlimit:10;}
.st8{fill:#FFFFFF;}
.st9{fill:none;stroke:#04004E;stroke-width:4;stroke-miterlimit:10;}
.st10{fill:none;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st11{fill:#FFFD38;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st12{fill:#FFFFFF;stroke:#04004E;stroke-width:3;stroke-miterlimit:10;}
.st13{fill:#04004E;stroke:#04004E;stroke-width:2;stroke-miterlimit:10;}
</style>
<path class="st1" d="M59.71,19.43L36.06,3.66c-2.16-1.44-4.96-1.44-7.12,0L5.3,19.42c-1.75,1.16-2.8,3.13-2.8,5.23V62.5h24v-20h12
v20h24V24.65C62.5,22.55,61.45,20.59,59.71,19.43z M56.5,56.5h-12v-16c0-2.21-1.79-4-4-4h-16c-2.21,0-4,1.79-4,4v16h-12V24.65
c0-0.09,0.04-0.18,0.12-0.23L32.27,8.65c0.14-0.09,0.32-0.09,0.46,0l23.65,15.77c0.08,0.05,0.12,0.14,0.12,0.23V56.5z"/>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 65 65" style="enable-background:new 0 0 65 65;" xml:space="preserve">
<style type="text/css">
.st0{fill:#04004E;}
.st1{fill:#140050;}
.st2{fill:none;stroke:#140050;stroke-width:5;stroke-miterlimit:10;}
.st3{fill:#FFFD38;}
.st4{fill:none;stroke:#04004E;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#04004E;}
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFD38;}
.st7{fill:#04004E;stroke:#04004E;stroke-width:0.75;stroke-miterlimit:10;}
.st8{fill:#FFFFFF;}
.st9{fill:none;stroke:#04004E;stroke-width:4;stroke-miterlimit:10;}
.st10{fill:none;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st11{fill:#FFFD38;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st12{fill:#FFFFFF;stroke:#04004E;stroke-width:3;stroke-miterlimit:10;}
.st13{fill:#04004E;stroke:#04004E;stroke-width:2;stroke-miterlimit:10;}
</style>
<path class="st1" d="M59.71,19.43L36.06,3.66c-2.16-1.44-4.96-1.44-7.12,0L5.3,19.42c-1.75,1.16-2.8,3.13-2.8,5.23V62.5h24v-20h12
v20h24V24.65C62.5,22.55,61.45,20.59,59.71,19.43z"/>
</svg>
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<style type="text/css">
.st0{fill:#04004E;}
.st1{fill:#140050;}
.st2{fill:none;stroke:#140050;stroke-width:5;stroke-miterlimit:10;}
.st3{fill:#FFFD38;}
.st4{fill:none;stroke:#04004E;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#04004E;}
.st6{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFD38;}
.st7{fill:#04004E;stroke:#04004E;stroke-width:0.75;stroke-miterlimit:10;}
.st8{fill:#FFFFFF;}
.st9{fill:none;stroke:#04004E;stroke-width:4;stroke-miterlimit:10;}
.st10{fill:none;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st11{fill:#FFFD38;stroke:#04004E;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st12{fill:#FFFFFF;stroke:#04004E;stroke-width:3;stroke-miterlimit:10;}
.st13{fill:#04004E;stroke:#04004E;stroke-width:2;stroke-miterlimit:10;}
</style>
<path class="st0" d="M39.68,43.15l10.31,10.31l10.31-10.31c0.62-0.62,1.64-0.62,2.3,0c0.62,0.62,0.62,1.67,0,2.3L51.13,56.88
c-0.62,0.62-1.64,0.62-2.3,0L37.41,45.42c-0.62-0.62-0.62-1.67,0-2.3C38.03,42.5,39.05,42.5,39.68,43.15z"/>
</svg>
<?xml version="1.0" encoding="UTF-8"?>
<svg width="72px" height="72px" viewBox="0 0 72 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>位置上传</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="首页" transform="translate(-161.000000, -1120.000000)">
<g id="编组备份-3" transform="translate(32.000000, 1072.000000)">
<g id="位置上传" transform="translate(129.000000, 48.000000)">
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="0" y="0" width="72" height="72"></rect>
<path d="M35.859375,11.2078125 C41.5054687,11.2078125 46.2726562,16.0382813 46.2726562,21.7617188 C46.2726562,25.7554687 43.875,31.3734375 39.54375,37.5539063 C38.2429688,39.3890625 36.9773437,41.0484375 35.8804687,42.3984375 C34.7484375,41.034375 33.440625,39.3679688 32.175,37.5539063 C27.8367187,31.4507812 25.4460937,25.846875 25.4460937,21.7617188 C25.4460937,15.9398437 30.1148437,11.2078125 35.859375,11.2078125 M35.859375,6.64453125 C27.5203125,6.64453125 20.8828125,13.4789062 20.8828125,21.7617188 C20.8828125,28.1109375 24.9679688,35.2898438 28.4554688,40.190625 C31.1203125,44.015625 33.9539062,47.19375 35.2335938,48.6140625 C35.4023438,48.7828125 35.5429688,48.9234375 35.859375,48.9234375 C36.028125,48.9234375 36.3445313,48.7546875 36.4851562,48.6140625 C37.9054687,47.19375 40.5703125,43.9945313 43.2632812,40.190625 C46.7226562,35.2546875 50.8359375,28.1109375 50.8359375,21.7617188 C50.8289063,13.4789062 44.0507812,6.64453125 35.859375,6.64453125 Z" id="形状" fill="#2E75E6" fill-rule="nonzero"></path>
<path d="M35.859375,18.0914062 C37.7507812,18.0914062 39.290625,19.659375 39.290625,21.5859375 C39.290625,23.5125 37.7507812,25.0804687 35.859375,25.0804687 C33.9679687,25.0804687 32.428125,23.5125 32.428125,21.5859375 C32.428125,19.659375 33.9609375,18.0914062 35.859375,18.0914062 M35.859375,14.6742187 C32.0695312,14.6742187 29.0039062,17.7820313 29.0039062,21.5929688 C29.0039062,25.4039062 32.0695312,28.5117188 35.859375,28.5117188 C39.6492187,28.5117188 42.7148437,25.4039062 42.7148437,21.5929688 C42.7078125,17.7820313 39.6421875,14.6742187 35.859375,14.6742187 L35.859375,14.6742187 Z M64.5820312,59.9203125 L7.41796875,59.9203125 C6.58828125,59.9203125 5.821875,59.4703125 5.42109375,58.7390625 C5.0203125,58.0148437 5.0484375,57.121875 5.49140625,56.4257812 L16.5023437,38.98125 C16.9171875,38.3203125 17.6484375,37.9195312 18.421875,37.9195312 L28.4554688,37.8984375 L28.4625,37.8984375 C29.7210938,37.8984375 30.740625,38.9179688 30.740625,40.1695312 C30.740625,41.428125 29.728125,42.4476562 28.4695312,42.4546875 L19.6945312,42.46875 L11.5453125,55.3640625 L60.5953125,55.3640625 L52.9804688,42.4125 L43.25625,42.4335937 L43.2492188,42.4335937 C41.990625,42.4335937 40.9710938,41.4140625 40.9710938,40.1625 C40.9710938,38.9039062 41.9835938,37.884375 43.2421875,37.8773437 L54.2671875,37.85625 L54.2742187,37.85625 C55.0828125,37.85625 55.828125,38.2851562 56.2359375,38.98125 L66.5367188,56.4960937 C66.9515625,57.1992187 66.9585938,58.0710937 66.5507812,58.78125 C66.1429688,59.4914062 65.4046875,59.9203125 64.5820312,59.9203125 L64.5820312,59.9203125 Z" id="形状" fill="#2E75E6" fill-rule="nonzero"></path>
<polygon id="路径-3" fill-opacity="0.12" fill="#2E75E6" points="8.23020869 56.799619 63.8043528 56.799619 49.45334 32.4904932 23.5938158 32.4904932"></polygon>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
const app = getApp();
var util = require("../../utils/util.js");
var common = require("../../utils/common.js");
var self;
Page({
data: {
address: "",
latitude: "",
longitude: ""
},
onLoad: function(options) {
self = this;
console.log("onLoad");
self.getAccident();
},
getAccident: function(e) {
wx.showLoading({
title: "加载中"
});
util.httpPost("/entry/drivers/m-action/getAccident", {
aux: {
cateId: self.data.currentCateId
}
}, function(result) {
if (result.messageType == "success" && result.code == "200") {
wx.hideLoading();
self.setData({
header: result.data.header,
items: result.data.items
})
}else if ("301" == o.code){
wx.showToast({
title: "暂无数据",
icon: "success",
mask: true,
image: "../../images/error.png",
success: function() {
setTimeout(function() {
wx.navigateBack(1);
}, 1000);
}
})
};
});
},
formSubmit: function(e) {
var s = self.data.header.id;
console.log("e========");
console.log(e);
wx.showToast({
title: "加载中",
icon: "loading",
mask: true,
duration: 10000
});
console.log("id========");
console.log(s);
o.httpPost("/entry/drivers/m-action/", {
aux: {
id: s
}
}, function(result) {
if (result.messageType == "success") {
console.log("=========result.code========")
console.log(result.code);
if (result.code == "200") {
wx.showToast({
title: result.message,
icon: "success",
mask: true,
image: "../../images/success.png",
success: function() {
setTimeout(function() {
wx.navigateBack(1);
}, 1000);
}
})
}else if (result.code == "300" ) {
wx.showToast({
title: result.message,
icon: "none",
mask: true,
duration: 2000
})
}else if (result.code == "500") {
wx.showToast({
title: result.message,
icon: "none",
mask: true,
duration: 2000
})
}
}
})
}
})
{
"navigationBarTitleText": "异常上报",
"navigationBarBackgroundColor": "#12184C",
"usingComponents": {}
}
\ No newline at end of file
<form bindsubmit="formSubmit" class="form">
<view class="container">
<navigator class="middle-item" url="/pages/accident/accidentDetail?id={{header.id}}">
<view class="name-head">
<image class="nameImage" src="/images/shipSearchTruck1.png"></image>
<view class="name-no">
<text>运单号</text>
<text style="font-weight:bold;">{{header.shipment_no}}</text>
</view>
<view class="name-status">
<text>{{header.shipment_status_label}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>出发地:</text>
</view>
<view class="text-value">
<text>{{header.origin_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>目的地:</text>
</view>
<view class="text-value">
<text>{{header.dest_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>车牌号:</text>
</view>
<view class="text-value">
<text>{{header.vehicle_no}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>要求到厂时间:</text>
</view>
<view class="text-value">
<text>{{header.plan_arrival_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>最晚交货时间:</text>
</view>
<view class="text-value">
<text>{{header.latest_exw_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>创建时间:</text>
</view>
<view class="text-value">
<text>{{header.insert_date}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>备注:</text>
</view>
<view class="text-value">
<text>{{header.remark}}</text>
</view>
</view>
</navigator>
</view>
<navigator class="middle-item" url="/pages/accident/accidentRegister?id={{header.id}}">
<view class="text1" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-submit">
<text>异常信息填报>></text>
</view>
</view>
</navigator>
</form>
page {
background: #f5f5f5;
}
.form {
width: 100%;
height: 100%;
font-size: 30rpx;
backgroundColor: #f5f5f5;
}
.container {
display: flex;
flex-direction: column;
align-items: left;
background-color: #fff;
margin: 5px 5px 0;
padding: 0 0 5px 5px;
}
.main,.main-left {
display: flex;
flex-direction: row;
}
.main-left {
height: 80rpx;
}
.main-left .main-left-item {
height: 80rpx;
width: 50%;
line-height: 80rpx;
font-size: 30rpx;
text-align: center;
}
.main-left .on {
background-color: #fff;
border-bottom: 1px solid #090;
color: #090;
}
.main-right {
width: 550rpx;
margin-left: 200rpx;
margin-bottom: 100rpx;
}
.main-right-item {
position: relative;
box-sizing: border-box;
display: flex;
flex-direction: row;
padding: 10rpx;
border-top: 1rpx solid #f4f4f4;
border-bottom: 1rpx solid #f4f4f4;
}
.main-right-item-detail {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 10rpx;
}
.main-right-item-detail .name {
font-size: 30rpx;
}
.main-right-item-detail .right {
position: absolute;
right: 40rpx;
height: 65rpx;
}
.main-right-item-detail .right image {
width: 40rpx;
height: 40rpx;
}
.main-right-item-detail .right button {
width: 100%;
height: 65rpx;
font-size: 30rpx;
line-height: 65rpx;
background: #006e99;
color: #fff;
border-radius: 30rpx;
}
.nameImage {
width: 50px;
height: 50px;
}
.name-head {
position: relative;
border-bottom: 1px solid #dcdcdc;
}
.name-head,.name-no {
display: flex;
font-size: 30rpx;
}
.name-no {
flex-direction: column;
padding-left: 10px;
justify-content: center;
}
.name-status {
width: 100rpx;
height: 35rpx;
font-size: 20rpx;
text-align: center;
padding-top: 7.5rpx;
color: #2e75e6;
background-color: #f5f9ff;
border: .1px solid #33a3dc;
top: 8%;
right: 8px;
position: absolute;
}
.form .text {
position: relative;
font-family: PingFangSC-Regular,sans-serif;
padding: 5px 2px;
align-items: left;
width: 98%;
height: 35rpx;
line-height: 35rpx;
border-radius: 20rpx;
margin-top: 20rpx;
background: #fff;
left: 2px;
}
.form .text,.form .text-title {
display: flex;
flex-direction: row;
}
.form .text-title {
height: 50rpx;
}
.form .text-value {
font-size: 25rpx;
position: absolute;
right: 1px;
}
.submit-btn {
bottom: 50rpx;
width: 100%;
height: 80rpx;
line-height: 80rpx;
background: #2e75e6;
color: #fff;
margin: 2rem auto 0;
bottom: 1px;
}
.form .text-submit {
height: 50rpx;
color: #33a3dc;
}
.form .text1,.form .text-submit {
text-align: right;
font-size: 20px;
margin: 5px 0 0;
text-decoration: underline;
}
.form .text1 {
height: 35rpx;
line-height: 35rpx;
background: #fff;
}
\ No newline at end of file
getApp();
var e, o, t = require("../../utils/util.js");
Page({
data: {
address: "",
latitude: "",
longitude: ""
},
onLoad: function(t) {
e = this, console.log("onLoad"), t.id && (o = t.id, e.getAccidentDetail());
},
getAccidentDetail: function(s) {
wx.showLoading({
title: "加载中"
}), t.httpPost("/entry/drivers/m-action/getAccidentDetail", {
aux: {
ship_id: o
}
}, function(o) {
console.log("data====="), console.log(o.data), wx.hideLoading(), e.setData({
header: o.data.header,
items: o.data.items
});
});
},
formSubmit: function(o) {
var s = e.data.header.id;
console.log("e========"), console.log(o), wx.showToast({
title: "加载中",
icon: "loading",
mask: !0,
duration: 1e4
}), console.log("id========"), console.log(s), t.httpPost("/entry/drivers/m-action/", {
aux: {
id: s
}
}, function(e) {
console.log(e), "success" == e.messageType && (console.log("=========result.code========"),
console.log(e.code), "200" == e.code ? wx.showToast({
title: e.message,
icon: "success",
mask: !0,
image: "../../images/success.png",
success: function() {
setTimeout(function() {
wx.navigateBack({
delta: 2
});
}, 1e3);
}
}) : "300" == e.code && wx.showToast({
title: e.message,
icon: "none",
mask: !0,
duration: 2e3
}));
});
}
});
\ No newline at end of file
{
"navigationBarTitleText": "异常上报",
"navigationBarBackgroundColor": "#12184C",
"usingComponents": {}
}
\ No newline at end of file
<form bindsubmit="formSubmit" class="form">
<view class="container">
<view class="name-head">
<image class="nameImage" src="/images/shipSearchTruck1.png"></image>
<view class="name-no">
<text>运单号</text>
<text style="font-weight:bold;">{{header.shipment_no}}</text>
</view>
<view class="name-status">
<text>{{header.shipment_status_label}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>出发地:</text>
</view>
<view class="text-value">
<text>{{header.origin_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>目的地:</text>
</view>
<view class="text-value">
<text>{{header.dest_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>车牌号:</text>
</view>
<view class="text-value">
<text>{{header.vehicle_no}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>要求到厂时间:</text>
</view>
<view class="text-value">
<text>{{header.plan_arrival_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>最晚交货时间:</text>
</view>
<view class="text-value">
<text>{{header.latest_exw_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>创建时间:</text>
</view>
<view class="text-value">
<text>{{header.insert_date}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>到达时间:</text>
</view>
<view class="text-value">
<text>{{header.actual_extract_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>发运时间:</text>
</view>
<view class="text-value">
<text>{{header.shipment_date}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>备注:</text>
</view>
<view class="text-value">
<text>{{header.remark}}</text>
</view>
</view>
</view>
<view class="container">
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>承运商:</text>
</view>
<view class="text-value">
<text>{{header.carrier_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>司机:</text>
</view>
<view class="text-value">
<text>{{header.driver1_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>发货联系人:</text>
</view>
<view class="text-value">
<text>{{header.origin_contact}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>收货联系人:</text>
</view>
<view class="text-value">
<text>{{header.dest_contact}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>发货详细地址:</text>
</view>
<view class="text-value">
<text>{{header.origin_detail_address}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>收货详细地址:</text>
</view>
<view class="text-value">
<text>{{header.dest_collect_address}}</text>
</view>
</view>
</view>
<view class="container">
<scroll-view>
<view class="main-right-item" wx:for="{{items}}" wx:key="id">
<view class="main-right-item-detail">
<view class="name">
<text>货物名称:{{item.product_name}}</text>
</view>
<view class="name">
<text>计划重量:{{item.ship_weight}} 吨</text>
</view>
<view class="name">
<text>提货重量:{{item.load_weight}}吨</text>
</view>
</view>
</view>
</scroll-view>
</view>
<navigator class="middle-item" url="/pages/accident/accidentDetailRegister?id={{header.id}}">
<view class="text1" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-submit">
<text>异常信息填报>></text>
</view>
</view>
</navigator>
</form>
page {
background: #f5f5f5;
}
.form {
width: 100%;
font-size: 30rpx;
backgroundColor: #f5f5f5;
}
.container {
flex-direction: column;
background-color: #fff;
margin: 5px 5px 0;
padding: 0 0 5px 5px;
}
.container,.form .text {
display: flex;
align-items: left;
}
.form .text {
position: relative;
font-family: PingFangSC-Regular,sans-serif;
padding: 5px 2px;
width: 98%;
height: 35rpx;
line-height: 35rpx;
border-radius: 20rpx;
margin-top: 20rpx;
background: #fff;
left: 2px;
}
.form .text,.form .text-title {
flex-direction: row;
}
.form .text-title {
display: flex;
height: 50rpx;
}
.form .text-value {
font-size: 25rpx;
position: absolute;
right: 1px;
}
.redxing {
color: #c00;
}
.nameImage {
width: 50px;
height: 50px;
}
.name-head {
position: relative;
border-bottom: 1px solid #dcdcdc;
}
.name-head,.name-no {
display: flex;
font-size: 30rpx;
}
.name-no {
flex-direction: column;
padding-left: 10px;
justify-content: center;
}
.name-status {
width: 100rpx;
height: 35rpx;
font-size: 20rpx;
text-align: center;
padding-top: 7.5rpx;
color: #2e75e6;
background-color: #f5f9ff;
border: .1px solid #33a3dc;
top: 8%;
right: 8px;
position: absolute;
}
.main-right-item-detail {
background-color: #fff;
border: 1px solid #f0f0f0;
margin: 3px;
}
.name {
line-height: 28px;
}
.submit-btn {
bottom: 50rpx;
width: 100%;
height: 80rpx;
line-height: 80rpx;
background: #2e75e6;
color: #fff;
margin: 2rem auto 0;
bottom: 1px;
}
.form .text-submit {
height: 50rpx;
color: #33a3dc;
}
.form .text1,.form .text-submit {
text-align: right;
font-size: 20px;
margin: 5px 0 0;
text-decoration: underline;
}
.form .text1 {
height: 35rpx;
line-height: 35rpx;
background: #fff;
}
\ No newline at end of file
var a, e = getApp(), t = require("../../utils/util.js");
Page({
data: {
address: "",
latitude: "",
longitude: "",
remark: "",
abnormal_model: "",
abnormal_list: [],
abnormal_id: "",
judge_id: "",
upload_pic: [],
upload_img: [],
time: null,
is_upload: !1,
delete_ico: "/images/pictureDelete.svg",
camera_pic: "/images/camera.svg",
position: "/images/position.svg"
},
onLoad: function(e) {
a = this, console.log("onLoad");
var o = e.id;
t.httpPost("/entry/drivers/m-action/getAccidentRegister", {
aux: {
ship_id: o
}
}, function(e) {
console.log(e.data), "success" == e.messageType && (wx.hideLoading(), a.setData({
header: e.data.header,
items: e.data.items,
abnormal_list: e.data.abnormal_list
}));
});
},
formSubmit: function(e) {
console.log(e), a.setData({
remark: e.detail.value.remark
});
var t = a.data.header.id, o = a.data.abnormal_model, i = a.data.upload_pic;
if (void 0 == t) wx.showToast({
title: "无调度单",
image: "../../images/error.png",
duration: 2e3
}); else if ("" == o) wx.showToast({
title: "请选择异常类型",
image: "../../images/error.png",
duration: 2e3
}); else if (0 == i.length) wx.showToast({
title: "请添加图片",
image: "../../images/error.png",
duration: 2e3
}); else {
console.log("=========有图片=========");
var s = [], n = 0;
for (var l in i) this.upload_file_server(i[l]).then(function(e) {
s.push({
id: n,
url: e
}), n += 1, a.setData({
upload_img: s
});
});
a.setTime();
}
},
setTime: function() {
var e = setTimeout(function() {
var e = a.data.upload_img, o = a.data.upload_pic;
if (e.length == o.length) if (clearTimeout(a.data.time), 0 == e.length) wx.showToast({
title: "请选择图片",
image: "../../images/error.png",
duration: 2e3,
mask: !0
}); else {
wx.showToast({
title: "加载中",
icon: "loading",
mask: !0,
duration: 1e4
});
console.log("self.data===="), console.log(a.data);
var i = {
ship_id: a.data.header.id,
remark: a.data.remark,
abnormal_model: a.data.abnormal_model,
ship_status: a.data.header.shipment_status,
upload_img: a.data.upload_img
};
console.log(i), console.log("上传参数"), t.httpPost("/entry/drivers/m-action/getAccidentRegisterSubmit", {
aux: i
}, function(a) {
wx.showToast({
title: "上传成功",
image: "../../images/success.png",
duration: 2e3,
mask: !0,
success: function(a) {
setTimeout(function() {
wx.navigateBack({
delta: 3
});
}, 2e3);
}
});
});
} else a.setTime();
}, 400);
a.setData({
time: e
});
},
changeAbnormal: function(e) {
console.log(e.detail.id), a.setData({
abnormal_model: e.detail.id
});
},
chooseImage: function(e) {
wx.chooseImage({
count: 3,
sizeType: [ "original", "compressed" ],
sourceType: [ "album", "camera" ],
success: function(e) {
var t = e.tempFilePaths, o = a.data.upload_pic;
for (var i in t) o.length < 3 && o.push(t[i]);
var s = !1;
o.length >= 3 && (s = !0), a.setData({
upload_pic: o,
is_upload: s
});
}
});
},
upload_file_server: function(a) {
return new Promise(function(t, o) {
wx.uploadFile({
url: e.globalData.host + "/api/doc/upload",
filePath: a,
name: "file",
header: {
"content-type": "application/json",
Cookie: "XSRF-TOKEN=" + wx.getStorageSync("XSRFToken"),
"X-XSRF-TOKEN": wx.getStorageSync("XSRFToken"),
Authorization: wx.getStorageSync("token")
},
success: function(a) {
var e = JSON.parse(a.data);
console.log(e.data.path), console.log("path"), t(e.data.path);
},
fail: function(a) {}
});
});
},
deletePic: function(a) {
var e = a.currentTarget.dataset.pic_index, t = [];
for (var o in this.data.upload_pic) o != e && t.push(this.data.upload_pic[o]);
this.setData({
upload_pic: t,
is_upload: !1
});
}
});
\ No newline at end of file
{
"usingComponents": {
"Select": "/components/select/select",
"pickerinput": "/components/ytwl-picker-input/ytwl-picker-input"
},
"navigationBarTitleText": "事故上报",
"navigationBarBackgroundColor": "#12184C"
}
<form bindsubmit="formSubmit" class="form">
<view class="container">
<view class="section">
<view class="section-title">运单号:</view>
<view class="section-input">
<input disabled="true" name="shipment_no" value="{{header.shipment_no}}"></input>
</view>
</view>
<view class="section">
<view class="section-title">运单状态:</view>
<view class="section-input">
<input disabled="true" name="shipment_status_label" value="{{header.shipment_status_label}}"></input>
</view>
</view>
<view class="section">
<view class="section-title">
<text class="redxing">⋆</text>
<text>异常类型:</text>
</view>
<view class="section-pickerinput">
<pickerinput _height="70rpx" _width="424rpx" actualvalue="id" bind:action="changeAbnormal" list="{{abnormal_list}}" showvalue="abnormal_name"></pickerinput>
</view>
</view>
<view class="section">
<view class="section-title">备注:</view>
<view class="section-input">
<input name="remark" value="{{remark}}"></input>
</view>
</view>
<view class="picture_contain">
<view class="picture_head">
<view class="label">添加图片:</view>
<view class="title">最多3张</view>
</view>
<view class="picture_body">
<view class="picture_queue">
<view class="picture_upload" wx:for="{{upload_pic}}" wx:for-item="pic" wx:key="index">
<image src="{{pic}}"></image>
<view bindtap="deletePic" class="picture_delete" data-pic_index="{{index}}">
<image src="{{delete_ico}}"></image>
</view>
</view>
</view>
<view bindtap="chooseImage" class="choose_image">
<image mode="widthFix" src="{{camera_pic}}"></image>
</view>
</view>
</view>
<button class="submit-btn" formType="submit">确认上报</button>
</view>
</form>
page {
background: #e8e7e7;
}
.form {
width: 100%;
font-size: 30rpx;
}
.container {
flex-direction: column;
}
.container,.form .section {
display: flex;
align-items: center;
}
.form .section {
flex-direction: row;
width: 85%;
height: 100rpx;
line-height: 100rpx;
border-radius: 20rpx;
margin-top: 20rpx;
background: #fff;
}
.form .section-title {
margin-left: 30rpx;
font-size: 30rpx;
}
.redxing {
color: #c00;
}
.form .section-input {
display: flex;
flex-direction: row;
height: 80rpx;
}
.form .section-pickerinput {
margin-left: 0rpx;
}
.form .section-pickerinput view {
border: none;
}
.form .section input {
width: 100%;
height: 100%;
font-size: 30rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.submit-btn {
bottom: 50rpx;
width: 90%;
height: 80rpx;
line-height: 80rpx;
background: #2e75e6;
color: #fff;
margin: 2rem auto 0;
bottom: 1px;
}
.picture_contain {
background: #fff;
width: 85%;
height: 240rpx;
margin-top: 20rpx;
margin-bottom: 150rpx;
border-radius: 20rpx;
}
.picture_head {
height: 100rpx;
}
.picture_body,.picture_head {
display: flex;
flex-direction: row;
width: 100%;
}
.picture_body {
height: 140rpx;
}
.label {
margin-left: 30rpx;
width: 75%;
}
.label,.title {
line-height: 100rpx;
}
.picture_queue {
width: 75%;
}
.picture_queue,.picture_upload {
display: flex;
flex-direction: row;
align-items: center;
}
.picture_upload {
position: relative;
justify-content: center;
background: #bfbbbb;
margin-left: 30rpx;
}
.picture_upload,.picture_upload image {
height: 90rpx;
width: 120rpx;
}
.choose_image {
margin-left: 30rpx;
}
.choose_image,.choose_image image {
height: 140rpx;
width: 140rpx;
}
.picture_delete {
position: absolute;
display: flex;
bottom: -11rpx;
right: -11rpx;
}
.picture_delete,.picture_delete image {
width: 72rpx;
height: 72rpx;
}
.position_image {
height: 100%;
width: 80rpx;
}
.position_image image {
height: 80rpx;
width: 80rpx;
}
\ No newline at end of file
var a, e = getApp(), t = require("../../utils/util.js");
Page({
data: {
address: "",
latitude: "",
longitude: "",
remark: "",
abnormal_model: "",
abnormal_list: [],
abnormal_id: "",
judge_id: "",
upload_pic: [],
upload_img: [],
time: null,
is_upload: !1,
delete_ico: "/images/pictureDelete.svg",
camera_pic: "/images/camera.svg",
position: "/images/position.svg"
},
onLoad: function(e) {
a = this, console.log("onLoad");
var o = e.id;
t.httpPost("/entry/drivers/m-action/getAccidentRegister", {
aux: {
ship_id: o
}
}, function(e) {
console.log(e.data), "success" == e.messageType && (wx.hideLoading(), a.setData({
header: e.data.header,
items: e.data.items,
abnormal_list: e.data.abnormal_list
}));
});
},
formSubmit: function(e) {
console.log(e), a.setData({
remark: e.detail.value.remark
});
var t = a.data.header.id, o = a.data.abnormal_model, i = a.data.upload_pic;
if (void 0 == t) wx.showToast({
title: "无调度单",
image: "../../images/error.png",
duration: 2e3
}); else if ("" == o) wx.showToast({
title: "请选择异常类型",
image: "../../images/error.png",
duration: 2e3
}); else if (0 == i.length) wx.showToast({
title: "请添加图片",
image: "../../images/error.png",
duration: 2e3
}); else {
console.log("=========有图片=========");
var s = [], n = 0;
for (var l in i) this.upload_file_server(i[l]).then(function(e) {
s.push({
id: n,
url: e
}), n += 1, a.setData({
upload_img: s
});
});
a.setTime();
}
},
setTime: function() {
var e = setTimeout(function() {
var e = a.data.upload_img, o = a.data.upload_pic;
if (e.length == o.length) if (clearTimeout(a.data.time), 0 == e.length) wx.showToast({
title: "请选择图片",
image: "../../images/error.png",
duration: 2e3,
mask: !0
}); else {
wx.showToast({
title: "加载中",
icon: "loading",
mask: !0,
duration: 1e4
});
console.log("self.data===="), console.log(a.data);
var i = {
ship_id: a.data.header.id,
remark: a.data.remark,
abnormal_model: a.data.abnormal_model,
ship_status: a.data.header.shipment_status,
upload_img: a.data.upload_img
};
console.log(i), console.log("上传参数"), t.httpPost("/entry/drivers/m-action/getAccidentRegisterSubmit", {
aux: i
}, function(a) {
wx.showToast({
title: "上传成功",
image: "../../images/success.png",
duration: 2e3,
mask: !0,
success: function(a) {
setTimeout(function() {
wx.navigateBack({
delta: 2
});
}, 2e3);
}
});
});
} else a.setTime();
}, 400);
a.setData({
time: e
});
},
changeAbnormal: function(e) {
console.log(e.detail.id), a.setData({
abnormal_model: e.detail.id
});
},
chooseImage: function(e) {
wx.chooseImage({
count: 3,
sizeType: [ "original", "compressed" ],
sourceType: [ "album", "camera" ],
success: function(e) {
var t = e.tempFilePaths, o = a.data.upload_pic;
for (var i in t) o.length < 3 && o.push(t[i]);
var s = !1;
o.length >= 3 && (s = !0), a.setData({
upload_pic: o,
is_upload: s
});
}
});
},
upload_file_server: function(a) {
return new Promise(function(t, o) {
wx.uploadFile({
url: e.globalData.host + "/api/doc/upload",
filePath: a,
name: "file",
header: {
"content-type": "application/json",
Cookie: "XSRF-TOKEN=" + wx.getStorageSync("XSRFToken"),
"X-XSRF-TOKEN": wx.getStorageSync("XSRFToken"),
Authorization: wx.getStorageSync("token")
},
success: function(a) {
var e = JSON.parse(a.data);
console.log(e.data.path), console.log("path"), t(e.data.path);
},
fail: function(a) {}
});
});
},
deletePic: function(a) {
var e = a.currentTarget.dataset.pic_index, t = [];
for (var o in this.data.upload_pic) o != e && t.push(this.data.upload_pic[o]);
this.setData({
upload_pic: t,
is_upload: !1
});
}
});
\ No newline at end of file
{
"usingComponents": {
"Select": "/components/select/select",
"pickerinput": "/components/ytwl-picker-input/ytwl-picker-input"
},
"navigationBarTitleText": "事故上报",
"navigationBarBackgroundColor": "#12184C"
}
<form bindsubmit="formSubmit" class="form">
<view class="container">
<view class="section">
<view class="section-title">运单号:</view>
<view class="section-input">
<input disabled="true" name="shipment_no" value="{{header.shipment_no}}"></input>
</view>
</view>
<view class="section">
<view class="section-title">运单状态:</view>
<view class="section-input">
<input disabled="true" name="shipment_status_label" value="{{header.shipment_status_label}}"></input>
</view>
</view>
<view class="section">
<view class="section-title">
<text class="redxing">⋆</text>
<text>异常类型:</text>
</view>
<view class="section-pickerinput">
<pickerinput _height="70rpx" _width="424rpx" actualvalue="id" bind:action="changeAbnormal" list="{{abnormal_list}}" showvalue="abnormal_name"></pickerinput>
</view>
</view>
<view class="section">
<view class="section-title">备注:</view>
<view class="section-input">
<input name="remark" value="{{remark}}"></input>
</view>
</view>
<view class="picture_contain">
<view class="picture_head">
<view class="label">添加图片:</view>
<view class="title">最多3张</view>
</view>
<view class="picture_body">
<view class="picture_queue">
<view class="picture_upload" wx:for="{{upload_pic}}" wx:for-item="pic" wx:key="index">
<image src="{{pic}}"></image>
<view bindtap="deletePic" class="picture_delete" data-pic_index="{{index}}">
<image src="{{delete_ico}}"></image>
</view>
</view>
</view>
<view bindtap="chooseImage" class="choose_image">
<image mode="widthFix" src="{{camera_pic}}"></image>
</view>
</view>
</view>
<button class="submit-btn" formType="submit">确认上报</button>
</view>
</form>
page {
background: #e8e7e7;
}
.form {
width: 100%;
font-size: 30rpx;
}
.container {
flex-direction: column;
}
.container,.form .section {
display: flex;
align-items: center;
}
.form .section {
flex-direction: row;
width: 85%;
height: 100rpx;
line-height: 100rpx;
border-radius: 20rpx;
margin-top: 20rpx;
background: #fff;
}
.form .section-title {
margin-left: 30rpx;
font-size: 30rpx;
}
.redxing {
color: #c00;
}
.form .section-input {
display: flex;
flex-direction: row;
height: 80rpx;
}
.form .section-pickerinput {
margin-left: 0rpx;
}
.form .section-pickerinput view {
border: none;
}
.form .section input {
width: 100%;
height: 100%;
font-size: 30rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.submit-btn {
bottom: 50rpx;
width: 90%;
height: 80rpx;
line-height: 80rpx;
background: #2e75e6;
color: #fff;
margin: 2rem auto 0;
bottom: 1px;
}
.picture_contain {
background: #fff;
width: 85%;
height: 240rpx;
margin-top: 20rpx;
margin-bottom: 150rpx;
border-radius: 20rpx;
}
.picture_head {
height: 100rpx;
}
.picture_body,.picture_head {
display: flex;
flex-direction: row;
width: 100%;
}
.picture_body {
height: 140rpx;
}
.label {
margin-left: 30rpx;
width: 75%;
}
.label,.title {
line-height: 100rpx;
}
.picture_queue {
width: 75%;
}
.picture_queue,.picture_upload {
display: flex;
flex-direction: row;
align-items: center;
}
.picture_upload {
position: relative;
justify-content: center;
background: #bfbbbb;
margin-left: 30rpx;
}
.picture_upload,.picture_upload image {
height: 90rpx;
width: 120rpx;
}
.choose_image {
margin-left: 30rpx;
}
.choose_image,.choose_image image {
height: 140rpx;
width: 140rpx;
}
.picture_delete {
position: absolute;
display: flex;
bottom: -11rpx;
right: -11rpx;
}
.picture_delete,.picture_delete image {
width: 72rpx;
height: 72rpx;
}
.position_image {
height: 100%;
width: 80rpx;
}
.position_image image {
height: 80rpx;
width: 80rpx;
}
\ No newline at end of file
getApp();
var e, t = require("../../utils/util.js");
Page({
data: {
address: "",
latitude: "",
longitude: ""
},
onLoad: function(t) {
e = this, console.log("onLoad"), e.getActualArrival();
},
getActualArrival: function(o) {
wx.showLoading({
title: "加载中"
}), t.httpPost("/entry/drivers/m-action/getActualArrival", {
aux: {
cateId: e.data.currentCateId
}
}, function(t) {
"success" == t.messageType && ("200" == t.code ? (wx.hideLoading(), e.setData({
header: t.data.header,
items: t.data.items
})) : "301" == t.code && wx.showToast({
title: "暂无数据",
icon: "success",
mask: !0,
image: "../../images/error.png",
success: function() {
setTimeout(function() {
wx.navigateBack(1);
}, 1e3);
}
}));
});
},
formSubmit: function(o) {
var s = e.data.header.id;
console.log("e========"), console.log(o), wx.showToast({
title: "加载中",
icon: "loading",
mask: !0,
duration: 1e4
}), console.log("id========"), console.log(s), t.httpPost("/entry/drivers/m-action/actualArrivalSubmit", {
aux: {
id: s
}
}, function(e) {
"success" == e.messageType && (console.log("=========result.code========"), console.log(e.code),
"200" == e.code ? wx.showToast({
title: e.message,
icon: "success",
mask: !0,
image: "../../images/success.png",
success: function() {
setTimeout(function() {
wx.navigateBack(1);
}, 1e3);
}
}) : "300" == e.code ? wx.showToast({
title: e.message,
icon: "none",
mask: !0,
duration: 2e3
}) : "500" == e.code && wx.showToast({
title: e.message,
icon: "none",
mask: !0,
duration: 2e3
}));
});
}
});
\ No newline at end of file
{
"navigationBarTitleText": "车辆抵运",
"navigationBarBackgroundColor": "#12184C",
"usingComponents": {}
}
\ No newline at end of file
<form bindsubmit="formSubmit" class="form">
<view class="container">
<navigator class="middle-item" url="/pages/actualArrival/actualArrivalDetail?id={{header.id}}">
<view class="name-head">
<image class="nameImage" src="/images/shipSearchTruck1.png"></image>
<view class="name-no">
<text>运单号</text>
<text style="font-weight:bold;">{{header.shipment_no}}</text>
</view>
<view class="name-status">
<text>{{header.shipment_status_label}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>出发地:</text>
</view>
<view class="text-value">
<text>{{header.origin_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>目的地:</text>
</view>
<view class="text-value">
<text>{{header.dest_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>车牌号:</text>
</view>
<view class="text-value">
<text>{{header.vehicle_no}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>要求到厂时间:</text>
</view>
<view class="text-value">
<text>{{header.plan_arrival_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>最晚交货时间:</text>
</view>
<view class="text-value">
<text>{{header.latest_exw_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>发运时间:</text>
</view>
<view class="text-value">
<text>{{header.shipment_date}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>备注:</text>
</view>
<view class="text-value">
<text>{{header.remark}}</text>
</view>
</view>
</navigator>
</view>
<button class="submit-btn" formType="submit">确认抵运</button>
</form>
page {
background: #f5f5f5;
}
.form {
width: 100%;
height: 100%;
font-size: 30rpx;
backgroundColor: #f5f5f5;
}
.container {
display: flex;
flex-direction: column;
align-items: left;
background-color: #fff;
margin: 5px 5px 0;
padding: 0 0 5px 5px;
}
.main,.main-left {
display: flex;
flex-direction: row;
}
.main-left {
height: 80rpx;
}
.main-left .main-left-item {
height: 80rpx;
width: 50%;
line-height: 80rpx;
font-size: 30rpx;
text-align: center;
}
.main-left .on {
background-color: #fff;
border-bottom: 1px solid #090;
color: #090;
}
.main-right {
width: 550rpx;
margin-left: 200rpx;
margin-bottom: 100rpx;
}
.main-right-item {
position: relative;
box-sizing: border-box;
display: flex;
flex-direction: row;
padding: 10rpx;
border-top: 1rpx solid #f4f4f4;
border-bottom: 1rpx solid #f4f4f4;
}
.main-right-item-detail {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 10rpx;
}
.main-right-item-detail .name {
font-size: 30rpx;
}
.main-right-item-detail .right {
position: absolute;
right: 40rpx;
height: 65rpx;
}
.main-right-item-detail .right image {
width: 40rpx;
height: 40rpx;
}
.main-right-item-detail .right button {
width: 100%;
height: 65rpx;
font-size: 30rpx;
line-height: 65rpx;
background: #006e99;
color: #fff;
border-radius: 30rpx;
}
.nameImage {
width: 50px;
height: 50px;
}
.name-head {
position: relative;
border-bottom: 1px solid #dcdcdc;
}
.name-head,.name-no {
display: flex;
font-size: 30rpx;
}
.name-no {
flex-direction: column;
padding-left: 10px;
justify-content: center;
}
.name-status {
width: 100rpx;
height: 35rpx;
font-size: 20rpx;
text-align: center;
padding-top: 7.5rpx;
color: #2e75e6;
background-color: #f5f9ff;
border: .1px solid #33a3dc;
top: 8%;
right: 8px;
position: absolute;
}
.form .text {
position: relative;
font-family: PingFangSC-Regular,sans-serif;
padding: 5px 2px;
align-items: left;
width: 98%;
height: 35rpx;
line-height: 35rpx;
border-radius: 20rpx;
margin-top: 20rpx;
background: #fff;
left: 2px;
}
.form .text,.form .text-title {
display: flex;
flex-direction: row;
}
.form .text-title {
height: 50rpx;
}
.form .text-value {
font-size: 25rpx;
position: absolute;
right: 1px;
}
.submit-btn {
bottom: 50rpx;
width: 90%;
height: 80rpx;
line-height: 80rpx;
background: #2e75e6;
color: #fff;
margin: 2rem auto 0;
bottom: 1px;
}
\ No newline at end of file
getApp();
var e, o, t = require("../../utils/util.js");
Page({
data: {
address: "",
latitude: "",
longitude: ""
},
onLoad: function(t) {
e = this, console.log("onLoad"), t.id && (o = t.id, e.getActualArrivalDetail());
},
getActualArrivalDetail: function(a) {
wx.showLoading({
title: "加载中"
}), t.httpPost("/entry/drivers/m-action/getActualArrivalDetail", {
aux: {
ship_id: o
}
}, function(o) {
console.log("data====="), console.log(o.data), wx.hideLoading(), e.setData({
header: o.data.header,
items: o.data.items
});
});
},
formSubmit: function(o) {
var a = e.data.header.id;
console.log("e========"), console.log(o), wx.showToast({
title: "加载中",
icon: "loading",
mask: !0,
duration: 1e4
}), console.log("id========"), console.log(a), t.httpPost("/entry/drivers/m-action/actualArrivalSubmit", {
aux: {
id: a
}
}, function(e) {
console.log(e), "success" == e.messageType && (console.log("=========result.code========"),
console.log(e.code), "200" == e.code ? wx.showToast({
title: e.message,
icon: "success",
mask: !0,
image: "../../images/success.png",
success: function() {
setTimeout(function() {
wx.navigateBack({
delta: 2
});
}, 1e3);
}
}) : "300" == e.code && wx.showToast({
title: e.message,
icon: "none",
mask: !0,
duration: 2e3
}));
});
}
});
\ No newline at end of file
{
"navigationBarTitleText": "车辆抵运",
"navigationBarBackgroundColor": "#12184C",
"usingComponents": {}
}
\ No newline at end of file
<form bindsubmit="formSubmit" class="form">
<view class="container">
<view class="name-head">
<image class="nameImage" src="/images/shipSearchTruck1.png"></image>
<view class="name-no">
<text>运单号</text>
<text style="font-weight:bold;">{{header.shipment_no}}</text>
</view>
<view class="name-status">
<text>{{header.shipment_status_label}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>出发地:</text>
</view>
<view class="text-value">
<text>{{header.origin_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>目的地:</text>
</view>
<view class="text-value">
<text>{{header.dest_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>车牌号:</text>
</view>
<view class="text-value">
<text>{{header.vehicle_no}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>要求到厂时间:</text>
</view>
<view class="text-value">
<text>{{header.plan_arrival_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>最晚交货时间:</text>
</view>
<view class="text-value">
<text>{{header.latest_exw_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>创建时间:</text>
</view>
<view class="text-value">
<text>{{header.insert_date}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>到达时间:</text>
</view>
<view class="text-value">
<text>{{header.actual_extract_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>发运时间:</text>
</view>
<view class="text-value">
<text>{{header.shipment_date}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>备注:</text>
</view>
<view class="text-value">
<text>{{header.remark}}</text>
</view>
</view>
</view>
<view class="container">
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>承运商:</text>
</view>
<view class="text-value">
<text>{{header.carrier_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>司机:</text>
</view>
<view class="text-value">
<text>{{header.driver1_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>发货联系人:</text>
</view>
<view class="text-value">
<text>{{header.origin_contact}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>收货联系人:</text>
</view>
<view class="text-value">
<text>{{header.dest_contact}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>发货详细地址:</text>
</view>
<view class="text-value">
<text>{{header.origin_detail_address}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>收货详细地址:</text>
</view>
<view class="text-value">
<text>{{header.dest_collect_address}}</text>
</view>
</view>
</view>
<view class="container">
<scroll-view>
<view class="main-right-item" wx:for="{{items}}" wx:key="id">
<view class="main-right-item-detail">
<view class="name">
<text>货物名称:{{item.product_name}}</text>
</view>
<view class="name">
<text>计划重量:{{item.ship_weight}} 吨</text>
</view>
<view class="name">
<text>提货重量:{{item.load_weight}}吨</text>
</view>
</view>
</view>
</scroll-view>
</view>
<button class="submit-btn" formType="submit">确认抵运</button>
</form>
page {
background: #f5f5f5;
}
.form {
width: 100%;
font-size: 30rpx;
backgroundColor: #f5f5f5;
}
.container {
flex-direction: column;
background-color: #fff;
margin: 5px 5px 0;
padding: 0 0 5px 5px;
}
.container,.form .text {
display: flex;
align-items: left;
}
.form .text {
position: relative;
font-family: PingFangSC-Regular,sans-serif;
padding: 5px 2px;
width: 98%;
height: 35rpx;
line-height: 35rpx;
border-radius: 20rpx;
margin-top: 20rpx;
background: #fff;
left: 2px;
}
.form .text,.form .text-title {
flex-direction: row;
}
.form .text-title {
display: flex;
height: 50rpx;
}
.form .text-value {
font-size: 25rpx;
position: absolute;
right: 1px;
}
.redxing {
color: #c00;
}
.nameImage {
width: 50px;
height: 50px;
}
.name-head {
position: relative;
border-bottom: 1px solid #dcdcdc;
}
.name-head,.name-no {
display: flex;
font-size: 30rpx;
}
.name-no {
flex-direction: column;
padding-left: 10px;
justify-content: center;
}
.name-status {
width: 100rpx;
height: 35rpx;
font-size: 20rpx;
text-align: center;
padding-top: 7.5rpx;
color: #2e75e6;
background-color: #f5f9ff;
border: .1px solid #33a3dc;
top: 8%;
right: 8px;
position: absolute;
}
.main-right-item-detail {
background-color: #fff;
border: 1px solid #f0f0f0;
margin: 3px;
}
.name {
line-height: 28px;
}
.submit-btn {
bottom: 50rpx;
width: 90%;
height: 80rpx;
line-height: 80rpx;
background: #2e75e6;
color: #fff;
margin: 2rem auto 0;
bottom: 1px;
}
\ No newline at end of file
getApp();
var t, e = require("../../utils/util.js");
Page({
data: {
address: "",
latitude: "",
longitude: ""
},
onLoad: function(e) {
t = this, console.log("onLoad"), t.getActualSign();
},
getActualSign: function(a) {
wx.showLoading({
title: "加载中"
}), e.httpPost("/entry/drivers/m-action/getActualSign", {
aux: {
cateId: t.data.currentCateId
}
}, function(e) {
"success" == e.messageType && ("200" == e.code ? (wx.hideLoading(), t.setData({
header: e.data.header,
items: e.data.items
})) : "301" == e.code && wx.showToast({
title: "暂无数据",
icon: "success",
mask: !0,
image: "../../images/error.png",
success: function() {
setTimeout(function() {
wx.navigateBack(1);
}, 1e3);
}
}));
});
}
});
\ No newline at end of file
{
"navigationBarTitleText": "签收确认",
"navigationBarBackgroundColor": "#12184C",
"usingComponents": {}
}
\ No newline at end of file
<form bindsubmit="formSubmit" class="form">
<view class="container">
<navigator class="middle-item" url="/pages/actualSign/actualSignDetail?id={{header.id}}">
<view class="name-head">
<image class="nameImage" src="/images/shipSearchTruck1.png"></image>
<view class="name-no">
<text>运单号</text>
<text style="font-weight:bold;">{{header.shipment_no}}</text>
</view>
<view class="name-status">
<text>{{header.shipment_status_label}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>出发地:</text>
</view>
<view class="text-value">
<text>{{header.origin_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>目的地:</text>
</view>
<view class="text-value">
<text>{{header.dest_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>车牌号:</text>
</view>
<view class="text-value">
<text>{{header.vehicle_no}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>要求到厂时间:</text>
</view>
<view class="text-value">
<text>{{header.plan_arrival_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>最晚交货时间:</text>
</view>
<view class="text-value">
<text>{{header.latest_exw_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>抵运时间:</text>
</view>
<view class="text-value">
<text>{{header.actual_arrival_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>备注:</text>
</view>
<view class="text-value">
<text>{{header.remark}}</text>
</view>
</view>
</navigator>
</view>
<navigator class="middle-item" url="/pages/actualSign/actualSignRegister?id={{header.id}}">
<view class="text1" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-submit">
<text>登记签收信息>></text>
</view>
</view>
</navigator>
</form>
page {
background: #f5f5f5;
}
.form {
width: 100%;
height: 100%;
font-size: 30rpx;
backgroundColor: #f5f5f5;
}
.container {
display: flex;
flex-direction: column;
align-items: left;
background-color: #fff;
margin: 5px 5px 0;
padding: 0 0 5px 5px;
}
.main,.main-left {
display: flex;
flex-direction: row;
}
.main-left {
height: 80rpx;
}
.main-left .main-left-item {
height: 80rpx;
width: 50%;
line-height: 80rpx;
font-size: 30rpx;
text-align: center;
}
.main-left .on {
background-color: #fff;
border-bottom: 1px solid #090;
color: #090;
}
.main-right {
width: 550rpx;
margin-left: 200rpx;
margin-bottom: 100rpx;
}
.main-right-item {
position: relative;
box-sizing: border-box;
display: flex;
flex-direction: row;
padding: 10rpx;
border-top: 1rpx solid #f4f4f4;
border-bottom: 1rpx solid #f4f4f4;
}
.main-right-item-detail {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 10rpx;
}
.main-right-item-detail .name {
font-size: 30rpx;
}
.main-right-item-detail .right {
position: absolute;
right: 40rpx;
height: 65rpx;
}
.main-right-item-detail .right image {
width: 40rpx;
height: 40rpx;
}
.main-right-item-detail .right button {
width: 100%;
height: 65rpx;
font-size: 30rpx;
line-height: 65rpx;
background: #006e99;
color: #fff;
border-radius: 30rpx;
}
.nameImage {
width: 50px;
height: 50px;
}
.name-head {
position: relative;
border-bottom: 1px solid #dcdcdc;
}
.name-head,.name-no {
display: flex;
font-size: 30rpx;
}
.name-no {
flex-direction: column;
padding-left: 10px;
justify-content: center;
}
.name-status {
width: 100rpx;
height: 35rpx;
font-size: 20rpx;
text-align: center;
padding-top: 7.5rpx;
color: #2e75e6;
background-color: #f5f9ff;
border: .1px solid #33a3dc;
top: 8%;
right: 8px;
position: absolute;
}
.form .text {
position: relative;
font-family: PingFangSC-Regular,sans-serif;
padding: 5px 2px;
align-items: left;
width: 98%;
height: 35rpx;
line-height: 35rpx;
border-radius: 20rpx;
margin-top: 20rpx;
background: #fff;
left: 2px;
}
.form .text,.form .text-title {
display: flex;
flex-direction: row;
}
.form .text-title {
height: 50rpx;
}
.form .text-value {
font-size: 25rpx;
position: absolute;
right: 1px;
}
.submit-btn {
bottom: 50rpx;
width: 100%;
height: 80rpx;
line-height: 80rpx;
background: #2e75e6;
color: #fff;
margin: 2rem auto 0;
bottom: 1px;
}
.form .text-submit {
height: 50rpx;
color: #33a3dc;
}
.form .text1,.form .text-submit {
text-align: right;
font-size: 20px;
margin: 5px 0 0;
text-decoration: underline;
}
.form .text1 {
height: 35rpx;
line-height: 35rpx;
background: #fff;
}
\ No newline at end of file
getApp();
var t, a, e = require("../../utils/util.js");
Page({
data: {
address: "",
latitude: "",
longitude: ""
},
onLoad: function(e) {
t = this, console.log("onLoad"), e.id && (a = e.id, t.getActualSignDetail());
},
getActualSignDetail: function(i) {
wx.showLoading({
title: "加载中"
}), e.httpPost("/entry/drivers/m-action/getActualSignDetail", {
aux: {
ship_id: a
}
}, function(a) {
console.log("data====="), console.log(a.data), wx.hideLoading(), t.setData({
header: a.data.header,
items: a.data.items
});
});
}
});
\ No newline at end of file
{
"navigationBarTitleText": "签收确认",
"navigationBarBackgroundColor": "#12184C",
"usingComponents": {}
}
\ No newline at end of file
<form bindsubmit="formSubmit" class="form">
<view class="container">
<view class="name-head">
<image class="nameImage" src="/images/shipSearchTruck1.png"></image>
<view class="name-no">
<text>运单号</text>
<text style="font-weight:bold;">{{header.shipment_no}}</text>
</view>
<view class="name-status">
<text>{{header.shipment_status_label}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>出发地:</text>
</view>
<view class="text-value">
<text>{{header.origin_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>目的地:</text>
</view>
<view class="text-value">
<text>{{header.dest_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>车牌号:</text>
</view>
<view class="text-value">
<text>{{header.vehicle_no}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>要求到厂时间:</text>
</view>
<view class="text-value">
<text>{{header.plan_arrival_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>最晚交货时间:</text>
</view>
<view class="text-value">
<text>{{header.latest_exw_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>创建时间:</text>
</view>
<view class="text-value">
<text>{{header.insert_date}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>到达时间:</text>
</view>
<view class="text-value">
<text>{{header.actual_extract_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>发运时间:</text>
</view>
<view class="text-value">
<text>{{header.shipment_date}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>抵运时间:</text>
</view>
<view class="text-value">
<text>{{header.actual_arrival_time}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>备注:</text>
</view>
<view class="text-value">
<text>{{header.remark}}</text>
</view>
</view>
</view>
<view class="container">
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>承运商:</text>
</view>
<view class="text-value">
<text>{{header.carrier_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>司机:</text>
</view>
<view class="text-value">
<text>{{header.driver1_name}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>发货联系人:</text>
</view>
<view class="text-value">
<text>{{header.origin_contact}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>收货联系人:</text>
</view>
<view class="text-value">
<text>{{header.dest_contact}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>发货详细地址:</text>
</view>
<view class="text-value">
<text>{{header.origin_detail_address}}</text>
</view>
</view>
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>收货详细地址:</text>
</view>
<view class="text-value">
<text>{{header.dest_collect_address}}</text>
</view>
</view>
</view>
<view class="container">
<scroll-view>
<view class="main-right-item" wx:for="{{items}}" wx:key="id">
<view class="main-right-item-detail">
<view class="name">
<text>货物名称:{{item.product_name}}</text>
</view>
<view class="name">
<text>计划重量:{{item.ship_weight}} 吨</text>
</view>
<view class="name">
<text>提货重量:{{item.load_weight}}吨</text>
</view>
</view>
</view>
</scroll-view>
</view>
<navigator class="middle-item" url="/pages/actualSign/actualSignDetailRegister?id={{header.id}}">
<view class="text1" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-submit">
<text>登记签收信息>></text>
</view>
</view>
</navigator>
</form>
page {
background: #f5f5f5;
}
.form {
width: 100%;
font-size: 30rpx;
backgroundColor: #f5f5f5;
}
.container {
flex-direction: column;
background-color: #fff;
margin: 5px 5px 0;
padding: 0 0 5px 5px;
}
.container,.form .text {
display: flex;
align-items: left;
}
.form .text {
position: relative;
font-family: PingFangSC-Regular,sans-serif;
padding: 5px 2px;
width: 98%;
height: 35rpx;
line-height: 35rpx;
border-radius: 20rpx;
margin-top: 20rpx;
background: #fff;
left: 2px;
}
.form .text,.form .text-title {
flex-direction: row;
}
.form .text-title {
display: flex;
height: 50rpx;
}
.form .text-value {
font-size: 25rpx;
position: absolute;
right: 1px;
}
.redxing {
color: #c00;
}
.nameImage {
width: 50px;
height: 50px;
}
.name-head {
position: relative;
border-bottom: 1px solid #dcdcdc;
}
.name-head,.name-no {
display: flex;
font-size: 30rpx;
}
.name-no {
flex-direction: column;
padding-left: 10px;
justify-content: center;
}
.name-status {
width: 100rpx;
height: 35rpx;
font-size: 20rpx;
text-align: center;
padding-top: 7.5rpx;
color: #2e75e6;
background-color: #f5f9ff;
border: .1px solid #33a3dc;
top: 8%;
right: 8px;
position: absolute;
}
.main-right-item-detail {
background-color: #fff;
border: 1px solid #f0f0f0;
margin: 3px;
}
.name {
line-height: 28px;
}
.submit-btn {
bottom: 50rpx;
width: 100%;
height: 80rpx;
line-height: 80rpx;
background: #2e75e6;
color: #fff;
margin: 2rem auto 0;
bottom: 1px;
}
.form .text-submit {
height: 50rpx;
color: #33a3dc;
}
.form .text1,.form .text-submit {
text-align: right;
font-size: 20px;
margin: 5px 0 0;
text-decoration: underline;
}
.form .text1 {
height: 35rpx;
line-height: 35rpx;
background: #fff;
}
\ No newline at end of file
var e, t, a = getApp(), i = require("../../utils/util.js");
Page({
data: {
address: "",
latitude: "",
longitude: "",
upload_pic: [],
upload_img: [],
self_item: [],
is_upload: !1,
is_first_action: !0,
delete_ico: "/images/pictureDelete.svg",
camera_pic: "/images/camera.svg",
position: "/images/position.svg",
remark: ""
},
onLoad: function(a) {
e = this, console.log("onLoad"), e.setData({
is_first_action: !0
}), a.id && (t = a.id, e.getActualSignDetail());
},
getActualSignDetail: function(a) {
wx.showLoading({
title: "加载中"
}), i.httpPost("/entry/drivers/m-action/getActualSignDetail", {
aux: {
ship_id: t
}
}, function(t) {
console.log("data====="), console.log(t.data), wx.hideLoading(), e.setData({
header: t.data.header,
items: t.data.items,
self_item: t.data.items
});
});
},
formSubmit: function(t) {
var a = e.data.is_first_action;
if (1 == a || "true" == a) {
e.setData({
is_first_action: !1
});
var i = e.data.header.id, o = e.data.upload_pic, s = e.data.self_item, n = (e.data.remark,
"false");
for (var l in s) if (console.log("sign_weight=====", s[l].sign_weight), console.log("load_weight=====", s[l].load_weight),
console.log("ship_weight=====", s[l].ship_weight), s[l].sign_weight) {
var r = /^-?[0-9]+(.[0-9]+)?$/, d = s[l].sign_weight.toString().match(r);
console.log("r=====", d), null == d ? (n = "true", wx.showToast({
title: "请填写正确的签收重量",
image: "../../images/error.png",
duration: 2e3
}), this.onLoad()) : s[l].sign_weight < 0 && (n = "true", wx.showToast({
title: "签收重量不能填负数",
image: "../../images/error.png",
duration: 2e3
}), this.onLoad());
} else n = "true", console.log("=====!self_item[j].sign_weight====="), wx.showToast({
title: "请填写签收重量",
image: "../../images/error.png",
duration: 2e3
}), this.onLoad();
if ("false" == n) if (void 0 == i) wx.showToast({
title: "无司机运单",
image: "../../images/error.png",
duration: 2e3
}), this.onLoad(); else if (0 == o.length) wx.showToast({
title: "请添加图片",
image: "../../images/error.png",
duration: 2e3
}), this.onLoad(); else {
console.log("=========有图片=========");
var g = [], u = 0;
for (var c in o) this.upload_file_server(o[c]).then(function(t) {
g.push({
id: u,
url: t
}), u += 1, e.setData({
upload_img: g
});
});
e.setTime();
}
}
},
setTime: function() {
var t = setTimeout(function() {
var t = e.data.upload_img, a = e.data.upload_pic;
if (t.length == a.length) if (clearTimeout(e.data.time), 0 == t.length) wx.showToast({
title: "请选择图片",
image: "../../images/error.png",
duration: 2e3,
mask: !0
}), this.onLoad(); else {
wx.showToast({
title: "加载中",
icon: "loading",
mask: !0,
duration: 1e4
});
console.log("self.data===="), console.log(e.data);
var o = {
ship_id: e.data.header.id,
load_weight: e.data.header.load_weight,
remark: e.data.remark,
upload_img: e.data.upload_img,
self_item: e.data.self_item
};
console.log(o), console.log("上传参数"), i.httpPost("/entry/drivers/m-action/getActualSignSubmit", {
aux: o
}, function(e) {
wx.showToast({
title: "上传成功",
image: "../../images/success.png",
duration: 2e3,
mask: !0,
success: function(e) {
setTimeout(function() {
wx.navigateBack({
delta: 3
});
}, 2e3);
}
});
});
} else e.setTime();
}, 400);
e.setData({
time: t
});
},
chooseImage: function(t) {
wx.chooseImage({
count: 3,
sizeType: [ "original", "compressed" ],
sourceType: [ "album", "camera" ],
success: function(t) {
var a = t.tempFilePaths, i = e.data.upload_pic;
for (var o in a) i.length < 3 && i.push(a[o]);
var s = !1;
i.length >= 3 && (s = !0), e.setData({
upload_pic: i,
is_upload: s
});
}
});
},
upload_file_server: function(e) {
return new Promise(function(t, i) {
wx.uploadFile({
url: a.globalData.host + "/api/doc/upload",
filePath: e,
name: "file",
header: {
"content-type": "application/json",
Cookie: "XSRF-TOKEN=" + wx.getStorageSync("XSRFToken"),
"X-XSRF-TOKEN": wx.getStorageSync("XSRFToken"),
Authorization: wx.getStorageSync("token")
},
success: function(e) {
var a = JSON.parse(e.data);
console.log(a.data.path), console.log("path"), t(a.data.path);
},
fail: function(e) {}
});
});
},
deletePic: function(e) {
var t = e.currentTarget.dataset.pic_index, a = [];
for (var i in this.data.upload_pic) i != t && a.push(this.data.upload_pic[i]);
this.setData({
upload_pic: a,
is_upload: !1
});
},
setSignWeight: function(e) {
var t = e.currentTarget.id, a = e.detail.value;
for (var i in this.data.self_item) this.data.self_item[i].id == t && (this.data.self_item[i].sign_weight = a);
},
setRemark: function(e) {
var t = e.detail.value;
this.data.remark = t;
}
});
\ No newline at end of file
{
"navigationBarTitleText": "签收确认",
"navigationBarBackgroundColor": "#12184C",
"usingComponents": {}
}
\ No newline at end of file
<form bindsubmit="formSubmit" class="form">
<view class="container">
<view class="text" scrollTop="{{scrollTop}}" scrollY="true">
<view class="text-title">
<text>运单号:</text>
</view>
<view class="text-value">
<text>{{header.shipment_no}}</text>
</view>
</view>
</view>
<view class="container">
<scroll-view>
<view class="main-right-item" wx:for="{{items}}" wx:key="id">
<view class="middle-item">
<view class="main-right-item-detail">
<view class="name">
<text>货物名称:{{item.product_name}}</text>
</view>
<view class="name">
<text>计划重量:{{item.ship_weight}}吨</text>
</view>
<view class="name">
<text>发货重量:{{item.load_weight}}吨</text>
</view>
<view class="name1">
<text style="color:red;">签收重量:</text>
<input bindblur="setSignWeight" id="{{item.id}}" name="sign_weight" placeholder="请输入签收重量" placeholderStyle="color:#918597" type="digit" value="{{item.sign_weight}}"></input>
<text style="color:red;">吨</text>
</view>
</view>
</view>
</view>
</scroll-view>
<view class="picture_contain">
<view class="picture_head">
<view class="label">添加图片:</view>
<view class="title">最多3张</view>
</view>
<view class="picture_body">
<view class="picture_queue">
<view class="picture_upload" wx:for="{{upload_pic}}" wx:for-item="pic" wx:key="index">
<image src="{{pic}}"></image>
<view bindtap="deletePic" class="picture_delete" data-pic_index="{{index}}">
<image src="{{delete_ico}}"></image>
</view>
</view>
</view>
<view bindtap="chooseImage" class="choose_image">
<image mode="widthFix" src="{{camera_pic}}"></image>
</view>
</view>
</view>
<view class="name2">
<text>备注:</text>
<textarea autoHeight="true" bindblur="setRemark" name="remark" placeholder="请输入签收备注" placeholderStyle="color:#918597" type="text" value="{{remark}}"></textarea>
</view>
</view>
<button class="submit-btn" formType="submit">登记签收信息</button>
</form>
page {
background: #fff;
}
.form {
width: 100%;
height: 100%;
font-size: 30rpx;
backgroundColor: #fff;
}
.container,.container2 {
display: flex;
flex-direction: column;
align-items: left;
background-color: #fff;
border: 1px solid #33a3dc;
margin: 5px 5px 0;
padding: 0 0 5px 5px;
}
.container2 {
border-radius: 5px;
}
.form .text {
display: flex;
flex-direction: row;
align-items: left;
width: 85%;
height: 35rpx;
line-height: 35rpx;
border-radius: 20rpx;
margin-top: 20rpx;
background: #fff;
}
.form .text-title {
font-weight: 700;
}
.form .text-title,.form .text-value {
height: 50rpx;
}
.form .section,.form .text-title,.form .text-value {
display: flex;
flex-direction: row;
}
.form .section {
align-items: center;
width: 85%;
height: 100rpx;
line-height: 100rpx;
border-radius: 20rpx;
margin-top: 20rpx;
background: #fff;
}
.form .section-title {
margin-left: 30rpx;
font-size: 30rpx;
}
.redxing {
color: #c00;
}
.form .section-input {
display: flex;
flex-direction: row;
height: 70rpx;
}
.form .section input {
width: 100%;
height: 100%;
font-size: 30rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.submit-btn {
bottom: 50rpx;
width: 90%;
height: 80rpx;
line-height: 80rpx;
background: #2e75e6;
color: #fff;
margin: 2rem auto 0;
bottom: 1px;
}
.main,.main-left {
display: flex;
flex-direction: row;
}
.main-left {
height: 80rpx;
}
.main-left .main-left-item {
height: 80rpx;
width: 50%;
line-height: 80rpx;
font-size: 30rpx;
text-align: center;
}
.main-left .on {
background-color: #fff;
border-bottom: 1px solid #090;
color: #090;
}
.main-right {
width: 550rpx;
margin-left: 200rpx;
margin-bottom: 100rpx;
}
.main-right-item {
position: relative;
box-sizing: border-box;
display: flex;
flex-direction: row;
padding: 10rpx;
border-top: 1rpx solid #f4f4f4;
border-bottom: 1rpx solid #f4f4f4;
}
.main-right-item-detail {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 10rpx;
}
.main-right-item-detail .name {
display: flex;
font-size: 30rpx;
position: relative;
font-family: PingFangSC-Regular,sans-serif;
padding: 5px 2px;
left: 2px;
}
.main-right-item-detail .right {
position: absolute;
right: 40rpx;
height: 65rpx;
}
.main-right-item-detail .right image {
width: 40rpx;
height: 40rpx;
}
.main-right-item-detail .right button {
width: 100%;
height: 65rpx;
font-size: 30rpx;
line-height: 65rpx;
background: #006e99;
color: #fff;
border-radius: 30rpx;
}
.middle-item {
width: 100%;
border-bottom: 1px solid #33a3dc;
}
.search-header {
display: flex;
flex-direction: row;
align-items: center;
line-height: 70rpx;
width: 100%;
height: 110rpx;
}
.search-input {
width: 70%;
margin-left: 30rpx;
padding-left: 10rpx;
}
.search-btn,.search-input {
border-radius: 5px;
border: 1px solid #999;
height: 70rpx;
font-size: 30rpx;
}
.search-btn {
width: 15%;
margin-left: 20rpx;
text-align: center;
}
.no-reserve {
display: flex;
flex-direction: row;
position: fixed;
bottom: 20rpx;
color: #f7d202;
}
.no-reserve-num {
margin-left: 30rpx;
}
.main-right-item-detail .name1 {
display: flex;
flex-direction: row;
font-size: 30rpx;
align: right;
position: relative;
font-family: PingFangSC-Regular,sans-serif;
padding: 5px 2px;
left: 2px;
}
.picture_contain {
background: #fff;
width: 85%;
height: 240rpx;
border-radius: 20rpx;
}
.picture_head {
height: 100rpx;
}
.picture_body,.picture_head {
display: flex;
flex-direction: row;
width: 100%;
}
.picture_body {
height: 140rpx;
}
.label {
margin-left: 30rpx;
width: 75%;
}
.label,.title {
line-height: 100rpx;
}
.picture_queue {
width: 75%;
}
.picture_queue,.picture_upload {
display: flex;
flex-direction: row;
align-items: center;
}
.picture_upload {
position: relative;
justify-content: center;
background: #bfbbbb;
margin-left: 30rpx;
}
.picture_upload,.picture_upload image {
height: 90rpx;
width: 120rpx;
}
.choose_image {
margin-left: 30rpx;
}
.choose_image,.choose_image image {
height: 140rpx;
width: 140rpx;
}
.picture_delete {
position: absolute;
display: flex;
bottom: -11rpx;
right: -11rpx;
}
.picture_delete,.picture_delete image {
width: 72rpx;
height: 72rpx;
}
.position_image {
height: 100%;
width: 80rpx;
}
.position_image image {
height: 80rpx;
width: 80rpx;
}
.container .name2 {
display: flex;
flex-direction: row;
font-size: 30rpx;
align: right;
border-top: 1px solid #33a3dc;
}
\ No newline at end of file
var e, t, a = getApp(), i = require("../../utils/util.js");
Page({
data: {
address: "",
latitude: "",
longitude: "",
upload_pic: [],
upload_img: [],
self_item: [],
is_upload: !1,
is_first_action: !0,
delete_ico: "/images/pictureDelete.svg",
camera_pic: "/images/camera.svg",
position: "/images/position.svg",
remark: ""
},
onLoad: function(a) {
e = this, console.log("onLoad"), e.setData({
is_first_action: !0
}), a.id && (t = a.id, e.getActualSignDetail());
},
getActualSignDetail: function(a) {
wx.showLoading({
title: "加载中"
}), i.httpPost("/entry/drivers/m-action/getActualSignDetail", {
aux: {
ship_id: t
}
}, function(t) {
console.log("data====="), console.log(t.data), wx.hideLoading(), e.setData({
header: t.data.header,
items: t.data.items,
self_item: t.data.items
});
});
},
formSubmit: function(t) {
var a = e.data.is_first_action;
if (1 == a || "true" == a) {
e.setData({
is_first_action: !1
});
var i = e.data.header.id, o = e.data.upload_pic, s = e.data.self_item, n = (e.data.remark,
"false");
for (var l in s) if (console.log("sign_weight=====", s[l].sign_weight), console.log("load_weight=====", s[l].load_weight),
console.log("ship_weight=====", s[l].ship_weight), s[l].sign_weight) {
var r = /^-?[0-9]+(.[0-9]+)?$/, d = s[l].sign_weight.toString().match(r);
console.log("r=====", d), null == d ? (n = "true", wx.showToast({
title: "请填写正确的签收重量",
image: "../../images/error.png",
duration: 2e3
}), this.onLoad()) : s[l].sign_weight < 0 && (n = "true", wx.showToast({
title: "签收重量不能填负数",
image: "../../images/error.png",
duration: 2e3
}), this.onLoad());
} else n = "true", console.log("=====!self_item[j].sign_weight====="), wx.showToast({
title: "请填写签收重量",
image: "../../images/error.png",
duration: 2e3
}), this.onLoad();
if ("false" == n) if (void 0 == i) wx.showToast({
title: "无司机运单",
image: "../../images/error.png",
duration: 2e3
}), this.onLoad(); else if (0 == o.length) wx.showToast({
title: "请添加图片",
image: "../../images/error.png",
duration: 2e3
}), this.onLoad(); else {
console.log("=========有图片=========");
var g = [], u = 0;
for (var c in o) this.upload_file_server(o[c]).then(function(t) {
g.push({
id: u,
url: t
}), u += 1, e.setData({
upload_img: g
});
});
e.setTime();
}
}
},
setTime: function() {
var t = setTimeout(function() {
var t = e.data.upload_img, a = e.data.upload_pic;
if (t.length == a.length) if (clearTimeout(e.data.time), 0 == t.length) wx.showToast({
title: "请选择图片",
image: "../../images/error.png",
duration: 2e3,
mask: !0
}), this.onLoad(); else {
wx.showToast({
title: "加载中",
icon: "loading",
mask: !0,
duration: 1e4
});
console.log("self.data===="), console.log(e.data);
var o = {
ship_id: e.data.header.id,
load_weight: e.data.header.load_weight,
remark: e.data.remark,
upload_img: e.data.upload_img,
self_item: e.data.self_item
};
console.log(o), console.log("上传参数"), i.httpPost("/entry/drivers/m-action/getActualSignSubmit", {
aux: o
}, function(e) {
wx.showToast({
title: "上传成功",
image: "../../images/success.png",
duration: 2e3,
mask: !0,
success: function(e) {
setTimeout(function() {
wx.navigateBack({
delta: 2
});
}, 2e3);
}
});
});
} else e.setTime();
}, 400);
e.setData({
time: t
});
},
chooseImage: function(t) {
wx.chooseImage({
count: 3,
sizeType: [ "original", "compressed" ],
sourceType: [ "album", "camera" ],
success: function(t) {
var a = t.tempFilePaths, i = e.data.upload_pic;
for (var o in a) i.length < 3 && i.push(a[o]);
var s = !1;
i.length >= 3 && (s = !0), e.setData({
upload_pic: i,
is_upload: s
});
}
});
},
upload_file_server: function(e) {
return new Promise(function(t, i) {
wx.uploadFile({
url: a.globalData.host + "/api/doc/upload",
filePath: e,
name: "file",
header: {
"content-type": "application/json",
Cookie: "XSRF-TOKEN=" + wx.getStorageSync("XSRFToken"),
"X-XSRF-TOKEN": wx.getStorageSync("XSRFToken"),
Authorization: wx.getStorageSync("token")
},
success: function(e) {
var a = JSON.parse(e.data);
console.log(a.data.path), console.log("path"), t(a.data.path);
},
fail: function(e) {}
});
});
},
deletePic: function(e) {
var t = e.currentTarget.dataset.pic_index, a = [];
for (var i in this.data.upload_pic) i != t && a.push(this.data.upload_pic[i]);
this.setData({
upload_pic: a,
is_upload: !1
});
},
setSignWeight: function(e) {
var t = e.currentTarget.id, a = e.detail.value;
for (var i in this.data.self_item) this.data.self_item[i].id == t && (this.data.self_item[i].sign_weight = a);
},
setRemark: function(e) {
var t = e.detail.value;
this.data.remark = t;
}
});
\ No newline at end of file
{
"navigationBarTitleText": "签收确认",
"navigationBarBackgroundColor": "#12184C",
"usingComponents": {}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment