1 line
4.8 KiB
JavaScript
1 line
4.8 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"075c":function(e,t,n){"use strict";n.r(t);var i=n("aeb2"),o=n("7c12");for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);n("85f5");var a,r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"0d0bff16",null,!1,i["a"],a);t["default"]=s.exports},"08cf":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=null,o={data:function(){return{codeList:[],info:{}}},onLoad:function(){this.queryCodeF(),this.queryNoticeF(),this.setTimeDownC()},computed:{},onReady:function(e){},onShow:function(){},onUnload:function(){clearInterval(i)},methods:{queryCodeF:function(e){var t=this;uni.request({url:"https://www.chuiniucha.com/api/big-screen-number",data:{},header:{Accept:"application/json"},success:function(e){var n=e.data;console.log(n),200==n.code&&(t.codeList=n.data)}})},queryNoticeF:function(e){var t=this;uni.request({url:"https://www.chuiniucha.com/api/big-screen-notice",data:{},header:{Accept:"application/json"},success:function(e){var n=e.data;console.log(n),200==n.code&&(t.info=n.data)}})},setTimeDownC:function(){var e=this;clearInterval(i),i=setInterval((function(){e.queryCodeF("upadte"),e.queryNoticeF()}),8e3)}}};t.default=o},"7c12":function(e,t,n){"use strict";n.r(t);var i=n("08cf"),o=n.n(i);for(var c in i)"default"!==c&&function(e){n.d(t,e,(function(){return i[e]}))}(c);t["default"]=o.a},"85f5":function(e,t,n){"use strict";var i=n("efd8"),o=n.n(i);o.a},9237:function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.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/* 文章场景相关 */.code-page[data-v-0d0bff16]{width:100%;height:100%;position:absolute;left:0;top:0;background-color:#181818;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;overflow:hidden}.code-page .top-title[data-v-0d0bff16]{height:120px;font-size:80px;color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.code-page .top-title .tit[data-v-0d0bff16]{padding:20px 5px;border-bottom:3px solid #fff}.code-page .top-box-notice[data-v-0d0bff16]{text-align:center;font-size:38px;color:#ecad39;height:120px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.code-page .code-section[data-v-0d0bff16]{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:hidden;padding-bottom:50px}.code-page .code-section .code-item[data-v-0d0bff16]{width:25%;-webkit-box-flex:0;-webkit-flex:0 0 25%;flex:0 0 25%;height:25%;float:left;text-align:center;font-size:44px;color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}',""]),e.exports=t},aeb2:function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return i}));var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"code-page"},[n("v-uni-view",{staticClass:"top-title"},[n("v-uni-view",{staticClass:"tit"},[e._v("待取餐号")])],1),n("v-uni-view",{staticClass:"top-box-notice"},[e._v(e._s(e.info.notice))]),n("v-uni-view",{staticClass:"code-section"},e._l(e.codeList,(function(t,i){return n("v-uni-view",{key:i,staticClass:"code-item"},[e._v(e._s(t))])})),1)],1)},c=[]},efd8:function(e,t,n){var i=n("9237");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4f06").default;o("6c72df9c",i,!0,{sourceMap:!1,shadowMode:!1})}}]); |