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 0000000..a418789 Binary files /dev/null and b/static/animg/at_33.png differ