|
|
@@ -65,7 +65,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- tabs: ['铸造者', '收藏探索', '数字盲盒', '我的NFT', '了解更多'],
|
|
|
+ // tabs: ['铸造者', '收藏探索', '数字盲盒', '我的NFT', '了解更多'],
|
|
|
active: '',
|
|
|
show: false,
|
|
|
activeName: '',
|
|
|
@@ -112,18 +112,18 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
...mapMutations(['updateUserInfo']),
|
|
|
- tab(item) {
|
|
|
- this.active = item;
|
|
|
- if (item === '铸造者') {
|
|
|
- this.$router.push('/casting');
|
|
|
- } else if (item === '收藏探索') {
|
|
|
- this.$router.push('/collection');
|
|
|
- } else if (item === '数字盲盒') {
|
|
|
- this.$router.push('/collection?type=BLIND_BOX');
|
|
|
- } else if (item === '我的NFT') {
|
|
|
- this.$router.push('/my');
|
|
|
- }
|
|
|
- },
|
|
|
+ // tab(item) {
|
|
|
+ // this.active = item;
|
|
|
+ // if (item === '铸造者') {
|
|
|
+ // this.$router.push('/casting');
|
|
|
+ // } else if (item === '收藏探索') {
|
|
|
+ // this.$router.push('/collection');
|
|
|
+ // } else if (item === '数字盲盒') {
|
|
|
+ // this.$router.push('/collection?type=BLIND_BOX');
|
|
|
+ // } else if (item === '我的NFT') {
|
|
|
+ // this.$router.push('/my');
|
|
|
+ // }
|
|
|
+ // },
|
|
|
batchRead() {},
|
|
|
onCommand(command) {
|
|
|
if (command === 'edit') {
|
|
|
@@ -198,7 +198,7 @@ export default {
|
|
|
},
|
|
|
parseQuery(query) {
|
|
|
const res = {};
|
|
|
-
|
|
|
+ console.log(query);
|
|
|
query = query.trim().replace(/^(\?|#|&)/, '');
|
|
|
|
|
|
if (!query) {
|
|
|
@@ -237,10 +237,6 @@ export default {
|
|
|
</script>
|
|
|
<style lang="less" scoped>
|
|
|
/deep/.btn-list {
|
|
|
- .el-dropdown-menu__item {
|
|
|
- font-weight: bold;
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
.el-tabs__nav-scroll {
|
|
|
padding-left: 13px;
|
|
|
}
|
|
|
@@ -250,7 +246,10 @@ export default {
|
|
|
width: 300px;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+/deep/ .el-dropdown-menu__item {
|
|
|
+ font-weight: bold;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
/deep/.menus {
|
|
|
padding: 15px 25px 0;
|
|
|
.el-tabs__item {
|