体育大屏
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
sport_bigScren/unpackage/dist/build/h5/static/js/pages-index-index.014b11e4.js

1 lines
5.4 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"081b":function(n,t,e){"use strict";var a=e("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e("96cf");var i=a(e("1da1")),r={data:function(){return{num:"",saiName:""}},onShow:function(){uni.removeStorageSync("saiName"),uni.removeStorageSync("logo_img"),uni.removeStorageSync("sid"),uni.removeStorageSync("slist")},methods:{getInfo:function(){var n=this;return(0,i.default)(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=n,uni.request({url:"https://sports.njrenzhou.cn/api/matchsDetails",method:"post",data:{matchs_id:n.num},success:function(n){200==n.data.code&&(e.saiName=n.data.name,uni.setStorageSync("saiName",n.data.data.name),uni.setStorageSync("sid",e.num),uni.setStorageSync("logo_img",n.data.data.logo_img),uni.navigateTo({url:"/pages/clear/index?id="+e.num}))},fail:function(n){console.log(n)}});case 2:case"end":return t.stop()}}),t)})))()},toEnter:function(){this.num?this.getInfo():uni.showToast({title:"请输入赛事ID",icon:"none"})}}};t.default=r},"1da1":function(n,t,e){"use strict";function a(n,t,e,a,i,r,o){try{var u=n[r](o),c=u.value}catch(s){return void e(s)}u.done?t(c):Promise.resolve(c).then(a,i)}function i(n){return function(){var t=this,e=arguments;return new Promise((function(i,r){var o=n.apply(t,e);function u(n){a(o,i,r,u,c,"next",n)}function c(n){a(o,i,r,u,c,"throw",n)}u(void 0)}))}}e("d3b7"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},"1de5":function(n,t,e){"use strict";n.exports=function(n,t){return t||(t={}),n=n&&n.__esModule?n.default:n,"string"!==typeof n?n:(/^['"].*['"]$/.test(n)&&(n=n.slice(1,-1)),t.hash&&(n+=t.hash),/["'() \t\n]/.test(n)||t.needQuotes?'"'.concat(n.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):n)}},"590f":function(n,t,e){"use strict";var a=e("fa80"),i=e.n(a);i.a},"595a":function(n,t,e){"use strict";e.r(t);var a=e("081b"),i=e.n(a);for(var r in a)"default"!==r&&function(n){e.d(t,n,(function(){return a[n]}))}(r);t["default"]=i.a},5988:function(n,t,e){"use strict";e.r(t);var a=e("ffda"),i=e("595a");for(var r in i)"default"!==r&&function(n){e.d(t,n,(function(){return i[n]}))}(r);e("590f");var o,u=e("f0c5"),c=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"de6f320c",null,!1,a["a"],o);t["default"]=c.exports},"725c":function(n,t,e){n.exports=e.p+"static/img/bg3.891accd5.png"},f06f:function(n,t,e){n.exports=e.p+"static/img/logo31.504b647e.png"},fa80:function(n,t,e){var a=e("ff53");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[n.i,a,""]]),a.locals&&(n.exports=a.locals);var i=e("4f06").default;i("00913904",a,!0,{sourceMap:!1,shadowMode:!1})},ff53:function(n,t,e){var a=e("24fb"),i=e("1de5"),r=e("725c");t=a(!1);var o=i(r);t.push([n.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/* 文章场景相关 */.body[data-v-de6f320c]{width:100%;min-height:calc(100vh - 136px);background:url('+o+") 50% no-repeat;background-size:cover}.body .btn[data-v-de6f320c]{width:420px;line-height:60px;background-color:#2681ea;text-align:center;border-radius:5px;margin:0 auto;font-size:20px;color:#fff;margin-top:120px;cursor:pointer}.body .a[data-v-de6f320c]{padding-top:200px;overflow:hidden}.body .a .item[data-v-de6f320c]{width:420px;line-height:60px;background-color:#fff;text-align:center;border-radius:5px;display:flex;margin:0 auto;padding:0 20px;box-sizing:border-box;font-size:20px;color:#212121}.body .a .item uni-input[data-v-de6f320c]{flex:1;height:60px;text-align:left;margin-left:20px;font-size:20px}@media screen and (min-width:1200px) and (max-width:1359px){.body .a[data-v-de6f320c]{padding-top:190px}.body .a uni-image[data-v-de6f320c]{width:100%}}",""]),n.exports=t},ffda:function(n,t,e){"use strict";var a;e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){return a}));var i=function(){var n=this,t=n.$createElement,a=n._self._c||t;return a("v-uni-view",{staticClass:"home"},[a("v-uni-view",{staticClass:"header1"},[a("v-uni-view",{staticClass:"logo1"},[a("v-uni-image",{attrs:{mode:"widthFix",src:e("f06f")}})],1)],1),a("v-uni-view",{staticClass:"body"},[a("v-uni-view",{staticClass:"a"},[a("v-uni-view",{staticClass:"item"},[n._v("赛事ID"),a("v-uni-input",{attrs:{type:"text",placeholder:"请输入赛事id"},model:{value:n.num,callback:function(t){n.num=t},expression:"num"}})],1)],1),a("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.toEnter()}}},[n._v("立即进入")])],1)],1)},r=[]}}]);