|
@@ -117,7 +117,7 @@
|
|
|
data.detail.currencySymbol || ''
|
|
|
}}</div>
|
|
|
</div>
|
|
|
- <div class="luck-list" @scroll="handleScroll($event)">
|
|
|
+ <div class="luck-list max" @scroll="handleScroll($event)">
|
|
|
<div class="luck-item" v-for="item, i in data.detail.allReceived" v-bind:key="i">
|
|
|
<img v-if="item.simpleUserInfoVO.avatarUrl" :src="item.simpleUserInfoVO.avatarUrl" alt />
|
|
|
<img v-else :src="require('@/assets/svg/icon-twitter.svg')" alt />
|
|
@@ -137,6 +137,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <get-more></get-more>
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -205,7 +206,7 @@
|
|
|
data.detail.currencySymbol || ''
|
|
|
}}</div>
|
|
|
</div>
|
|
|
- <div class="luck-list" @scroll="handleScroll">
|
|
|
+ <div class="luck-list max" @scroll="handleScroll">
|
|
|
<div class="luck-item" v-for="item, i in data.detail.allReceived" v-bind:key="i">
|
|
|
<img v-if="item.simpleUserInfoVO.avatarUrl" :src="item.simpleUserInfoVO.avatarUrl" alt />
|
|
|
<img v-else :src="require('@/assets/svg/icon-twitter.svg')" alt />
|
|
@@ -224,6 +225,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <get-more></get-more>
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -245,9 +247,6 @@
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
- <div style="position: fixed; width: 100%; min-height: 30px; color: red; top: 0;">
|
|
|
- {{ data.console_str }}
|
|
|
- </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -261,6 +260,7 @@ import { getPostDetail, getRedPacket, finishRedPacket, oneKeyLike, oneKeyReTweet
|
|
|
import { getQueryString, guid } from '@/uilts/help.js'
|
|
|
import { message } from 'ant-design-vue';
|
|
|
import FontAmount from '@/view/components/font-amount.vue'
|
|
|
+import GetMore from '@/view/iframe/publish/components/get-more.vue'
|
|
|
import { getChromeStorage } from '@/uilts/chromeExtension.js'
|
|
|
import Report from "@/log-center/log"
|
|
|
import { srcPublishSuccess } from '@/http/publishApi'
|
|
@@ -547,7 +547,6 @@ const reSetBindTwtterId = (_params) => {
|
|
|
});
|
|
|
init()
|
|
|
}
|
|
|
- data.console_str.tweet_info = res.msg
|
|
|
})
|
|
|
}
|
|
|
})
|
|
@@ -557,7 +556,7 @@ function showLastTwoPlace(n) {
|
|
|
return n
|
|
|
}
|
|
|
let start_time = new Date().getTime()
|
|
|
-data.console_str = {}
|
|
|
+
|
|
|
function init() {
|
|
|
onRuntimeMsg();
|
|
|
onPageVisbile();
|
|
@@ -573,10 +572,7 @@ function init() {
|
|
|
reSetBindTwtterId(res.data)
|
|
|
return
|
|
|
}
|
|
|
- data.console_str.time = (new Date().getTime() - start_time) / 1000 + 's'
|
|
|
- data.console_str.tweetId = res.data.srcContentId
|
|
|
data.detail = JSON.parse(res.data.postBizData)
|
|
|
- data.console_str.status = data.detail.status
|
|
|
|
|
|
console.log(data.detail)
|
|
|
|
|
@@ -621,7 +617,7 @@ function init() {
|
|
|
}
|
|
|
|
|
|
// 任务已经结束了
|
|
|
- } else if (data.detail.status == 2) {
|
|
|
+ } else if (data.detail.status == 2 || data.detail.status == 3 || data.detail.status == 4) {
|
|
|
// 我领取过的状态
|
|
|
if (data.detail.myReceived) {
|
|
|
myReceivedState()
|
|
@@ -635,8 +631,6 @@ function init() {
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- data.console_str.time = (new Date().getTime() - start_time) / 1000
|
|
|
- data.console_str.msg = res.msg
|
|
|
handleErrorCode(res)
|
|
|
}
|
|
|
})
|
|
@@ -1148,6 +1142,7 @@ body {
|
|
|
padding: 0;
|
|
|
width: 375px;
|
|
|
height: 500px;
|
|
|
+ background-color: unset!important;
|
|
|
}
|
|
|
|
|
|
.content {
|
|
@@ -1356,7 +1351,7 @@ body {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
color: #B0B0B0;
|
|
|
- border-bottom: 1px solid #D1D1D1;
|
|
|
+ border-bottom: 1px solid #F2F2F2;
|
|
|
|
|
|
div:last-child {
|
|
|
text-align: right;
|
|
@@ -1367,11 +1362,15 @@ body {
|
|
|
background: #fff;
|
|
|
overflow: auto;
|
|
|
|
|
|
+ &.max {
|
|
|
+ height: 250px;
|
|
|
+ }
|
|
|
+
|
|
|
.luck-item {
|
|
|
display: flex;
|
|
|
- padding: 12px 0;
|
|
|
+ padding: 10px 0;
|
|
|
margin: 0 16px;
|
|
|
- border-bottom: 1px solid #d1d1d1;
|
|
|
+ border-bottom: 1px solid #F2F2F2;
|
|
|
justify-content: space-between;
|
|
|
position: relative;
|
|
|
|