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
30 KiB
1 lines
30 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/index.vue?4185","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/index.vue?e398","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/index.vue?fc97","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/index.vue?b363","uni-app:///pages/user/index.vue","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/index.vue?8108","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/index.vue?bd07"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,2F;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACfA;AAAA;AAAA;AAAA;AAAm0B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8Nv1B;AACA,mB;;;AAGA;AACA,MADA,kBACA;AACA;AACA,gBADA;AAEA,kBAFA;AAGA,yCAHA;AAIA,2CAJA;AAKA,yCALA;AAMA,qCANA;AAOA,qBAPA;AAQA,qBARA;AASA,mBATA;AAUA,iBAVA;AAWA,uBAXA;AAYA,wBAZA;;AAcA,GAhBA;;AAkBA;AACA,kBADA,EAlBA;;AAqBA,WArBA;;AAuBA;;;AAGA;AACA;AACA;AACA,GA7BA;;AA+BA;;;AAGA;;AAEA,GApCA;AAqCA,mBArCA,+BAqCA;AACA;AACA,GAvCA;AAwCA;;AAEA,eAFA,uBAEA,KAFA,EAEA;AACA;AACA,KAJA;AAKA,WALA,qBAKA;AACA;AACA;AACA;AACA,mCADA;;AAGA;AACA;AACA;AACA;AACA;AACA,OAVA;AAWA,KAjBA;;AAmBA,oBAnBA,8BAmBA;AACA;AACA;AACA;AACA,yDADA;AAEA,qDAFA;AAGA,sDAHA;;AAKA;AACA,OARA;AASA,KA7BA;AA8BA,aA9BA,qBA8BA,IA9BA,EA8BA;AACA;AACA,mCADA;;AAGA,KAlCA;AAmCA,cAnCA,wBAmCA;AACA;;AAEA;AACA;AACA,oEADA;;AAGA,OAJA,MAIA;AACA;AACA,mEADA;;AAGA;AACA,KA/CA;;AAiDA,UAjDA,oBAiDA;AACA;AACA,mCADA;;AAGA,KArDA;;AAuDA,iBAvDA,2BAuDA;AACA;AACA;AACA;AACA,oDADA;AAEA,oDAFA;;AAIA;AACA,OAPA;AAQA,KAhEA;;AAkEA;AACA,UAnEA,oBAmEA;AACA;AACA;AACA,uCADA;;AAGA,OAJA,MAIA;AACA;AACA,4CADA;;AAGA;AACA,KA7EA;;AA+EA;AACA,oBAhFA,8BAgFA;AACA;AACA,+CADA;;AAGA,KApFA;;AAsFA;AACA,gBAvFA,0BAuFA;AACA;AACA,2CADA;;AAGA,KA3FA;;AA6FA;AACA,iBA9FA,yBA8FA,CA9FA,EA8FA;AACA;AACA;AACA,yDADA;;AAGA,KAnGA;;AAqGA;AACA,qBAtGA,6BAsGA,CAtGA,EAsGA;AACA;AACA;AACA,6DADA;;AAGA,KA3GA;AA4GA;AACA,aA7GA,qBA6GA,IA7GA,EA6GA;AACA;AACA,0CADA;AAEA;AACA,oBADA,EAFA;;;AAMA,KApHA;AAqHA;AACA,kBAtHA,4BAsHA;AACA;AACA;AACA,4CADA;;AAGA,OAJA,MAIA;AACA;AACA,+BADA;AAEA,sBAFA;AAGA,uBAHA;;AAKA;AACA,KAlIA;AAmIA;AACA,gBApIA,0BAoIA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA,+BADA;AAEA,sBAFA;AAGA,uBAHA;;AAKA;AACA,KA9IA;AA+IA,iBA/IA,2BA+IA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA,+BADA;AAEA,sBAFA;AAGA,uBAHA;;AAKA;AACA,KAzJA;AA0JA,iBA1JA,2BA0JA;AACA;AACA,KA5JA;AA6JA,cA7JA,wBA6JA;AACA;AACA,KA/JA;AAgKA,YAhKA,sBAgKA;AACA;AACA,KAlKA,EAxCA,E;;;;;;;;;;;;;AClOA;AAAA;AAAA;AAAA;AAAkgD,CAAgB,m4CAAG,EAAC,C;;;;;;;;;;;ACAthD;AACA,OAAO,KAAU,EAAE,kBAKd","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 \"!../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n<view class=\"home-page\">\n <view class=\"page-top-box\">\n <image src=\"/static/images/home/top-bg.png\" class=\"top-bg\"></image>\n <view class=\"page-title\" :style=\"'top:' + menuTop + 'px;height:' + menuHeight + 'px;line-height: ' + menuHeight + 'px;'\">禅易云生态</view>\n <view class=\"top-box-content\" :style=\"'top: ' + (CustomBar + 10) + 'rpx;'\">\n <view class=\"top-set-box acea-row row-between row-middle\">\n <view class=\"set-box-l\" v-if=\"authType == 1 || authType == 2\" @tap=\"toAuthInfo\">{{authType == 1 ? '企业' : '个人'}}中心</view>\n <view v-else></view>\n <view class=\"set-box-r acea-row\">\n <!-- <image src=\"../../images/user/set-icon.png\" class=\"setIcon\"></image> -->\n <!-- <image src=\"../../images/user/message-icon.png\" class=\"message\"></image> -->\n </view>\n </view>\n <view class=\"userInfo-box acea-row row-middle\">\n <image :src=\"userInfo.avatar || '/static/images/user/header.png'\" class=\"header-img\"></image>\n <view class=\"userInfo-r\">\n <view class=\"name-box acea-row-nowrap row-middle\">\n <view class=\"name line1\">{{userInfo.nickname || '微信用户'}}</view>\n <image src=\"/static/images/user/tyg-tag.png\" class=\"tyg-tag\" v-if=\"userInfo.isVip\"></image>\n </view>\n <view class=\"auth-tips acea-row row-middle\">\n <text v-if=\"authStatus == 0\" @tap=\"toAuth\">完成信息认证,享受更多服务,去认证</text>\n <text v-if=\"authStatus == 1\">信息认证审核中</text>\n <text v-if=\"authStatus == 2\">已完成信息认证</text>\n <text v-if=\"authStatus == 3\" @tap=\"toAuth\">认证失败,重新认证</text>\n <image src=\"/static/images/back.png\" v-if=\"authStatus == 0 || authStatus == 3\"></image>\n </view>\n <!-- <view class=\"img-tags acea-row row-middle\">\n <view class=\"level\">{{userInfo.levelName || '普通会员'}}</view>\n <image src=\"../../images/user/tyg-tag.png\" class=\"tyg-tag\" wx:if=\"{{userInfo.isRecharge}}\"></image>\n </view> -->\n </view>\n </view>\n <view class=\"my-reminds-box acea-row row-around \">\n <view class=\"remind-item\" @tap=\"toResourcesOrder\">\n <view class=\"count\">{{demandCounts}}</view>\n <view>资源订单</view>\n </view>\n <!-- <view class=\"remind-item\">\n <view class=\"count\">0</view>\n <view>我的审核</view>\n </view> -->\n <view class=\"remind-item\" @tap=\"toNeedsOrder\">\n <view class=\"count\">{{supplyCounts}}</view>\n <view>需求订单</view>\n </view>\n </view>\n <view class=\"to-tyg-box\" @tap=\"toMine\">\n <image src=\"/static/images/user/tyg-img.png\"></image>\n </view>\n </view>\n </view>\n <view class=\"menu-list-box\">\n <!-- 需求管理 -->\n <view class=\"needs-menu-list\">\n <view class=\"title-box acea-row row-between-wrapper\">\n <view>需求管理</view>\n <!-- <view class=\"acea-row row-middle seemore\">\n <text>查看全部</text> \n <image src=\"../../images/user/arror-r.png\"></image>\n </view> -->\n </view>\n <view class=\"menu-list acea-row row-between\">\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toNeedsManage\" data-type=\"1\">\n <image src=\"/static/images/user/xuqiu1.png\"></image>\n <text>发布中</text>\n </view>\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toNeedsManage\" data-type=\"2\">\n <image src=\"/static/images/user/xuqiu2.png\"></image>\n <text>审核中</text>\n </view>\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toNeedsManage\" data-type=\"3\">\n <image src=\"/static/images/user/xuqiu3.png\"></image>\n <text>草稿箱</text>\n </view>\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toNeedsManage\" data-type=\"4\">\n <image src=\"/static/images/user/xuqiu4.png\"></image>\n <text>已结束</text>\n </view>\n </view>\n <view class=\"torelease-img\" @tap=\"toRelease(1)\">\n <image src=\"/static/images/user/fbxq.png\"></image>\n <view class=\"to-btn\">发布需求</view>\n </view>\n </view>\n <!-- 资源管理 -->\n <view class=\"needs-menu-list\">\n <view class=\"title-box acea-row row-between-wrapper\">\n <view>资源管理</view>\n </view>\n <view class=\"menu-list acea-row row-between\">\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toResourcesManage\" data-type=\"1\">\n <image src=\"/static/images/user/xuqiu1.png\"></image>\n <text>发布中</text>\n </view>\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toResourcesManage\" data-type=\"2\">\n <image src=\"/static/images/user/xuqiu2.png\"></image>\n <text>审核中</text>\n </view>\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toResourcesManage\" data-type=\"3\">\n <image src=\"/static/images/user/xuqiu3.png\"></image>\n <text>草稿箱</text>\n </view>\n <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toResourcesManage\" data-type=\"4\">\n <image src=\"/static/images/user/xuqiu4.png\"></image>\n <text>已结束</text>\n </view>\n </view>\n <view class=\"torelease-img\" @tap=\"toRelease(0)\">\n <image src=\"/static/images/user/fbzy.png\"></image>\n <view class=\"to-btn\">发布需求</view>\n </view>\n </view>\n\t\t<view class=\"add-service\" @click=\"$yrouter.push({path: '/pages/user/addServiceCode/index'})\">\n\t\t\t<image src=\"https://download.cyjyyjy.com/addservice.png\"></image>\n\t\t</view>\n\t\t<!-- 电商管理 -->\n\t\t<view class=\"needs-menu-list\">\n\t\t\t<view class=\"mask-box\" v-if=\"userInfo.isVip == false\" @tap=\"toMine\">\n\t\t\t\t<text>成为首席体验官,立即开店!</text>\n\t\t\t</view>\n\t\t <view class=\"title-box acea-row row-between-wrapper\">\n\t\t <view>电商管理</view>\n\t\t </view>\n\t\t <view class=\"menu-list acea-row row-between\">\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toReleaseGoods\">\n\t\t <image src=\"/static/images/user/fuwu2.png\"></image>\n\t\t <text>发布商品</text>\n\t\t </view>\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toGoodsManage\">\n\t\t <image src=\"/static/images/user/fuwu7.png\"></image>\n\t\t <text>商品管理</text>\n\t\t </view>\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @tap=\"toOrderManage\">\n\t\t <image src=\"/static/images/user/fuwu3.png\"></image>\n\t\t <text>商家订单</text>\n\t\t </view>\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" v-if=\"userInfo.store == null\" @tap=\"toOpenShop\">\n\t\t <image src=\"/static/images/user/fuwu6.png\"></image>\n\t\t <text>我要开店</text>\n\t\t </view>\n\t\t\t\t<view class=\"menu-item acea-row row-column row-center-wrapper\" v-if=\"userInfo.store !== null\" @tap=\"toMyShop\">\n\t\t\t\t <image src=\"/static/images/user/fuwu6.png\"></image>\n\t\t\t\t <text>我的店铺</text>\n\t\t\t\t</view>\n\t\t </view>\n\t\t</view>\n\t\t<!-- 我的订单 -->\n\t\t<view class=\"needs-menu-list myorder-menu-list\">\n\t\t <view class=\"title-box acea-row row-between-wrapper\">\n\t\t <view>我的订单</view>\n\t\t </view>\n\t\t <view class=\"menu-list acea-row row-between\">\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @click=\"goMyOrder(0)\">\n\t\t <image src=\"/static/images/user/fuwu2.png\"></image>\n\t\t <text>待付款</text>\n\t\t </view>\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @click=\"goMyOrder(1)\">\n\t\t <image src=\"/static/images/user/fuwu7.png\"></image>\n\t\t <text>待发货</text>\n\t\t </view>\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @click=\"goMyOrder(2)\">\n\t\t <image src=\"/static/images/user/fuwu3.png\"></image>\n\t\t <text>待收货</text>\n\t\t </view>\n\t\t <view class=\"menu-item acea-row row-column row-center-wrapper\" @click=\"goMyOrder(3)\">\n\t\t <image src=\"/static/images/user/fuwu6.png\"></image>\n\t\t <text>待评价</text>\n\t\t </view>\n\t\t\t\t<view class=\"menu-item acea-row row-column row-center-wrapper\" @click=\"goReturnList\">\n\t\t\t\t <image src=\"/static/images/user/fuwu6.png\"></image>\n\t\t\t\t <text>售后/退款</text>\n\t\t\t\t</view>\n\t\t </view>\n\t\t</view>\n <!-- 常用服务 -->\n <view class=\"needs-menu-list\">\n <view class=\"title-box acea-row row-between-wrapper\">\n <view>常用服务</view>\n </view>\n <view class=\"menu-list acea-row row-between\">\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\n <image src=\"/static/images/user/fuwu2.png\"></image>\n <text>预存款项</text>\n </view>\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\n <image src=\"/static/images/user/fuwu7.png\"></image>\n <text>意见反馈</text>\n </view>\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\n <image src=\"/static/images/user/fuwu3.png\"></image>\n <text>联系客服</text>\n </view>\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\n <image src=\"/static/images/user/fuwu6.png\"></image>\n <text>招商活动</text>\n </view>\n <!-- <view class=\"menu-item acea-row row-column row-center-wrapper\">\n <image src=\"../../images/user/fuwu1.png\"></image>\n <text>会员中心</text>\n </view>\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\n <image src=\"../../images/user/fuwu4.png\"></image>\n <text>举报通道</text>\n </view>\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\n <image src=\"../../images/user/fuwu5.png\"></image>\n <text>生活中心</text>\n </view>\n <view class=\"menu-item acea-row row-column row-center-wrapper\">\n <image src=\"../../images/user/fuwu8.png\"></image>\n <text>举报通道</text>\n </view> -->\n </view>\n </view>\n </view>\n <tabbar :current=\"currentTabIndex\" tabBarClick=\"click\"></tabbar>\n</view>\n</template>\n\n<script>\n// pages/life/index.js\nconst app = getApp();\nimport tabbar from \"../../tabbarComponent/tabbar\";\n\nexport default {\n data() {\n return {\n tabbar: {},\n userInfo: {},\n CustomBar: app.globalData.CustomBar,\n menuHeight: app.globalData.menuHeight,\n navHeight: app.globalData.navHeight,\n menuTop: app.globalData.menuTop,\n demandCounts: 0,\n supplyCounts: 0,\n authStatus: 0,\n authType: 0,\n completeState: \"\",\n\t\t\tcurrentTabIndex: 4\n };\n },\n\n components: {\n tabbar\n },\n props: {},\n\n /**\n * 生命周期函数--监听页面加载\n */\n onLoad: function (options) {\n // app.globalData.editTabbar();\n\t\tthis.getInfo();\n },\n\n /**\n * 生命周期函数--监听页面显示\n */\n onShow: function () {\n \n },\n\tonPullDownRefresh() {\n\t\tthis.getInfo()\n\t},\n methods: {\n\t\t\n\t\ttabBarClick(index){\n\t\t\tthis.currentTabIndex = index\n\t\t},\n getInfo() {\n app.http('get', 'userinfo').then(res => {\n if (res.data.success) {\n this.setData({\n userInfo: res.data.data\n });\n\t\t\t\t\tuni.setStorageSync('userInfo',res.data.data)\n this.getOrderCount();\n this.isAuthentication();\n uni.stopPullDownRefresh();\n }\n });\n },\n\n isAuthentication() {\n app.http('get', 'user/isAuthentication').then(res => {\n if (res.data.success) {\n this.setData({\n authStatus: res.data.data.authenticationState,\n authType: res.data.data.authorizationType,\n completeState: res.data.data.completeState\n });\n }\n });\n },\n\t\ttoRelease(type){\n\t\t\tuni.navigateTo({\n\t\t\t url: '/pages/release/index'\n\t\t\t})\n\t\t},\n toAuthInfo() {\n let type = this.authType;\n\n if (type == 1) {\n uni.navigateTo({\n url: '/pages/release/perfectCompanyInfo/index?isEdit=' + 1\n });\n } else {\n uni.navigateTo({\n url: '/pages/release/perfectPersonInfo/index?isEdit=' + 1\n });\n }\n },\n\n toAuth() {\n uni.navigateTo({\n url: '/pages/release/index'\n });\n },\n\n getOrderCount() {\n app.http('GET', 'Communicate/getOrderCounts').then(res => {\n if (res.data.success) {\n this.setData({\n demandCounts: res.data.data.demandCounts,\n supplyCounts: res.data.data.supplyCounts\n });\n }\n });\n },\n\n // 跳转首席体验官\n toMine() {\n if (this.userInfo.isVip) {\n uni.navigateTo({\n url: '/pages/user/mine/index'\n });\n } else {\n uni.navigateTo({\n url: '/pages/user/agreement/index'\n });\n }\n },\n\n //跳转资源订单\n toResourcesOrder() {\n uni.navigateTo({\n url: '/pages/user/resourcesOrder/index'\n });\n },\n\n //跳转需求订单\n toNeedsOrder() {\n uni.navigateTo({\n url: '/pages/user/needsOrder/index'\n });\n },\n\n //跳转需求管理\n toNeedsManage(e) {\n let type = e.currentTarget.dataset.type;\n uni.navigateTo({\n url: '/pages/user/needsManage/index?type=' + type\n });\n },\n\n //跳转资源管理\n toResourcesManage(e) {\n let type = e.currentTarget.dataset.type;\n uni.navigateTo({\n url: '/pages/user/resourcesManage/index?type=' + type\n });\n },\n\t\t//跳转我的订单\n goMyOrder(type) {\n this.$yrouter.push({\n path: '/pages/order/MyOrder/index',\n query: {\n type,\n },\n })\n },\n\t\t//发布商品\n\t\ttoReleaseGoods(){\n\t\t\tif(this.userInfo.store !== null){\n\t\t\t\tthis.$yrouter.push({\n\t\t\t\t path: '/pages/life/addGoods/index'\n\t\t\t\t})\n\t\t\t} else{\n\t\t\t\tuni.showToast({\n\t\t\t\t\ttitle: '请先点最右边按钮去开店!',\n\t\t\t\t\ticon: 'none',\n\t\t\t\t\tduration: 200\n\t\t\t\t})\n\t\t\t}\n\t\t},\n\t\t//跳转到退款售后订单\n\t\tgoReturnList() {\n\t\t\tif(this.userInfo.store !== null){\n\t\t\t\tthis.$yrouter.push('/pages/order/ReturnList/index')\n\t\t\t} else{\n\t\t\t\tuni.showToast({\n\t\t\t\t\ttitle: '请先点最右边按钮去开店!',\n\t\t\t\t\ticon: 'none',\n\t\t\t\t\tduration: 200\n\t\t\t\t})\n\t\t\t}\n\t\t},\n\t\ttoGoodsManage(){\n\t\t\tif(this.userInfo.store !== null){\n\t\t\t\tthis.$yrouter.push('/pages/user/goodsManage/index')\n\t\t\t} else{\n\t\t\t\tuni.showToast({\n\t\t\t\t\ttitle: '请先点最右边按钮去开店!',\n\t\t\t\t\ticon: 'none',\n\t\t\t\t\tduration: 200\n\t\t\t\t})\n\t\t\t}\n\t\t},\n\t\ttoOrderManage(){\n\t\t\tthis.$yrouter.push('/pages/user/orderManage/index')\n\t\t},\n\t\ttoOpenShop(){\n\t\t\tthis.$yrouter.push('/pages/user/openStore/index')\n\t\t},\n\t\ttoMyShop(){\n\t\t\tthis.$yrouter.push('/pages/user/myShop/index')\n\t\t},\n }\n};\n</script>\n<style lang=\"less\">\n.home-page{\n min-height: 100vh;\n padding-bottom: 130rpx;\n background: #F3F3F3;\n}\n.page-top-box{\n width: 100%;\n height: 575rpx;\n position: relative;\n}\n.page-title{\n width: 100%;\n color: #fff;\n text-align: center;\n position: relative;\n}\n.top-bg{\n width: 100%;\n height: 598rpx;\n position: absolute;\n}\n.top-box-content{\n position: relative;\n padding: 0 40rpx;\n color: #fff;\n}\n.top-set-box{\n\n}\n.top-set-box .setIcon{\n width: 32rpx;\n height: 29rpx;\n}\n.top-set-box .message{\n width: 38rpx;\n height: 29rpx;\n margin-left: 34rpx;\n}\n.set-box-l{\n width: 160rpx;\n height: 44rpx;\n line-height: 44rpx;\n text-align: center;\n background: #FFA583;\n border-radius: 22rpx;\n font-size: 24rpx;\n}\n.userInfo-box{\n margin-top: 34rpx;\n}\n.userInfo-box .header-img{\n width: 120rpx;\n height: 120rpx;\n border-radius: 50%;\n margin-right: 12rpx;\n}\n.userInfo-r{\n width: calc(100% - 134rpx);\n}\n.userInfo-r .name{\n width: auto;\n font-size: 36rpx;\n}\n.level{\n padding: 2rpx 20rpx;\n font-size: 24rpx;\n background: #FEC313;\n text-align: center;\n border-radius: 25px;\n}\n.img-tags {\n margin-top: 14rpx;\n}\n.userInfo-r image{\n width: 132rpx;\n height: 48rpx;\n}\n.userInfo-r .tyg-tag{\n width: 188rpx;\n height: 44rpx;\n margin-left: 22rpx;\n}\n.auth-tips{\n font-size: 26rpx;\n color: #fff;\n margin-top: 12rpx;\n}\n.auth-tips image{\n width: 28rpx;\n height: 28rpx;\n transform: rotate(180deg);\n}\n\n.my-reminds-box {\n margin-top: 20rpx;\n}\n.remind-item{\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n font-size: 28rpx;\n}\n.count{\n font-size: 36rpx;\n}\n.to-tyg-box{\n text-align: center;\n margin-top: 24rpx;\n}\n.to-tyg-box image{\n width: 670rpx;\n height: 114rpx;\n}\n.menu-list-box{\n width: 100%;\n padding: 40rpx;\n}\n.needs-menu-list,.resources-menu-list,.searver-menu-list{\n width: 100%;\n background: #fff;\n box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.07);\n border-radius: 12rpx;\n margin-bottom: 32rpx;\n\tposition: relative;\n}\n.needs-menu-list .mask-box{\n\tposition: absolute;\n\ttop: 0; bottom: 0;\n\tleft: 0; right: 0;\n\twidth: 100%;\n\theight: 100%;\n\tmargin: auto;\n\tborder-radius: 5px;\n\tbackground: rgba(255, 255, 255, .9);\n\toverflow: hidden;\n\ttext{\n\t\twidth: 100%;\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: 50%;\n\t\ttext-align: center;\n\t\ttransform: translate(-50%,-50%);\n\t\tcolor: #FF6D31;\n\t\tfont-size: 36rpx;\n\t\tfont-weight: bold;\n\t}\n}\n.needs-menu-list .mask-box::before{\n\tcontent: '';\n\tposition: absolute;\n\ttop: 0; bottom: 0;\n\tleft: 0; right: 0;\n\tfilter: blur(20px);\n\tz-index: -1;\n\tmargin: -30px;\n}\n.menu-list{\n width: 100%;\n padding: 40rpx 22rpx 22rpx; \n}\n.menu-item{\n /* width: 100%; */\n}\n.title-box{\n width: 100%;\n padding: 16rpx 20rpx;\n border-bottom: 1px solid #F0F0F0;\n font-size: 28rpx;\n color: #303030;\n}\n.seemore{\n font-size: 24rpx;\n color: #BFBFBF;\n}\n.seemore image{\n width: 12rpx;\n height: 22rpx;\n margin-left: 10rpx;\n}\n.menu-item{\n width: 25%;\n margin-bottom: 32rpx;\n color: #4A4A4A;\n font-size: 24rpx;\n line-height: 34rpx;\n}\n\n.add-service{\n\twidth: 100%;\n\theight: 144rpx;\n\tmargin-bottom: 32rpx;\n\timage{\n\t\twidth: 100%;\n\t\theight: 100%;\n\t}\n}\n.myorder-menu-list .menu-item{\n\twidth: 20%;\n}\n.menu-item image{\n width: 48rpx;\n height: 48rpx;\n margin-bottom: 14rpx;\n}\n.torelease-img {\n position: relative;\n width: 100%;\n height: 90rpx;\n}\n.torelease-img image{\n width: 630rpx;\n height: 62rpx;\n position: absolute;\n left: 20rpx;\n}\n.to-btn{\n width: 118rpx;\n height: 34rpx;\n line-height: 34rpx;\n text-align: center;\n font-size: 20rpx;\n color: #ED7632;\n background: #FFFFFF;\n border-radius: 20rpx;\n position: absolute;\n right: 44rpx;\n top: 14rpx;\n}\n</style>","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-5!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-2!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-5!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/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 // 1635513139118\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} |