From 2f23010ecd412149468a12694491a34e1dcef85a Mon Sep 17 00:00:00 2001 From: 夏洋涛 <1027869635@qq.com> Date: Thu, 30 Mar 2023 16:54:54 +0800 Subject: [PATCH] feat:导师删除,联系修改 --- src/views/Home.vue | 14 +++++++++++--- src/views/Service/AbroadDetailNext/AbroadDetail.scss | 13 +++++++++++++ src/views/Service/AbroadDetailNext/AbroadDetailNext.vue | 43 +++++++++++++++++++++++++++++-------------- src/views/Service/BaseDetail/BaseDetail.scss | 491 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- src/views/Service/BaseDetail/BaseDetail.vue | 39 +++++++++++++++++++++++++++------------ 5 files changed, 332 insertions(+), 268 deletions(-) diff --git a/src/views/Home.vue b/src/views/Home.vue index 8e13d20..4f9a6cc 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -15,7 +15,14 @@
- +
@@ -33,10 +40,10 @@

官方资讯

-
+
@@ -115,6 +122,7 @@ export default { }, data() { return { + placeholder: '搜索馆关键字、活动、研学旅行', tieshi: true, navActive: 1, swipeImgs: '', diff --git a/src/views/Service/AbroadDetailNext/AbroadDetail.scss b/src/views/Service/AbroadDetailNext/AbroadDetail.scss index ec34937..3627192 100644 --- a/src/views/Service/AbroadDetailNext/AbroadDetail.scss +++ b/src/views/Service/AbroadDetailNext/AbroadDetail.scss @@ -584,6 +584,19 @@ margin-bottom: 44px; } } + .contact_btn { + position: fixed; + bottom: 36px; + left: 15px; + width: 720px; + height: 92px; + text-align: center; + line-height: 92px; + background: rgb(22, 190, 142); + border-radius: 46px; + font-size: 36px; + color: #fff; + } .Collection2 { position: fixed; bottom: 0; diff --git a/src/views/Service/AbroadDetailNext/AbroadDetailNext.vue b/src/views/Service/AbroadDetailNext/AbroadDetailNext.vue index e73da38..0d61264 100644 --- a/src/views/Service/AbroadDetailNext/AbroadDetailNext.vue +++ b/src/views/Service/AbroadDetailNext/AbroadDetailNext.vue @@ -54,7 +54,7 @@
-

如有特殊需求请联系【客服】

+

如有特殊需求请联系【客服】

@@ -84,12 +84,8 @@ -
-
-
-
-
-
+
联系客服
+ -
+
联系客服
+ @@ -163,16 +164,25 @@ export default { // 点击联系方式 handleContact() { let mobile = this.detailData.mobile[0] + if (mobile) { - // window.location.href = `tel:${mobile}` - ZWJSBridge.phoneCall({ - corpId: mobile, + this.$dialog.confirm({ + title: '提示', + message: '是否拨打客服电话', }) - .then((res) => { - console.log(res) + .then(() => { + ZWJSBridge.phoneCall({ + corpId: mobile, + }) + .then((res) => { + console.log(res) + }) + .catch((err) => { + console.log(err) + }) }) - .catch((err) => { - console.log(err) + .catch(() => { + // on cancel }) } else { this.$toast('暂无联系方式') @@ -187,9 +197,14 @@ export default { \ No newline at end of file + -- libgit2 0.21.0