Skip to content

Commit 756f98d

Browse files
committed
1、给无法定位的用户的天气模块换成联系我模块;2、优化联系我模块
1 parent 8348237 commit 756f98d

File tree

3 files changed

+157
-165
lines changed

3 files changed

+157
-165
lines changed

src/components/MainPage/AboutMe.vue

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
</div>
213213
</div>
214214
<div class="BigBlock AboutMeMarginTop">
215-
<div class="TitleFontLine">Contacts</div>
215+
<div class="TitleFontLine">联系我</div>
216216
<div
217217
class="BlogStatistic"
218218
style="border-top: none; padding-bottom: 0"
@@ -225,6 +225,18 @@
225225
></i
226226
></a>
227227
</div>
228+
<div class="BlogStatisticItem my-pointer" @click="infoMessage('13213074006')">
229+
<i
230+
class="iconfont AboutMeIcon icon-weixin"
231+
style="color: #f46e65"
232+
></i>
233+
</div>
234+
<div class="BlogStatisticItem my-pointer" @click="infoMessage('1585437938@qq.com')">
235+
<i
236+
class="iconfont icon-youxiang AboutMeIcon"
237+
style="color: #49a9ee"
238+
></i>
239+
</div>
228240
<div class="BlogStatisticItem">
229241
<a
230242
href="https://www.zhihu.com/people/s-q-51-44-23/activities"
@@ -243,22 +255,6 @@
243255
></i
244256
></a>
245257
</div>
246-
<div class="BlogStatisticItem">
247-
<i
248-
class="iconfont icon-youxiang AboutMeIcon"
249-
style="color: #49a9ee"
250-
></i>
251-
</div>
252-
<div class="BlogStatisticItem">
253-
<a
254-
href="https://music.163.com/#/user/home?id=386558098"
255-
target="_blank"
256-
><i
257-
class="iconfont AboutMeIcon icon-CN_NetEasemusic"
258-
style="color: #f46e65"
259-
></i
260-
></a>
261-
</div>
262258
</div>
263259
</div>
264260
</div>
@@ -286,6 +282,13 @@ export default {
286282
// 设置按钮动画的开始与停止
287283
setButtonAnimate: function (status) {
288284
this.buttonAnimate = status;
285+
},
286+
// 联系我的弹出框
287+
infoMessage: (message) => {
288+
Store.commit('ChangeTip', {
289+
Show: true,
290+
Title: message
291+
});
289292
}
290293
},
291294
mounted: function () {

0 commit comments

Comments
 (0)