|
@@ -11,7 +11,7 @@
|
|
|
<view class="orders box">
|
|
|
<view class="o_top">
|
|
|
<text>订单管理</text>
|
|
|
- <view>
|
|
|
+ <view @click="navigatorAllOrder()">
|
|
|
<text>全部</text>
|
|
|
<u-icon name="arrow-right" color="#999999" size="28"></u-icon>
|
|
|
</view>
|
|
@@ -23,7 +23,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="menu box">
|
|
|
+ <view class="menu box" @click="stayInfo()">
|
|
|
<text>酒店民宿信息</text>
|
|
|
<u-icon name="arrow-right" color="#999999" size="28"></u-icon>
|
|
|
</view>
|
|
@@ -48,61 +48,74 @@
|
|
|
fontWeight: "bold",
|
|
|
color: '#FFFFFF'
|
|
|
},
|
|
|
- avatar:'https://i.ringzle.com/file/20240107/d61321708599457bbcca1c089154e635.png',
|
|
|
- name:'吴彦霖',
|
|
|
- menus:[
|
|
|
- {
|
|
|
- img:'https://i.ringzle.com/file/20240107/83bca90dfb3f4b1fba36115dc7269219.png',
|
|
|
- title:'待确认',
|
|
|
- path:''
|
|
|
+ avatar: 'https://i.ringzle.com/file/20240107/d61321708599457bbcca1c089154e635.png',
|
|
|
+ name: '吴彦霖',
|
|
|
+ menus: [{
|
|
|
+ img: 'https://i.ringzle.com/file/20240107/83bca90dfb3f4b1fba36115dc7269219.png',
|
|
|
+ title: '待确认',
|
|
|
+ path: ''
|
|
|
},
|
|
|
{
|
|
|
- img:'https://i.ringzle.com/file/20240107/7e7825255bbc4d06ae5d75e7bb23db71.png',
|
|
|
- title:'未支付',
|
|
|
- path:''
|
|
|
+ img: 'https://i.ringzle.com/file/20240107/7e7825255bbc4d06ae5d75e7bb23db71.png',
|
|
|
+ title: '未支付',
|
|
|
+ path: ''
|
|
|
},
|
|
|
{
|
|
|
- img:'https://i.ringzle.com/file/20240107/c368a627821244929ab6477acb46fb15.png',
|
|
|
- title:'已预订',
|
|
|
- path:''
|
|
|
+ img: 'https://i.ringzle.com/file/20240107/c368a627821244929ab6477acb46fb15.png',
|
|
|
+ title: '已预订',
|
|
|
+ path: ''
|
|
|
},
|
|
|
{
|
|
|
- img:'https://i.ringzle.com/file/20240107/656b5cc9e9514a08a3f2abd86d86b4ca.png',
|
|
|
- title:'已取消',
|
|
|
- path:''
|
|
|
+ img: 'https://i.ringzle.com/file/20240107/656b5cc9e9514a08a3f2abd86d86b4ca.png',
|
|
|
+ title: '已取消',
|
|
|
+ path: ''
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
+
|
|
|
methods: {
|
|
|
-
|
|
|
+ navigatorAllOrder() {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pagesMy/orderList/orderList'
|
|
|
+ })
|
|
|
+ },
|
|
|
+ stayInfo() {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pagesMy/stayInfo/stayInfo'
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="less">
|
|
|
- .page{
|
|
|
+ .page {
|
|
|
background: #F3F4F4;
|
|
|
padding-bottom: 40rpx;
|
|
|
box-sizing: border-box;
|
|
|
overflow-y: auto;
|
|
|
- .bg{
|
|
|
+
|
|
|
+ .bg {
|
|
|
width: 100%;
|
|
|
height: 360rpx;
|
|
|
padding: 0 60rpx;
|
|
|
background: url(https://i.ringzle.com/file/20240107/fc66824bcef14a3b9e19f8b966a128c7.png) no-repeat;
|
|
|
- background-size: 100% 100%;
|
|
|
+ background-size: 100% 100%;
|
|
|
box-sizing: border-box;
|
|
|
position: relative;
|
|
|
z-index: 1;
|
|
|
- .account{
|
|
|
+
|
|
|
+ .account {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- image{
|
|
|
+
|
|
|
+ image {
|
|
|
width: 96rpx;
|
|
|
height: 96rpx;
|
|
|
}
|
|
|
- text{
|
|
|
+
|
|
|
+ text {
|
|
|
font-size: 40rpx;
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
font-weight: 800;
|
|
@@ -111,8 +124,8 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- .box{
|
|
|
+
|
|
|
+ .box {
|
|
|
width: calc(100% - 60rpx);
|
|
|
margin: 0 30rpx;
|
|
|
padding: 30rpx;
|
|
@@ -120,24 +133,29 @@
|
|
|
background: #FFFFFF;
|
|
|
border-radius: 10rpx 10rpx 10rpx 10rpx;
|
|
|
}
|
|
|
- .orders{
|
|
|
- margin-top: -60rpx;
|
|
|
+
|
|
|
+ .orders {
|
|
|
+ margin-top: -25rpx;
|
|
|
position: relative;
|
|
|
z-index: 2;
|
|
|
- .o_top{
|
|
|
+
|
|
|
+ .o_top {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
- &>text{
|
|
|
+
|
|
|
+ &>text {
|
|
|
font-size: 32rpx;
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
font-weight: 800;
|
|
|
color: #333333;
|
|
|
}
|
|
|
- &>view{
|
|
|
+
|
|
|
+ &>view {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- &>text{
|
|
|
+
|
|
|
+ &>text {
|
|
|
font-size: 24rpx;
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
font-weight: 400;
|
|
@@ -146,7 +164,8 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- .o_menus{
|
|
|
+
|
|
|
+ .o_menus {
|
|
|
margin-top: 30rpx;
|
|
|
padding-top: 30rpx;
|
|
|
border-top: 1rpx solid #F1F1F1;
|
|
@@ -154,16 +173,19 @@
|
|
|
align-items: center;
|
|
|
justify-content: space-around;
|
|
|
flex-wrap: wrap;
|
|
|
- &>view{
|
|
|
+
|
|
|
+ &>view {
|
|
|
width: 25%;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
|
- image{
|
|
|
+
|
|
|
+ image {
|
|
|
width: 64rpx;
|
|
|
height: 64rpx;
|
|
|
}
|
|
|
- text{
|
|
|
+
|
|
|
+ text {
|
|
|
font-size: 24rpx;
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
font-weight: 400;
|
|
@@ -173,13 +195,14 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- .menu{
|
|
|
+
|
|
|
+ .menu {
|
|
|
margin-top: 30rpx;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
- text{
|
|
|
+
|
|
|
+ text {
|
|
|
font-size: 30rpx;
|
|
|
font-family: PingFang SC, PingFang SC;
|
|
|
font-weight: 400;
|