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 lines
32 KiB

{"version":3,"sources":["uni-app:///main.js",null,"webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/index.vue?8a9a","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/index.vue?49cc","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/index.vue?7508","uni-app:///pages/user/index.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/index.vue?7a4c","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/index.vue?61b0"],"names":["createPage","Page"],"mappings":"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","file":"pages/user/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/user/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=137d5072&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/user/index.vue\"\nexport default component.exports","export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=137d5072&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n return _vm.$yrouter.push({\n path: \"/pages/user/addServiceCode/index\"\n })\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n<view class=\"home-page\">\r\n <view class=\"page-top-box\">\r\n <image src=\"/static/images/home/top-bg.png\" class=\"top-bg\"></image>\r\n <view class=\"page-title\" :style=\"'top:' + menuTop + 'px;height:' + menuHeight + 'px;line-height: ' + menuHeight + 'px;'\">禅易云生态</view>\r\n <view class=\"top-box-content\" :style=\"'top: ' + (CustomBar + 10) + 'rpx;'\">\r\n <view class=\"top-set-box acea-row row-between row-middle\">\r\n <view class=\"set-box-l\" v-if=\"authType == 1 || authType == 2\" @tap=\"toAuthInfo\">{{authType == 1 ? '企业' : '个人'}}中心</view>\r\n <view v-else></view>\r\n <view class=\"set-box-r acea-row\">\r\n <!-- <image src=\"../../images/user/set-icon.png\" class=\"setIcon\"></image> -->\r\n <!-- <image src=\"../../images/user/message-icon.png\" class=\"message\"></image> -->\r\n </view>\r\n </view>\r\n <view class=\"userInfo-box acea-row row-middle\">\r\n <image :src=\"userInfo.avatar || '/static/images/user/header.png'\" class=\"header-img\"></image>\r\n <view class=\"userInfo-r\">\r\n <view class=\"name-box acea-row-nowrap row-middle\">\r\n <view class=\"name line1\">{{userInfo.nickname || '微信用户'}}</view>\r\n <image src=\"/static/images/user/tyg-tag.png\" class=\"tyg-tag\" v-if=\"userInfo.isVip\"></image>\r\n </view>\r\n <view class=\"auth-tips acea-row row-middle\">\r\n <text v-if=\"authStatus == 0\" @tap=\"toAuth\">完成信息认证,享受更多服务,去认证</text>\r\n <text v-if=\"authStatus == 1\">信息认证审核中</text>\r\n <text v-if=\"authStatus == 2\">已完成信息认证</text>\r\n <text v-if=\"authStatus == 3\" @tap=\"toAuth\">认证失败,重新认证</text>\r\n <image src=\"/static/images/back.png\" v-if=\"authStatus == 0 || authStatus == 3\"></image>\r\n </view>\r\n <!-- <view class=\"img-tags acea-row row-middle\">\r\n <view class=\"level\">{{userInfo.levelName || '普通会员'}}</view>\r\n <image src=\"../../images/user/tyg-tag.png\" class=\"tyg-tag\" wx:if=\"{{userInfo.isRecharge}}\"></image>\r\n </view> -->\r\n </view>\r\n </view>\r\n <view class=\"my-reminds-box acea-row row-around \">\r\n <view class=\"remind-item\" @tap=\"toResourcesOrder\">\r\n <view class=\"count\">{{demandCounts}}</view>\r\n <view>资源订单</view>\r\n </view>\r\n <!-- <view class=\"remind-item\">\r\n <view class=\"count\">0</view>\r\n <view>我的审核</view>\r\n </view> -->\r\n <view class=\"remind-item\" @tap=\"toNeedsOrder\">\r\n <view class=\"count\">{{supplyCounts}}</view>\r\n <view>需求订单</view>\r\n </view>\r\n </view>\r\n <view class=\"to-tyg-box\" @tap=\"toMine\">\r\n <image src=\"/static/images/user/tyg-img.png\"></image>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"menu-list-box\">\r\n <!-- 需求管理 -->\r\n <view class=\"needs-menu-list\">\r\n <view class=\"title-box acea-row row-between-wrapper\">\r\n <view>需求管理</view>\r\n <!-- <view class=\"acea-row row-middle seemore\">\r\n <text>查看全部</text> \r\n <image src=\"../../images/user/arror-r.png\"></image>\r\n </view> -->\r\n </view>\r\n <view class=\"menu-list acea-row row-between\">\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toNeedsManage\" data-type=\"1\">\r\n <image src=\"/static/images/user/xuqiu1.png\"></image>\r\n <text>发布中</text>\r\n </view>\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toNeedsManage\" data-type=\"2\">\r\n <image src=\"/static/images/user/xuqiu2.png\"></image>\r\n <text>审核中</text>\r\n </view>\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toNeedsManage\" data-type=\"3\">\r\n <image src=\"/static/images/user/xuqiu3.png\"></image>\r\n <text>草稿箱</text>\r\n </view>\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toNeedsManage\" data-type=\"4\">\r\n <image src=\"/static/images/user/xuqiu4.png\"></image>\r\n <text>已结束</text>\r\n </view>\r\n </view>\r\n <view class=\"torelease-img\" @tap=\"toRelease(1)\">\r\n <image src=\"/static/images/user/fbxq.png\"></image>\r\n <view class=\"to-btn\">发布需求</view>\r\n </view>\r\n </view>\r\n <!-- 资源管理 -->\r\n <view class=\"needs-menu-list\">\r\n <view class=\"title-box acea-row row-between-wrapper\">\r\n <view>资源管理</view>\r\n </view>\r\n <view class=\"menu-list acea-row row-between\">\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toResourcesManage\" data-type=\"1\">\r\n <image src=\"/static/images/user/xuqiu1.png\"></image>\r\n <text>发布中</text>\r\n </view>\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toResourcesManage\" data-type=\"2\">\r\n <image src=\"/static/images/user/xuqiu2.png\"></image>\r\n <text>审核中</text>\r\n </view>\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toResourcesManage\" data-type=\"3\">\r\n <image src=\"/static/images/user/xuqiu3.png\"></image>\r\n <text>草稿箱</text>\r\n </view>\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toResourcesManage\" data-type=\"4\">\r\n <image src=\"/static/images/user/xuqiu4.png\"></image>\r\n <text>已结束</text>\r\n </view>\r\n </view>\r\n <view class=\"torelease-img\" @tap=\"toRelease(0)\">\r\n <image src=\"/static/images/user/fbzy.png\"></image>\r\n <view class=\"to-btn\">发布需求</view>\r\n </view>\r\n </view>\r\n\t\t<view class=\"add-service\" @click=\"$yrouter.push({path: '/pages/user/addServiceCode/index'})\">\r\n\t\t\t<image src=\"https://download.cyjyyjy.com/addservice.png\"></image>\r\n\t\t</view>\r\n\t\t<!-- 电商管理 -->\r\n\t\t<view class=\"needs-menu-list\">\r\n\t\t\t<view class=\"mask-box\" v-if=\"userInfo.isVip == false\" @tap=\"toMine\">\r\n\t\t\t\t<text>成为首席体验官,立即开店!</text>\r\n\t\t\t</view>\r\n\t\t <view class=\"title-box acea-row row-between-wrapper\">\r\n\t\t <view>电商管理</view>\r\n\t\t </view>\r\n\t\t <view class=\"menu-list acea-row row-between\">\r\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toReleaseGoods\">\r\n\t\t <image src=\"/static/images/user/fuwu2.png\"></image>\r\n\t\t <text>发布商品</text>\r\n\t\t </view>\r\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toGoodsManage\">\r\n\t\t <image src=\"/static/images/user/fuwu7.png\"></image>\r\n\t\t <text>商品管理</text>\r\n\t\t </view>\r\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toOrderManage\">\r\n\t\t <image src=\"/static/images/user/fuwu3.png\"></image>\r\n\t\t <text>商家订单</text>\r\n\t\t </view>\r\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" v-if=\"userInfo.store == null\" @tap=\"toOpenShop\">\r\n\t\t <image src=\"/static/images/user/fuwu6.png\"></image>\r\n\t\t <text>我要开店</text>\r\n\t\t </view>\r\n\t\t\t\t<view class=\"menu-item acea-row row-column row-center-wrapper\" v-if=\"userInfo.store !== null\" @tap=\"toMyShop\">\r\n\t\t\t\t <image src=\"/static/images/user/fuwu6.png\"></image>\r\n\t\t\t\t <text>我的店铺</text>\r\n\t\t\t\t</view>\r\n\t\t </view>\r\n\t\t</view>\r\n\t\t<!-- 我的订单 -->\r\n\t\t<view class=\"needs-menu-list myorder-menu-list\">\r\n\t\t <view class=\"title-box acea-row row-between-wrapper\">\r\n\t\t <view>我的订单</view>\r\n\t\t </view>\r\n\t\t <view class=\"menu-list acea-row row-between\">\r\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @click=\"goMyOrder(0)\">\r\n\t\t <image src=\"/static/images/user/fuwu2.png\"></image>\r\n\t\t <text>待付款</text>\r\n\t\t </view>\r\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @click=\"goMyOrder(1)\">\r\n\t\t <image src=\"/static/images/user/fuwu7.png\"></image>\r\n\t\t <text>待发货</text>\r\n\t\t </view>\r\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @click=\"goMyOrder(2)\">\r\n\t\t <image src=\"/static/images/user/fuwu3.png\"></image>\r\n\t\t <text>待收货</text>\r\n\t\t </view>\r\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @click=\"goMyOrder(3)\">\r\n\t\t <image src=\"/static/images/user/fuwu6.png\"></image>\r\n\t\t <text>待评价</text>\r\n\t\t </view>\r\n\t\t\t\t<view class=\"menu-item acea-row row-column row-center-wrapper\" @click=\"goReturnList\">\r\n\t\t\t\t <image src=\"/static/images/user/fuwu6.png\"></image>\r\n\t\t\t\t <text>售后/退款</text>\r\n\t\t\t\t</view>\r\n\t\t </view>\r\n\t\t</view>\r\n <!-- 常用服务 -->\r\n <view class=\"needs-menu-list\">\r\n <view class=\"title-box acea-row row-between-wrapper\">\r\n <view>常用服务</view>\r\n </view>\r\n <view class=\"menu-list acea-row row-between\">\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\r\n <image src=\"/static/images/user/fuwu2.png\"></image>\r\n <text>预存款项</text>\r\n </view>\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\r\n <image src=\"/static/images/user/fuwu7.png\"></image>\r\n <text>意见反馈</text>\r\n </view>\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\r\n <image src=\"/static/images/user/fuwu3.png\"></image>\r\n <text>联系客服</text>\r\n </view>\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\r\n <image src=\"/static/images/user/fuwu6.png\"></image>\r\n <text>招商活动</text>\r\n </view>\r\n <!-- <view class=\"menu-item acea-row row-column row-center-wrapper\">\r\n <image src=\"../../images/user/fuwu1.png\"></image>\r\n <text>会员中心</text>\r\n </view>\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\r\n <image src=\"../../images/user/fuwu4.png\"></image>\r\n <text>举报通道</text>\r\n </view>\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\r\n <image src=\"../../images/user/fuwu5.png\"></image>\r\n <text>生活中心</text>\r\n </view>\r\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\r\n <image src=\"../../images/user/fuwu8.png\"></image>\r\n <text>举报通道</text>\r\n </view> -->\r\n </view>\r\n </view>\r\n </view>\r\n <tabbar :current=\"currentTabIndex\" tabBarClick=\"click\"></tabbar>\r\n</view>\r\n</template>\r\n\r\n<script>\r\n// pages/life/index.js\r\nconst app = getApp();\r\nimport tabbar from \"../../tabbarComponent/tabbar\";\r\n\r\nexport default {\r\n data() {\r\n return {\r\n tabbar: {},\r\n userInfo: {},\r\n CustomBar: app.globalData.CustomBar,\r\n menuHeight: app.globalData.menuHeight,\r\n navHeight: app.globalData.navHeight,\r\n menuTop: app.globalData.menuTop,\r\n demandCounts: 0,\r\n supplyCounts: 0,\r\n authStatus: 0,\r\n authType: 0,\r\n completeState: \"\",\r\n\t\t\tcurrentTabIndex: 4\r\n };\r\n },\r\n\r\n components: {\r\n tabbar\r\n },\r\n props: {},\r\n\r\n /**\r\n * 生命周期函数--监听页面加载\r\n */\r\n onLoad: function (options) {\r\n // app.globalData.editTabbar();\r\n\t\tthis.getInfo();\r\n },\r\n\r\n /**\r\n * 生命周期函数--监听页面显示\r\n */\r\n onShow: function () {\r\n \r\n },\r\n\tonPullDownRefresh() {\r\n\t\tthis.getInfo()\r\n\t},\r\n methods: {\r\n\t\t\r\n\t\ttabBarClick(index){\r\n\t\t\tthis.currentTabIndex = index\r\n\t\t},\r\n getInfo() {\r\n app.http('get', 'userinfo').then(res => {\r\n if (res.data.success) {\r\n this.setData({\r\n userInfo: res.data.data\r\n });\r\n\t\t\t\t\tuni.setStorageSync('userInfo',res.data.data)\r\n this.getOrderCount();\r\n this.isAuthentication();\r\n uni.stopPullDownRefresh();\r\n }\r\n });\r\n },\r\n\r\n isAuthentication() {\r\n app.http('get', 'user/isAuthentication').then(res => {\r\n if (res.data.success) {\r\n this.setData({\r\n authStatus: res.data.data.authenticationState,\r\n authType: res.data.data.authorizationType,\r\n completeState: res.data.data.completeState\r\n });\r\n }\r\n });\r\n },\r\n\t\ttoRelease(type){\r\n\t\t\tuni.navigateTo({\r\n\t\t\t url: '/pages/release/index'\r\n\t\t\t})\r\n\t\t},\r\n toAuthInfo() {\r\n let type = this.authType;\r\n\r\n if (type == 1) {\r\n uni.navigateTo({\r\n url: '/pages/release/perfectCompanyInfo/index?isEdit=' + 1\r\n });\r\n } else {\r\n uni.navigateTo({\r\n url: '/pages/release/perfectPersonInfo/index?isEdit=' + 1\r\n });\r\n }\r\n },\r\n\r\n toAuth() {\r\n uni.navigateTo({\r\n url: '/pages/release/index'\r\n });\r\n },\r\n\r\n getOrderCount() {\r\n app.http('GET', 'Communicate/getOrderCounts').then(res => {\r\n if (res.data.success) {\r\n this.setData({\r\n demandCounts: res.data.data.demandCounts,\r\n supplyCounts: res.data.data.supplyCounts\r\n });\r\n }\r\n });\r\n },\r\n\r\n // 跳转首席体验官\r\n toMine() {\r\n if (this.userInfo.isVip) {\r\n uni.navigateTo({\r\n url: '/pages/user/mine/index'\r\n });\r\n } else {\r\n uni.navigateTo({\r\n url: '/pages/user/agreement/index'\r\n });\r\n }\r\n },\r\n\r\n //跳转资源订单\r\n toResourcesOrder() {\r\n uni.navigateTo({\r\n url: '/pages/user/resourcesOrder/index'\r\n });\r\n },\r\n\r\n //跳转需求订单\r\n toNeedsOrder() {\r\n uni.navigateTo({\r\n url: '/pages/user/needsOrder/index'\r\n });\r\n },\r\n\r\n //跳转需求管理\r\n toNeedsManage(e) {\r\n let type = e.currentTarget.dataset.type;\r\n uni.navigateTo({\r\n url: '/pages/user/needsManage/index?type=' + type\r\n });\r\n },\r\n\r\n //跳转资源管理\r\n toResourcesManage(e) {\r\n let type = e.currentTarget.dataset.type;\r\n uni.navigateTo({\r\n url: '/pages/user/resourcesManage/index?type=' + type\r\n });\r\n },\r\n\t\t//跳转我的订单\r\n goMyOrder(type) {\r\n this.$yrouter.push({\r\n path: '/pages/order/MyOrder/index',\r\n query: {\r\n type,\r\n },\r\n })\r\n },\r\n\t\t//发布商品\r\n\t\ttoReleaseGoods(){\r\n\t\t\tif(this.userInfo.store !== null){\r\n\t\t\t\tthis.$yrouter.push({\r\n\t\t\t\t path: '/pages/life/addGoods/index'\r\n\t\t\t\t})\r\n\t\t\t} else{\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle: '请先点最右边按钮去开店!',\r\n\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\tduration: 200\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t},\r\n\t\t//跳转到退款售后订单\r\n\t\tgoReturnList() {\r\n\t\t\tif(this.userInfo.store !== null){\r\n\t\t\t\tthis.$yrouter.push('/pages/order/ReturnList/index')\r\n\t\t\t} else{\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle: '请先点最右边按钮去开店!',\r\n\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\tduration: 200\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t},\r\n\t\ttoGoodsManage(){\r\n\t\t\tif(this.userInfo.store !== null){\r\n\t\t\t\tthis.$yrouter.push('/pages/user/goodsManage/index')\r\n\t\t\t} else{\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle: '请先点最右边按钮去开店!',\r\n\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\tduration: 200\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t},\r\n\t\ttoOrderManage(){\r\n\t\t\tthis.$yrouter.push('/pages/user/orderManage/index')\r\n\t\t},\r\n\t\ttoOpenShop(){\r\n\t\t\tthis.$yrouter.push('/pages/user/openStore/index')\r\n\t\t},\r\n\t\ttoMyShop(){\r\n\t\t\tthis.$yrouter.push('/pages/user/myShop/index')\r\n\t\t},\r\n }\r\n};\r\n</script>\r\n<style lang=\"less\">\r\n.home-page{\r\n min-height: 100vh;\r\n padding-bottom: 130rpx;\r\n background: #F3F3F3;\r\n}\r\n.page-top-box{\r\n width: 100%;\r\n height: 575rpx;\r\n position: relative;\r\n}\r\n.page-title{\r\n width: 100%;\r\n color: #fff;\r\n text-align: center;\r\n position: relative;\r\n}\r\n.top-bg{\r\n width: 100%;\r\n height: 598rpx;\r\n position: absolute;\r\n}\r\n.top-box-content{\r\n position: relative;\r\n padding: 0 40rpx;\r\n color: #fff;\r\n}\r\n.top-set-box{\r\n\r\n}\r\n.top-set-box .setIcon{\r\n width: 32rpx;\r\n height: 29rpx;\r\n}\r\n.top-set-box .message{\r\n width: 38rpx;\r\n height: 29rpx;\r\n margin-left: 34rpx;\r\n}\r\n.set-box-l{\r\n width: 160rpx;\r\n height: 44rpx;\r\n line-height: 44rpx;\r\n text-align: center;\r\n background: #FFA583;\r\n border-radius: 22rpx;\r\n font-size: 24rpx;\r\n}\r\n.userInfo-box{\r\n margin-top: 34rpx;\r\n}\r\n.userInfo-box .header-img{\r\n width: 120rpx;\r\n height: 120rpx;\r\n border-radius: 50%;\r\n margin-right: 12rpx;\r\n}\r\n.userInfo-r{\r\n width: calc(100% - 134rpx);\r\n}\r\n.userInfo-r .name{\r\n width: auto;\r\n font-size: 36rpx;\r\n}\r\n.level{\r\n padding: 2rpx 20rpx;\r\n font-size: 24rpx;\r\n background: #FEC313;\r\n text-align: center;\r\n border-radius: 25px;\r\n}\r\n.img-tags {\r\n margin-top: 14rpx;\r\n}\r\n.userInfo-r image{\r\n width: 132rpx;\r\n height: 48rpx;\r\n}\r\n.userInfo-r .tyg-tag{\r\n width: 188rpx;\r\n height: 44rpx;\r\n margin-left: 22rpx;\r\n}\r\n.auth-tips{\r\n font-size: 26rpx;\r\n color: #fff;\r\n margin-top: 12rpx;\r\n}\r\n.auth-tips image{\r\n width: 28rpx;\r\n height: 28rpx;\r\n transform: rotate(180deg);\r\n}\r\n\r\n.my-reminds-box {\r\n margin-top: 20rpx;\r\n}\r\n.remind-item{\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n font-size: 28rpx;\r\n}\r\n.count{\r\n font-size: 36rpx;\r\n}\r\n.to-tyg-box{\r\n text-align: center;\r\n margin-top: 24rpx;\r\n}\r\n.to-tyg-box image{\r\n width: 670rpx;\r\n height: 114rpx;\r\n}\r\n.menu-list-box{\r\n width: 100%;\r\n padding: 40rpx;\r\n}\r\n.needs-menu-list,.resources-menu-list,.searver-menu-list{\r\n width: 100%;\r\n background: #fff;\r\n box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.07);\r\n border-radius: 12rpx;\r\n margin-bottom: 32rpx;\r\n\tposition: relative;\r\n}\r\n.needs-menu-list .mask-box{\r\n\tposition: absolute;\r\n\ttop: 0; bottom: 0;\r\n\tleft: 0; right: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tmargin: auto;\r\n\tborder-radius: 5px;\r\n\tbackground: rgba(255, 255, 255, .9);\r\n\toverflow: hidden;\r\n\ttext{\r\n\t\twidth: 100%;\r\n\t\tposition: absolute;\r\n\t\tleft: 50%;\r\n\t\ttop: 50%;\r\n\t\ttext-align: center;\r\n\t\ttransform: translate(-50%,-50%);\r\n\t\tcolor: #FF6D31;\r\n\t\tfont-size: 36rpx;\r\n\t\tfont-weight: bold;\r\n\t}\r\n}\r\n.needs-menu-list .mask-box::before{\n\tcontent: '';\r\n\tposition: absolute;\r\n\ttop: 0; bottom: 0;\r\n\tleft: 0; right: 0;\r\n\tfilter: blur(20px);\r\n\tz-index: -1;\r\n\tmargin: -30px;\n}\r\n.menu-list{\r\n width: 100%;\r\n padding: 40rpx 22rpx 22rpx; \r\n}\r\n.menu-item{\r\n /* width: 100%; */\r\n}\r\n.title-box{\r\n width: 100%;\r\n padding: 16rpx 20rpx;\r\n border-bottom: 1px solid #F0F0F0;\r\n font-size: 28rpx;\r\n color: #303030;\r\n}\r\n.seemore{\r\n font-size: 24rpx;\r\n color: #BFBFBF;\r\n}\r\n.seemore image{\r\n width: 12rpx;\r\n height: 22rpx;\r\n margin-left: 10rpx;\r\n}\r\n.menu-item{\r\n width: 25%;\r\n margin-bottom: 32rpx;\r\n color: #4A4A4A;\r\n font-size: 24rpx;\r\n line-height: 34rpx;\r\n}\r\n\r\n.add-service{\r\n\twidth: 100%;\r\n\theight: 144rpx;\r\n\tmargin-bottom: 32rpx;\r\n\timage{\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t}\r\n}\r\n.myorder-menu-list .menu-item{\r\n\twidth: 20%;\r\n}\r\n.menu-item image{\r\n width: 48rpx;\r\n height: 48rpx;\r\n margin-bottom: 14rpx;\r\n}\r\n.torelease-img {\r\n position: relative;\r\n width: 100%;\r\n height: 90rpx;\r\n}\r\n.torelease-img image{\r\n width: 630rpx;\r\n height: 62rpx;\r\n position: absolute;\r\n left: 20rpx;\r\n}\r\n.to-btn{\r\n width: 118rpx;\r\n height: 34rpx;\r\n line-height: 34rpx;\r\n text-align: center;\r\n font-size: 20rpx;\r\n color: #ED7632;\r\n background: #FFFFFF;\r\n border-radius: 20rpx;\r\n position: absolute;\r\n right: 44rpx;\r\n top: 14rpx;\r\n}\r\n</style>","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--10-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--10-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--10-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\less-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-4!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--10-oneOf-1-5!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=less&\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--10-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--10-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--10-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\less-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-4!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--10-oneOf-1-5!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=less&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1635504250472\n var cssReload = require(\"D:/Program Files/HBuilderX.3.1.13.20210514/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}