diff --git a/components/layouts/pc/header.vue b/components/layouts/pc/header.vue index e7fdd9f..b260c7a 100644 --- a/components/layouts/pc/header.vue +++ b/components/layouts/pc/header.vue @@ -14,16 +14,7 @@ 首页 专题 作品集 - - RYMCU Store - 淘宝店铺 - - 微信 - - - - - + 产品 开放数据 @@ -245,6 +236,11 @@ export default { path: '/portfolios?page=1' }) break; + case 'products': + _ts.$router.push({ + path: '/products?page=1' + }) + break; case 'github': window.open("https://github.com/rymcu"); break; diff --git a/pages/admin.vue b/pages/admin.vue index a44d23b..290c076 100644 --- a/pages/admin.vue +++ b/pages/admin.vue @@ -159,7 +159,10 @@ export default { this.$store.commit('admin/updateTags', tabs.filter(tab => tab.name !== targetName)) this.$router.push({ - name: activeName + name: activeName, + params: { + reset: '0' + } }) }, handleClick(item) { @@ -175,12 +178,16 @@ export default { _ts.$store.commit('admin/pushTags', _ts.menus[index]) } _ts.$router.push({ - name: item.name + name: item.name, + params: { + reset: '0' + } }) }, handleSelectTab(item) { let _ts = this this.$store.commit('admin/updateActiveTab', item); + let reset = '0' let result = _.findIndex(_ts.editableTabs, function (tab) { return tab.name === item; }) @@ -189,9 +196,13 @@ export default { return menu.name === item; }) _ts.$store.commit('admin/pushTags', _ts.menus[index]) + reset = '1' } _ts.$router.push({ - name: item + name: item, + params: { + reset: reset + } }) }, handleSelectMenu(item) { diff --git a/pages/admin/currency-rules.vue b/pages/admin/currency-rules.vue new file mode 100644 index 0000000..ace4ad8 --- /dev/null +++ b/pages/admin/currency-rules.vue @@ -0,0 +1,162 @@ + + + + + 首页 + 货币规则管理 + + + + + + + + + +{{ scope.row.money }} + -{{ scope.row.money }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pages/admin/dashboard.vue b/pages/admin/dashboard.vue index 833139c..ff9b9ef 100644 --- a/pages/admin/dashboard.vue +++ b/pages/admin/dashboard.vue @@ -256,11 +256,11 @@ export default { store .dispatch('dashboard/fetchDashboard', params) .catch(err => error({statusCode: 404})), - store.dispatch("dashboard/fetchLastThirtyDays"), - store.dispatch("dashboard/fetchHistory"), - store.dispatch("dashboard/fetchNewUsers"), - store.dispatch("dashboard/fetchNewBankAccounts"), - store.dispatch("dashboard/fetchNewArticles") + store.dispatch("dashboard/fetchLastThirtyDays", params), + store.dispatch("dashboard/fetchHistory", params), + store.dispatch("dashboard/fetchNewUsers", params), + store.dispatch("dashboard/fetchNewBankAccounts", params), + store.dispatch("dashboard/fetchNewArticles", params) ]) }, computed: { diff --git a/pages/nebula-pi.vue b/pages/nebula-pi.vue new file mode 100644 index 0000000..acebae0 --- /dev/null +++ b/pages/nebula-pi.vue @@ -0,0 +1,37 @@ + + + + + Nebula Pi 主板结构及布局 + + + + + + + + + + + diff --git a/pages/products.vue b/pages/products.vue new file mode 100644 index 0000000..3402a76 --- /dev/null +++ b/pages/products.vue @@ -0,0 +1,78 @@ + + + + + + + Nebula Pi + + 立即购买 + 相关内容 + + + + + + + + + + diff --git a/pages/user/_account.vue b/pages/user/_account.vue index 92c4b67..470745d 100644 --- a/pages/user/_account.vue +++ b/pages/user/_account.vue @@ -2,8 +2,8 @@ - + diff --git a/pages/user/settings/security.vue b/pages/user/settings/security.vue index 0c86894..14bc1f0 100644 --- a/pages/user/settings/security.vue +++ b/pages/user/settings/security.vue @@ -21,6 +21,12 @@ + + 双重验证 + + + 开启 + + + + + + + +
+ +