h5修改提交

master
lion 15 hours ago
parent 00e99d2701
commit 4107588164

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

@ -23,7 +23,8 @@
"path": "pages/guide/index",
"style": {
"navigationBarTitleText": "参观指南",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
@ -46,77 +47,88 @@
"path": "pages/visit/index",
"style": {
"navigationBarTitleText": "参观预约",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/activity/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/activity/info",
"style": {
"navigationBarTitleText": "活动详情",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/activity/book",
"style": {
"navigationBarTitleText": "活动预约",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/order/visitorder",
"style": {
"navigationBarTitleText": "参观预约订单",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/order/parkorder",
"style": {
"navigationBarTitleText": "车位预约",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/park/index",
"style": {
"navigationBarTitleText": "停车场预约",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/order/visitorderinfo",
"style": {
"navigationBarTitleText": "参观预约详情",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/park/book",
"style": {
"navigationBarTitleText": "停车场预约",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
@ -125,7 +137,8 @@
"style" :
{
"navigationBarTitleText": "预约成功",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
@ -134,7 +147,8 @@
"style" :
{
"navigationBarTitleText": "停车场预约",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
@ -143,7 +157,8 @@
"style" :
{
"navigationBarTitleText": "活动预约",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
@ -152,7 +167,8 @@
"style" :
{
"navigationBarTitleText": "活动预约详情",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
@ -161,7 +177,8 @@
"style" :
{
"navigationBarTitleText": "参观指南",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
@ -170,7 +187,8 @@
"style" :
{
"navigationBarTitleText": "参观指南",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
@ -179,7 +197,8 @@
"style" :
{
"navigationBarTitleText": "分享预约小程序",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
@ -188,7 +207,8 @@
"style" :
{
"navigationBarTitleText": "投诉建议",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
@ -197,7 +217,8 @@
"style" :
{
"navigationBarTitleText": "联系我们",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
@ -206,7 +227,8 @@
"style" :
{
"navigationBarTitleText": "分享二维码",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
@ -224,7 +246,8 @@
"style" :
{
"navigationBarTitleText": "意见建议详情",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}

@ -1,5 +1,16 @@
<template>
<view>
<view>
<u-popup :show="showDisabled" mode="center" @close="showDisabled=false" :round="10" closeable>
<view class="mpopup">
<view class="mpopup-title">
提示
</view>
<view class="mpopup-content" style="padding: 40rpx 20rpx;">
<view style="text-align: center;font-size: 32rpx;">您选择的场次不可预约</view>
</view>
</view>
</u-popup>
<view class="">
<view class="activityBox">
<view class="activityBox-top">
@ -121,7 +132,8 @@
</view>
</view>
</view>
</view>
</view>
</template>
@ -138,14 +150,14 @@
numbers: [],
showNumbers: false,
teamType: "",
activity_number_id: ""
activity_number_id: "",
showDisabled:false
}
},
onLoad(options) {
var that = this;
that.id = options.id;
},
onShow() {
var that = this;
@ -184,7 +196,8 @@
},
numChange(item) {
if (item.disabled) {
this.util.alert("您选择的场次不可预约!");
// this.util.alert("");
this.showDisabled = true
return;
};
var _numbers = this.numbers;

@ -25,7 +25,7 @@
</view>
</view>
</view>
<view class="box-footer-banner" @click="togame" style="height: 210rpx; width: 100%;">
<view class="box-footer-banner" v-if="false" @click="togame" style="height: 210rpx; width: 100%;">
<div style="padding: 0rpx 37rpx;
box-sizing: border-box;width: 100%;height: 100%;">
<image src="../../static/img/gamebutton.png" style="width: 100%;height: 100%;" />
@ -588,7 +588,8 @@
}
.box-top {
width: 100%;
width: 100%;
font-size: 0;
}
.index_bg {
@ -600,7 +601,7 @@
width: 100%;
background-color: #F9F7F3;
height: 63rpx;
margin-top: -30rpx;
/* margin-top: -30rpx; */
border-top-left-radius: 15rpx !important;
border-top-right-radius: 15rpx !important;
}

@ -1,10 +1,10 @@
<template>
<view>
<view class="navBar fixed" style="background-image: none;">
<uni-nav-bar class="flex_start" :fixed="true" :status-bar="true" color="#000"
<!-- <uni-nav-bar class="flex_start" :fixed="true" :status-bar="true" color="#000"
background-color="rgba(0,0,0,0)">
<view style="width:95%;text-align: center;" class="map-top-text flex_center">个人中心</view>
</uni-nav-bar>
</uni-nav-bar> -->
</view>
<view class="mine-top">
<image :src="topimg" class="mine-top-img"></image>
@ -311,7 +311,9 @@
page {
background: #d8ac75;
}
.navBar{
height:80rpx;
}
.mine-box-user {
margin-bottom: 65rpx;
}

@ -117,14 +117,14 @@
</template>
<script>
import {
plate
} from '@/components/plate/index.vue'
// import {
// plate
// } from '@/components/plate/index.vue'
export default {
name: "index",
components: {
plate
},
// components: {
// plate
// },
data() {
return {
successshow: false,

@ -23,7 +23,7 @@
}
.tag {
height: 37rpx;
/* height: 37rpx; */
background: #ccc;
border-radius: 8rpx;
padding: 7rpx 16rpx;

@ -51,7 +51,9 @@ const getOpenidInfo = (cb, refresh) => {
// cb(user_info)
// return
// }
// }
// }
// uni.setStorageSync(user_info_key,{token: "656510|GkVWTIv33YP79Vb3RXFHRVj1CW7DNvNB8uGSagkR"})
// return
let user_info = uni.getStorageSync(user_info_key)
if (!isNull(user_info)) {
cb(user_info)

Loading…
Cancel
Save