Skip to content

Commit 4078d39

Browse files
committed
refactor: update cdn link
1 parent b0a1db2 commit 4078d39

File tree

6 files changed

+182
-182
lines changed

6 files changed

+182
-182
lines changed

blog-api/src/main/resources/templates/guest.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</head>
77
<body>
88
<div style="width: 550px;height: auto;border-radius: 5px;margin: 0 auto;border: 1px solid #ffb0b0;box-shadow: 0px 0px 20px #888888;position: relative;padding-bottom: 5px">
9-
<div style="background-image: url(https://fastly.jsdelivr.net/gh/Naccl/blog-resource/img/mail.jpg);width: 550px;height: 300px;background-size: cover;background-repeat: no-repeat;border-radius: 5px 5px 0px 0px"></div>
9+
<div style="background-image: url(https://cdn.naccl.top/blog/img/mail.jpg);width: 550px;height: 300px;background-size: cover;background-repeat: no-repeat;border-radius: 5px 5px 0px 0px"></div>
1010
<div style="width: 200px;height: 40px;background-color: rgb(255, 114, 114);margin-top: -20px;margin-left: 20px;box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);color: rgb(255, 255, 255);text-align: center;line-height: 40px" th:text="|Dear: ${parentNickname}|"></div>
1111
<div style="background-color: white;line-height: 180%;padding: 0 15px 12px;width: 520px;margin: 30px auto;color: #555555;font-family: 'Century Gothic', 'Trebuchet MS', 'Hiragino Sans GB', 微软雅黑, 'Microsoft Yahei', Tahoma, Helvetica, Arial, 'SimSun', sans-serif;font-size: 12px;margin-bottom: 0px">
1212
<h2 style="border-bottom: 1px solid #ddd;font-size: 14px;font-weight: normal;padding: 13px 0 10px 8px">
@@ -29,4 +29,4 @@ <h2 style="border-bottom: 1px solid #ddd;font-size: 14px;font-weight: normal;pad
2929
</div>
3030
</div>
3131
</body>
32-
</html>
32+
</html>

blog-api/src/main/resources/templates/owner.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</head>
77
<body>
88
<div style="width: 550px;height: auto;border-radius: 5px;margin: 0 auto;border: 1px solid #ffb0b0;box-shadow: 0px 0px 20px #888888;position: relative;">
9-
<div style="background-image: url(https://fastly.jsdelivr.net/gh/Naccl/blog-resource/img/mail.jpg);width: 550px;height: 250px;background-size: cover;background-repeat: no-repeat;border-radius: 5px 5px 0px 0px"></div>
9+
<div style="background-image: url(https://cdn.naccl.top/blog/img/mail.jpg);width: 550px;height: 250px;background-size: cover;background-repeat: no-repeat;border-radius: 5px 5px 0px 0px"></div>
1010
<div style="background-color: white;line-height: 180%;padding: 0 15px 12px;width: 520px;color: #555555;font-family: 'Century Gothic', 'Trebuchet MS', 'Hiragino Sans GB', 微软雅黑, 'Microsoft Yahei', Tahoma, Helvetica, Arial, 'SimSun', sans-serif;font-size: 12px;margin: 10px auto 0px">
1111
<h2 style="border-bottom: 1px solid #DDD;font-size: 14px;font-weight: normal;padding: 13px 0 10px 8px">
1212
您的文章<a style="text-decoration: none;color: #12ADDB" th:href="@{${url}}" target="_blank" th:text="|《${title}》|"></a>有了新的评论~</h2>
@@ -21,4 +21,4 @@ <h2 style="border-bottom: 1px solid #DDD;font-size: 14px;font-weight: normal;pad
2121
<a style="text-decoration: none;color: rgb(255, 255, 255);width: 40%;text-align: center;background-color: rgb(255, 114, 114);height: 40px;line-height: 40px;box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);display: block;margin: 0 auto 28px auto" th:href="@{${url}}" target="_blank">查看回复的完整內容</a>
2222
</div>
2323
</body>
24-
</html>
24+
</html>

blog-view/src/components/comment/CommentForm.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<el-input :class="'textarea'" type="textarea" :rows="5" v-model="commentForm.content" placeholder="评论千万条,友善第一条"
1010
maxlength="250" show-word-limit :validate-event="false"></el-input>
1111
<div class="el-form-item el-form-item--small emoji">
12-
<img src="https://fastly.jsdelivr.net/gh/Naccl/blog-resource/img/paopao/1.png" @click="showEmojiBox">
12+
<img src="https://cdn.naccl.top/blog/img/paopao/1.png" @click="showEmojiBox">
1313
<div class="mask" v-show="emojiShow" @click="hideEmojiBox"></div>
1414
<div class="emoji-box" v-show="emojiShow">
1515
<div class="emoji-title">
@@ -32,13 +32,13 @@
3232
</div>
3333
<div class="emoji-tabs">
3434
<a class="tab-link" :class="{'on':activeEmojiTab===0}" @click="activeEmojiTab=0">
35-
<img src="https://fastly.jsdelivr.net/gh/Naccl/blog-resource/img/tv/1.png">
35+
<img src="https://cdn.naccl.top/blog/img/tv/1.png">
3636
</a>
3737
<a class="tab-link" :class="{'on':activeEmojiTab===1}" @click="activeEmojiTab=1">
38-
<img src="https://fastly.jsdelivr.net/gh/Naccl/blog-resource/img/aru/1.png">
38+
<img src="https://cdn.naccl.top/blog/img/aru/1.png">
3939
</a>
4040
<a class="tab-link" :class="{'on':activeEmojiTab===2}" @click="activeEmojiTab=2">
41-
<img src="https://fastly.jsdelivr.net/gh/Naccl/blog-resource/img/paopao/1.png">
41+
<img src="https://cdn.naccl.top/blog/img/paopao/1.png">
4242
</a>
4343
</div>
4444
</div>
@@ -321,4 +321,4 @@
321321
left: 0;
322322
right: 0;
323323
}
324-
</style>
324+
</style>

0 commit comments

Comments
 (0)