frontend_h5/treegitee/unpackage/dist/build/h5/static/js/pages-mt-index.995e4c77.js

1 line
6.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mt-index"],{"0ce3":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,i=t._self._c||e;return i("v-uni-view",{staticClass:"mt",staticStyle:{"overflow-x":"hidden"}},[i("v-uni-view",{staticClass:"flex_column flex_items",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"mt120 flex_column flex_items",staticStyle:{color:"#4d4d4d"}},[i("v-uni-image",{staticStyle:{width:"330rpx",height:"162rpx"},attrs:{src:t.mtwz,mode:""}}),i("v-uni-view",{staticClass:"flex_start flex_items f36 mt60"},[i("v-uni-text",[t._v("美食一键送达")]),i("v-uni-text",{staticClass:"ml10"},[t._v("让生活更有滋味")])],1)],1),i("v-uni-view",{staticClass:"flex_items flex_center pos",staticStyle:{overflow:"hidden",width:"100%","margin-top":"-120rpx"}},[i("v-uni-image",{staticStyle:{width:"776rpx"},attrs:{src:t.dsimg,mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"f-center btnn f36 pos",staticStyle:{"margin-top":"-150rpx",color:"#FF8300","line-height":"146rpx","z-index":"5"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goout("1")}}},[t._v("我要点外卖")]),i("v-uni-view",{staticClass:"f-center btnn f36 mt40 pos",staticStyle:{color:"#FF8300","line-height":"146rpx","z-index":"5"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goout("2")}}},[t._v("我要到店吃")]),i("v-uni-view",{staticClass:"f24 mt30 pb40",staticStyle:{color:"#4d4d4d"}},[t._v("本页面内的服务由成都蓝色兄弟网络科技有限公司提供")])],1),t.modalShow?i("v-uni-view",{staticClass:"flex_items flex_center",staticStyle:{width:"100%",height:"100vh",background:"rgba(0,0,0,.5)",position:"fixed",left:"0",top:"0","z-index":"5"}},[i("v-uni-view",{staticClass:"bgwhite tkk flex_column flex_items ptb30"},[i("v-uni-text",{staticClass:"f36 bold",staticStyle:{color:"#585858"}},[t._v("请输入账号")]),i("v-uni-input",{staticClass:"mt30 ptb20 plr20",staticStyle:{"text-align":"left",border:"1px solid #e9e9e9",background:"#d4d4d4",width:"70%"},attrs:{type:"text",placeholder:"账号"},model:{value:t.usernumber,callback:function(e){t.usernumber=e},expression:"usernumber"}}),i("v-uni-view",{staticClass:"mt10 f24",staticStyle:{color:"#a9a6a6",width:"65%"}},[t._v("访客登陆账号为13902、13903、13904、13905、13906")]),i("v-uni-view",{staticClass:"flex_start flex_items mt20 bte9s ptb20",staticStyle:{width:"80%"}},[i("v-uni-view",{staticClass:"flex_items flex_center",staticStyle:{width:"49%",height:"40rpx","border-right":"1px solid #e9e9e9"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.out.apply(void 0,arguments)}}},[i("v-uni-text",[t._v("取消")])],1),i("v-uni-view",{staticStyle:{width:"50%",height:"40rpx",color:"#167eef"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.yes.apply(void 0,arguments)}}},[i("v-uni-text",[t._v("确认")])],1)],1)],1)],1):t._e(),i("Ywatermark",{attrs:{info:"蓝色兄弟"}})],1)},a=[]},"1de5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},3609:function(t,e,i){var n=i("9c17");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("110e3a7d",n,!0,{sourceMap:!1,shadowMode:!1})},"4eca":function(t,e,i){t.exports=i.p+"static/img/btnn.a3e54104.png"},"7d16":function(t,e,i){"use strict";var n=i("3609"),a=i.n(n);a.a},"8dbe":function(t,e,i){"use strict";i.r(e);var n=i("a7e2"),a=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=a.a},"99ef":function(t,e,i){"use strict";i.r(e);var n=i("0ce3"),a=i("8dbe");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("7d16");var o=i("f0c5"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"83aae8fe",null,!1,n["a"],void 0);e["default"]=r.exports},"9c17":function(t,e,i){var n=i("24fb"),a=i("1de5"),s=i("4eca");e=n(!1);var o=a(s);e.push([t.i,".mt[data-v-83aae8fe]{background-image:url(https://mtweb.86698.cn/static/images/mtbg.png);background-size:100% 100%;width:100%;height:100vh;position:fixed;left:0;top:0;overflow-y:auto}.mask[data-v-83aae8fe]{width:100%;height:100vh;position:fixed;left:0;top:0;z-index:10;background:rgba(0,0,0,.5)}.tkk[data-v-83aae8fe]{width:80%;background-color:#fff;text-align:center;border-radius:3px;overflow:hidden}.btnn[data-v-83aae8fe]{background-image:url("+o+");background-size:100% 100%;width:%?488?%;height:%?146?%}",""]),t.exports=e},a7e2:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{usernumber:"",modalShow:!1,types:1,imgUrl:"",mtwz:i("d131"),dsimg:i("df2e"),gbyh:i("aa35")}},onLoad:function(t){console.log(t),this.usernumber=t.user,this.imgUrl=this.api.imgUrl},methods:{goout:function(t){return"1"==t?uni.navigateTo({url:"/pages/mt/preferential2?user="+this.usernumber}):this.qudian(this.usernumber),!1},qudian:function(t){this.api.gomt({user_number:t,type:2,dinner_type:""}).then((function(t){if(console.log(t),200==t.data.code){uni.hideLoading();var e=t.data.url;window.open(e,"_self")}else uni.showToast({title:t.data.message,icon:"none"})}))},out:function(){this.modalShow=!1},yes:function(){if(""==this.usernumber)return uni.showToast({title:"账号不能为空",icon:"none"}),!1;this.submit(this.types,this.usernumber)},submit:function(t,e){uni.showLoading({title:"登录中..."}),uni.request({url:"https://mtapi.86698.cn/api/login?user_number="+e+"&type="+t,method:"get",header:{"content-type":"application/json"},success:function(t){console.log(t),uni.hideLoading();var e=t.data.url;window.open(e,"_self")},fail:function(t){console.log(t)}})}}};e.default=n},aa35:function(t,e,i){t.exports=i.p+"static/img/gbyh.c81aedb4.png"},d131:function(t,e,i){t.exports=i.p+"static/img/mtwz.ff54821d.png"},df2e:function(t,e,i){t.exports=i.p+"static/img/ds.e98d1123.png"}}]);