h5修改提交

master
lion 2 months ago
parent b8a5a5489d
commit abbb6f73cb

@ -22,7 +22,7 @@
<section class="panel" :class="{show:show}">
<div class="header">
<div class="p24" @click="panelReset"></div>
<img src="/static/img/down.png" style="width: 140upx;" mode="widthFix" @click="panelHide" />
<!-- <img src="/static/img/down.png" style="width: 140upx;" mode="widthFix" @click="panelHide" /> -->
<div class="p24" @click="panelHide"></div>
</div>
<div class="panelList clearfix">
@ -45,7 +45,7 @@
return [1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M', 'N',
'P', 'Q',
'R',
'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '港', '澳', '学', '领'
'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '警','港', '澳', '学', '领'
]
}
},
@ -140,7 +140,7 @@
width: 66upx;
height: 66upx;
background-color: #fffbe9;
border: 1px solid #cf995a;
border: 1px solid #EF9525;
border-radius: 10upx;
display: flex;
align-items: center;
@ -155,7 +155,7 @@
}
&.active {
background-color: #cf995a;
background-color: #EF9525;
}
}
}
@ -212,7 +212,7 @@
position: absolute;
bottom: 10upx;
right: 22upx;
width: 100upx;
width: 62upx;
height: 84upx;
background-color: #adb2bc;
border-radius: 10upx;

@ -36,3 +36,9 @@ moment.locale('zh-cn', {
})
Vue.prototype.util = util;
Vue.prototype.$moment = moment;
// main.js
import Plate from '@/components/plate/index.vue' // 注意路径是否正确(建议用绝对路径)
// 全局注册:第一个参数是组件标签名(需与页面中使用的 <plate> 一致)
Vue.component('plate', Plate)

@ -274,7 +274,8 @@
.orderBoxInfoRowTxt {
font-size: 24rpx;
font-family: PingFang SC;
color: #828282;
color: #828282;
width:100%;
}
.orderBoxTime {

@ -113,13 +113,12 @@
</template>
<script>
import {
plate
} from '@/components/plate/index.vue'
// import {
// Plate
// } from '@/components/plate/index.vue'
export default {
name: "index",
components: {
plate
// plate:Plate
},
data() {
return {

@ -433,7 +433,11 @@
handleConfirmOrder() {
if (this.selectInfo.orderid === 0) {
this.util.toast("请选择预约的活动或者预约的参观");
// this.util.toast("");
uni.showToast({
title:'请选择预约的活动或者预约的参观',
icon:'none'
})
return false;
}
this.showSelectorder = false;
@ -588,10 +592,18 @@
},
tobook() {
if (this.selectInfo.orderid === 0) {
this.util.toast("请选择预约的活动或者预约的参观");
// this.util.toast("");
uni.showToast({
title:'请选择预约的活动或者预约的参观',
icon:'none'
})
return false;
} else if (this.currentPark === 0) {
this.util.toast("请选择停车位");
// this.util.toast("");
uni.showToast({
title:'请选择预约的活动或者预约的参观',
icon:'none'
})
return false;
} else {
var json = escape(JSON.stringify(this.selectInfo));

@ -25,21 +25,24 @@
"style": {
"navigationBarTitleText": "展览",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#fff"
"navigationBarBackgroundColor": "#fff",
"navigationStyle": "custom"
}
},{
"path": "pages/exhibit/detail",
"style": {
"navigationBarTitleText": "展览",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#fff"
"navigationBarBackgroundColor": "#fff",
"navigationStyle": "custom"
}
},{
"path": "pages/exhibit/bookdetail",
"style": {
"navigationBarTitleText": "党史书籍",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#fff"
"navigationBarBackgroundColor": "#fff",
"navigationStyle": "custom"
}
},{
"path": "pages/vr/index",
@ -61,7 +64,8 @@
"navigationBarTitleText": "服务",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle": "black"
"navigationBarTextStyle": "black",
"navigationStyle": "custom"
}
}, {
@ -76,35 +80,40 @@
"path": "pages/visit/index",
"style": {
"navigationBarTitleText": "参观信息",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/visit/book",
"style": {
"navigationBarTitleText": "个人信息",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/visit/teambook",
"style": {
"navigationBarTitleText": "团队信息",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/success/success",
"style": {
"navigationBarTitleText": "填报成功",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/mine/recommend",
"style": {
"navigationBarTitleText": "分享预约小程序",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
@ -116,7 +125,8 @@
"style": {
"navigationBarTitleText": "展厅导览",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#fff"
"navigationBarBackgroundColor": "#fff",
"navigationStyle": "custom"
}
}, {
"path": "map/map",
@ -130,77 +140,88 @@
"path": "activity/index",
"style": {
"navigationBarTitleText": "活动列表",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},{
"path": "activity/info",
"style": {
"navigationBarTitleText": "活动详情",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "activity/book",
"style": {
"navigationBarTitleText": "活动预约",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "park/index",
"style": {
"navigationBarTitleText": "停车场预约",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "park/book",
"style": {
"navigationBarTitleText": "停车场预约",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},{
"path": "order/visitorder",
"style": {
"navigationBarTitleText": "参观订单",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "order/parkorder",
"style": {
"navigationBarTitleText": "车位预约",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "order/visitorderinfo",
"style": {
"navigationBarTitleText": "参观信息详情",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "order/parkorderinfo",
"style": {
"navigationBarTitleText": "停车场预约",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "order/activityorder",
"style": {
"navigationBarTitleText": "活动预约",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "order/activityorderinfo",
"style": {
"navigationBarTitleText": "活动预约详情",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}]

Loading…
Cancel
Save