1 line
20 KiB
JavaScript
1 line
20 KiB
JavaScript
![]() |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_money-index"],{"0cf8":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var A=i(a("5530")),n=(i(a("bc32")),a("c6da"),a("cf53"),a("26cb")),o=(i(a("e92e")),a("0cdc")),r=(i(a("80a6")),a("42d4")),c=(getApp(),{name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1}},computed:(0,A.default)((0,A.default)({},(0,n.mapGetters)(["isLogin","userInfo","viewColor"])),(0,o.configMap)(["routine_logo"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,r.toLogin)(!0)},getUserProfile:function(){(0,r.toLogin)(!0),uni.navigateTo({url:"/pages/users/login/login_copy"})},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1),this.isGoIndex?uni.switchTab({url:"/pages/index/index"}):this.$emit("authColse",!1)}}});e.default=c},"1f7d":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("99af");var A=a("94e5"),n=(a("829c"),a("ea97")),o=a("26cb"),r=i(a("fa2e")),c=i(a("b68a")),s=a("0cdc"),u=a("350b"),d=(getApp(),{components:{recommend:r.default,authorize:c.default},data:function(){return{domain:u.HTTP_REQUEST_URL,userInfo:{},hostProduct:[],isClose:!1,activity:{},isAuto:!1,isShowAuth:!1,hotScroll:!1,hotPage:1,hotLimit:10}},computed:(0,s.configMap)(["recharge_switch","balance_func_status","recommend_switch"],(0,o.mapGetters)(["isLogin","viewColor","keyColor"])),onLoad:function(){this.isLogin?(this.getUserInfo(),this.get_host_product()):(this.isAuto=!0,this.isShowAuth=!0)},onReady:function(){},methods:{getUserInfo:function(){var t=this;(0,n.getUserInfo)().then((function(e){t.userInfo=e.data}))},onLoadFun:function(){this.isShowAuth=!1,this.getUserInfo(),this.get_host_product()},authColse:function(t){this.isShowAuth=t},get_host_product:function(){var t=this;t.hotScroll||(0,A.getProductHot)(t.hotPage,t.hotLimit).then((function(e){t.hotPage++,t.hotScroll=e.data.list.length<t.hotLimit,t.hostProduct=t.hostProduct.concat(e.data.list)}))}},onReachBottom:function(){this.get_host_product()},onPageScroll:function(t){uni.$emit("scroll")}});e.default=d},"2ecc":function(t,e,a){var i=a("24fb");e=i(!1),e.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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.Popup[data-v-7457bcea]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;t
|