Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Sep 1, 2024
1 parent a78a8b8 commit 4aae7b8
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 267 deletions.
2 changes: 2 additions & 0 deletions src/components/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@

<v-list-item rounded="xl" prepend-icon="mdi-earth" title="探索" value="home" to="/proxy/explore"></v-list-item>
<v-list-item rounded="xl" prepend-icon="mdi-xml" title="搜索" value="projects" to="/proxy/search"></v-list-item>
<v-list-item rounded="xl" prepend-icon="mdi-link" title="打开" value="open" to="/proxy/open"></v-list-item>

</div>
<div v-if="islogin == true">
<v-list-subheader>账户</v-list-subheader>
Expand Down
107 changes: 0 additions & 107 deletions src/components/proxy/ProjectCard.vue

This file was deleted.

133 changes: 0 additions & 133 deletions src/components/proxy/Projects.vue

This file was deleted.

27 changes: 0 additions & 27 deletions src/components/proxy/ProjectsCards.vue

This file was deleted.

35 changes: 35 additions & 0 deletions src/pages/proxy/open.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<template>
<v-container>
<v-card subtitle="这是Scratch上的内容" title="ScratchMirror">
<v-card-text class="bg-surface-light pt-4">
我们使用这种方式促进Scratch及其社区的发展,这些内容是按照<a>署名-相同方式共享 2.0
通用</a>协议传播的,您可以在<a>https://creativecommons.org/licenses/by-sa/2.0/</a>查看协议全文。
</v-card-text>
<template v-slot:actions>
<v-btn href="https://scratch.mit.edu/explore/projects/all">Scratch上的发现页</v-btn>
<v-btn href="https://scratch.mit.edu/terms_of_use" target="_blank">Scratch使用条款</v-btn>
</template> </v-card><br />
<v-text-field label="输入Scratch作品ID" variant="outlined" v-model="scratchprojectid"></v-text-field>
<v-btn :to="'/proxy/' + scratchprojectid" :disabled="scratchprojectid == ''" color="primary">打开</v-btn><br /><br />
<v-text-field label="输入Scratch工作室ID" variant="outlined" v-model="scratchstudioid"></v-text-field>
<v-btn :to="'/proxy/studio/' + scratchstudioid" :disabled="scratchstudioid == ''"
color="primary">打开</v-btn><br /><br />
<v-text-field label="输入Scratch用户名称" variant="outlined" v-model="scratchusername"></v-text-field>
<v-btn :to="'/proxy/user/' + scratchusername" :disabled="scratchusername == ''" color="primary">打开</v-btn><br />
</v-container>
</template>

<script>
export default {
data() {
return {
scratchprojectid: "",
scratchstudioid: "",
scratchusername: "",
};
},
async created() { },
methods: {},
};
</script>

0 comments on commit 4aae7b8

Please sign in to comment.