### Commit Message

1. 修复智能机器人页面布局和交互问题在智能机器人页面中,对布局和用户交互组件进行了调整,以改善滚动行为和内容样式的处理。此次更新确保了内容在滚动时保持正确显示,并优化了用户交互的反馈。

2. 更新票务API根路径和小程序AppID
更新了票务API的根路径,将其从内部IP地址更改为使用新的外部URL。同时,更改了扩展配置中的小程序AppID,以适配新的开发或生产环境需求。

3. 优化日期选择逻辑和数据处理
调整了日期选择功能,优化了在选择非可用日期时的处理逻辑。这次改动确保在用户选择第8个日期或不可用日期时,能够正确更新内部日期列表并反映在界面上。

--- a/subPageC/bookTicket/bookTicket.vue
修改日期选择逻辑,优化列表切片操作

调整了现在索引('nowIndex')的观察者,以处理非可用日期的逻辑。列表切片操作被优化,以确保dates数组在选择第8个日期时能够正确更新。

--- a/common/config.js
更新票务API根路径和小程序AppID

修改了配置文件,以更新票务API的根路径和小程序的AppID。此更改旨在适应外部URL,并确保开发环境与生产环境的一致性。

--- a/ext.json
更新扩展配置中的AppID

变更了扩展配置文件中的AppID,以适配新的应用身份。此次更新对于确保小程序在新配置下正常运行和使用扩展功能是必要的。--- a/subPageB/jiqiren/jiqiren/zhinengjiqiren.vue
修复智能机器人页面布局和交互问题

对智能机器人页面进行了多项CSS调整,解决了内容样式问题,优化了滚动行为,并重新排列了用户交互元素。这些改进提升了用户体验和页面的总体功能性。
lu_quan_dev
Tuzki 1 year ago
parent 5ac955fe43
commit 4455660228
  1. 12
      common/config.js
  2. 4
      ext.json
  3. 15
      subPageB/jiqiren/jiqiren/zhinengjiqiren.vue
  4. 41
      subPageC/bookTicket/bookTicket.vue

@ -2,13 +2,13 @@
// const REAUEST_ROOTPATH = "https://app.xawl.gov.cn/";
// const ROOTPATH = "https://app.xawl.gov.cn/";
// const REAUEST_ROOTPATH = "http://192.168.130.205:8083";
// const REAUEST_ROOTPATH = "https://eluyou.ailuquan.cn";
const REAUEST_ROOTPATH = "http://192.168.110.113:8083/";
const ROOTPATH = "http://192.168.110.113:8083";
// const ROOTPATH = "https://eluyou.ailuquan.cn";
const REAUEST_ROOTPATH = "https://eluyou.ailuquan.cn";
// const REAUEST_ROOTPATH = "http://192.168.110.113:8083/";
// const ROOTPATH = "http://192.168.110.113:8083";
const ROOTPATH = "https://eluyou.ailuquan.cn";
//票务根
const PWPATH = "http://192.168.130.157:48080";
// const PWPATH = "https://eluyou.ailuquan.cn";
// const PWPATH = "http://192.168.130.157:48080";
const PWPATH = "https://eluyou.ailuquan.cn";
//手绘图项目名称
const HANDDRAWNNAME = "";
module.exports = {

@ -1,8 +1,8 @@
{
"extEnable": true,
"extAppid": "wx09c9feedd19378a3",
"extAppid": "wx43f2232676218ce3",
"directCommit": true,
"ext": {
"app_id": "wx09c9feedd19378a3"
"app_id": "wx43f2232676218ce3"
}
}

@ -16,8 +16,8 @@
</view>
<view class="dig_column ">
<view :class="item.contentstyle">
<view class="janw_link" v-for="(items,index) in item.content" :key="index">
<view :class="item.contentstyle" >
<view class="janw_link" v-for="(items,index) in item.content" :key="index">
{{items.text}}
</view>
<navigator @tap="getSelectMsg(item.search,item.bcode,item.page+1)"
@ -450,4 +450,15 @@ innerAudioContext.autoplay = true;
.jqr_tol_box{
height: fit-content;
}
.jqr_box{
max-height: unset;
}
.dig_more{
bottom: 0;
}
.noPadding{
padding-bottom: 20rpx!important;
}
</style>

@ -610,7 +610,16 @@ export default {
this.navUserList = val
},
deep: true
}
},
'nowIndex':{
handler(val) {
if (val!=7) {
this.dates=this.dates.slice(0, 7);
}
},
deep: true,
immediate: true
},
},
onReady() {
this.$refs.peopleForm.setRules(this.rules);
@ -1062,6 +1071,9 @@ export default {
//
chooseDate(index, date) {
console.log(date);
if (index != 7 && this.dates.length>7){
this.dates = this.dates.slice(0,7)
}
if (date.isAvailable == false) {
this.nowIndex = index;
@ -1541,27 +1553,32 @@ export default {
calendarConfirm(e) {
let that = this
console.log(e);
this.dates.forEach((item, index) => {
if (item.fullDate == e.fulldate) {
this.$nextTick(() => {
that.nowIndex = index
})
} else {
that.nowIndex = -1
// that.nowIndex = 8
// this.dates.push({
// date: this.getFormattedDate(i),
// fullDate: e.fulldate,
// isAvailable: true,
// price: e.extraInfo.topInfo.replace("", "").trim(),
// inventory: 0,
// })
// that.nowIndex = -1
that.nowIndex = 7
}
})
if(that.nowIndex == 7){
this.dates = this.dates.slice(0, 7)
this.dates.push({
label: e.lunar.ncWeek,
date: e.lunar.cMonth + '-' + e.lunar.cDay,
fullDate: e.fulldate,
isAvailable: false,
price: e.extraInfo.topInfo.replace("元", "").trim(),
inventory: e.extraInfo.info == "" ? -1 : e.extraInfo.info.match(/\d+/)[0]
})
}else{
this.$set(that.dates, 0, that.dates.slice(0, 7));
}
this.maxBuyNums = e.extraInfo.info == "" ? 100 : e.extraInfo.info.match(/\d+/)[0]
this.ticket.date = e.fulldate;
this.choseDate = e.fullDate;
this.choseDate = e.fulldate;
this.ticket.settlementPrice = parseFloat(
e.extraInfo.topInfo.replace("元", "").trim()
);

Loading…
Cancel
Save