diff --git a/app.json b/app.json
index f5bb32b..b5ad692 100644
--- a/app.json
+++ b/app.json
@@ -1,9 +1,9 @@
{
"pages": [
"pages/index/index",
+ "pages/broadcast/broadcast",
"pages/activityDialog/activityDialog",
"pages/teamDetail/teamDetail",
- "pages/broadcast/broadcast",
"pages/center/center",
"pages/volunteerRegister/volunteerRegister",
"pages/volunteer/volunteer",
diff --git a/pages/book/book.js b/pages/book/book.js
index 764627f..c6b9688 100644
--- a/pages/book/book.js
+++ b/pages/book/book.js
@@ -5,9 +5,18 @@ Page({
* 页面的初始数据
*/
data: {
-
+ checkOrder: false
+ },
+ doCheckOrder: function () {
+ this.setData({
+ checkOrder: true
+ })
+ },
+ closeCheckOrder: function () {
+ this.setData({
+ checkOrder: false
+ })
},
-
/**
* 生命周期函数--监听页面加载
*/
diff --git a/pages/book/book.wxml b/pages/book/book.wxml
index 463d606..0cbad2e 100644
--- a/pages/book/book.wxml
+++ b/pages/book/book.wxml
@@ -88,7 +88,7 @@
-
+
订单金额:10元
@@ -96,7 +96,7 @@
-
+
订单信息
@@ -105,7 +105,27 @@
2020-01-01
12:00-13:00
-
+
+ 场地1
+ 15元
+
+
+
+
+ 2020-01-01
+ 12:00-13:00
+
+
+ 场地1
+ 15元
+
+
+
+
+ 2020-01-01
+ 12:00-13:00
+
+
场地1
15元
diff --git a/pages/book/book.wxss b/pages/book/book.wxss
index c6f08ab..2332f35 100644
--- a/pages/book/book.wxss
+++ b/pages/book/book.wxss
@@ -189,9 +189,33 @@
}
.order-container{
position: absolute;
- bottom: 80rpx;
+ bottom: 90rpx;
left: 30rpx;
right: 30rpx;
background: #fff;
border-radius: 10rpx;
+ padding: 20rpx;
+}
+.order-title{
+ font-size: 30rpx;
+ text-align: center;
+ color: #9F1512;
+}
+.order{
+ margin-top: 20rpx;
+ overflow-x: auto;
+ white-space: nowrap;
+}
+.order-box{
+ border: 1px solid #9F1512;
+ border-radius: 10rpx;
+ text-align: center;
+ display: inline-block;
+ margin-right: 20rpx;
+ font-size: 28rpx;
+ width: 32%;
+}
+.top{
+ background: #9F1512;
+ color: #fff;
}
\ No newline at end of file
diff --git a/pages/broadcast/broadcast.wxml b/pages/broadcast/broadcast.wxml
index 4e0a051..d10391c 100644
--- a/pages/broadcast/broadcast.wxml
+++ b/pages/broadcast/broadcast.wxml
@@ -2,6 +2,7 @@
+ 直播中
{{item.livePlanName}}
diff --git a/pages/broadcast/broadcast.wxss b/pages/broadcast/broadcast.wxss
index 73a739e..98d1160 100644
--- a/pages/broadcast/broadcast.wxss
+++ b/pages/broadcast/broadcast.wxss
@@ -11,6 +11,9 @@
width: 100%;
height: 310rpx;
}
+.broadcast-img{
+ position: relative;
+}
.broadcast-info{
padding: 20rpx;
}
@@ -25,4 +28,14 @@
color: #242424;
font-size: 26rpx;
margin-top: 10rpx;
+}
+.broadcast-status{
+ position: absolute;
+ top: 15rpx;
+ right: 15rpx;
+ padding: 5rpx 10rpx;
+ background: #9F1512;
+ color: #fff;
+ font-size: 28rpx;
+ border-radius: 10rpx;
}
\ No newline at end of file
diff --git a/pages/index/index.wxml b/pages/index/index.wxml
index 2163cd7..21fceed 100644
--- a/pages/index/index.wxml
+++ b/pages/index/index.wxml
@@ -117,6 +117,7 @@
+ 文字
\ No newline at end of file
diff --git a/pages/index/index.wxss b/pages/index/index.wxss
index 0260508..e60de93 100644
--- a/pages/index/index.wxss
+++ b/pages/index/index.wxss
@@ -128,8 +128,22 @@
overflow: hidden;
height: 185rpx;
margin-bottom: 15rpx;
+ position: relative;
}
.broadcast-box image{
width: 100%;
height: 100%;
+}
+.broadcast-text{
+ position: absolute;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ padding: 5rpx 10rpx;
+ font-size: 26rpx;
+ background: rgba(0,0,0,0.6);
+ color: #fff;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
\ No newline at end of file