@ -1,2 +1,2 @@
|
||||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>胥口闸站购票</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/h5/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/h5/static/js/chunk-vendors.0a9addb9.js></script><script src=/h5/static/js/index.27e1523d.js></script></body></html>
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/h5/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/h5/static/js/chunk-vendors.0a9addb9.js></script><script src=/h5/static/js/index.18c90fc4.js></script></body></html>
|
||||
@ -0,0 +1,4 @@
|
||||
|
||||
require('./common/runtime.js')
|
||||
require('./common/vendor.js')
|
||||
require('./common/main.js')
|
||||
@ -0,0 +1,3 @@
|
||||
@import './common/main.wxss';
|
||||
|
||||
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}
|
||||
@ -0,0 +1,5 @@
|
||||
|
||||
!function(){try{var a=Function("return this")();a&&!a.Math&&(Object.assign(a,{isFinite:isFinite,Array:Array,Date:Date,Error:Error,Function:Function,Math:Math,Object:Object,RegExp:RegExp,String:String,TypeError:TypeError,setTimeout:setTimeout,clearTimeout:clearTimeout,setInterval:setInterval,clearInterval:clearInterval}),"undefined"!=typeof Reflect&&(a.Reflect=Reflect))}catch(a){}}();
|
||||
(function(e){function t(t){for(var n,o,i=t[0],l=t[1],c=t[2],s=0,f=[];s<i.length;s++)o=i[s],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&f.push(a[o][0]),a[o]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);p&&p(t);while(f.length)f.shift()();return u.push.apply(u,c||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(u.splice(t--,1),e=l(l.s=r[0]))}return e}var n={},o={"common/runtime":0},a={"common/runtime":0},u=[];function i(e){return l.p+""+e+".js"}function l(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.e=function(e){var t=[],r={"components/NavBar":1};o[e]?t.push(o[e]):0!==o[e]&&r[e]&&t.push(o[e]=new Promise((function(t,r){for(var n=({"components/NavBar":"components/NavBar"}[e]||e)+".wxss",a=l.p+n,u=document.getElementsByTagName("link"),i=0;i<u.length;i++){var c=u[i],s=c.getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(s===n||s===a))return t()}var f=document.getElementsByTagName("style");for(i=0;i<f.length;i++){c=f[i],s=c.getAttribute("data-href");if(s===n||s===a)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=t,p.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],p.parentNode.removeChild(p),r(u)},p.href=a;var d=document.getElementsByTagName("head")[0];d.appendChild(p)})).then((function(){o[e]=0})));var n=a[e];if(0!==n)if(n)t.push(n[2]);else{var u=new Promise((function(t,r){n=a[e]=[t,r]}));t.push(n[2]=u);var c,s=document.createElement("script");s.charset="utf-8",s.timeout=120,l.nc&&s.setAttribute("nonce",l.nc),s.src=i(e);var f=new Error;c=function(t){s.onerror=s.onload=null,clearTimeout(p);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var p=setTimeout((function(){c({type:"timeout",target:s})}),12e4);s.onerror=s.onload=c,document.head.appendChild(s)}return Promise.all(t)},l.m=e,l.c=n,l.d=function(e,t,r){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(l.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)l.d(r,n,function(t){return e[t]}.bind(null,n));return r},l.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="/",l.oe=function(e){throw console.error(e),e};var c=global["webpackJsonp"]=global["webpackJsonp"]||[],s=c.push.bind(c);c.push=t,c=c.slice();for(var f=0;f<c.length;f++)t(c[f]);var p=s;r()})([]);
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/runtime.js.map
|
||||
|
||||
@ -0,0 +1,11 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/NavBar"],{330:function(n,t,e){"use strict";e.r(t);var r=e(331),u=e(333);for(var c in u)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(c);e(335);var o,a=e(33),i=Object(a["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"0957edea",null,!1,r["components"],o);i.options.__file="components/NavBar.vue",t["default"]=i.exports},331:function(n,t,e){"use strict";e.r(t);var r=e(332);e.d(t,"render",(function(){return r["render"]})),e.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(t,"components",(function(){return r["components"]}))},332:function(n,t,e){"use strict";var r;e.r(t),e.d(t,"render",(function(){return u})),e.d(t,"staticRenderFns",(function(){return o})),e.d(t,"recyclableRender",(function(){return c})),e.d(t,"components",(function(){return r}));var u=function(){var n=this,t=n.$createElement;n._self._c},c=!1,o=[];u._withStripped=!0},333:function(n,t,e){"use strict";e.r(t);var r=e(334),u=e.n(r);for(var c in r)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return r[n]}))}(c);t["default"]=u.a},334:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={props:{title:{type:String,default:""}},data:function(){return{statusBarHeight:0}},mounted:function(){this.statusBarHeight=n.getSystemInfoSync().statusBarHeight||0},methods:{onBack:function(){console.log("onBack"),n.navigateBack()}}};t.default=e}).call(this,e(2)["default"])},335:function(n,t,e){"use strict";e.r(t);var r=e(336),u=e.n(r);for(var c in r)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return r[n]}))}(c);t["default"]=u.a},336:function(n,t,e){}}]);
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/components/NavBar.js.map
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/NavBar-create-component',
|
||||
{
|
||||
'components/NavBar-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('2')['createComponent'](__webpack_require__(330))
|
||||
})
|
||||
},
|
||||
[['components/NavBar-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="nav-bar data-v-0957edea" style="{{'padding-top:'+(statusBarHeight+'px')+';'}}"><view class="nav-content data-v-0957edea"><image class="back-btn data-v-0957edea" src="/static/back.png" mode="aspectFit" data-event-opts="{{[['tap',[['onBack',['$event']]]]]}}" bindtap="__e"></image><text class="nav-title data-v-0957edea">{{title}}</text><view class="right-slot data-v-0957edea"><slot name="right"></slot></view></view><slot></slot></view>
|
||||
@ -0,0 +1,29 @@
|
||||
|
||||
.nav-bar.data-v-0957edea {
|
||||
background: transparent;
|
||||
}
|
||||
.nav-content.data-v-0957edea {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 44px;
|
||||
padding: 0 16px;
|
||||
}
|
||||
.back-btn.data-v-0957edea {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.nav-title.data-v-0957edea {
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
color: #222;
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
}
|
||||
.right-slot.data-v-0957edea {
|
||||
min-width: 24px;
|
||||
}
|
||||
|
||||
@ -0,0 +1,5 @@
|
||||
{
|
||||
"navigationBarTitleText": "首页",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1,2 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/invoice_detail"],{306:function(n,e,t){"use strict";(function(n,e){var r=t(4);t(26);r(t(25));var c=r(t(307));n.__webpack_require_UNI_MP_PLUGIN__=t,e(c.default)}).call(this,t(1)["default"],t(2)["createPage"])},307:function(n,e,t){"use strict";t.r(e);var r=t(308),c=t(310);for(var i in c)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return c[n]}))}(i);t(312);var u,o=t(33),a=Object(o["default"])(c["default"],r["render"],r["staticRenderFns"],!1,null,"c6ced70e",null,!1,r["components"],u);a.options.__file="pages/index/invoice_detail.vue",e["default"]=a.exports},308:function(n,e,t){"use strict";t.r(e);var r=t(309);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},309:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return c})),t.d(e,"staticRenderFns",(function(){return u})),t.d(e,"recyclableRender",(function(){return i})),t.d(e,"components",(function(){return r}));var c=function(){var n=this,e=n.$createElement;n._self._c},i=!1,u=[];c._withStripped=!0},310:function(n,e,t){"use strict";t.r(e);var r=t(311),c=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(i);e["default"]=c.a},311:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){t.e("components/NavBar").then(function(){return resolve(t(330))}.bind(null,t)).catch(t.oe)},c={name:"InvoiceManagePage",components:{NavBar:r},data:function(){return{form:{titleTypeIndex:0,title:"",taxNo:""},titleTypeOptions:["企业单位","个人/非企业单位"]}},methods:{}};e.default=c},312:function(n,e,t){"use strict";t.r(e);var r=t(313),c=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(i);e["default"]=c.a},313:function(n,e,t){}},[[306,"common/runtime","common/vendor"]]]);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/invoice_detail.js.map
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "发票详情",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="reservation-page data-v-c6ced70e"><view class="fixed-nav data-v-c6ced70e"><nav-bar vue-id="130b08a6-1" title="发票管理" class="data-v-c6ced70e" bind:__l="__l"></nav-bar></view><view class="content-area data-v-c6ced70e"><view class="invoice-section data-v-c6ced70e"><view class="invoice-title data-v-c6ced70e">基本信息</view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">抬头类型</text><picker bindinput="__e" range="{{titleTypeOptions}}" value="{{form.titleTypeIndex}}" data-event-opts="{{[['input',[['__set_model',['$0','titleTypeIndex','$event',[]],['form']]]]]}}" class="data-v-c6ced70e"><view class="invoice-value data-v-c6ced70e">{{titleTypeOptions[form.titleTypeIndex]}}</view></picker></view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">发票抬头</text><input class="invoice-value data-v-c6ced70e" placeholder="请输入发票抬头" data-event-opts="{{[['input',[['__set_model',['$0','title','$event',[]],['form']]]]]}}" value="{{form.title}}" bindinput="__e"/></view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">税号</text><input class="invoice-value data-v-c6ced70e" placeholder="请输入税号" data-event-opts="{{[['input',[['__set_model',['$0','taxNo','$event',[]],['form']]]]]}}" value="{{form.taxNo}}" bindinput="__e"/></view></view><view class="invoice-section data-v-c6ced70e"><view class="invoice-title data-v-c6ced70e">预约信息</view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">预约日期</text><text class="invoice-value data-v-c6ced70e">2024-01-14</text></view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">预约批次</text><text class="invoice-value data-v-c6ced70e">下午批次</text></view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">航行方向</text><text class="invoice-value data-v-c6ced70e">南向北</text></view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">预约状态</text><text class="pay-status data-v-c6ced70e">已确认</text></view></view><view class="invoice-section data-v-c6ced70e"><view class="invoice-title data-v-c6ced70e">船舶信息</view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">船舶</text><text class="invoice-value data-v-c6ced70e">苏航666</text></view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">编号</text><text class="invoice-value data-v-c6ced70e">ZJ12345</text></view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">载重</text><text class="invoice-value data-v-c6ced70e">500吨</text></view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">类型</text><text class="invoice-value data-v-c6ced70e">货船</text></view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">总长度</text><text class="invoice-value data-v-c6ced70e">45米</text></view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">型宽</text><text class="invoice-value data-v-c6ced70e">8米</text></view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">型深</text><text class="invoice-value data-v-c6ced70e">3.5米</text></view></view><view class="invoice-section data-v-c6ced70e"><view class="invoice-title data-v-c6ced70e">票价信息</view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">过闸费用</text><text class="invoice-value data-v-c6ced70e">¥300.00</text></view><view class="invoice-row data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">按吨位计费</text><text class="invoice-value data-v-c6ced70e">500吨</text></view><view class="invoice-row pay-total data-v-c6ced70e"><text class="invoice-label data-v-c6ced70e">总计</text><text class="invoice-value pay-total-num data-v-c6ced70e">¥300.00</text></view></view></view></view>
|
||||
@ -0,0 +1,76 @@
|
||||
|
||||
.reservation-page.data-v-c6ced70e {
|
||||
background: linear-gradient(180deg, #eaf3ff 0%, #f6faff 100%);
|
||||
min-height: 100vh;
|
||||
padding-bottom: 40rpx;
|
||||
}
|
||||
.fixed-nav.data-v-c6ced70e {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 100;
|
||||
background: linear-gradient(180deg, #cbe6ff 0%, #f6faff 100%);
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
|
||||
}
|
||||
.content-area.data-v-c6ced70e {
|
||||
padding: 220rpx 24rpx 20rpx 24rpx;
|
||||
}
|
||||
.invoice-card.data-v-c6ced70e, .invoice-header.data-v-c6ced70e, .status-tag.data-v-c6ced70e, .invoice-date.data-v-c6ced70e, .invoice-amount.data-v-c6ced70e, .invoice-batch.data-v-c6ced70e, .invoice-actions.data-v-c6ced70e, .invoice-detail-btn.data-v-c6ced70e, .invoice-detail-btn.issue.data-v-c6ced70e, .invoice-btn.data-v-c6ced70e {
|
||||
display: none !important;
|
||||
}
|
||||
.invoice-section.data-v-c6ced70e {
|
||||
background: #fff;
|
||||
border-radius: 16rpx;
|
||||
box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.04);
|
||||
padding: 32rpx 28rpx 8rpx 28rpx;
|
||||
margin-bottom: 32rpx;
|
||||
}
|
||||
.invoice-title.data-v-c6ced70e {
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
margin-bottom: 24rpx;
|
||||
}
|
||||
.invoice-row.data-v-c6ced70e {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 28rpx;
|
||||
color: #222;
|
||||
padding: 18rpx 0;
|
||||
border-bottom: 1rpx solid #f2f4f8;
|
||||
}
|
||||
.invoice-row.data-v-c6ced70e:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
.invoice-label.data-v-c6ced70e {
|
||||
color: #3b4a6b;
|
||||
min-width: 180rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.invoice-value.data-v-c6ced70e {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
color: #222;
|
||||
font-size: 28rpx;
|
||||
background: transparent;
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
.pay-status.data-v-c6ced70e {
|
||||
background: #217aff;
|
||||
color: #fff;
|
||||
border-radius: 24rpx;
|
||||
padding: 4rpx 24rpx;
|
||||
font-size: 24rpx;
|
||||
margin-left: 12rpx;
|
||||
}
|
||||
.pay-total-num.data-v-c6ced70e {
|
||||
color: #217aff;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.pay-total.data-v-c6ced70e {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/invoice_issue"],{314:function(n,e,t){"use strict";(function(n,e){var r=t(4);t(26);r(t(25));var u=r(t(315));n.__webpack_require_UNI_MP_PLUGIN__=t,e(u.default)}).call(this,t(1)["default"],t(2)["createPage"])},315:function(n,e,t){"use strict";t.r(e);var r=t(316),u=t(318);for(var i in u)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return u[n]}))}(i);t(320);var c,o=t(33),a=Object(o["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"3b486ae1",null,!1,r["components"],c);a.options.__file="pages/index/invoice_issue.vue",e["default"]=a.exports},316:function(n,e,t){"use strict";t.r(e);var r=t(317);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},317:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return c})),t.d(e,"recyclableRender",(function(){return i})),t.d(e,"components",(function(){return r}));var u=function(){var n=this,e=n.$createElement;n._self._c},i=!1,c=[];u._withStripped=!0},318:function(n,e,t){"use strict";t.r(e);var r=t(319),u=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(i);e["default"]=u.a},319:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){t.e("components/NavBar").then(function(){return resolve(t(330))}.bind(null,t)).catch(t.oe)},u={name:"InvoiceManagePage",components:{NavBar:r},data:function(){return{form:{titleTypeIndex:0,title:"",taxNo:""},titleTypeOptions:["企业单位","个人/非企业单位"]}},methods:{}};e.default=u},320:function(n,e,t){"use strict";t.r(e);var r=t(321),u=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(i);e["default"]=u.a},321:function(n,e,t){}},[[314,"common/runtime","common/vendor"]]]);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/invoice_issue.js.map
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "发票开具",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="reservation-page data-v-3b486ae1"><view class="fixed-nav data-v-3b486ae1"><nav-bar vue-id="2dc57245-1" title="发票管理" class="data-v-3b486ae1" bind:__l="__l"></nav-bar></view><view class="content-area data-v-3b486ae1"><view class="invoice-section data-v-3b486ae1"><view class="invoice-title data-v-3b486ae1">基本信息</view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">抬头类型</text><picker bindinput="__e" range="{{titleTypeOptions}}" value="{{form.titleTypeIndex}}" data-event-opts="{{[['input',[['__set_model',['$0','titleTypeIndex','$event',[]],['form']]]]]}}" class="data-v-3b486ae1"><view class="invoice-value data-v-3b486ae1">{{titleTypeOptions[form.titleTypeIndex]}}</view></picker></view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">发票抬头</text><input class="invoice-value data-v-3b486ae1" placeholder="请输入发票抬头" data-event-opts="{{[['input',[['__set_model',['$0','title','$event',[]],['form']]]]]}}" value="{{form.title}}" bindinput="__e"/></view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">税号</text><input class="invoice-value data-v-3b486ae1" placeholder="请输入税号" data-event-opts="{{[['input',[['__set_model',['$0','taxNo','$event',[]],['form']]]]]}}" value="{{form.taxNo}}" bindinput="__e"/></view></view><view class="invoice-section data-v-3b486ae1"><view class="invoice-title data-v-3b486ae1">预约信息</view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">预约日期</text><text class="invoice-value data-v-3b486ae1">2024-01-14</text></view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">预约批次</text><text class="invoice-value data-v-3b486ae1">下午批次</text></view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">航行方向</text><text class="invoice-value data-v-3b486ae1">南向北</text></view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">预约状态</text><text class="pay-status data-v-3b486ae1">已确认</text></view></view><view class="invoice-section data-v-3b486ae1"><view class="invoice-title data-v-3b486ae1">船舶信息</view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">船舶</text><text class="invoice-value data-v-3b486ae1">苏航666</text></view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">编号</text><text class="invoice-value data-v-3b486ae1">ZJ12345</text></view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">载重</text><text class="invoice-value data-v-3b486ae1">500吨</text></view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">类型</text><text class="invoice-value data-v-3b486ae1">货船</text></view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">总长度</text><text class="invoice-value data-v-3b486ae1">45米</text></view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">型宽</text><text class="invoice-value data-v-3b486ae1">8米</text></view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">型深</text><text class="invoice-value data-v-3b486ae1">3.5米</text></view></view><view class="invoice-section data-v-3b486ae1"><view class="invoice-title data-v-3b486ae1">票价信息</view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">过闸费用</text><text class="invoice-value data-v-3b486ae1">¥300.00</text></view><view class="invoice-row data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">按吨位计费</text><text class="invoice-value data-v-3b486ae1">500吨</text></view><view class="invoice-row pay-total data-v-3b486ae1"><text class="invoice-label data-v-3b486ae1">总计</text><text class="invoice-value pay-total-num data-v-3b486ae1">¥300.00</text></view></view></view><view class="invoice-bottom-bar data-v-3b486ae1"><button class="invoice-issue-btn data-v-3b486ae1">开发票</button></view></view>
|
||||
@ -0,0 +1,100 @@
|
||||
|
||||
.reservation-page.data-v-3b486ae1 {
|
||||
background: linear-gradient(180deg, #eaf3ff 0%, #f6faff 100%);
|
||||
min-height: 100vh;
|
||||
padding-bottom: 40rpx;
|
||||
}
|
||||
.fixed-nav.data-v-3b486ae1 {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 100;
|
||||
background: linear-gradient(180deg, #cbe6ff 0%, #f6faff 100%);
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
|
||||
}
|
||||
.content-area.data-v-3b486ae1 {
|
||||
padding: 220rpx 24rpx 120rpx 24rpx;
|
||||
}
|
||||
.invoice-card.data-v-3b486ae1, .invoice-header.data-v-3b486ae1, .status-tag.data-v-3b486ae1, .invoice-date.data-v-3b486ae1, .invoice-amount.data-v-3b486ae1, .invoice-batch.data-v-3b486ae1, .invoice-actions.data-v-3b486ae1, .invoice-detail-btn.data-v-3b486ae1, .invoice-detail-btn.issue.data-v-3b486ae1, .invoice-btn.data-v-3b486ae1 {
|
||||
display: none !important;
|
||||
}
|
||||
.invoice-section.data-v-3b486ae1 {
|
||||
background: #fff;
|
||||
border-radius: 16rpx;
|
||||
box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.04);
|
||||
padding: 32rpx 28rpx 8rpx 28rpx;
|
||||
margin-bottom: 32rpx;
|
||||
}
|
||||
.invoice-title.data-v-3b486ae1 {
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
margin-bottom: 24rpx;
|
||||
}
|
||||
.invoice-row.data-v-3b486ae1 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 28rpx;
|
||||
color: #222;
|
||||
padding: 18rpx 0;
|
||||
border-bottom: 1rpx solid #f2f4f8;
|
||||
}
|
||||
.invoice-row.data-v-3b486ae1:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
.invoice-label.data-v-3b486ae1 {
|
||||
color: #3b4a6b;
|
||||
min-width: 180rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.invoice-value.data-v-3b486ae1 {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
color: #222;
|
||||
font-size: 28rpx;
|
||||
background: transparent;
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
.pay-status.data-v-3b486ae1 {
|
||||
background: #217aff;
|
||||
color: #fff;
|
||||
border-radius: 24rpx;
|
||||
padding: 4rpx 24rpx;
|
||||
font-size: 24rpx;
|
||||
margin-left: 12rpx;
|
||||
}
|
||||
.pay-total-num.data-v-3b486ae1 {
|
||||
color: #217aff;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.pay-total.data-v-3b486ae1 {
|
||||
font-weight: bold;
|
||||
}
|
||||
.invoice-bottom-bar.data-v-3b486ae1 {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: #fff;
|
||||
box-shadow: 0 -2rpx 16rpx rgba(59,124,255,0.08);
|
||||
padding: 24rpx 24rpx 32rpx 24rpx;
|
||||
z-index: 999;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.invoice-issue-btn.data-v-3b486ae1 {
|
||||
min-width: 320rpx;
|
||||
height: 72rpx;
|
||||
border-radius: 36rpx;
|
||||
background: #217aff;
|
||||
color: #fff;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
border: none;
|
||||
outline: none;
|
||||
box-shadow: 0 4rpx 16rpx rgba(33,122,255,0.08);
|
||||
}
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/invoice_manage"],{298:function(n,e,t){"use strict";(function(n,e){var i=t(4);t(26);i(t(25));var r=i(t(299));n.__webpack_require_UNI_MP_PLUGIN__=t,e(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},299:function(n,e,t){"use strict";t.r(e);var i=t(300),r=t(302);for(var a in r)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(a);t(304);var o,u=t(33),c=Object(u["default"])(r["default"],i["render"],i["staticRenderFns"],!1,null,"6f086f8d",null,!1,i["components"],o);c.options.__file="pages/index/invoice_manage.vue",e["default"]=c.exports},300:function(n,e,t){"use strict";t.r(e);var i=t(301);t.d(e,"render",(function(){return i["render"]})),t.d(e,"staticRenderFns",(function(){return i["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return i["recyclableRender"]})),t.d(e,"components",(function(){return i["components"]}))},301:function(n,e,t){"use strict";var i;t.r(e),t.d(e,"render",(function(){return r})),t.d(e,"staticRenderFns",(function(){return o})),t.d(e,"recyclableRender",(function(){return a})),t.d(e,"components",(function(){return i}));var r=function(){var n=this,e=n.$createElement,t=(n._self._c,n.__map(n.invoiceList,(function(e,t){var i=n.__get_orig(e),r=e.amount.toFixed(2);return{$orig:i,g0:r}})));n._isMounted||(n.e0=function(e,t){var i=arguments[arguments.length-1].currentTarget.dataset,r=i.eventParams||i["event-params"];t=r.item;"issued"===t.status?n.viewInvoice(t):n.issueInvoice(t)}),n.$mp.data=Object.assign({},{$root:{l0:t}})},a=!1,o=[];r._withStripped=!0},302:function(n,e,t){"use strict";t.r(e);var i=t(303),r=t.n(i);for(var a in i)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(a);e["default"]=r.a},303:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(){t.e("components/NavBar").then(function(){return resolve(t(330))}.bind(null,t)).catch(t.oe)},r={name:"InvoiceManagePage",components:{NavBar:i},data:function(){return{invoiceList:[{id:1,status:"issued",date:"2024-01-15",name:"北向南过闸",amount:120,batchNo:"2025040101"},{id:2,status:"pending",date:"2024-01-15",name:"北向南过闸",amount:120,batchNo:"2025040101"}]}},methods:{viewInvoice:function(e){n.navigateTo({url:"/pages/index/invoice_detail?id=".concat(e.id)})},issueInvoice:function(e){n.navigateTo({url:"/pages/index/invoice_issue?id=".concat(e.id)})}}};e.default=r}).call(this,t(2)["default"])},304:function(n,e,t){"use strict";t.r(e);var i=t(305),r=t.n(i);for(var a in i)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(a);e["default"]=r.a},305:function(n,e,t){}},[[298,"common/runtime","common/vendor"]]]);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/invoice_manage.js.map
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "发票管理",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="reservation-page data-v-6f086f8d"><view class="fixed-nav data-v-6f086f8d"><nav-bar vue-id="72060319-1" title="发票管理" class="data-v-6f086f8d" bind:__l="__l"></nav-bar></view><view class="content-area data-v-6f086f8d"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view class="invoice-card data-v-6f086f8d"><view class="invoice-header data-v-6f086f8d"><view class="{{['data-v-6f086f8d','status-tag',item.$orig.status==='issued'?'issued':'pending']}}">{{''+(item.$orig.status==='issued'?'已开具':'待开具')+''}}</view><view class="invoice-date data-v-6f086f8d">{{item.$orig.date}}</view></view><view class="invoice-title data-v-6f086f8d">{{item.$orig.name}}</view><view class="invoice-amount data-v-6f086f8d">{{"¥"+item.g0}}</view><view class="invoice-batch data-v-6f086f8d">{{"批次号:"+item.$orig.batchNo}}</view><view class="invoice-actions single-btn data-v-6f086f8d"><button data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" class="{{['invoice-detail-btn','data-v-6f086f8d',(item.$orig.status==='pending')?'issue':'']}}" bindtap="__e">{{''+(item.$orig.status==='issued'?'查看发票':'开发票')+''}}</button></view></view></block></view></view>
|
||||
@ -0,0 +1,95 @@
|
||||
|
||||
.reservation-page.data-v-6f086f8d {
|
||||
background: linear-gradient(180deg, #eaf3ff 0%, #f6faff 100%);
|
||||
min-height: 100vh;
|
||||
padding-bottom: 40rpx;
|
||||
}
|
||||
.fixed-nav.data-v-6f086f8d {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 100;
|
||||
background: linear-gradient(180deg, #cbe6ff 0%, #f6faff 100%);
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
|
||||
}
|
||||
.content-area.data-v-6f086f8d {
|
||||
padding: 220rpx 24rpx 24rpx 24rpx;
|
||||
}
|
||||
.invoice-card.data-v-6f086f8d {
|
||||
background: #fff;
|
||||
border-radius: 16rpx;
|
||||
box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.04);
|
||||
padding: 32rpx 28rpx;
|
||||
margin-bottom: 32rpx;
|
||||
border: 1rpx solid #e5e5e5;
|
||||
}
|
||||
.invoice-header.data-v-6f086f8d {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
.status-tag.data-v-6f086f8d {
|
||||
padding: 6rpx 24rpx;
|
||||
border-radius: 20rpx;
|
||||
font-size: 24rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.status-tag.issued.data-v-6f086f8d {
|
||||
background: #2ecc71;
|
||||
}
|
||||
.status-tag.pending.data-v-6f086f8d {
|
||||
background: #ffa940;
|
||||
}
|
||||
.invoice-date.data-v-6f086f8d {
|
||||
color: #888;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.invoice-title.data-v-6f086f8d {
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
margin-bottom: 12rpx;
|
||||
}
|
||||
.invoice-amount.data-v-6f086f8d {
|
||||
font-size: 32rpx;
|
||||
color: #222;
|
||||
font-weight: bold;
|
||||
margin-bottom: 8rpx;
|
||||
}
|
||||
.invoice-batch.data-v-6f086f8d {
|
||||
font-size: 24rpx;
|
||||
color: #888;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
.invoice-actions.data-v-6f086f8d {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.invoice-actions.single-btn .invoice-detail-btn.data-v-6f086f8d {
|
||||
flex: 0 0 auto;
|
||||
width: 153px;
|
||||
}
|
||||
.invoice-detail-btn.data-v-6f086f8d {
|
||||
background: #e4f3fe;
|
||||
color: #217aff;
|
||||
height: 69rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
margin-right: 24rpx;
|
||||
border-radius: 4px;
|
||||
padding: 8px 0;
|
||||
font-weight: 500;
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
.invoice-detail-btn.issue.data-v-6f086f8d {
|
||||
background: #217aff;
|
||||
color: #fff;
|
||||
}
|
||||
.invoice-btn.data-v-6f086f8d {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "添加船只",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "船只详情",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "船只管理",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@ -1,2 +1,2 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/message/index"],{274:function(t,e,n){"use strict";(function(t,e){var r=n(4);n(26);r(n(25));var a=r(n(275));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n(1)["default"],n(2)["createPage"])},275:function(t,e,n){"use strict";n.r(e);var r=n(276),a=n(278);for(var c in a)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(c);n(280);var i,o=n(33),u=Object(o["default"])(a["default"],r["render"],r["staticRenderFns"],!1,null,"191297be",null,!1,r["components"],i);u.options.__file="pages/message/index.vue",e["default"]=u.exports},276:function(t,e,n){"use strict";n.r(e);var r=n(277);n.d(e,"render",(function(){return r["render"]})),n.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(e,"components",(function(){return r["components"]}))},277:function(t,e,n){"use strict";var r;n.r(e),n.d(e,"render",(function(){return a})),n.d(e,"staticRenderFns",(function(){return i})),n.d(e,"recyclableRender",(function(){return c})),n.d(e,"components",(function(){return r}));var a=function(){var t=this,e=t.$createElement,n=(t._self._c,t.tagColors.length),r=t.__map(t.noticeList,(function(e,n){var r=t.__get_orig(e),a=t.formatChinaDate(e.created_at);return{$orig:r,m0:a}}));t.$mp.data=Object.assign({},{$root:{g0:n,l0:r}})},c=!1,i=[];a._withStripped=!0},278:function(t,e,n){"use strict";n.r(e);var r=n(279),a=n.n(r);for(var c in r)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(c);e["default"]=a.a},279:function(t,e,n){"use strict";(function(t){var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n(44)),c=r(n(46)),i=n(30),o={name:"MessagePage",data:function(){return{noticeList:[],isWeixinBrowser:!1,tagColors:["linear-gradient(90deg, #ffb980 0%, #ffc99a 100%)","linear-gradient(90deg, #217aff 0%, #3b7cff 100%)","linear-gradient(90deg, #ff5c5c 0%, #ff7a7a 100%)","linear-gradient(90deg, #22c58b 0%, #2ed9a3 100%)","#f39c12","#8e44ad","#16a085"]}},onLoad:function(){},onShow:function(){this.fetchNotifications()},methods:{fetchNotifications:function(){var e=this;return(0,c.default)(a.default.mark((function n(){var r,c;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=t.getStorageSync("token"),r){n.next=3;break}return n.abrupt("return");case 3:return n.prev=3,n.next=6,new Promise((function(e,n){t.request({url:"".concat(i.API.NOTIFICATION_LIST,"?token=").concat(r),method:"GET",success:e,fail:n})}));case 6:c=n.sent,c.data&&0===c.data.errcode&&(e.noticeList=Array.isArray(c.data.data.data)?c.data.data.data:[]),n.next=13;break;case 10:n.prev=10,n.t0=n["catch"](3),console.error("Failed to fetch notifications:",n.t0);case 13:case"end":return n.stop()}}),n,null,[[3,10]])})))()},formatChinaDate:function(t){if(!t)return"";var e=new Date(t),n=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(n,"-").concat(r,"-").concat(a)}}};e.default=o}).call(this,n(2)["default"])},280:function(t,e,n){"use strict";n.r(e);var r=n(281),a=n.n(r);for(var c in r)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(c);e["default"]=a.a},281:function(t,e,n){}},[[274,"common/runtime","common/vendor"]]]);
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/message/index"],{274:function(e,t,n){"use strict";(function(e,t){var r=n(4);n(26);r(n(25));var a=r(n(275));e.__webpack_require_UNI_MP_PLUGIN__=n,t(a.default)}).call(this,n(1)["default"],n(2)["createPage"])},275:function(e,t,n){"use strict";n.r(t);var r=n(276),a=n(278);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);n(280);var c,o=n(33),u=Object(o["default"])(a["default"],r["render"],r["staticRenderFns"],!1,null,"191297be",null,!1,r["components"],c);u.options.__file="pages/message/index.vue",t["default"]=u.exports},276:function(e,t,n){"use strict";n.r(t);var r=n(277);n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(t,"components",(function(){return r["components"]}))},277:function(e,t,n){"use strict";var r;n.r(t),n.d(t,"render",(function(){return a})),n.d(t,"staticRenderFns",(function(){return c})),n.d(t,"recyclableRender",(function(){return i})),n.d(t,"components",(function(){return r}));var a=function(){var e=this,t=e.$createElement,n=(e._self._c,e.tagColors.length),r=e.__map(e.noticeList,(function(t,n){var r=e.__get_orig(t),a=e.formatChinaDate(t.created_at);return{$orig:r,m0:a}}));e.$mp.data=Object.assign({},{$root:{g0:n,l0:r}})},i=!1,c=[];a._withStripped=!0},278:function(e,t,n){"use strict";n.r(t);var r=n(279),a=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t["default"]=a.a},279:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(44)),i=r(n(46)),c=n(65),o=n(30),u={name:"MessagePage",data:function(){return{noticeList:[],isWeixinBrowser:!1,tagColors:["linear-gradient(90deg, #ffb980 0%, #ffc99a 100%)","linear-gradient(90deg, #217aff 0%, #3b7cff 100%)","linear-gradient(90deg, #ff5c5c 0%, #ff7a7a 100%)","linear-gradient(90deg, #22c58b 0%, #2ed9a3 100%)","#f39c12","#8e44ad","#16a085"]}},onLoad:function(){},onShow:function(){this.fetchNotifications()},methods:{formatChinaDate:c.base.formatChinaDate,fetchNotifications:function(){var t=this;return(0,i.default)(a.default.mark((function n(){var r,i;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.getStorageSync("token"),r){n.next=3;break}return n.abrupt("return");case 3:return n.prev=3,n.next=6,new Promise((function(t,n){e.request({url:"".concat(o.API.NOTIFICATION_LIST,"?token=").concat(r),method:"GET",success:t,fail:n})}));case 6:i=n.sent,i.data&&0===i.data.errcode&&(t.noticeList=Array.isArray(i.data.data.data)?i.data.data.data:[]),n.next=13;break;case 10:n.prev=10,n.t0=n["catch"](3),console.error("Failed to fetch notifications:",n.t0);case 13:case"end":return n.stop()}}),n,null,[[3,10]])})))()}}};t.default=u}).call(this,n(2)["default"])},280:function(e,t,n){"use strict";n.r(t);var r=n(281),a=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t["default"]=a.a},281:function(e,t,n){}},[[274,"common/runtime","common/vendor"]]]);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/message/index.js.map
|
||||
@ -0,0 +1,5 @@
|
||||
{
|
||||
"navigationBarTitleText": "消息",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "关于我们",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
{
|
||||
"navigationBarTitleText": "我的",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
{
|
||||
"navigationBarTitleText": "我的购票",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "在线购票",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "订单详情",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "在线付款",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "过闸预约",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 7.1 KiB |
|
After Width: | Height: | Size: 8.3 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 948 B |
|
After Width: | Height: | Size: 9.5 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 6.6 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 910 B |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 764 B |