diff --git a/.vscode/settings.json b/.vscode/settings.json index bff2e79..b2b3905 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,5 +2,5 @@ "workbench.tree.indent": 2, "editor.indentSize": "tabSize", "editor.tabSize": 2, - "vue3snippets.enable-compile-vue-file-on-did-save-code": false + "vue3snippets.enable-compile-vue-file-on-did-save-code": true } \ No newline at end of file diff --git a/App.vue b/App.vue index d7e3d2d..f131691 100644 --- a/App.vue +++ b/App.vue @@ -11,11 +11,11 @@ import store from "@/store"; store.commit('setCacheData'); //检查缓存中userid的存储格式 - var userStorageSync = aes.aesDecrypt(decodeURIComponent(uni.getStorageSync("userid"))) - if(userStorageSync.indexOf("data")){ - var json = JSON.parse(userStorageSync); - uni.setStorageSync("userid",aes.aesMinEncrypt(json.data)); - } + // var userStorageSync = aes.aesDecrypt(decodeURIComponent(uni.getStorageSync("userid"))) + // if(userStorageSync.indexOf("data")){ + // var json = JSON.parse(userStorageSync); + // uni.setStorageSync("userid",aes.aesMinEncrypt(json.data)); + // } // uni.getLocation({ // type: 'gcj02', // success: function (res) { diff --git a/common/config.js b/common/config.js index 8ec1744..6f53b2d 100644 --- a/common/config.js +++ b/common/config.js @@ -143,6 +143,11 @@ module.exports = { //票务这边的 pageComplaintinfo:PWPATH+"/wechatshop/complaintinfo/pageComplaintinfo",//获得投诉建议分页 createComplaintinfo: PWPATH +"/wechatshop/complaintinfo/createComplaintinfo",//创建投诉建议 + getTicketSortList: PWPATH + "/wechatshop/ticket/getTicketSortList",//获取门票分类 + getTicketList: PWPATH + "/wechatshop/ticket/getTicketList",//获取门票列表分页 + isQuota: PWPATH + "/wechatshop/ticket/isQuota",//查询是否限购 + getScencAndTicketInfo: PWPATH + "/wechatshop/ticket/getScencAndTicketInfo",//获取景区门票相关信息 + getTicketDateInventory: PWPATH + "/wechatshop/ticket/getTicketDateInventory",//获得门票日期库存 getPhone: PWPATH+"/wechatshop/auth/getWeChatUserMobile",//获取手机号 diff --git a/common/httpRequest.js b/common/httpRequest.js index 80122ec..d573651 100644 --- a/common/httpRequest.js +++ b/common/httpRequest.js @@ -1,6 +1,7 @@ import configdata from './config' import cache from './cache' import aes from "@/common/aes.js"; +import store from "@/store/index.js"; module.exports = { config: function (name) { var info = null; diff --git a/common/login.js b/common/login.js index 08441d8..0accebe 100644 --- a/common/login.js +++ b/common/login.js @@ -171,7 +171,7 @@ var throttleLogin = true export const judgeLogin = (callback) => { let storeUserInfo = store.state.userInfo; if (!storeUserInfo.userId){ // nvue页面读取不到vuex里面数据,将取缓存 - // #ifdef APP-APP-NVUE + // #ifdef MP-WEIXIN storeUserInfo = uni.getStorageSync('userInfo') // #endif } diff --git a/components/f-loading/loading.vue b/components/f-loading/loading.vue new file mode 100644 index 0000000..b166fc2 --- /dev/null +++ b/components/f-loading/loading.vue @@ -0,0 +1,165 @@ + + + + + diff --git a/components/f-login/f-login.vue b/components/f-login/f-login.vue index fdc592e..69daea1 100644 --- a/components/f-login/f-login.vue +++ b/components/f-login/f-login.vue @@ -21,10 +21,11 @@ - + @@ -980,9 +542,11 @@ body { .liu_hui { color: #cbcbcb !important; } + .liu_green { color: #07b800 !important; } + .liu_red { color: #ef0a0a !important; } @@ -1026,6 +590,7 @@ body { .dl_1 { color: #333; } + /* This was made with GlassGenerator.netlify.app */ .glass-container { @@ -1047,6 +612,7 @@ body { border-bottom: 0px rgba(40, 40, 40, 0.35) solid; border-right: 0px rgba(40, 40, 40, 0.35) solid; } + .mmd_scol { position: relative; @@ -1139,6 +705,7 @@ body { .agn_right { width: fit-content; + .btn_daoh { background: #f8f9fd; border-radius: 28rpx; @@ -1163,6 +730,7 @@ body { } } } + .uni-margin-wrap { .swiper_jqu { height: 540rpx; @@ -1174,6 +742,7 @@ body { } } } + .uni-margin-wrap { width: 100%; } @@ -1194,6 +763,7 @@ body { .category-content .product-item:nth-child(4n + 3) .product-img { background-color: #e9dcf2 !important; } + .category-content { display: flex; flex-direction: row; @@ -1202,6 +772,7 @@ body { margin: 0 20rpx; justify-content: space-between; + .product-item { width: 100%; display: flex; @@ -1220,11 +791,13 @@ body { margin-left: 15rpx; display: flex; flex-direction: column; + .product-title1 { font-size: 32rpx; padding-bottom: 12rpx; padding-top: 10rpx; } + .product-title { width: fit-content; font-size: 24rpx; @@ -1235,8 +808,122 @@ body { } } -.gl{ +.gl { margin-top: -50rpx; background-color: #fff; } + +.senice-charac { + display: flex; + flex-wrap: wrap; + + .border { + margin-right: 10rpx; + } +} + +.ticket-list-box { + margin-top: -80rpx; + padding-top: 40rpx; + padding: 50rpx 0; + + .m-ticket-sort { + padding: 0 25rpx; + margin-bottom: 30rpx; + background-color: #fff; + padding-bottom: 30rpx; + + .m-sort-name { + font-family: Source Han Sans SC; + font-weight: bold; + font-size: 40rpx; + color: #1b1b1b; + margin-bottom: 35rpx; + padding: 50rpx 20rpx 0; + } + + .ticket-item { + background: #f8f9fd; + border-radius: 20rpx; + padding: 40rpx; + margin-bottom: 25rpx; + + .ticket-name { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 20rpx; + font-family: Source Han Sans SC; + font-weight: 500; + font-size: 32rpx; + color: #1b1b1b; + + .ticket-type { + font-family: Source Han Sans SC; + font-weight: 400; + font-size: 20rpx; + color: #666666; + padding: 3rpx 5rpx; + border-radius: 8rpx; + border: 1px solid #e9e9e9; + } + } + + .ticket-tag { + font-family: Source Han Sans SC; + font-weight: 500; + font-size: 24rpx; + color: #0983ff; + margin-bottom: 20rpx; + } + + .ticket-tips { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 15rpx; + + .left { + font-family: Source Han Sans SC; + font-weight: 500; + font-size: 24rpx; + color: #ff7f00; + } + + .ticket-price { + font-family: Source Han Sans SC; + font-weight: bold; + font-size: 38rpx; + color: #ff404c; + + .m-danwei { + font-size: 32rpx; + } + } + } + + .btn-box { + display: flex; + justify-content: flex-end; + + .m-btn { + width: 160rpx; + height: 64rpx; + background: linear-gradient(-90deg, #0983ff, #57abff); + border-radius: 32rpx; + text-align: center; + line-height: 64rpx; + font-family: Source Han Sans SC; + font-weight: 500; + font-size: 26rpx; + color: #ffffff; + } + + .m-btn-hover { + background: linear-gradient(-90deg, #57abff, #0983ff); + } + } + } + } +} diff --git a/subPageA/wenchuang/wenlist/wenlist.vue b/subPageA/wenchuang/wenlist/wenlist.vue index 1c1af0a..fa5ea01 100644 --- a/subPageA/wenchuang/wenlist/wenlist.vue +++ b/subPageA/wenchuang/wenlist/wenlist.vue @@ -47,7 +47,7 @@ - 精品推荐 + diff --git a/subPageB/cate/destination.vue b/subPageB/cate/destination.vue index de2b4ed..ab145a2 100644 --- a/subPageB/cate/destination.vue +++ b/subPageB/cate/destination.vue @@ -343,7 +343,6 @@ that.guid = guid; that.region = region; that.getRedisData(); - that.getWeather(); that.getMsgList(guid); },function(){ uni.showToast({ @@ -398,7 +397,6 @@ this.region = data.bm; this.getRedisData(); //缓存 this.getMsgList(data.guid); //缓存 - this.getWeather(); // this.getVideoUrl(data.bm); }, bindDateChange: function(e) { @@ -475,36 +473,6 @@ } }) }, - getWeather: function() { - var that = this; - var data = { - "region": this.region - } - this.$Request.post(this.$config.getWeather, data).then(res => { - var flag = that.$util.isSuccess(res); - if(!flag){ - return; - } - this.weather = res.data.cond_txt_d; - this.tmpmin = res.data.tmp_min - this.tmpmax = res.data.tmp_max - if (this.weather.indexOf("雷") != -1) { - this.weatherImgUrl = "/subPageB/static/img/whe_lei.png"; - } else if (this.weather.indexOf("雨") != -1) { - this.weatherImgUrl = "/subPageB/static/img/whe_yu.png"; - } else if (this.weather.indexOf("雾") != -1) { - this.weatherImgUrl = "/subPageB/static/img/whe_wu.png"; - } else if (this.weather.indexOf("阴") != -1) { - this.weatherImgUrl = "/subPageB/static/img/whe_yin.png"; - } else if (this.weather.indexOf("雪") != -1) { - this.weatherImgUrl = "/subPageB/static/img/whe_xue.png"; - } else if (this.weather.indexOf("晴") != -1) { - this.weatherImgUrl = "/subPageB/static/img/whe_sun.png"; - } else { - this.weatherImgUrl = "/subPageB/static/img/whe_cloudy.png"; - } - }) - }, getDate(type) { const date = new Date(); let year = date.getFullYear(); diff --git a/subPageB/jiqiren/jiqiren/zhinengjiqiren.vue b/subPageB/jiqiren/jiqiren/zhinengjiqiren.vue index c165e11..c64c330 100644 --- a/subPageB/jiqiren/jiqiren/zhinengjiqiren.vue +++ b/subPageB/jiqiren/jiqiren/zhinengjiqiren.vue @@ -4,7 +4,7 @@ title="智能客服" @clickLeft="back" /> - @@ -408,7 +408,7 @@ innerAudioContext.autoplay = true; } .me{ - align-items: end; + align-items: flex-end; } .b_tol_ipt{ @@ -426,7 +426,7 @@ innerAudioContext.autoplay = true; } .jqr_tol{ height: fit-content; - padding: 50rpx 0 ; + padding:20rpx 0 50rpx 0 ; } .jpan_mode{ display: flex; @@ -442,4 +442,12 @@ innerAudioContext.autoplay = true; height: fit-content; } } + + .jqr_dig_scroll{ + padding-bottom: 150rpx; + } + + .jqr_tol_box{ + height: fit-content; + } diff --git a/subPageB/static/img/whe_cloudy.png b/subPageB/static/img/whe_cloudy.png deleted file mode 100755 index 890837d..0000000 Binary files a/subPageB/static/img/whe_cloudy.png and /dev/null differ diff --git a/subPageB/static/img/whe_lei.png b/subPageB/static/img/whe_lei.png deleted file mode 100755 index bc71e55..0000000 Binary files a/subPageB/static/img/whe_lei.png and /dev/null differ diff --git a/subPageB/static/img/whe_sun.png b/subPageB/static/img/whe_sun.png deleted file mode 100755 index ed9ca2c..0000000 Binary files a/subPageB/static/img/whe_sun.png and /dev/null differ diff --git a/subPageB/static/img/whe_wu.png b/subPageB/static/img/whe_wu.png deleted file mode 100755 index e9cb4ad..0000000 Binary files a/subPageB/static/img/whe_wu.png and /dev/null differ diff --git a/subPageB/static/img/whe_xue.png b/subPageB/static/img/whe_xue.png deleted file mode 100755 index fa5b438..0000000 Binary files a/subPageB/static/img/whe_xue.png and /dev/null differ diff --git a/subPageB/static/img/whe_yin.png b/subPageB/static/img/whe_yin.png deleted file mode 100755 index 8df8c8e..0000000 Binary files a/subPageB/static/img/whe_yin.png and /dev/null differ diff --git a/subPageB/static/img/whe_yu.png b/subPageB/static/img/whe_yu.png deleted file mode 100755 index 34c45b1..0000000 Binary files a/subPageB/static/img/whe_yu.png and /dev/null differ diff --git a/subPageB/suggest/sug_list.vue b/subPageB/suggest/sug_list.vue index 5046fcb..fcfab56 100644 --- a/subPageB/suggest/sug_list.vue +++ b/subPageB/suggest/sug_list.vue @@ -188,7 +188,7 @@ export default { "appid": uni.getStorageSync("userInfo").openid, "dataType": that.type } - this.$Request.get(this.$config.pageComplaintinfo, data).then(res => { + this.$Request.get(this.$config.pageComplaintinfo, data, null, null, false, false).then(res => { var data = res.data.list; if (data != null && data.length > 0) { diff --git a/subPageC/bookTicket/bookTicket.vue b/subPageC/bookTicket/bookTicket.vue index a423ed6..c7b0776 100644 --- a/subPageC/bookTicket/bookTicket.vue +++ b/subPageC/bookTicket/bookTicket.vue @@ -1,1282 +1,1554 @@ diff --git a/uni_modules/jr-weather/components/jr-weather/jr-weather.vue b/uni_modules/jr-weather/components/jr-weather/jr-weather.vue index 1b28981..b285e10 100644 --- a/uni_modules/jr-weather/components/jr-weather/jr-weather.vue +++ b/uni_modules/jr-weather/components/jr-weather/jr-weather.vue @@ -39,10 +39,11 @@ }, data(){ return { - weatherSrc:'https://uhr-sit-1302914566.cos.ap-guangzhou.myqcloud.com/uhr/image/2021-12-03/4d2f843f-bc89-4ba4-b5eb-8da5f176703e.png', - weather:'多云', - city:'北京市', - temperature:'34' + // weatherSrc:'https://uhr-sit-1302914566.cos.ap-guangzhou.myqcloud.com/uhr/image/2021-12-03/4d2f843f-bc89-4ba4-b5eb-8da5f176703e.png', + weatherSrc:'https://plugin.tianqistatic.com/static/images/tqicon1big/b0.png', + weather:'晴朗', + city:'鹿泉区', + temperature:'25' } }, methods:{ diff --git a/uni_modules/wu-calendar/components/wu-calendar/wu-calendar.vue b/uni_modules/wu-calendar/components/wu-calendar/wu-calendar.vue index 8162bd5..2063599 100644 --- a/uni_modules/wu-calendar/components/wu-calendar/wu-calendar.vue +++ b/uni_modules/wu-calendar/components/wu-calendar/wu-calendar.vue @@ -1,1042 +1,1159 @@ \ No newline at end of file +.wu-calendar__fold { + /* #ifndef APP-NVUE */ + display: flex; + /* #endif */ + flex-direction: row; + justify-content: center; +} +