frontend_h5/static/js/pages-mt-login.79ca4312.js

1 line
7.2 KiB
JavaScript
Raw Normal View History

2024-06-17 15:25:46 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mt-login"],{"217e":function(t,i,e){"use strict";var a=e("efff"),n=e.n(a);n.a},"40fa":function(t,i,e){"use strict";e.r(i);var a=e("8677"),n=e.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(s);i["default"]=n.a},8677:function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("14d9");var a={data:function(){return{istrue:!1,integral:"",form:{page:1,pageSize:10},phone:"",list:[],hotlist:[],imgUrl:""}},onLoad:function(){this.imgUrl=this.api.imgUrl,this.getData()},methods:{getData:function(){var t=this;uni.showLoading({title:"加载中..."}),this.api.myself(this.form).then((function(i){if(console.log(i),200==i.data.code){if(uni.stopPullDownRefresh(),t.integral=i.data.data.integral,t.phone=i.data.data.phone,null!=t.phone&&(t.phone=t.phone.substr(0,3)+"****"+t.phone.substr(7)),0==i.data.data.list.data.length)return uni.showToast({title:"暂无数据",icon:"none"}),t.istrue=!0,!1;for(var e=0;e<i.data.data.list.data.length;e++)t.list.push(i.data.data.list.data[e]);t.getactive()}else uni.hideLoading(),uni.showToast({icon:"none",title:i.data.message})}))},getactive:function(){var t=this;this.api.getactivit({page:1,pageSize:1e3}).then((function(i){console.log(i),200==i.data.code?(uni.stopPullDownRefresh(),uni.hideLoading(),t.hotlist=i.data.data.data):(uni.hideLoading(),uni.showToast({icon:"none",title:i.data.message})),t.istrue=!0}))},getp:function(t,i){2==i?uni.navigateTo({url:"/pages/turntable/index?id="+t}):3==i?uni.navigateTo({url:"/pages/scap/scratch?id="+t}):5==i?uni.navigateTo({url:"/pages/around/index?id="+t}):6==i&&uni.navigateTo({url:"/pages/answer/index?id="+t})},goorder:function(t){uni.switchTab({url:"/pages/order/index"})},goprize:function(){uni.navigateTo({url:"/pages/my/prizes"})}},onReachBottom:function(){uni.showLoading({title:"加载中..."}),this.form.page+=1,this.getData()},onPullDownRefresh:function(){this.form.page=1,this.list=[],this.getData()}};i.default=a},"86c8":function(t,i,e){"use strict";e.r(i);var a=e("c968"),n=e("40fa");for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(s);e("217e");var r=e("f0c5"),l=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"813bb46a",null,!1,a["a"],void 0);i["default"]=l.exports},adb9:function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,".three[data-v-813bb46a]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}uni-page-body[data-v-813bb46a]{background:linear-gradient(180deg,#ffe4e4,hsla(0,0%,84.7%,0))!important}body.?%PAGE?%[data-v-813bb46a]{background:linear-gradient(180deg,#ffe4e4,hsla(0,0%,84.7%,0))!important}.t22[data-v-813bb46a]{background-image:url(https://mtweb.86698.cn/static/images/t2bb.png);background-size:100% 100%;width:calc(100% - %?60?%);height:%?276?%}.one[data-v-813bb46a]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;width:%?115?%}\n\n/*隐藏滚动条*/[data-v-813bb46a]::-webkit-scrollbar{width:0!important;height:0!important}",""]),t.exports=i},c968:function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return n})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.istrue?e("v-uni-view",{staticClass:"plr30"},[e("v-uni-view",{staticClass:"t1 flex_between flex_items mt30 pos"},[e("v-uni-view",{staticClass:"flex_start flex_items"},[e("v-uni-image",{staticStyle:{width:"128rpx",height:"128rpx"},attrs:{src:t.imgUrl+"tx.png"}}),e("v-uni-view",{staticClass:"flex_column ml30 mt10"},[e("v-uni-text",{staticClass:"f32 bold",staticStyle:{color:"#333"}},[t._v(t._s(t.phone))]),e("v-uni-view",{staticClass:"mt20 f18 f-center plr20",staticStyle:{color:"#F5373A",height:"42rpx","line-height":"42rpx",background:"#FFFFFF","border-radius":"21rpx",border:"1rpx solid #F5373A"}},[e("v-uni-text",[t._v("积分:"+t._s(t.integral))])],1)],1)],1),e("v-uni-view",{staticClass:"flex_column flex_items pos",s