Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
beyond-clouds-front
Commits
c079d89e
Commit
c079d89e
authored
Feb 17, 2020
by
yanju
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除预览功能
parent
cffce5ff
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
6 deletions
+13
-6
components/pc/pageHeader.vue
+1
-1
pages/answer/release/index.vue
+1
-1
pages/blog/release/index.vue
+1
-1
pages/personal-center/message.vue
+9
-2
pages/project/release/index.vue
+1
-1
No files found.
components/pc/pageHeader.vue
View file @
c079d89e
...
...
@@ -76,7 +76,7 @@
<nuxt-link
tag=
"span"
to=
"/blog/release"
>
写博客
</nuxt-link>
</li>
<li>
<nuxt-link
tag=
"span"
to=
"/dynamic?type=
all
"
>
发布动态
</nuxt-link>
<nuxt-link
tag=
"span"
to=
"/dynamic?type=
new
"
>
发布动态
</nuxt-link>
</li>
<li>
...
...
pages/answer/release/index.vue
View file @
c079d89e
...
...
@@ -59,7 +59,7 @@
</div>
<div
class=
"answer-release__footer"
>
<!--
<p>
已自动存为草稿
</p>
-->
<button
class=
"preview"
@
click=
"readScreen"
>
预览
</button
>
<!--
<button
class=
"preview"
@
click=
"readScreen"
>
预览
</button>
--
>
<button
class=
"submit"
@
click=
"dataPostQuestion"
>
提交
</button>
</div>
</div>
...
...
pages/blog/release/index.vue
View file @
c079d89e
...
...
@@ -120,7 +120,7 @@
</p>
<div
class=
"footer__right"
>
<!--
<p>
已自动存为草稿
</p>
-->
<button
class=
"preview"
@
click=
"preview"
>
预览
</button
>
<!--
<button
class=
"preview"
@
click=
"preview"
>
预览
</button>
--
>
<button
class=
"submit"
v-on:click=
"dataPost"
>
提交
</button>
</div>
</div>
...
...
pages/personal-center/message.vue
View file @
c079d89e
...
...
@@ -46,7 +46,7 @@
<notice-card
v-for=
"(val,index) in message"
:key=
"val.messageId"
:info=
"val"
></notice-card>
<empty-card
v-if=
"message.length===0"
height=
"556px"
></empty-card>
<pagination
style=
"margin: 0 auto;padding:20px 0;"
:pages=
"pages"
v-on:listenPageChange=
"changePage"
></pagination>
<pagination
ref=
"pagination"
style=
"margin: 0 auto;padding:20px 0;"
:pages=
"pages"
v-on:listenPageChange=
"changePage"
></pagination>
</div>
...
...
@@ -104,14 +104,21 @@
},
restartPagination
(){
if
(
process
.
browser
){
this
.
$refs
.
pagination
.
setCurrentPage
(
1
)
}
},
dataPutReadAll
()
{
this
.
$axios
.
$put
(
config
.
api
.
put
.
Message
.
readAll
).
then
((
response
)
=>
{
if
(
response
.
code
===
20
0
){
if
(
response
.
code
===
0
){
this
.
$message
({
type
:
'success'
,
message
:
'已全部标记已读'
});
this
.
restartPagination
();
}
else
{
this
.
$message
({
type
:
'warning'
,
...
...
pages/project/release/index.vue
View file @
c079d89e
...
...
@@ -147,7 +147,7 @@
</p>
<div
class=
"footer__right"
>
<!--
<p>
已自动存为草稿
</p>
-->
<button
class=
"preview"
>
预览
</button
>
<!--
<button
class=
"preview"
>
预览
</button>
--
>
<button
class=
"submit"
@
click=
"postProject"
>
提交
</button>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment