pages-index-index.f9d0baff.js 8.6 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"0414":function(t,i,a){"use strict";a.d(i,"b",(function(){return n})),a.d(i,"c",(function(){return e})),a.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("v-uni-view",{staticClass:"box"},[t._l(t.list,(function(i,e){return n("v-uni-view",{key:e,staticClass:"box-list",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.goDetail(i)}}},[1==i.status?n("v-uni-image",{staticClass:"box-list-icon",attrs:{src:a("5ec9")}}):t._e(),2==i.status?n("v-uni-image",{staticClass:"box-list-icon",attrs:{src:a("bb28")}}):t._e(),n("v-uni-view",{staticClass:"box-list-left"},[n("v-uni-view",{staticClass:"box-list-org"},[t._v(t._s(i.orgName))]),n("v-uni-view",{staticClass:"box-list-serve"},[t._v(t._s(i.title))]),n("v-uni-view",{staticClass:"box-list-date"},[t._v(t._s(i.day)+" "+t._s(i.start)+"-"+t._s(i.end))])],1),n("v-uni-view",{staticClass:"box-list-right"},[0==i.status?n("v-uni-view",{staticClass:"box-btn"},[t._v("待审核")]):t._e(),1==i.status?n("v-uni-view",{staticClass:"box-btn box-btn-use"},[t._v("已预约")]):t._e(),2==i.status?n("v-uni-view",{staticClass:"box-btn"},[t._v("已使用")]):t._e(),3==i.status?n("v-uni-view",{staticClass:"box-btn"},[t._v("已过期")]):t._e(),4==i.status?n("v-uni-view",{staticClass:"box-btn"},[t._v("已拒绝")]):t._e()],1)],1)})),0==t.list.length?n("v-uni-view",{staticClass:"no-data"},[n("v-uni-image",{attrs:{src:a("5920"),mode:""}}),n("v-uni-view",{staticClass:"no-data-text"},[t._v("空空如也~")])],1):t._e(),n("v-uni-image",{staticClass:"yuyue-btn",attrs:{src:a("daad")},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goAdd.apply(void 0,arguments)}}})],2)},e=[]},"0756":function(t,i,a){"use strict";a.r(i);var n=a("ce78"),e=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(i,t,(function(){return n[t]}))}(o);i["default"]=e.a},5920:function(t,i,a){t.exports=a.p+"static/img/no_data.a8082f44.png"},"5ec9":function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAADtUlEQVRoQ93aW2gTSxwG8O/brYqKaPvk5V180Tffa6MnsbtJU0ujiBwQkYqgeIQKPogiCvogKIKCIAiCYBXURomNbtKDgogIIiIiIooeeg56VNTa2Cb7l4313trsdrbZzbwlmZn9fjOT2cmFqPHCGvehYqB0teuY8qoJRATAYlDmQ1gPYHpgB4myZ0ygdEUbMHVoE8AOCOYEFvNzMOIVAHNUoAiIS5H1sGUfUJ6pMJVnsBFj0ro/IlDONc6Crp90RiBMquGs92HrMSazz5zHvwDlwrK5oGQAWRQ+HG+goJtM9TjLs1x+AErX0pmYKtcgWBg+HC6C01Yynv7wffavwPJ7Lh3pDumyPIEZpfVc0lv8da8ZfkbSTRsgPBrCmduPuLWdhIyUvTyDctGohxQeQdAQIqBAk600cwd/l/kzMN20E8JdIcINgvZaxvOnxspMyTfW4Z3ubKmzx6ockNffg9LGeC5bSR7K+cal0PQrlVSufh15AdBgwrpVaRZKOrIfgm2VNqhePXmCIqNcYT10k4HSHbEANLlpNPF1eRdDeoxtPX1ur+0AnwOY57bhxNXndZSKcbb2vvFyTQf4PrAfechuDPSvYurGgBdc+agm3ZERb5BeO1TY7jgKDR1MnSmNp89gAjXuhXF1x2inEzfgoAFtaLKFZu6wG8RvTzIBWqKDIP5k3DqtCheg96C8A6WV8bxzy1JagrBE/0NJN9iava1UNtxZtYGPIXVRtvQ88gNX3SVK3IFWWk6j91+/cNUDEnnok5Nszrz1E1cdIHEW+uQ1bM589BtXDeARFBo2j/d04mZgJnKT2cmEtdtNOBV1JwJYgoaNNK1jKgK77cNvYAG2rGYyd85tMFX1/QS+AewkE/m/VYX10o8/QKKv/ONHi3XXSyiVbdQDiYcoToqy9fITlUG99qUYyFuom2SwOfPCayDV7RQCmUWh2MZUr/MVSGCKGiB5CgP1a5k6MxgYmbJPE8QhmNZfKr5e8GNwxjODAsgOJnJ7/Qimqk+vQOd00kHTOq4qiF/9eAEOQOxVbMk7P5YGvrgEymtASzBx9XrgZR42mX+g6TGa2XthwTk5K5xBeQAdMRq5p2HCVQjkTRTF4Arr/7DhKgFmMEVvZzTbH0bcGECeRN/rdey4PRRW3OhA4gBMqzOopxM3A/7zJiPQ0EnTOuCmkyDX/QYkhiCyjomc8ye8milfgP2AtDORy9SM7Lsb/UvYusFk9mat4T5vMuk/FjCefVCLuDKwVmFfXDUP/AT05XDt+oQ5vgAAAABJRU5ErkJggg=="},"5edb":function(t,i,a){"use strict";a.r(i);var n=a("0414"),e=a("0756");for(var o in e)["default"].indexOf(o)<0&&function(t){a.d(i,t,(function(){return e[t]}))}(o);a("6c56");var s=a("f0c5"),r=Object(s["a"])(e["default"],n["b"],n["c"],!1,null,"5cca9b14",null,!1,n["a"],void 0);i["default"]=r.exports},"6c56":function(t,i,a){"use strict";var n=a("cb72"),e=a.n(n);e.a},"846a":function(t,i,a){var n=a("24fb");i=n(!1),i.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/* 颜色变量 */\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/* 文章场景相关 */.box[data-v-5cca9b14]{padding:%?20?%}.box-list[data-v-5cca9b14]{width:%?670?%;height:%?120?%;background-color:#fff;border-radius:%?8?%;position:relative;padding:%?20?%;margin-bottom:%?10?%}.box-list-icon[data-v-5cca9b14]{position:absolute;z-index:10;left:0;top:0;display:inline-block;width:%?28?%;height:%?28?%}.box-list-left[data-v-5cca9b14]{display:inline-block;width:%?520?%;height:%?120?%;float:left}.box-list-right[data-v-5cca9b14]{display:inline-block;width:%?132?%;height:%?120?%;line-height:%?120?%;float:right}.box-btn[data-v-5cca9b14]{display:inline-block;width:%?132?%;height:%?48?%;line-height:%?48?%;text-align:center;border-radius:%?24?%;vertical-align:middle;background-color:#dfdfdf;border:%?1?% solid #949494;color:#949494;font-size:%?28?%}.box-btn.box-btn-use[data-v-5cca9b14]{color:#ffb145;background-color:#ffe5c0;border:%?1?% solid #ffb145}.box-list-org[data-v-5cca9b14]{color:#333;font-size:%?32?%;font-weight:500}.box-list-serve[data-v-5cca9b14], .box-list-date[data-v-5cca9b14]{color:#949494;font-size:%?28?%;font-weight:500}.yuyue-btn[data-v-5cca9b14]{width:%?171?%;height:%?171?%;display:inline-block;position:fixed;z-index:1000;right:%?32?%;bottom:%?167?%;border-radius:50%}',""]),t.exports=i},bb28:function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAD00lEQVRoQ93a32scVRQH8HPGTSD4UNOnGLPMPXd2RFj0Kf4BqYVENpVICBYRoZQSERQtVPChVMSCeQhYCgpCQAgEBEEIQqEiQQxICYIUKUVc725WqdJYxbZb7c7MkRu2Ja2b7s7k3t2ZvW/Lnnvm+5kfu3eGQejzgX3ug46BzPyQUuoAIj4DAE8j4uPMPAwAD6d1JyHie22BtVptfxAErwHAPAA8mlZMi1zXEHF6VyAzo1LqG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=="},cb72:function(t,i,a){var n=a("846a");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var e=a("4f06").default;e("951a1534",n,!0,{sourceMap:!1,shadowMode:!1})},ce78:function(t,i,a){"use strict";(function(t){a("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=getApp(),e={data:function(){return{list:[],page:1,size:10,flag:0}},onLoad:function(){n.checkLogin()},onShow:function(){var i=this;n.ajaxReadyCallback=function(a){var n=a.data.apiname;t.log(a),"order"==n&&(i.list=a.data.data,i.list.length<i.size?i.flag=1:i.page++)},this.flag=0,this.page=1,this.getOrder()},onPullDownRefresh:function(){this.flag=0,this.page=1,this.getOrder()},onReachBottom:function(){this.getOrder()},methods:{goAdd:function(){uni.navigateTo({url:"/pages/index/add"})},goDetail:function(t){uni.navigateTo({url:"/pages/index/detail",success:function(i){i.eventChannel.emit("acceptDataFromOpenerPage",t)}})},getOrder:function(){1!=this.flag&&n.ajax({url:n.globalData.serverUrl+"visitorOrder/list",type:"POST",apiname:"order",data:{page:this.page,size:this.size}})}}};i.default=e}).call(this,a("5a52")["default"])},daad:function(t,i,a){t.exports=a.p+"static/img/yuyuebtn.a65b4236.png"}}]);