From 5823f946304ef6cbb3d407d404e8c65a99be87bb Mon Sep 17 00:00:00 2001 From: chenkainan Date: Wed, 23 Oct 2024 10:55:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- pages.json | 4 +-- pages/index/index.vue | 4 +-- pages/user/user.vue | 32 +++++++++-------- static/js/CommonFunction.js | 4 +-- static/js/request.js | 2 +- subPackages/eventCalendar/eventCalendar.vue | 39 +++++++++++++-------- subPackages/user/coupon.vue | 6 ++-- subPackages/user/travelerList.vue | 6 ++-- 9 files changed, 56 insertions(+), 43 deletions(-) diff --git a/manifest.json b/manifest.json index bca1372..d48afa1 100644 --- a/manifest.json +++ b/manifest.json @@ -50,7 +50,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wxb8f15afe2765976d", + "appid" : "wxcb555ab174f22ec9", "setting" : { "urlCheck" : false, "es6" : true, diff --git a/pages.json b/pages.json index cd91fc1..b844bcf 100644 --- a/pages.json +++ b/pages.json @@ -102,8 +102,8 @@ { "path": "eventCalendar/eventCalendar", "style": { - "navigationBarTitleText": "活动日历", - "navigationStyle": "custom" + "navigationBarTitleText": "活动日历" + // "navigationStyle": "custom" } }, { diff --git a/pages/index/index.vue b/pages/index/index.vue index d507d2c..d29016a 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -12,7 +12,7 @@ - {{current}}/{{topBanner.length}} + {{current + 1}}/{{topBanner.length}} @@ -135,7 +135,7 @@ { img: 'https://static.ticket.sz-trip.com/tongli/images/index/hdrl.png', text: '活动日历', - path: '/subPackages/hotelHomestay/hotelHomestay' + path: '/subPackages/eventCalendar/eventCalendar' }, { img: 'https://static.ticket.sz-trip.com/tongli/images/index/tsty.png', diff --git a/pages/user/user.vue b/pages/user/user.vue index ead4376..3990837 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -48,21 +48,23 @@ - - - - {{item.title}} + + + + + {{item.title}} + + - - @@ -272,8 +274,8 @@ // this.$refs.popup.open('center') // }, gotoUrl(path, index) { - if (index == 3) { - this.$refs.popup.open() + if (index == 2) { + // this.$refs.popup.open() return; } uni.navigateTo({ @@ -555,7 +557,7 @@ color: transparent; cursor: pointer; overflow: hidden; - padding: 0 27rpx; + padding: 0; position: relative; text-align: center; text-decoration: none; diff --git a/static/js/CommonFunction.js b/static/js/CommonFunction.js index f412397..ed75ec9 100644 --- a/static/js/CommonFunction.js +++ b/static/js/CommonFunction.js @@ -91,7 +91,7 @@ Vue.prototype.showImg = img => { if (img.indexOf('https://') != -1 || img.indexOf('http://') != -1) { return img; } else { - return 'https://tongli.sz-trip.com' + img; + return 'https://tlgz.sz-trip.com' + img; } } @@ -115,7 +115,7 @@ Vue.prototype.getHeadImg = type => { { type, }, - '/api/scene/getKumgangHeadImgList' + '/api/public_service/getKumgangHeadImgList' ).then(res => { return res.data[0].image }); diff --git a/static/js/request.js b/static/js/request.js index c40490f..efa6607 100644 --- a/static/js/request.js +++ b/static/js/request.js @@ -1,7 +1,7 @@ import Vue from 'vue' import store from '@/store' -let NEWAPIURL = 'https://tongli.sz-trip.com' +let NEWAPIURL = 'https://tlgz.sz-trip.com' Vue.prototype.Post = (params, apiurl) => { if (uni.getStorageSync('userInfo') && JSON.parse(uni.getStorageSync('userInfo')).token) params.token = JSON.parse(uni.getStorageSync('userInfo')).token diff --git a/subPackages/eventCalendar/eventCalendar.vue b/subPackages/eventCalendar/eventCalendar.vue index fddf277..01b57ac 100644 --- a/subPackages/eventCalendar/eventCalendar.vue +++ b/subPackages/eventCalendar/eventCalendar.vue @@ -1,6 +1,7 @@