Commit 5c58682c by tan7

修改

parent 8299475f
......@@ -15,7 +15,7 @@
<body><noscript><strong>Please enable JavaScript to continue.</strong></noscript>
<div id=app></div>
<script src=/driver/static/js/chunk-vendors.ec9da0d9.js></script>
<script src=/driver/static/js/index.604a9b96.js></script>
<script src=/driver/static/js/index.86017880.js></script>
</body>
</html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([
["pages-info-info"], {
"047c": function(t, e, i) { t.exports = i.p + "driver/static/img/card.7051c459.png" },
"260d": function(t, e, i) { t.exports = i.p + "driver/static/img/overtime.d98def04.png" },
"3f9b": function(t, e, i) {
"use strict";
i.r(e);
var n = i("58c1"),
a = i.n(n);
for (var c in n)["default"].indexOf(c) < 0 && function(t) { i.d(e, t, (function() { return n[t] })) }(c);
e["default"] = a.a
},
"58c1": function(t, e, i) {
"use strict";
(function(t) {
i("7a82"), Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0;
var n = {
data: function() { return { appointment_state: "", call_time: "", time_restrict: "", curr_number: "", total: "", appointment_time: "", car_code: "", card_code: "" } },
onLoad: function(e) {
if (e.data) {
var i = JSON.parse(e.data);
t("log", i, " at pages/info/info.vue:117"), this.appointment_state = i.state ? i.state : "", this.call_time = i.call_time ? i.call_time : "", this.time_restrict = i.time_restrict ? i.time_restrict : "", this.total = i.total ? i.total : "", this.curr_number = i.curr_number ? i.curr_number : "", this.appointment_time = i.appointment_time ? i.appointment_time : "", this.car_code = e.car_code, this.card_code = e.card_code
}
},
methods: {
CancelAppointment: function(t) {
var e = this;
wx.showModal({ title: "提示", content: "取消后将清空您的预约信息", success: function(t) { t.confirm && (wx.clearStorageSync(), wx.showToast({ title: "已取消!" }), wx.request({ url: "http://ykykt.rokedata.com/ykt/cancel_appointment", method: "POST", data: { car_code: e.car_code, card_code: e.card_code }, success: function(t) { uni.navigateBack() } })) } })
},
Appointment: function() { uni.navigateBack() }
}
};
e.default = n
}).call(this, i("0de9")["log"])
},
"63dd": function(t, e, i) {
var n = i("e511");
n.__esModule && (n = n.default), "string" === typeof n && (n = [
[t.i, n, ""]
]), n.locals && (t.exports = n.locals);
var a = i("4f06").default;
a("2d234a70", n, !0, { sourceMap: !1, shadowMode: !1 })
},
"63e3": function(t, e, i) { t.exports = i.p + "driver/static/img/out.a0c5645e.png" },
7273: function(t, e, i) {
"use strict";
var n = i("63dd"),
a = i.n(n);
a.a
},
"7be7": function(t, e, i) { t.exports = i.p + "driver/static/img/cancel.ed66e331.png" },
bbb1: function(t, e, i) {
"use strict";
i.r(e);
var n = i("bc0f"),
a = i("3f9b");
for (var c in a)["default"].indexOf(c) < 0 && function(t) { i.d(e, t, (function() { return a[t] })) }(c);
i("7273");
var r = i("f0c5"),
s = Object(r["a"])(a["default"], n["b"], n["c"], !1, null, "4d4a1bf6", null, !1, n["a"], void 0);
e["default"] = s.exports
},
bc0f: function(t, e, i) {
"use strict";
i.d(e, "b", (function() { return n })), i.d(e, "c", (function() { return a })), i.d(e, "a", (function() {}));
var n = function() {
var t = this,
e = t.$createElement,
n = t._self._c || e;
return n("v-uni-view", ["call" == t.appointment_state ? n("v-uni-view", [n("v-uni-view", { staticClass: "wt_title" }, [t._v("叫号中...")]), n("v-uni-view", { staticClass: "line-head", staticStyle: { color: "green" } }, [n("v-uni-view", [n("v-uni-image", { staticStyle: { width: "50px", height: "50px" }, attrs: { src: i("cf46") } })], 1), t._v("预约成功!")], 1), n("v-uni-view", { staticStyle: { "font-size": "20px", "text-align": "center", "margin-top": "10%" } }, [t._v(t._s(t.call_time))]), n("v-uni-view", { staticStyle: { "text-align": "center", padding: "5% 10%", "font-size": "20px" } }, [t._v("车辆" + t._s(t.car_code) + ",请在"), n("v-uni-text", { staticStyle: { color: "red" } }, [t._v(t._s(t.time_restrict))]), t._v("分钟内入场,超过"), n("v-uni-text", { staticStyle: { color: "red" } }, [t._v(t._s(t.time_restrict))]), t._v("分钟视为放弃预约,预约将失效,需要重新预约。")], 1), n("v-uni-button", { staticStyle: { color: "ef393939", background: "#f7f7f7", border: "1px solid #ccc" }, attrs: { "hover-class": "btn-hover" }, on: { click: function(e) { arguments[0] = e = t.$handleEvent(e), t.CancelAppointment.apply(void 0, arguments) } } }, [t._v("取消预约")])], 1) : t._e(), "queue" == t.appointment_state ? n("v-uni-view", [n("v-uni-view", { staticClass: "line-head", staticStyle: { color: "green" } }, [n("v-uni-view", [n("v-uni-image", { staticStyle: { width: "50px", height: "50px" }, attrs: { src: i("c3aa") } })], 1), t._v("排队中...")], 1), n("v-uni-view", { staticClass: "line-head" }, [t._v("当前排队人数:"), n("v-uni-view", { style: { color: t.total >= 50 ? "red" : "green", "font-weight": t.total >= 50 ? 900 : 500 } }, [t._v(t._s(t.total))])], 1), n("v-uni-view", { staticClass: "line-head" }, [t._v("您位于第"), n("v-uni-text", { style: { color: t.curr_number >= 50 ? "red" : "green", "font-weight": t.curr_number >= 50 ? 900 : 500 } }, [t._v(t._s(t.curr_number))]), t._v("位")], 1), n("v-uni-view", { staticStyle: { "margin-top": "20vh" } }, [n("v-uni-button", { staticStyle: { color: "ef393939", background: "#f7f7f7", border: "1px solid #ccc" }, attrs: { "hover-class": "btn-hover" }, on: { click: function(e) { arguments[0] = e = t.$handleEvent(e), t.CancelAppointment.apply(void 0, arguments) } } }, [t._v("取消预约")])], 1)], 1) : n("v-uni-view", ["card" == t.appointment_state ? n("v-uni-view", { staticClass: "line-head" }, [n("v-uni-view", [n("v-uni-image", { staticStyle: { width: "50px", height: "50px" }, attrs: { src: i("047c") } })], 1), t._v("已制卡")], 1) : t._e(), "in" == t.appointment_state ? n("v-uni-view", { staticClass: "line-head" }, [n("v-uni-view", [n("v-uni-image", { staticStyle: { width: "50px", height: "50px" }, attrs: { src: i("db72") } })], 1), t._v("入厂")], 1) : t._e(), "out" == t.appointment_state ? n("v-uni-view", { staticClass: "line-head" }, [n("v-uni-view", [n("v-uni-image", { staticStyle: { width: "50px", height: "50px" }, attrs: { src: i("63e3") } })], 1), t._v("出厂")], 1) : t._e(), "cancel" == t.appointment_state ? n("v-uni-view", { staticClass: "line-head" }, [n("v-uni-view", [n("v-uni-image", { staticStyle: { width: "50px", height: "50px" }, attrs: { src: i("7be7") } })], 1), t._v("已取消"), n("v-uni-view", { staticClass: "wt_title", staticStyle: { "font-size": "20px", "margin-top": "10%" } }, [t._v("如需预约,请点击下方按钮,重新预约")]), n("v-uni-button", { staticStyle: { "margin-top": "50%" }, attrs: { bindtap: "Appointment" } }, [t._v("重新预约")])], 1) : t._e(), "overtime" == t.appointment_state ? n("v-uni-view", { staticClass: "line-head" }, [n("v-uni-view", [n("v-uni-image", { staticStyle: { width: "50px", height: "50px" }, attrs: { src: i("260d") } })], 1), t._v("您已超时")], 1) : t._e(), "overtime" == t.appointment_state ? n("v-uni-view", { staticClass: "wt_title", staticStyle: { "margin-top": "10%" } }, [t._v("请点击下方按钮,重新预约")]) : t._e(), "overtime" == t.appointment_state ? n("v-uni-button", { staticStyle: { "margin-top": "50%" }, on: { click: function(e) { arguments[0] = e = t.$handleEvent(e), t.Appointment.apply(void 0, arguments) } } }, [t._v("重新预约")]) : t._e()], 1)], 1)
},
a = []
},
c3aa: function(t, e, i) { t.exports = i.p + "driver/static/img/queue.01de208d.png" },
cf46: function(t, e, i) { t.exports = i.p + "driver/static/img/success.cbd953cb.png" },
db72: function(t, e, i) { t.exports = i.p + "driver/static/img/in.f8c2f66e.png" },
e511: function(t, e, i) {
var n = i("24fb");
e = n(!1), e.push([t.i, '@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */.abcc979e53754d2f888044f761b0c188[data-v-4d4a1bf6]{background-color:#772267}\r\n/*light background*/\r\n/* dark background*/\r\n/* 行为相关颜色 */\r\n/* 按钮相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 按钮大小参数 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/* 主题预制 */\r\n/* 文字 */\r\n/* 背景色 */\r\n/* 分割线 */\r\n/* 叠加色 */\r\n/* 主题色 */\r\n/* 信息色 */\r\n/* 扩展色 */.wt_title[data-v-4d4a1bf6]{text-align:center}.line-head[data-v-4d4a1bf6]{font-size:%?60?%;text-align:center;margin-top:10vh}', ""]), t.exports = e
}
}
]);
\ No newline at end of file
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