Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Dec 7, 2024
1 parent 057896b commit 9d3a30e
Show file tree
Hide file tree
Showing 12 changed files with 57 additions and 25 deletions.
4 changes: 2 additions & 2 deletions src/components/Projects.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
indeterminate
></v-progress-linear>
<div class="mb-2" v-if="showinfo == true || showinfo == 'true'">
<v-chip
<v-chip class="text-medium-emphasis"
><v-icon icon="mdi-counter" start></v-icon>共{{
this.projectscount
}}个作品
</v-chip>
<v-chip
<v-chip class="text-medium-emphasis"
><v-icon icon="mdi-clock" start></v-icon>本页加载用时{{
Math.abs(usetime / 1000)
}}秒
Expand Down
18 changes: 16 additions & 2 deletions src/pages/projectlist/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
<template>
<v-container>
<h1>列表</h1>
<v-btn @click="NewProjectListDialog = true">创建</v-btn><br /><br />
<div class="d-flex justify-space-between mb-4">
<h1>列表</h1>

<div class="d-flex ga-2">
<v-btn
@click="NewProjectListDialog = true"
border
color="primary"
rounded="lg"
slim
text="创建"
variant="flat"
/>

</div>
</div>
<div v-for="item in lists" :key="item.id">
<v-card border>
<v-card-item>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/projects/[id]/fork.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h1 class="text-h4">Fork <span v-text="project.title"></span></h1>
</div>
<br />
<v-card>
<v-card hover border>
<template v-slot:title>
{{ project.title }}
</template>
Expand All @@ -19,7 +19,7 @@
{{ project.description }}
</template> </v-card
><br />
<v-card>
<v-card hover border>
<template v-slot:title> 你正在分叉一个项目 </template>

<template v-slot:subtitle>等等,确认点事 </template>
Expand All @@ -34,7 +34,7 @@
<v-checkbox label="我已了解并确认" v-model="checkknow"></v-checkbox>
</v-card-actions>
</v-card>
<br /><v-card>
<br /><v-card hover border>
<template v-slot:title>
{{ project.license }}
</template>
Expand Down
20 changes: 14 additions & 6 deletions src/pages/projects/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,19 @@
v-model="search.tag"
></v-autocomplete
></v-col>
<v-col cols="3">
<v-btn @click="onPageChange()"> 搜索 </v-btn>
<v-col cols="12">
<v-btn
color="primary"
variant="flat"
rounded="xl"
@click="onPageChange()"
append-icon="mdi-magnify"
>搜索</v-btn
>
<v-btn
color=""
variant="flat"
rounded="xl"
@click="
search.order = 'view_up';
search.type = '';
Expand All @@ -74,12 +84,11 @@
search.description = '';
search.title = '';
search.state = 'public';
onPageChange();
"
>重置</v-btn
></v-col
></v-row
>
</v-col></v-row
>
<br />
<br />
Expand Down Expand Up @@ -113,7 +122,6 @@ export default {
},
data() {
return {
search: {
title: "",
type: "",
Expand Down
20 changes: 15 additions & 5 deletions src/pages/projects/my.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,32 @@
v-model="search.tag"
></v-autocomplete
></v-col>
<v-col cols="3">
<v-btn @click="onPageChange()"> 搜索 </v-btn>
<v-col cols="12">
<v-btn
color="primary"
variant="flat"
rounded="xl"
@click="onPageChange()"
append-icon="mdi-magnify"
>搜索</v-btn
>
<v-btn
color=""
variant="flat"
rounded="xl"
@click="
search.order = 'view_up';
search.type = '';
search.authorid = '';
search.source = '';
search.description = '';
search.title = '';
search.state = '';
search.state = 'public';
onPageChange();
"
>重置</v-btn
></v-col
></v-row
>
</v-col></v-row
>
<br />
<br />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/proxy/[id]/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
</template>
</v-card>
<br />
<v-card subtitle="这是Scratch上的内容" title="ScratchMirror">
<v-card subtitle="这是Scratch上的内容" title="ZeroCatScratchMirror">
<v-card-text class="bg-surface-light pt-4">
我们使用这种方式促进Scratch及其社区的发展,这些内容是按照<a
>署名-相同方式共享 2.0 通用</a
Expand Down
2 changes: 1 addition & 1 deletion src/pages/proxy/explore.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<v-container>
<v-card subtitle="这是Scratch上的内容" title="ScratchMirror">
<v-card subtitle="这是Scratch上的内容" title="ZeroCatScratchMirror">
<v-card-text class="bg-surface-light pt-4">
我们使用这种方式促进Scratch及其社区的发展,这些内容是按照<a
>署名-相同方式共享 2.0 通用</a
Expand Down
2 changes: 1 addition & 1 deletion src/pages/proxy/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<v-container>
<v-card subtitle="这是Scratch上的内容" title="ScratchMirror">
<v-card subtitle="这是Scratch上的内容" title="ZeroCatScratchMirror">
<v-card-text class="bg-surface-light pt-4">
我们使用这种方式促进Scratch及其社区的发展,这些内容是按照<a
>署名-相同方式共享 2.0 通用</a
Expand Down
2 changes: 1 addition & 1 deletion src/pages/proxy/open.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<v-container>
<v-card subtitle="这是Scratch上的内容" title="ScratchMirror">
<v-card subtitle="这是Scratch上的内容" title="ZeroCatScratchMirror">
<v-card-text class="bg-surface-light pt-4">
我们使用这种方式促进Scratch及其社区的发展,这些内容是按照<a
>署名-相同方式共享 2.0 通用</a
Expand Down
2 changes: 1 addition & 1 deletion src/pages/proxy/search.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<v-container
><v-card subtitle="这是Scratch上的内容" title="ScratchMirror">
><v-card subtitle="这是Scratch上的内容" title="ZeroCatScratchMirror">
<v-card-text class="bg-surface-light pt-4">
我们使用这种方式促进Scratch及其社区的发展,这些内容是按照<a
>署名-相同方式共享 2.0 通用</a
Expand Down
2 changes: 1 addition & 1 deletion src/pages/proxy/studios/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
><br />
<v-btn @click="onPageChange(curPage + 1, false)">继续加载</v-btn>
<br /><br />
<v-card subtitle="这是Scratch上的内容" title="ScratchMirror">
<v-card subtitle="这是Scratch上的内容" title="ZeroCatScratchMirror">
<v-card-text class="bg-surface-light pt-4">
我们使用这种方式促进Scratch及其社区的发展,这些内容是按照<a
>署名-相同方式共享 2.0 通用</a
Expand Down
2 changes: 1 addition & 1 deletion src/pages/proxy/user/[username].vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
{{ userinfo.profile.bio }}
</v-card-text>
</v-card>
<v-card subtitle="这是Scratch上的内容" title="ScratchMirror">
<v-card subtitle="这是Scratch上的内容" title="ZeroCatScratchMirror">
<v-card-text class="bg-surface-light pt-4">
我们使用这种方式促进Scratch及其社区的发展,这些内容是按照<a
>署名-相同方式共享 2.0 通用</a
Expand Down

0 comments on commit 9d3a30e

Please sign in to comment.