h5修改提交

master
lion 1 day ago
parent 00e99d2701
commit 4107588164

@ -35,4 +35,10 @@ moment.locale('zh-cn', {
weekdays: '周日_周一_周二_周三_周四_周五_周六'.split('_') weekdays: '周日_周一_周二_周三_周四_周五_周六'.split('_')
}) })
Vue.prototype.util = util; 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", "path": "pages/guide/index",
"style": { "style": {
"navigationBarTitleText": "参观指南", "navigationBarTitleText": "参观指南",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
}, { }, {
@ -46,77 +47,88 @@
"path": "pages/visit/index", "path": "pages/visit/index",
"style": { "style": {
"navigationBarTitleText": "参观预约", "navigationBarTitleText": "参观预约",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
}, { }, {
"path": "pages/activity/index", "path": "pages/activity/index",
"style": { "style": {
"navigationBarTitleText": "活动列表", "navigationBarTitleText": "活动列表",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
}, { }, {
"path": "pages/visit/book", "path": "pages/visit/book",
"style": { "style": {
"navigationBarTitleText": "个人预约", "navigationBarTitleText": "个人预约",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
}, { }, {
"path": "pages/visit/teambook", "path": "pages/visit/teambook",
"style": { "style": {
"navigationBarTitleText": "团体预约", "navigationBarTitleText": "团体预约",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
}, { }, {
"path": "pages/activity/info", "path": "pages/activity/info",
"style": { "style": {
"navigationBarTitleText": "活动详情", "navigationBarTitleText": "活动详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
}, { }, {
"path": "pages/activity/book", "path": "pages/activity/book",
"style": { "style": {
"navigationBarTitleText": "活动预约", "navigationBarTitleText": "活动预约",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
}, { }, {
"path": "pages/order/visitorder", "path": "pages/order/visitorder",
"style": { "style": {
"navigationBarTitleText": "参观预约订单", "navigationBarTitleText": "参观预约订单",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
}, { }, {
"path": "pages/order/parkorder", "path": "pages/order/parkorder",
"style": { "style": {
"navigationBarTitleText": "车位预约", "navigationBarTitleText": "车位预约",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
}, { }, {
"path": "pages/park/index", "path": "pages/park/index",
"style": { "style": {
"navigationBarTitleText": "停车场预约", "navigationBarTitleText": "停车场预约",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
}, { }, {
"path": "pages/order/visitorderinfo", "path": "pages/order/visitorderinfo",
"style": { "style": {
"navigationBarTitleText": "参观预约详情", "navigationBarTitleText": "参观预约详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
}, { }, {
"path": "pages/park/book", "path": "pages/park/book",
"style": { "style": {
"navigationBarTitleText": "停车场预约", "navigationBarTitleText": "停车场预约",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
} }
@ -125,7 +137,8 @@
"style" : "style" :
{ {
"navigationBarTitleText": "预约成功", "navigationBarTitleText": "预约成功",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
} }
@ -134,7 +147,8 @@
"style" : "style" :
{ {
"navigationBarTitleText": "停车场预约", "navigationBarTitleText": "停车场预约",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
} }
@ -143,7 +157,8 @@
"style" : "style" :
{ {
"navigationBarTitleText": "活动预约", "navigationBarTitleText": "活动预约",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
} }
@ -152,7 +167,8 @@
"style" : "style" :
{ {
"navigationBarTitleText": "活动预约详情", "navigationBarTitleText": "活动预约详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
} }
@ -161,7 +177,8 @@
"style" : "style" :
{ {
"navigationBarTitleText": "参观指南", "navigationBarTitleText": "参观指南",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
} }
@ -170,7 +187,8 @@
"style" : "style" :
{ {
"navigationBarTitleText": "参观指南", "navigationBarTitleText": "参观指南",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
} }
@ -179,7 +197,8 @@
"style" : "style" :
{ {
"navigationBarTitleText": "分享预约小程序", "navigationBarTitleText": "分享预约小程序",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
} }
@ -188,7 +207,8 @@
"style" : "style" :
{ {
"navigationBarTitleText": "投诉建议", "navigationBarTitleText": "投诉建议",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
} }
@ -197,7 +217,8 @@
"style" : "style" :
{ {
"navigationBarTitleText": "联系我们", "navigationBarTitleText": "联系我们",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
} }
@ -206,7 +227,8 @@
"style" : "style" :
{ {
"navigationBarTitleText": "分享二维码", "navigationBarTitleText": "分享二维码",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
}, },
@ -224,7 +246,8 @@
"style" : "style" :
{ {
"navigationBarTitleText": "意见建议详情", "navigationBarTitleText": "意见建议详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
} }

@ -1,5 +1,16 @@
<template> <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="">
<view class="activityBox"> <view class="activityBox">
<view class="activityBox-top"> <view class="activityBox-top">
@ -121,7 +132,8 @@
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</template> </template>
@ -138,14 +150,14 @@
numbers: [], numbers: [],
showNumbers: false, showNumbers: false,
teamType: "", teamType: "",
activity_number_id: "" activity_number_id: "",
showDisabled:false
} }
}, },
onLoad(options) { onLoad(options) {
var that = this; var that = this;
that.id = options.id; that.id = options.id;
}, },
onShow() { onShow() {
var that = this; var that = this;
@ -184,7 +196,8 @@
}, },
numChange(item) { numChange(item) {
if (item.disabled) { if (item.disabled) {
this.util.alert("您选择的场次不可预约!"); // this.util.alert("");
this.showDisabled = true
return; return;
}; };
var _numbers = this.numbers; var _numbers = this.numbers;

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

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

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

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

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

Loading…
Cancel
Save