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.

1 line
98 KiB

3 years ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"0022":function(a,t,i){var n=i("24fb");t=n(!1),t.push([a.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.u-grid-item[data-v-34ded115]{box-sizing:border-box;background:#fff;display:flex;flex-direction:row;align-items:center;justify-content:center;position:relative;flex-direction:column}.u-grid-item-hover[data-v-34ded115]{background:#f7f7f7!important}.u-grid-marker-box[data-v-34ded115]{position:absolute;display:inline-flex;line-height:0}.u-grid-marker-wrap[data-v-34ded115]{position:absolute}.u-grid-item-box[data-v-34ded115]{padding:%?30?% 0;display:flex;flex-direction:row;align-items:center;justify-content:center;flex-direction:column;flex:1;width:100%;height:100%}',""]),a.exports=t},"0771":function(a,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return d})),i.d(t,"a",(function(){}));var n=function(){var a=this,t=a.$createElement,i=a._self._c||t;return i("v-uni-view",{staticClass:"u-grid-item",style:{background:a.bgColor,width:a.width},attrs:{"hover-class":a.parentData.hoverClass,"hover-stay-time":200},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.click.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"u-grid-item-box",class:[a.parentData.border?"u-border-right u-border-bottom":""],style:[a.customStyle]},[a._t("default")],2)],1)},d=[]},"1a6c":function(a,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i("8a57"),d={data:function(){return{show:!1,userinfo:{name:"",sex:"",age:"",mobile:""},avatar_url:"",location:"",orderList:[]}},mounted:function(){this.getUserinfo(),this.getOrderLists()},methods:{getUserinfo:function(){var a=this;(0,n.userinfo)({}).then((function(t){console.log(t),a.userinfo.name=t.data.name,a.userinfo.sex=t.data.sex,a.userinfo.age=t.data.age,a.userinfo.mobile=t.data.mobile,a.avatar_url=t.data.avatar_url})).catch((function(a){}))},getOrderLists:function(){var a=this;(0,n.orderlist)({page_size:2}).then((function(t){a.orderList=t.data.data,console.log(a.orderList)})).catch((function(a){}))},loginOut:function(){(0,n.loginout)({}).then((function(a){uni.removeStorageSync("token"),uni.navigateTo({url:"../login/login"})})).catch((function(a){}))}}};t.default=d},"1d14":function(a,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return d})),i.d(t,"a",(function(){}));var n=function(){var a=this,t=a.$createElement,i=a._self._c||t;return i("v-uni-view",{staticClass:"u-mask",class:{"u-mask-zoom":a.zoom,"u-mask-show":a.show},style:[a.maskStyle,a.zoomStyle],attrs:{"hover-stop-propagation":!0},on:{touchmove:function(t){t.stopPropagation(),t.preventDefault(),arguments[0]=t=a.$handleEvent(t),function(){}.apply(void 0,arguments)},click:function(t){arguments[0]=t=a.$handleEvent(t),a.click.apply(void 0,arguments)}}},[a._t("default")],2)},d=[]},"1de5":function(a,t,i){"use strict";a.exports=function(a,t){return t||(t={}),a=a&&a.__esModule?a.default:a,"string"!==typeof a?a:(/^['"].*['"]$/.test(a)&&(a=a.slice(1,-1)),t.hash&&(a+=t.hash),/["'() \t\n]/.test(a)||t.needQuotes?'"'.concat(a.rep