diff --git a/App.vue b/App.vue index 16a5e73..dcd3b60 100644 --- a/App.vue +++ b/App.vue @@ -16,19 +16,16 @@ diff --git a/api/creator.js b/api/creator.js index a25b15f..b00374b 100644 --- a/api/creator.js +++ b/api/creator.js @@ -38,51 +38,57 @@ export function detailsTiktokImg(data) { }) } // 查询是否点赞过 -export function judgeTiktokLike(data) { +export function judgeTiktokLike(data, headers) { return request({ url: `${serviceTitle}${prefix}/judgeTiktokLike`, method: 'post', - data + data, + headers: headers }) } // 查询是否收藏过 -export function judgeTiktokCollect(data) { +export function judgeTiktokCollect(data, headers) { return request({ url: `${serviceTitle}${prefix}/judgeTiktokCollect`, method: 'post', - data + data, + headers: headers }) } // 点赞 -export function tiktokLike(data) { +export function tiktokLike(data, headers) { return request({ url: `${serviceTitle}${prefix}/tiktokLike`, method: 'post', - data + data, + headers: headers }) } // 取消点赞 -export function tiktokUnLike(data) { +export function tiktokUnLike(data, headers) { return request({ url: `${serviceTitle}${prefix}/tiktokUnLike`, method: 'post', - data + data, + headers: headers }) } // 收藏 -export function tiktokCollect(data) { +export function tiktokCollect(data, headers) { return request({ url: `${serviceTitle}${prefix}/tiktokCollect`, method: 'post', - data + data, + headers: headers }) } // 取消收藏 -export function tiktokUnCollect(data) { +export function tiktokUnCollect(data, headers) { return request({ url: `${serviceTitle}${prefix}/tiktokUnCollect`, method: 'post', - data + data, + headers: headers }) } @@ -95,28 +101,31 @@ export function queryCreatorScanCodeById(data) { } // 新增/更新艺术家即将入账广告收益 -export function insertOrUpdatePreAdProfit(data) { +export function insertOrUpdatePreAdProfit(data, headers) { return request({ url: `${serviceTitle}${prefix}/insertOrUpdatePreAdProfit`, method: 'post', - data + data, + headers: headers }) } // 新增/更新艺术家即将入账邀请收益 -export function insertOrUpdatePreInviteProfit(data) { +export function insertOrUpdatePreInviteProfit(data, headers) { return request({ url: `${serviceTitle}${prefix}/insertOrUpdatePreInviteProfit`, method: 'post', - data + data, + headers: headers }) } // 检查某平台用户当日下载次数是否超标 -export function checkUserCanDownload(data) { +export function checkUserCanDownload(data, headers) { return request({ url: `${serviceTitle}${prefix}/checkUserCanDownload`, method: 'post', - data + data, + headers: headers }) } \ No newline at end of file diff --git a/api/index.js b/api/index.js index 48d5dbf..9f58317 100644 --- a/api/index.js +++ b/api/index.js @@ -4,6 +4,14 @@ const prefix = '/img/mini/tiktok' //GET 传参需要用 params //POST 传参需要用 data +//查询首页banner +export function getListBanner() { + return request({ + url: `${serviceTitle}${prefix}/listBanner`, + method: 'get' + }) +} + //查询热门艺术家列表 export function listHotCreator() { return request({ diff --git a/components/toTop/toTop.vue b/components/toTop/toTop.vue new file mode 100644 index 0000000..7811168 --- /dev/null +++ b/components/toTop/toTop.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/components/waterfall-list/waterfall-list.vue b/components/waterfall-list/waterfall-list.vue new file mode 100644 index 0000000..9ad9e85 --- /dev/null +++ b/components/waterfall-list/waterfall-list.vue @@ -0,0 +1,194 @@ + + + + + \ No newline at end of file diff --git a/main.js b/main.js index aadca6c..89a056e 100644 --- a/main.js +++ b/main.js @@ -2,8 +2,8 @@ import App from './App' import store from './store/' // const baseURL = 'http://localhost:7010' -const baseURL = 'http://81.69.47.31:7010' -// const baseURL = 'http://veqf45.natappfree.cc' +// const baseURL = 'http://81.69.47.31:7010' +const baseURL = 'https://service.bnyer.cn' Vue.prototype.baseURL = baseURL; diff --git a/manifest.json b/manifest.json index d3495c5..c5b6ba2 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "节点壁纸", - "appid" : "", + "appid" : "__UNI__EDB5E94", "description" : "", "versionName" : "1.0.0", "versionCode" : "100", @@ -58,7 +58,7 @@ "mp-toutiao" : { "appid" : "ttc408b2b55b364f6601", "setting" : { - "urlCheck" : true, + "urlCheck" : false, "es6" : true, "minified" : true, "postcss" : true diff --git a/package-lock.json b/package-lock.json index 1ddaa96..80ef7c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,134 @@ { + "name": "bnyer-cloud-tiktok", + "lockfileVersion": 2, "requires": true, - "lockfileVersion": 1, + "packages": { + "": { + "dependencies": { + "axios": "^0.26.1", + "qs": "^6.10.3", + "vue-router": "^4.0.14", + "vuex": "^4.0.2" + } + }, + "node_modules/@vue/devtools-api": { + "version": "6.1.4", + "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.1.4.tgz", + "integrity": "sha512-IiA0SvDrJEgXvVxjNkHPFfDx6SXw0b/TUkqMcDZWNg9fnCAHbTpoo59YfJ9QLFkwa3raau5vSlRVzMSLDnfdtQ==" + }, + "node_modules/axios": { + "version": "0.26.1", + "resolved": "https://registry.npmmirror.com/axios/-/axios-0.26.1.tgz", + "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", + "dependencies": { + "follow-redirects": "^1.14.8" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "node_modules/follow-redirects": { + "version": "1.15.0", + "resolved": "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.0.tgz", + "integrity": "sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "node_modules/get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object-inspect": { + "version": "1.12.0", + "resolved": "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.12.0.tgz", + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==" + }, + "node_modules/qs": { + "version": "6.10.3", + "resolved": "https://registry.npmmirror.com/qs/-/qs-6.10.3.tgz", + "integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "node_modules/vue-router": { + "version": "4.0.15", + "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-4.0.15.tgz", + "integrity": "sha512-xa+pIN9ZqORdIW1MkN2+d9Ui2pCM1b/UMgwYUCZOiFYHAvz/slKKBDha8DLrh5aCG/RibtrpyhKjKOZ85tYyWg==", + "dependencies": { + "@vue/devtools-api": "^6.0.0" + }, + "peerDependencies": { + "vue": "^3.2.0" + } + }, + "node_modules/vuex": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/vuex/-/vuex-4.0.2.tgz", + "integrity": "sha512-M6r8uxELjZIK8kTKDGgZTYX/ahzblnzC4isU1tpmEuOIIKmV+TRdc+H4s8ds2NuZ7wpUTdGRzJRtoj+lI+pc0Q==", + "dependencies": { + "@vue/devtools-api": "^6.0.0-beta.11" + }, + "peerDependencies": { + "vue": "^3.0.2" + } + } + }, "dependencies": { "@vue/devtools-api": { "version": "6.1.4", diff --git a/pages.json b/pages.json index abd535b..8df640e 100644 --- a/pages.json +++ b/pages.json @@ -3,7 +3,7 @@ { "path": "pages/index/indexProto", "style": { - "navigationBarTitleText": "首页", + "navigationBarTitleText": "", "enablePullDownRefresh": true } }, @@ -102,7 +102,9 @@ "navigationBarTitleText": "bnyer", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8", - "navigationStyle": "custom" + "rpxCalcMaxDeviceWidth": 960, // rpx 计算所支持的最大设备宽度,单位 px,默认值为 960 + "rpxCalcBaseDeviceWidth": 375, // rpx 计算使用的基准设备宽度,设备实际宽度超出 rpx 计算所支持的最大设备宽度时将按基准宽度计算,单位 px,默认值为 375 + "rpxCalcIncludeWidth": 750 // rpx 计算特殊处理的值,始终按实际的设备宽度计算,单位 rpx,默认值为 750 }, //底部跳转tab "tabBar": { @@ -112,27 +114,27 @@ "backgroundColor": "#F8F8F8", "list": [{ "pagePath": "pages/index/indexProto", - "iconPath": "static/index-default.png", - "selectedIconPath": "static/index-select.png", + "iconPath": "static/home-default.png", + "selectedIconPath": "static/home-select.png", "text": "首页" }, { "pagePath": "pages/creator/creator", - "iconPath": "static/theme-default.png", - "selectedIconPath": "static/theme-select.png", + "iconPath": "static/art-default.png", + "selectedIconPath": "static/art-select.png", "text": "艺术家" }, { "pagePath": "pages/atlas/atlas", - "iconPath": "static/theme-default.png", - "selectedIconPath": "static/theme-select.png", + "iconPath": "static/classify-default.png", + "selectedIconPath": "static/classify-select.png", // "text": "精彩图集" "text": "分类" }, { "pagePath": "pages/userInfo/userInfo", - "iconPath": "static/mine-default.png", - "selectedIconPath": "static/mine-select.png", + "iconPath": "static/my-default.png", + "selectedIconPath": "static/my-select.png", "text": "我的" } ] diff --git a/pages/atlas/atlas.vue b/pages/atlas/atlas.vue index 0555afc..0dc5f90 100644 --- a/pages/atlas/atlas.vue +++ b/pages/atlas/atlas.vue @@ -4,15 +4,19 @@ @confirm="search" /> + :activeColor="primaryColor"> + :style="'height:'+ imgBoxHeight + 'px'"> + - - - {{val.signName}} + + + {{val.signName}} @@ -28,12 +32,13 @@ export default { data() { return { + primaryColor: "#1a94bc", imgWidth: 0, imgHeight: 0, imgBoxHeight: 0, current: 0, pageNum: 1, - pageSize: 10, + pageSize: 16, arrList: [], arrListId: [], imgList: [] @@ -42,10 +47,9 @@ async created() { await uni.getSystemInfo({ success: res => { - this.imgWidth = (res.windowWidth - 60) / 3 * 2 - this.imgHeight = (res.windowWidth - 60) / 3 * 2 + 16 - this.imgBoxHeight = (res.windowWidth - 60) / 3 * 2 + 108 - console.log('this.imgHeight', this.imgHeight) + this.imgWidth = (res.screenWidth - 64) / 2 + this.imgHeight = ((res.screenWidth - 64) / 2 - (res.screenWidth - 64) / 4) + this.imgBoxHeight = res.screenHeight - 152 } }) if (uni.getStorageSync('atlas_current')) { @@ -56,7 +60,6 @@ }, watch: { current(n, o) { - console.log('current', this.current, n, o) this.imgList = [] this.getSignImgList(this.current) immediate: true @@ -64,7 +67,6 @@ }, // 上划加载更多 onReachBottom() { - console.log(111) if (this.imgList.length > 1) { this.pageNum += 1 this.getSignImgList(this.current) @@ -171,10 +173,10 @@ } - diff --git a/pages/creator/creatorDetail.vue b/pages/creator/creatorDetail.vue index acd4f4a..5011272 100644 --- a/pages/creator/creatorDetail.vue +++ b/pages/creator/creatorDetail.vue @@ -7,8 +7,8 @@ {{creatorInfo.scanCode}} - @@ -36,18 +36,14 @@ + activeColor="#1a94bc"> - - - - - - - - + + + + + + @@ -55,7 +51,13 @@ import { getTypeImgsPage } from '@/api/creator.js' + import waterfallList from '@/components/waterfall-list/waterfall-list.vue' + import toTop from '@/components/toTop/toTop.vue' export default { + components: { + waterfallList, + toTop + }, data() { return { creatorInfo: {}, @@ -64,78 +66,74 @@ typeIdList: [], arrList: [], imgList: [], - imgWidth: 0, // 图片宽 - imgHeight: 0, // 图片高 - swiperHeight: 0, // swiper高 pageNum: 1, - pageSize: 4, + pageSize: 10, + loadStatus:'noMore', //加载样式:more - 加载前样式,loading - 加载中样式,noMore - 没有数据样式 + isLoadMore:false, //是否加载中, + toTopFlag: false } }, created() { - uni.getSystemInfo({ - success: res => { - this.imgWidth = res.windowWidth - 60 - this.imgHeight = (res.windowWidth - 60) * 2 - 30 - console.log('this.imgHeight', this.imgHeight) - } - }) uni.getStorage({ key: 'creatorDetail', success: res => { - this.creatorInfo = res.data - this.creatorInfo.typeList.forEach(item => { - this.arrList.push(item.typeName) - this.typeIdList.push(item.typeId) + let that = this; + that.pageNum = 1; + that.creatorInfo = res.data + that.creatorInfo.typeList.forEach(item => { + that.arrList.push(item.typeName) + that.typeIdList.push(item.typeId) }) - this.typeId = this.typeIdList[0] - this.getTypeImgsPage(this.typeId) + that.typeId = that.typeIdList[0] + that.$refs.waterfallRef && that.$refs.waterfallRef.init(); + that.getTypeImgsPage(that.typeId) } }) }, // 上划加载更多 - onReachBottom() { - console.log(111) - if (this.imgList.length > 1) { - this.pageNum += 1 - this.getTypeImgsPage(this.typeId) - } + onReachBottom() {//上拉触底函数 + if(!this.isLoadMore) { //此处判断,上锁,防止重复请求 + this.isLoadMore=true + if (this.loadStatus === "more") { + this.pageNum += 1 //每次上拉请求新的一页 + this.getTypeImgsPage(this.typeId); + } + } }, onShareAppMessage(res) { if (res.from === 'button') { // 来自页面内分享按钮 - console.log(res) + // console.log(res) } + uni.showToast({ + title: '分享成功', + icon: 'none' + }) return { title: `来看看艺术家${this.creatorInfo.scanCode}精心准备的图片吧~`, path: `/pages/creator/imgDetail?id=${this.creatorInfo.id}` } - uni.showToast({ - title: '分享成功', - icon: 'none' - }) }, watch: { current(n, o) { - console.log('current', this.current, n, o) - this.typeId = this.typeIdList[n] - this.imgList = [] - this.getTypeImgsPage(this.typeId) - immediate: true + let that = this + that.typeId = that.typeIdList[n] + that.pageNum = 1 + that.$refs.waterfallRef && that.$refs.waterfallRef.init(); + this.getTypeImgsPage(that.typeId) + immediate: true } }, + onPageScroll(e){ + // 监听页面滚动 + this.toTopFlag = e.scrollTop > 200; //根据距离顶部距离是否显示回到顶部按钮 + }, methods: { // 标签栏点击 onClickItem(e) { this.current = e.currentIndex }, - // 内容滑动 - changeItem(e) { - this.pageNum = 1 - this.current = e.detail.current - // this.getTypeImgsPage(this.typeId) - }, // 前往详情页 targetDetail(item) { - console.log('item', item) if (item.id) { uni.setStorage({ key: 'detailId', @@ -151,39 +149,52 @@ //获取图片分页 async getTypeImgsPage(typeId) { - console.log('typeId', typeId) - uni.showLoading({ - title: '加载中' - }); + let that = this + that.loadStatus = 'loading'; const params = { - scanCode: this.creatorInfo.scanCode, + scanCode: that.creatorInfo.scanCode, typeId: typeId, - pageNum: this.pageNum, - pageSize: this.pageSize, + pageNum: that.pageNum, + pageSize: that.pageSize, } const res = await getTypeImgsPage(params) if (res.data.code === 200) { - this.imgList.push(...res.data.rows) - this.swiperHeight = (this.imgHeight + 40) * Math.ceil(this.imgList.length / 2) + 40 - console.log('this.imgList', this.swiperHeight) - uni.hideLoading() + + that.$refs.waterfallRef.addData(res.data.rows); + if(res.data.rows.length < that.pageSize){ //判断接口返回数据量小于请求数据量,则表示此为最后一页 + that.isLoadMore = true + that.loadStatus = 'noMore' + }else{ + this.loadStatus = 'more'; + that.isLoadMore = false + } + } else { - uni.hideLoading() uni.showToast({ title: res.data.msg, icon: 'none' }) + that.isLoadMore = false + if(that.page > 1){ + that.page -= 1 + } } - } + }, + toTop() { + uni.pageScrollTo({ + scrollTop: 0, + duration: 100, + }); + } } } - diff --git a/pages/index/indexProto.vue b/pages/index/indexProto.vue index 3f2c231..6e5332e 100644 --- a/pages/index/indexProto.vue +++ b/pages/index/indexProto.vue @@ -1,74 +1,129 @@ - diff --git a/pages/userInfo/myCollection/myCollection.vue b/pages/userInfo/myCollection/myCollection.vue index d4ac5bc..c3be0c4 100644 --- a/pages/userInfo/myCollection/myCollection.vue +++ b/pages/userInfo/myCollection/myCollection.vue @@ -1,15 +1,13 @@ @@ -17,7 +15,11 @@ import { listTiktokCollection } from '@/api/userInfo.js' + import waterfallList from '@/components/waterfall-list/waterfall-list.vue' export default { + components:{ + waterfallList + }, data() { return { userInfo: {}, // 用户信息 @@ -26,66 +28,89 @@ imgHeight: 0, // 图片高 pageNum: 1, pageSize: 4, + loadStatus:'noMore', //加载样式:more - 加载前样式,loading - 加载中样式,noMore - 没有数据样式 + isLoadMore:false, //是否加载中 } }, created() { - this.userInfo = uni.getStorageSync('userInfo') - uni.getSystemInfo({ - success: res => { - this.imgWidth = res.windowWidth - 60 + 'rpx' - this.imgHeight = (res.windowWidth - 60) * 2 - 30 + 'rpx' - this.getImgList() - } - }) + let that = this; + that.userInfo = uni.getStorageSync('userInfo') + if (that.userInfo) { + that.pageNum = 1; + that.$refs.waterfallRef && that.$refs.waterfallRef.init(); + that.getImgList() + } }, // 下拉刷新 onPullDownRefresh() { - //TODO 此處待優化 - console.log(1111) this.pageNum = 1 this.imgList = [] this.getImgList() uni.stopPullDownRefresh() }, // 上划加载更多 - onReachBottom() { - if (this.imgList.length > 3) { - this.pageNum += 1 - this.getImgList() - } + onReachBottom() {//上拉触底函数 + if(!this.isLoadMore) { //此处判断,上锁,防止重复请求 + this.isLoadMore=true + if (this.loadStatus === "more") { + this.pageNum += 1 //每次上拉请求新的一页 + this.getImgList(); + } + } }, methods: { // 收藏图片分頁 async getImgList() { + let that = this const res = await listTiktokCollection({ - userId: this.userInfo.id, - pageNum: this.pageNum, - pageSize: this.pageSize + userId: that.userInfo.id, + pageNum: that.pageNum, + pageSize: that.pageSize }) if (res.data.code === 200) { - this.imgList.push(...res.data.rows) + that.$refs.waterfallRef.addData(res.data.rows); + if(res.data.rows.length < that.pageSize){ //判断接口返回数据量小于请求数据量,则表示此为最后一页 + that.isLoadMore = true + that.loadStatus = 'noMore' + }else{ + this.loadStatus = 'more'; + that.isLoadMore = false + } } else { uni.showToast({ title: res.data.msg, icon: 'none' }) + that.isLoadMore = false + if(that.page > 1){ + that.page -= 1 + } } }, - // 前往详情页 //TODO bug待修复 + // 前往详情页 targetDetail(item) { - console.log('跳转', item) if (item.id) { uni.setStorage({ key: 'detailId', data: item.imgId, success() { - console.log(111111) uni.navigateTo({ url: '../../creator/imgDetail' }) } }) } + /*if (item.id) { + uni.setStorage({ + key: 'detailId', + data: item.id, + success() { + uni.navigateTo({ + url: '../creator/imgDetail' + }) + } + }) + }*/ }, }, // onload(e) { @@ -100,7 +125,7 @@ } - diff --git a/pages/userInfo/secretSign/secretSign.vue b/pages/userInfo/secretSign/secretSign.vue index 36c52e4..e752317 100644 --- a/pages/userInfo/secretSign/secretSign.vue +++ b/pages/userInfo/secretSign/secretSign.vue @@ -57,23 +57,7 @@ } }, created() { - const userInfo = uni.getStorageSync('userInfo') - if (!userInfo) { - console.log('havent userInfo') - uni.showModal({ - content: '艺术家账户过期,请重新登录!', - showCancel: false, - success() { - //没有缓存则跳转登录页面 - uni.reLaunch({ - url: '/pages/login/login' - }); - } - }); - } else { - this.userInfo = userInfo; - console.log('have userInfo') - } + }, methods: { diff --git a/pages/userInfo/setting/setting.vue b/pages/userInfo/setting/setting.vue index f839d7b..80d3d67 100644 --- a/pages/userInfo/setting/setting.vue +++ b/pages/userInfo/setting/setting.vue @@ -1,11 +1,17 @@ @@ -16,16 +22,9 @@ export default { data() { return { - clearCache: { - color:'#0000ff', - size: '22', - type: 'refresh' - }, - logout: { - color:'#0000ff', - size: '22', - type: 'redo' - }, + primaryColor: "#1a94bc", + clearIcon: "icon-qingchu", + logOutIcon: "icon-tuichu", userInfo:{} } }, @@ -103,14 +102,49 @@ diff --git a/pages/userInfo/userInfo.vue b/pages/userInfo/userInfo.vue index fa02819..8f2fede 100644 --- a/pages/userInfo/userInfo.vue +++ b/pages/userInfo/userInfo.vue @@ -1,38 +1,82 @@ - diff --git a/static/art-default.png b/static/art-default.png new file mode 100644 index 0000000..3cf599a Binary files /dev/null and b/static/art-default.png differ diff --git a/static/art-select.png b/static/art-select.png new file mode 100644 index 0000000..bcdf7d0 Binary files /dev/null and b/static/art-select.png differ diff --git a/static/c1.png b/static/c1.png deleted file mode 100644 index 9d38fdc..0000000 Binary files a/static/c1.png and /dev/null differ diff --git a/static/c2.png b/static/c2.png deleted file mode 100644 index ce956d7..0000000 Binary files a/static/c2.png and /dev/null differ diff --git a/static/c3.png b/static/c3.png deleted file mode 100644 index 216202a..0000000 Binary files a/static/c3.png and /dev/null differ diff --git a/static/c4.png b/static/c4.png deleted file mode 100644 index fb8b477..0000000 Binary files a/static/c4.png and /dev/null differ diff --git a/static/c5.png b/static/c5.png deleted file mode 100644 index 310bfb1..0000000 Binary files a/static/c5.png and /dev/null differ diff --git a/static/c6.png b/static/c6.png deleted file mode 100644 index c3c45d8..0000000 Binary files a/static/c6.png and /dev/null differ diff --git a/static/c7.png b/static/c7.png deleted file mode 100644 index a1e7390..0000000 Binary files a/static/c7.png and /dev/null differ diff --git a/static/c8.png b/static/c8.png deleted file mode 100644 index c32633c..0000000 Binary files a/static/c8.png and /dev/null differ diff --git a/static/c9.png b/static/c9.png deleted file mode 100644 index 51bcf6a..0000000 Binary files a/static/c9.png and /dev/null differ diff --git a/static/classify-default.png b/static/classify-default.png new file mode 100644 index 0000000..7a45cf3 Binary files /dev/null and b/static/classify-default.png differ diff --git a/static/classify-select.png b/static/classify-select.png new file mode 100644 index 0000000..f6a1bdc Binary files /dev/null and b/static/classify-select.png differ diff --git a/static/collect-select.png b/static/collect-select.png deleted file mode 100644 index 2cca9a6..0000000 Binary files a/static/collect-select.png and /dev/null differ diff --git a/static/collect.png b/static/collect.png deleted file mode 100644 index 1361291..0000000 Binary files a/static/collect.png and /dev/null differ diff --git a/static/collectLength.png b/static/collectLength.png deleted file mode 100644 index c75ea49..0000000 Binary files a/static/collectLength.png and /dev/null differ diff --git a/static/css/main.scss b/static/css/main.scss deleted file mode 100644 index 2a2c2d7..0000000 --- a/static/css/main.scss +++ /dev/null @@ -1,33 +0,0 @@ -/* ===== 页面公用 ===== */ -page { - // width: 100vw; - height: 100vh; - background-color: #f5f5f5; -} - -view { - box-sizing: border-box; -} - -/* ==== 弹性盒模型布局 ==== */ -.fb-d-r { display: flex; flex-direction: row; } -.fb-d-c { display: flex; flex-direction: column;} -.fb-w { flex-wrap: wrap; } -.fb-j-a { justify-content: flex-start; } -.fb-j-e { justify-content: flex-end; } -.fb-j-c { justify-content: center; } -.fb-j-sb { justify-content: space-between; } -.fb-j-sa { justify-content: space-around; } -.fb-a-a { align-items: flex-start; } -.fb-a-e { align-items: flex-end; } -.fb-a-c { align-items: center; } -.fb-a-sb { align-items: space-between; } -.fb-a-sa { align-items: space-around; } - -/* ==== 外边距 ==== */ -.ml-10 { - margin-left: 10rpx; -} -.mt-10 { - margin-top: 10rpx; -} \ No newline at end of file diff --git a/static/customicons.css b/static/customicons.css deleted file mode 100644 index 14ed5fa..0000000 --- a/static/customicons.css +++ /dev/null @@ -1,20 +0,0 @@ -@font-face { - font-family: "customicons"; /* Project id 2878519 */ - src:url('/static/customicons.ttf') format('truetype'); -} - -.customicons { - font-family: "customicons" !important; -} - -.youxi:before { - content: "\e60e"; -} - -.wenjian:before { - content: "\e60f"; -} - -.zhuanfa:before { - content: "\e610"; -} diff --git a/static/customicons.ttf b/static/customicons.ttf deleted file mode 100644 index a3c8ab9..0000000 Binary files a/static/customicons.ttf and /dev/null differ diff --git a/static/download-select.png b/static/download-select.png deleted file mode 100644 index 8ff9e12..0000000 Binary files a/static/download-select.png and /dev/null differ diff --git a/static/download.png b/static/download.png deleted file mode 100644 index 49803af..0000000 Binary files a/static/download.png and /dev/null differ diff --git a/static/home-default.png b/static/home-default.png new file mode 100644 index 0000000..367f45a Binary files /dev/null and b/static/home-default.png differ diff --git a/static/home-select.png b/static/home-select.png new file mode 100644 index 0000000..7ba9cbf Binary files /dev/null and b/static/home-select.png differ diff --git a/static/hot-not.png b/static/hot-not.png deleted file mode 100644 index 8e18cb3..0000000 Binary files a/static/hot-not.png and /dev/null differ diff --git a/static/hot-yes.png b/static/hot-yes.png deleted file mode 100644 index 5edc21d..0000000 Binary files a/static/hot-yes.png and /dev/null differ diff --git a/static/icon/iconfont.css b/static/icon/iconfont.css new file mode 100644 index 0000000..a541391 --- /dev/null +++ b/static/icon/iconfont.css @@ -0,0 +1,101 @@ +@font-face { + font-family: "iconfont"; /* Project id 3946003 */ + src: url('/static/icon/iconfont.ttf?t=1678976128744') format('truetype'); +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-tuichu:before { + content: "\e62c"; +} + +.icon-qingchu:before { + content: "\e8b4"; +} + +.icon-wenti-:before { + content: "\e631"; +} + +.icon-chilun:before { + content: "\e61f"; +} + +.icon-zhifeiji:before { + content: "\e661"; +} + +.icon-wodeshoucang:before { + content: "\e6c4"; +} + +.icon-gengduo:before { + content: "\e617"; +} + +.icon-hot:before { + content: "\e758"; +} + +.icon-fenxiang:before { + content: "\e724"; +} + +.icon-fenxiang1:before { + content: "\e636"; +} + +.icon-weishoucang:before { + content: "\e63a"; +} + +.icon-weixihuan:before { + content: "\e63b"; +} + +.icon-yishoucang:before { + content: "\e63c"; +} + +.icon-yixihuan:before { + content: "\e641"; +} + +.icon-xiazai:before { + content: "\e647"; +} + +.icon-shoucang:before { + content: "\e8b9"; +} + +.icon-tupian:before { + content: "\e8ba"; +} + +.icon-xihuan:before { + content: "\e63d"; +} + +.icon-wode:before { + content: "\e620"; +} + +.icon-shouye:before { + content: "\e664"; +} + +.icon-fenlei:before { + content: "\e67b"; +} + +.icon-yishu:before { + content: "\e6ad"; +} + diff --git a/static/icon/iconfont.ttf b/static/icon/iconfont.ttf new file mode 100644 index 0000000..74fe25c Binary files /dev/null and b/static/icon/iconfont.ttf differ diff --git a/static/imgLength.png b/static/imgLength.png deleted file mode 100644 index 15ba478..0000000 Binary files a/static/imgLength.png and /dev/null differ diff --git a/static/index-default.png b/static/index-default.png deleted file mode 100644 index b57450a..0000000 Binary files a/static/index-default.png and /dev/null differ diff --git a/static/index-select.png b/static/index-select.png deleted file mode 100644 index 1a7f689..0000000 Binary files a/static/index-select.png and /dev/null differ diff --git a/static/jiantou-right.png b/static/jiantou-right.png deleted file mode 100644 index 6430d24..0000000 Binary files a/static/jiantou-right.png and /dev/null differ diff --git a/static/like-select.png b/static/like-select.png deleted file mode 100644 index ccc1761..0000000 Binary files a/static/like-select.png and /dev/null differ diff --git a/static/like.png b/static/like.png deleted file mode 100644 index 15c826d..0000000 Binary files a/static/like.png and /dev/null differ diff --git a/static/likeLength.png b/static/likeLength.png deleted file mode 100644 index b2835c4..0000000 Binary files a/static/likeLength.png and /dev/null differ diff --git a/static/mine-default.png b/static/mine-default.png deleted file mode 100644 index b908584..0000000 Binary files a/static/mine-default.png and /dev/null differ diff --git a/static/mine-select.png b/static/mine-select.png deleted file mode 100644 index 2a9d810..0000000 Binary files a/static/mine-select.png and /dev/null differ diff --git a/static/my-default.png b/static/my-default.png new file mode 100644 index 0000000..6b64202 Binary files /dev/null and b/static/my-default.png differ diff --git a/static/my-select.png b/static/my-select.png new file mode 100644 index 0000000..ef37257 Binary files /dev/null and b/static/my-select.png differ diff --git a/static/theme-default.png b/static/theme-default.png deleted file mode 100644 index 14a009e..0000000 Binary files a/static/theme-default.png and /dev/null differ diff --git a/static/theme-select.png b/static/theme-select.png deleted file mode 100644 index 032a098..0000000 Binary files a/static/theme-select.png and /dev/null differ diff --git a/uni.scss b/uni.scss index c24ca6b..8d49b3d 100644 --- a/uni.scss +++ b/uni.scss @@ -1 +1,61 @@ -@import '@/uni_modules/uni-scss/variables.scss'; \ No newline at end of file +@import '@/uni_modules/uni-scss/variables.scss'; +//主色 +$uni-primary: #1a94bc; +$uni-primary-disable:mix(#fff,$uni-primary,50%); +$uni-primary-light: mix(#fff,$uni-primary,80%); + +// 辅助色 +// 除了主色外的场景色,需要在不同的场景中使用(例如危险色表示危险的操作)。 +$uni-success: #18bc37; +$uni-success-disable:mix(#fff,$uni-success,50%); +$uni-success-light: mix(#fff,$uni-success,80%); + +$uni-warning: #f3a73f; +$uni-warning-disable:mix(#fff,$uni-warning,50%); +$uni-warning-light: mix(#fff,$uni-warning,80%); + +$uni-error: #e43d33; +$uni-error-disable:mix(#fff,$uni-error,50%); +$uni-error-light: mix(#fff,$uni-error,80%); + +$uni-info: #8f939c; +$uni-info-disable:mix(#fff,$uni-info,50%); +$uni-info-light: mix(#fff,$uni-info,80%); + +// 中性色 +// 中性色用于文本、背景和边框颜色。通过运用不同的中性色,来表现层次结构。 +$uni-main-color: #3a3a3a; // 主要文字 +$uni-base-color: #6a6a6a; // 常规文字 +$uni-secondary-color: #909399; // 次要文字 +$uni-extra-color: #c7c7c7; // 辅助说明 + +$uni-btn-text-color: #494951; + +// 边框颜色 +$uni-border-1: #F0F0F0; +$uni-border-2: #EDEDED; +$uni-border-3: #DCDCDC; +$uni-border-4: #B9B9B9; + +// 常规色 +$uni-black: #000000; +$uni-white: #ffffff; +$uni-transparent: rgba($color: #000000, $alpha: 0); +$uni-title-text: #262626; + +// 背景色 +$uni-bg-color: #f8f8f8; +$uni-bg-base-color: #CBCBCB; + +/* 水平间距 */ +$uni-spacing-sm: 8px; +$uni-spacing-base: 15px; +$uni-spacing-lg: 30px; + +// 阴影 +$uni-shadow-sm:0 0 5px rgba($color: #d8d8d8, $alpha: 0.5); +$uni-shadow-base:0 1px 8px 1px rgba($color: #a5a5a5, $alpha: 0.2); +$uni-shadow-lg:0px 1px 10px 2px rgba($color: #a5a4a4, $alpha: 0.5); + +// 蒙版 +$uni-mask: rgba($color: #000000, $alpha: 0.4); \ No newline at end of file diff --git a/utils/request.js b/utils/request.js index adb5670..2d1235a 100644 --- a/utils/request.js +++ b/utils/request.js @@ -44,6 +44,9 @@ service.interceptors.response.use(res => { // return Promise.reject(res.data.msg); // } }, error => { + /*if(error.response.status === 403){ + // refreshToken() 刷新token并重置token + }*/ return Promise.reject(error) }) diff --git a/yarn.lock b/yarn.lock index d3a9a7b..27fc737 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,88 +2,88 @@ # yarn lockfile v1 -"@vue/devtools-api@^6.0.0-beta.11", "@vue/devtools-api@^6.1.4": - version "6.4.2" - resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.4.2.tgz#faf303a70cd9f8662896d663a195df41a8af1e53" - integrity sha512-6hNZ23h1M2Llky+SIAmVhL7s6BjLtZBCzjIz9iRSBUsysjE7kC39ulW0dH4o/eZtycmSt4qEr6RDVGTIuWu+ow== +"@vue/devtools-api@^6.0.0", "@vue/devtools-api@^6.0.0-beta.11": + "integrity" "sha512-IiA0SvDrJEgXvVxjNkHPFfDx6SXw0b/TUkqMcDZWNg9fnCAHbTpoo59YfJ9QLFkwa3raau5vSlRVzMSLDnfdtQ==" + "resolved" "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.1.4.tgz" + "version" "6.1.4" -axios@^0.26.1: - version "0.26.1" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.26.1.tgz#1ede41c51fcf51bbbd6fd43669caaa4f0495aaa9" - integrity sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA== +"axios@^0.26.1": + "integrity" "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==" + "resolved" "https://registry.npmmirror.com/axios/-/axios-0.26.1.tgz" + "version" "0.26.1" dependencies: - follow-redirects "^1.14.8" + "follow-redirects" "^1.14.8" -call-bind@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" - integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== +"call-bind@^1.0.0": + "integrity" "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==" + "resolved" "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.2.tgz" + "version" "1.0.2" dependencies: - function-bind "^1.1.1" - get-intrinsic "^1.0.2" + "function-bind" "^1.1.1" + "get-intrinsic" "^1.0.2" -follow-redirects@^1.14.8: - version "1.15.2" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" - integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== +"follow-redirects@^1.14.8": + "integrity" "sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==" + "resolved" "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.0.tgz" + "version" "1.15.0" -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +"function-bind@^1.1.1": + "integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + "resolved" "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz" + "version" "1.1.1" -get-intrinsic@^1.0.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385" - integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== +"get-intrinsic@^1.0.2": + "integrity" "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==" + "resolved" "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.1.1.tgz" + "version" "1.1.1" dependencies: - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.3" + "function-bind" "^1.1.1" + "has" "^1.0.3" + "has-symbols" "^1.0.1" -has-symbols@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" - integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== +"has-symbols@^1.0.1": + "integrity" "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" + "resolved" "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.0.3.tgz" + "version" "1.0.3" -has@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== +"has@^1.0.3": + "integrity" "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==" + "resolved" "https://registry.npmmirror.com/has/-/has-1.0.3.tgz" + "version" "1.0.3" dependencies: - function-bind "^1.1.1" + "function-bind" "^1.1.1" -object-inspect@^1.9.0: - version "1.12.2" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" - integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== +"object-inspect@^1.9.0": + "integrity" "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==" + "resolved" "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.12.0.tgz" + "version" "1.12.0" -qs@^6.10.3: - version "6.11.0" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" - integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== +"qs@^6.10.3": + "integrity" "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==" + "resolved" "https://registry.npmmirror.com/qs/-/qs-6.10.3.tgz" + "version" "6.10.3" dependencies: - side-channel "^1.0.4" + "side-channel" "^1.0.4" -side-channel@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" - integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== +"side-channel@^1.0.4": + "integrity" "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==" + "resolved" "https://registry.npmmirror.com/side-channel/-/side-channel-1.0.4.tgz" + "version" "1.0.4" dependencies: - call-bind "^1.0.0" - get-intrinsic "^1.0.2" - object-inspect "^1.9.0" + "call-bind" "^1.0.0" + "get-intrinsic" "^1.0.2" + "object-inspect" "^1.9.0" -vue-router@^4.0.14: - version "4.1.5" - resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-4.1.5.tgz#256f597e3f5a281a23352a6193aa6e342c8d9f9a" - integrity sha512-IsvoF5D2GQ/EGTs/Th4NQms9gd2NSqV+yylxIyp/OYp8xOwxmU8Kj/74E9DTSYAyH5LX7idVUngN3JSj1X4xcQ== +"vue-router@^4.0.14": + "integrity" "sha512-xa+pIN9ZqORdIW1MkN2+d9Ui2pCM1b/UMgwYUCZOiFYHAvz/slKKBDha8DLrh5aCG/RibtrpyhKjKOZ85tYyWg==" + "resolved" "https://registry.npmmirror.com/vue-router/-/vue-router-4.0.15.tgz" + "version" "4.0.15" dependencies: - "@vue/devtools-api" "^6.1.4" + "@vue/devtools-api" "^6.0.0" -vuex@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/vuex/-/vuex-4.0.2.tgz#f896dbd5bf2a0e963f00c67e9b610de749ccacc9" - integrity sha512-M6r8uxELjZIK8kTKDGgZTYX/ahzblnzC4isU1tpmEuOIIKmV+TRdc+H4s8ds2NuZ7wpUTdGRzJRtoj+lI+pc0Q== +"vuex@^4.0.2": + "integrity" "sha512-M6r8uxELjZIK8kTKDGgZTYX/ahzblnzC4isU1tpmEuOIIKmV+TRdc+H4s8ds2NuZ7wpUTdGRzJRtoj+lI+pc0Q==" + "resolved" "https://registry.npmmirror.com/vuex/-/vuex-4.0.2.tgz" + "version" "4.0.2" dependencies: "@vue/devtools-api" "^6.0.0-beta.11"