From 9098cc5b8a162587a94f1f6ebb14787705ae2c5f Mon Sep 17 00:00:00 2001 From: Tuzki <1720599558@qq.com> Date: Tue, 10 Oct 2023 19:06:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=B7=BB=E5=8A=A0=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E3=80=82=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E3=80=82=E5=AF=BC=E8=A7=88=E6=B7=BB=E5=8A=A0=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E6=AC=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/daolan/pointDetail.vue | 4 +- pages/daolan/zhdl.vue | 49 ++++++++-- pages/fuwu/fuwu.vue | 33 ++++++- pages/personcenter/personcenter.vue | 133 +++++++++++++++------------- static/animg/at_33.png | Bin 0 -> 792 bytes 5 files changed, 144 insertions(+), 75 deletions(-) create mode 100755 static/animg/at_33.png diff --git a/pages/daolan/pointDetail.vue b/pages/daolan/pointDetail.vue index c8f92e4..afc671b 100644 --- a/pages/daolan/pointDetail.vue +++ b/pages/daolan/pointDetail.vue @@ -34,10 +34,10 @@ {{ datas.opentime }} - + diff --git a/pages/daolan/zhdl.vue b/pages/daolan/zhdl.vue index c932211..f65e060 100644 --- a/pages/daolan/zhdl.vue +++ b/pages/daolan/zhdl.vue @@ -34,7 +34,7 @@ {{ pointData.cname }} - + 语音讲解 @@ -42,9 +42,13 @@ 语音讲解 + + 累计播放:{{count}}次 + 暂无讲解 + @@ -58,11 +62,11 @@ 全部 - + @@ -92,6 +96,7 @@ export default { data() { return { + count:0, mapCtx: '', scale: 18, min: 10, @@ -130,10 +135,10 @@ export default { this.addThings(); this.getScreeningData(); this.getLineData(); - uni.showLoading({ - title: '手绘图加载中...', - mask: true - }); + // uni.showLoading({ + // title: '手绘图加载中...', + // mask: true + // }); // setTimeout(function () { // uni.hideLoading(); // }, 6000); @@ -222,6 +227,13 @@ export default { if (item.id == val.detail.markerId) { this.pointData = item; this.showCover = true; + uni.request({ + url: this.$config.ROOTPATH + '/mobile/appletsAppointment/getPlayCount?id='+item.id, + method:'get', + success(res) { + this_.count = res.data.data + } + }) } }); }, @@ -426,11 +438,26 @@ export default { }, // 播音频 play(val) { + let this_ = this this.showMp3Title = true; this.plays = false; uni.playBackgroundAudio({ - dataUrl: this.$config.ROOTPATH + val + dataUrl: this.$config.ROOTPATH + val.voiceurl }); + uni.request({ + url: this.$config.ROOTPATH + '/mobile/appletsAppointment/updatePlayCount?id='+val.id, + method:'get', + success(res) { + console.log(res,'次数') + } + }) + uni.request({ + url: this.$config.ROOTPATH + '/mobile/appletsAppointment/getPlayCount?id='+val.id, + method:'get', + success(res) { + this_.count = res.data.data + } + }) }, // 停音频 pause() { @@ -601,4 +628,10 @@ map { top: 0rpx; z-index: 99; } +.small-text{ + display: inline-flex; + color: #9e9e9e; + font-size: 24rpx; + margin-left: 26rpx; +} diff --git a/pages/fuwu/fuwu.vue b/pages/fuwu/fuwu.vue index 1425d1e..b6af965 100644 --- a/pages/fuwu/fuwu.vue +++ b/pages/fuwu/fuwu.vue @@ -12,7 +12,10 @@ 景点 - + + + 导航 + - 咨询电话:0319—3926666 + 咨询电话: + 0319—3926666 - 投诉电话:0319—3928888 + 投诉电话: + 0319—3928888 - 救援电话:0319—3928888 + 救援电话: + 0319—3928888 - @@ -147,19 +149,19 @@ export default { } }, methods: { - getPhone: function(type) { + getPhone: function (type) { if (type == 'zixun') { uni.makePhoneCall({ phoneNumber: '03193926666' //仅为示例,并非真实的电话号码 - }) + }); } else if (type == 'tousu') { uni.makePhoneCall({ phoneNumber: '03193928888' //仅为示例,并非真实的电话号码 - }) + }); } else if (type == 'jiuyuan') { uni.makePhoneCall({ phoneNumber: '03193928888' //仅为示例,并非真实的电话号码 - }) + }); } }, changean(type) { @@ -523,73 +525,76 @@ export default { @import url('../../static/css/common.css'); - page { - background: #fff; - } +page { + background: #fff; +} - .v-about { - padding: 20rpx 40rpx; - } +.v-about { + padding: 20rpx 40rpx; + box-shadow: 0px -3px 6px 2px #efefef; + margin-top: 50rpx; +} - .v-about-top { - display: flex; - align-items: center; - } +.v-about-top { + display: flex; + align-items: center; +} - .v-about-top-left { - flex: auto; - padding-left: 20rpx; - } +.v-about-top-left { + flex: auto; + padding-left: 20rpx; +} - .v-about-top-right {} +.v-about-top-right { +} - .v-about-top-img { - width: 200rpx; - } +.v-about-top-img { + width: 200rpx; +} - .v-about-top-tel { - width: 50rpx; - } +.v-about-top-tel { + width: 50rpx; +} - .v-about-top-text { - color: #ae3523; - font-size: 50rpx; - font-weight: 600; - } +.v-about-top-text { + color: #ae3523; + font-size: 50rpx; + font-weight: 600; +} - .v-about-top-eg { - color: #ae3523; - font-weight: 600; - } +.v-about-top-eg { + color: #ae3523; + font-weight: 600; +} - .v-about-item { - display: flex; - margin: 40rpx 0; - align-items: center; - padding: 25rpx 40rpx; - border-radius: 10rpx; - color: #fff; - font-weight: 600; - font-size: 30rpx; - background-color: #ae3523; - } +.v-about-item { + display: flex; + margin: 40rpx 0; + align-items: center; + padding: 25rpx 40rpx; + border-radius: 10rpx; + color: #ffffff; + font-weight: 600; + font-size: 30rpx; + background-color: #72d2ff; +} - .v-about-item .num { - position: relative; - flex: auto; - font-size: 36rpx; - } +.v-about-item .num { + position: relative; + flex: auto; + font-size: 36rpx; +} - .v-about-item .num::after { - content: ""; - position: absolute; - right: 30rpx; - top: 50%; - transform: translate(0, -50%); - width: 2rpx; - height: 95%; - background-color: #fff; - } +.v-about-item .num::after { + content: ''; + position: absolute; + right: 30rpx; + top: 50%; + transform: translate(0, -50%); + width: 2rpx; + height: 95%; + background-color: #fff; +} .dzhi_top { padding: 150rpx 0 40rpx; diff --git a/static/animg/at_33.png b/static/animg/at_33.png new file mode 100755 index 0000000000000000000000000000000000000000..a418789cdc9da9194f1c36db8ee13cbc57115bab GIT binary patch literal 792 zcmeAS@N?(olHy`uVBq!ia0vp^ks!>$3?!4TR?G!b`2jv5u0ZXOOE~ynEZdusoz`A|EgdAw`0p6m+t?`^ZrfT`RC-VpR@M=p1${Y@RWaZ z5B|%5a z^LEi{10L6%@t5=WO2utcd4PI1!n< zZjN^DlG|zJ`**(O{(45mWcualVXI4oitn0tIW^~-9o>5L`qq6{b2e-0%}QFBHq$#e zCi+kG8S}o%u-!j2#G=}EhWx%zZmj-1arw^3BUde-F}?U7^Po35&-}=X|3~f=o>_72 zsAxlw{n0aq$#L3G?{%DwQ1qsg&i|2?>|^Dzslur%vssPK0CGw3L6$%1w|UJ znrUEsS1oPd%^k9f^pNn*1N1%X@*5O-QfWS*Pr5gqe*Q^CzQdR}g9u6t}^+|_Qt);M#|k@H7m@@Ew@ z{PC6v%st+7XV2P*=@Ee6zjWf%X;=@6ddDs+4P=hIieU6=c^N^N4g%#GX8fiX3n zLgLxK9ba4f&U$b_&g{ls>$>{Garf>8x4X~Sz5e7&fq%>n@8-W>Gxyj#V0vTlboFyt I=akR{0A{$L8~^|S literal 0 HcmV?d00001