shop-php/public/static/js/pages-users-commission_rank-index.9c061a00.js

1 line
33 KiB
JavaScript
Raw Normal View History

2023-09-13 20:20:20 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-commission_rank-index"],{"0cf8":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5530")),o=(n(i("bc32")),i("c6da"),i("cf53"),i("26cb")),r=(n(i("e92e")),i("0cdc")),s=(n(i("80a6")),i("42d4")),u=(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,o.mapGetters)(["isLogin","userInfo","viewColor"])),(0,r.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,s.toLogin)(!0)},getUserProfile:function(){(0,s.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=u},"18d5":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",{style:t.viewColor},[i("v-uni-view",{staticClass:"CommissionRank"},[i("v-uni-view",{staticClass:"header"},[t.position?i("v-uni-view",{staticClass:"rank"},[t._v("您目前的排名第"),i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.position))]),t._v("名")],1):i("v-uni-view",{staticClass:"rank"},[t._v("您目前暂无排名")])],1),i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"nav acea-row row-around"},t._l(t.navList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item",class:t.active==n?"t-color":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.switchTap(n)}}},[t._v(t._s(e))])})),1),i("v-uni-view",{staticClass:"list"},t._l(t.rankList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item acea-row row-between-wrapper"},[n<=2?i("v-uni-view",{staticClass:"num"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/medal0"+(n+1)+".png"}})],1):i("v-uni-view",{staticClass:"num"},[t._v(t._s(n+1))]),i("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:e.avatar?e.avatar:"/static/images/f.png"}})],1),i("v-uni-view",{staticClass:"text line1"},[t._v(t._s(e.nickname))])],1),i("v-uni-view",{staticClass:"people p-color"},[t._v("¥"+t._s(e.count))])],1)})),1)],1)],1),i("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}})],1)},a=[]},"2ecc":function(t,e,i){var n=i("24fb");e=n(!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预处理你也可以直接<EFBFBD><EFBFBD>