From 02a73ec7de6f1274011d1848562469b4635fcb38 Mon Sep 17 00:00:00 2001 From: rosehan <151435705@qq.com> Date: Mon, 14 Aug 2023 10:11:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/param.js | 3 +- pages.json | 6 ++ pages/myReserve/myReserve.vue | 5 +- static/ancss/an.css | 9 ++- static/css/common.css | 1 + .../scenic/subscribe/yuyue/yue-notice.vue | 42 ++++++++++ .../scenic/subscribe/yuyue/yue_detail_2.vue | 2 - .../scenic/subscribe/yuyue/yue_detail_js.vue | 6 +- .../scenic/subscribe/yuyue/yue_form_js.vue | 78 +++++++++++++------ .../scenic/subscribe/yuyue/yue_time_js.vue | 5 +- 10 files changed, 120 insertions(+), 37 deletions(-) create mode 100644 sunPackIndex/scenic/subscribe/yuyue/yue-notice.vue diff --git a/common/param.js b/common/param.js index 3b17508..4d73d32 100644 --- a/common/param.js +++ b/common/param.js @@ -7,8 +7,9 @@ module.exports = { update_oauthTime: 1000*60*60*12 ,//更新时间 appid: "wx111bbea67d1b06d5", user_info:null ,//用户信息 - cityName:"雄安", + cityName:"衡水老白干", cityPy:"xiongan", + scenicId:167, imgType:"2901", duoCaiType:"2908", userkey:"95034a2bb9a843b79dbc93f74599282b" ,//唯一标识, xa: 95034a2bb9a843b79dbc93f74599282b hd:53904c3cc069487eb198d4698d67aadd sjz:9c55f9b790244319a0c533b21a3efc7b diff --git a/pages.json b/pages.json index 82b3d1b..76d94a2 100644 --- a/pages.json +++ b/pages.json @@ -441,6 +441,12 @@ "style": { "navigationBarTitleText": "预约景区" + } + }, { + "path": "scenic/subscribe/yuyue/yue-notice", + "style": { + "navigationBarTitleText": "预约须知" + } }, { "path": "scenic/subscribe/yuyue/yue_time_js", diff --git a/pages/myReserve/myReserve.vue b/pages/myReserve/myReserve.vue index cf7ecac..35450b8 100644 --- a/pages/myReserve/myReserve.vue +++ b/pages/myReserve/myReserve.vue @@ -104,7 +104,7 @@ var data = { "page": "1", "limit": "10", - "scenicId": 80, + "scenicId": this.$param.scenicId, "unionId": "unionIdewrqrfb", "state": that.type } @@ -124,8 +124,7 @@ that.dataList = result.data.data.data; } }, - fail: function(e) { - console.log(e) + fail: function(e) { //error.call(self, e) } }) diff --git a/static/ancss/an.css b/static/ancss/an.css index f85791a..9e6d812 100644 --- a/static/ancss/an.css +++ b/static/ancss/an.css @@ -419,7 +419,13 @@ s首页菜单 .yue_fm_btn{ background: none; outline: none; border:none; box-shadow: none; width: 100%; padding: 0;} .yue_fm_btn:after{ display: none;} -.yue_e_bun{ font-size: 30rpx; color: #fff; background: #1677ff; padding: 8rpx 0;} +.yue_e_bun{ font-size: 30rpx; color: #fff; background: #1677ff; padding: 8rpx 0;opacity: .4;} +.yue_e_bun.active{opacity: 1;} + + +.yue_c_bun{ font-size: 30rpx; color: #fff; background: #1677ff; padding: 8rpx 0;} + + .yue_e_bun .ac_size_1{ margin-right: 10rpx; position: relative; top:6rpx} .yue_icn{ position: absolute; right: 5rpx; top:5rpx; z-index: 0;} .yue_icn .ac_size_1{ width:56rpx; height: 56rpx;} @@ -669,6 +675,7 @@ s首页菜单 .huan_box{background: #22b938;} .guo_box{background: #007AFF;} .yuyue-btn{position: fixed; bottom: 0;left: 0; width: 100%;background-color: #F5F5F5; } + .yuyue-btn .an_box_2{} .add_btn{height: 60rpx;line-height: 60rpx;font-size: 32rpx; background: #d9e7ff; color: #007AFF;opacity: .5; } diff --git a/static/css/common.css b/static/css/common.css index 7157adb..9204fe3 100644 --- a/static/css/common.css +++ b/static/css/common.css @@ -1031,3 +1031,4 @@ page{ background: #f5f5f5;} .search_warp{ /* background: #fff; */} .reci_sch{ display: inline-block; padding: 10rpx 25rpx;background: rgba(255,255,255,.6);color: #999; font-size: 24rpx; margin-right: 15rpx; margin-bottom: 10rpx; border-radius: 5rpx; } .cur{ display: inline-block; background: rgb(22, 119, 255); color: #fff; } + diff --git a/sunPackIndex/scenic/subscribe/yuyue/yue-notice.vue b/sunPackIndex/scenic/subscribe/yuyue/yue-notice.vue new file mode 100644 index 0000000..da14581 --- /dev/null +++ b/sunPackIndex/scenic/subscribe/yuyue/yue-notice.vue @@ -0,0 +1,42 @@ + + + + + \ No newline at end of file diff --git a/sunPackIndex/scenic/subscribe/yuyue/yue_detail_2.vue b/sunPackIndex/scenic/subscribe/yuyue/yue_detail_2.vue index 36c4bfe..5f7e5ca 100644 --- a/sunPackIndex/scenic/subscribe/yuyue/yue_detail_2.vue +++ b/sunPackIndex/scenic/subscribe/yuyue/yue_detail_2.vue @@ -42,7 +42,6 @@ }; }, onLoad(options) { - console.log('asd',options.id) this.reserveId = options.id; this.getReserveDetail(); }, @@ -52,7 +51,6 @@ id: this.reserveId } this.$Request.get(this.$config.appletsAppointmentDocumentsDetails, queryParams).then(res => { - console.log(res.data) if (res.status == 200) { this.detailData = res.data } diff --git a/sunPackIndex/scenic/subscribe/yuyue/yue_detail_js.vue b/sunPackIndex/scenic/subscribe/yuyue/yue_detail_js.vue index 347bb91..a0d5eb6 100644 --- a/sunPackIndex/scenic/subscribe/yuyue/yue_detail_js.vue +++ b/sunPackIndex/scenic/subscribe/yuyue/yue_detail_js.vue @@ -62,9 +62,9 @@ - + - @@ -101,7 +101,7 @@ } this.detailist = res.data.list const result = this.detailist.filter(item => { - return item.writeOff == '0' && item.expiredState == '0' + return item.writeOff == '0' }) if (result.length > 0) { this.state = true diff --git a/sunPackIndex/scenic/subscribe/yuyue/yue_form_js.vue b/sunPackIndex/scenic/subscribe/yuyue/yue_form_js.vue index 4b513c9..aa23242 100644 --- a/sunPackIndex/scenic/subscribe/yuyue/yue_form_js.vue +++ b/sunPackIndex/scenic/subscribe/yuyue/yue_form_js.vue @@ -1,6 +1,5 @@