|
|
@@ -57,13 +57,13 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="readShare">
|
|
|
- <div v-show="active.status == '0'" class="active-tips-box wait-color">
|
|
|
+ <div v-show="active.status == '待开始'" class="active-tips-box wait-color">
|
|
|
活动待开始
|
|
|
</div>
|
|
|
- <div v-show="active.status == '1'" class="active-tips-box ing-color">
|
|
|
+ <div v-show="active.status == '已开始'" class="active-tips-box ing-color">
|
|
|
活动进行中
|
|
|
</div>
|
|
|
- <div v-show="active.status == '2'" class="active-tips-box end-color">
|
|
|
+ <div v-show="active.status == '已结束'" class="active-tips-box end-color">
|
|
|
活动已结束
|
|
|
</div>
|
|
|
<div class="read">浏览 {{ active.read }}</div>
|
|
|
@@ -185,7 +185,7 @@ export default {
|
|
|
getActive() {
|
|
|
let md5Sign = md5(
|
|
|
"method=" +
|
|
|
- "common" +
|
|
|
+ "activity" +
|
|
|
"×tamp=" +
|
|
|
getApp().globalData.globalTimestamp +
|
|
|
"&secret=" +
|
|
|
@@ -194,13 +194,14 @@ export default {
|
|
|
let url =
|
|
|
getApp().globalData.shareUrl +
|
|
|
"api/api.php" +
|
|
|
- "?method=common&source=activity&action=list×tamp=" +
|
|
|
+ "?method=activity&source=activity&action=list×tamp=" +
|
|
|
getApp().globalData.globalTimestamp +
|
|
|
"&sign=" +
|
|
|
md5Sign;
|
|
|
let postData = {
|
|
|
- page: 1,
|
|
|
- page_size: 15,
|
|
|
+ // page: 1,
|
|
|
+ // page_size: 15,
|
|
|
+ s_cancel : 0
|
|
|
};
|
|
|
uni.request({
|
|
|
url: url,
|
|
|
@@ -276,10 +277,10 @@ export default {
|
|
|
padding: 20rpx 0;
|
|
|
width: 100%;
|
|
|
display: flex;
|
|
|
- position: fixed;
|
|
|
+ // position: fixed;
|
|
|
height: 50rpx;
|
|
|
top: 0;
|
|
|
- margin-bottom: 50rpx;
|
|
|
+ // margin-bottom: 50rpx;
|
|
|
.type,
|
|
|
.state {
|
|
|
width: 50%;
|
|
|
@@ -314,7 +315,7 @@ export default {
|
|
|
}
|
|
|
.actives {
|
|
|
width: 90%;
|
|
|
- margin-top: 50rpx;
|
|
|
+ // margin-top: 50rpx;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
|
@@ -323,7 +324,7 @@ export default {
|
|
|
// height: 150rpx;
|
|
|
box-shadow: 0px 4rpx 32rpx rgba(0, 0, 0, 0.1);
|
|
|
border-radius: 32rpx;
|
|
|
- margin-top: 20px;
|
|
|
+ // margin-top: 20px;
|
|
|
padding: 20rpx;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
@@ -348,10 +349,15 @@ export default {
|
|
|
justify-content: space-between;
|
|
|
.right-title {
|
|
|
width: 100%;
|
|
|
- margin-bottom: 20rpx;
|
|
|
+ margin-bottom:15rpx;
|
|
|
font-size: 27rpx;
|
|
|
font-weight: 600;
|
|
|
letter-spacing: 3rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
}
|
|
|
.right-inf {
|
|
|
flex-wrap: wrap;
|