|
@@ -19,16 +19,23 @@
|
|
<view class="item-name">活动地址:</view>
|
|
<view class="item-name">活动地址:</view>
|
|
<view class="item-content">{{list.address}}</view>
|
|
<view class="item-content">{{list.address}}</view>
|
|
</view>
|
|
</view>
|
|
- <view class="card-item">
|
|
|
|
|
|
+ <!-- <view class="card-item">
|
|
<view class="item-name">活动内容:</view>
|
|
<view class="item-name">活动内容:</view>
|
|
<view class="item-content"><u-parse :content="list.content"></u-parse></view>
|
|
<view class="item-content"><u-parse :content="list.content"></u-parse></view>
|
|
- </view>
|
|
|
|
|
|
+ </view> -->
|
|
<view class="card-item">
|
|
<view class="card-item">
|
|
<view class="item-name">参加人数:</view>
|
|
<view class="item-name">参加人数:</view>
|
|
<view class="item-content">{{list.join_num}}</view>
|
|
<view class="item-content">{{list.join_num}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
|
|
+ <view class="actDetail">
|
|
|
|
+ <view class="actDetail-title">活动详情</view>
|
|
|
|
+ <view class="actDetail-content">
|
|
|
|
+ <u-parse :content="list.content"></u-parse>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
|
|
<view class="bottomEmpty"></view>
|
|
<view class="bottomEmpty"></view>
|
|
|
|
|
|
@@ -59,6 +66,10 @@
|
|
_this.getMore();
|
|
_this.getMore();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ pageRefresh: function() {
|
|
|
|
+ _this.getMore();
|
|
|
|
+ },
|
|
|
|
+
|
|
submit() {
|
|
submit() {
|
|
_this.$req.ajax({
|
|
_this.$req.ajax({
|
|
path: "activity/joinActivity",
|
|
path: "activity/joinActivity",
|
|
@@ -67,6 +78,7 @@
|
|
userid: _this.userinfo.id,
|
|
userid: _this.userinfo.id,
|
|
}
|
|
}
|
|
}).then((data) => {
|
|
}).then((data) => {
|
|
|
|
+ _this.pageRefresh();
|
|
console.log("加入", data)
|
|
console.log("加入", data)
|
|
}).catch((err) => {
|
|
}).catch((err) => {
|
|
uni.showModal({
|
|
uni.showModal({
|
|
@@ -82,6 +94,7 @@
|
|
path: "activity/detailActivity",
|
|
path: "activity/detailActivity",
|
|
data: {
|
|
data: {
|
|
id: _this.actId,
|
|
id: _this.actId,
|
|
|
|
+ userid: _this.userinfo.id,
|
|
}
|
|
}
|
|
}).then((data) => {
|
|
}).then((data) => {
|
|
_this.join_status = data.join_status
|
|
_this.join_status = data.join_status
|
|
@@ -111,7 +124,7 @@
|
|
}
|
|
}
|
|
|
|
|
|
.main {
|
|
.main {
|
|
- margin: 0 20rpx;
|
|
|
|
|
|
+ margin: 0 20rpx 30rpx;
|
|
|
|
|
|
.main-title {
|
|
.main-title {
|
|
font-size: 35rpx;
|
|
font-size: 35rpx;
|
|
@@ -154,6 +167,20 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ .actDetail {
|
|
|
|
+ margin: 0 20rpx;
|
|
|
|
+ padding: 20rpx 20rpx;
|
|
|
|
+ border-radius: 20rpx;
|
|
|
|
+ background-color: #FFFFFF;
|
|
|
|
+ box-shadow: 5rpx 5rpx 10rpx 2rpx rgba(149, 149, 149, 0.3);
|
|
|
|
+
|
|
|
|
+ .actDetail-title {
|
|
|
|
+ font-size: 35rpx;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ margin-bottom: 30rpx;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
.bottomEmpty {
|
|
.bottomEmpty {
|
|
margin-top: 80rpx;
|
|
margin-top: 80rpx;
|