完善预约场馆页面

This commit is contained in:
wangxiaowei
2025-10-24 11:50:03 +08:00
parent d296723b97
commit fc35d6d459
9 changed files with 436 additions and 40 deletions

View File

@ -1,6 +1,6 @@
<template>
<view class="">
<view class="top_head pr" :style="'background-color:#fff;'">
<view class="top_head pr" :style="'background-color:' + bg +';'">
<view class="head_top" :style="'height:' + topBarTop() + 'px;'"></view>
<view class="title" :style="topBarHeight() == 0 ? '' : 'height:' + topBarHeight() + 'px;'">
<image style="width: 48rpx;height: 48rpx;margin-top: 2rpx" src="@/static/icon/back2.png" mode=""></image>
@ -16,6 +16,10 @@
title: {
type: String,
default: '标题'
},
bg: {
type: String,
default: '#fff'
}
},
data() {
@ -32,10 +36,6 @@
</script>
<style lang="scss">
page {
background-color: #fff;
}
.top_head {
line-height: 30px;
z-index: 1;

View File

@ -1,7 +1,8 @@
<template>
<view>
<view class="uni-mask" v-show="show" :style="{top:offsetTop + 'px'}" @click="hide"></view>
<view :class="['uni-popup','uni-popup-'+type]" v-show="show" :style="'width:'+width+'rpx; heigth:'+heigth+'rpx;padding:'+padding+'rpx;background-color:'+backgroundColor+';box-shadow:'+boxShadow+';'">
<view :class="['uni-popup','uni-popup-'+type]" v-show="show"
:style="'width:'+width+'rpx; heigth:'+heigth+'rpx;padding:'+padding+'rpx;background-color:'+backgroundColor+';box-shadow:'+boxShadow+';border-radius:'+radius+'rpx;'">
<view class="popup-head" v-if="msg!=''">
{{msg}}
</view>
@ -45,6 +46,10 @@
msg: {
type: String,
default: ""
},
radius: {
type: String,
default: '0'
}
},
data() {