@ -202,9 +202,7 @@
keyword: this.select.keyword
},
utilSuccess: function(res) {
if (res.total == 0) {
that.isEmpty = true
}
that.isEmpty = res.total == 0;
if (that.select.page == 1) {
that.list = res.data
} else {
@ -2,7 +2,7 @@
<view class="containers" :style="{'height':winHeight+'px'}">
<view class="title justify-between">
<text>BD访客</text>
<text @click="toUrl(0)">我的历史记录</text>
<text @click="toUrl(0)" style="color: #f27707;">我的拜访记录</text>
</view>
<view class="bdfk">
<view>
@ -16,6 +16,7 @@
<view disabled class="justify-between submitBtn">
<text>需要正确率达{{rate}}%</text>
<text @click="submitAnswer">提交</text>
@ -164,13 +165,16 @@
<style scoped>
.containers {
background-color: #fff;
min-height: 100vh;
padding: 20rpx;
padding-bottom: 60rpx;
position: relative;
overflow: hidden;
.asks {}
.asks {
min-height: 80vh;
overflow-y: auto;
.asks>view,
.asks>view>view {
@ -178,10 +182,9 @@
.containers>.submitBtn {
position: absolute;
bottom: 60rpx;
margin: 20rpx;
width: 90%;
position: fixed;
bottom: 0;
width: 100%;
.containers>.submitBtn text {
@ -85,7 +85,6 @@
.dbbtns text.active{
margin-bottom: 0;
border-radius: 20rpx 20rpx 0 0;
font-size: 36rpx;
background-color: #044ed7;
color:#fff
@ -1,7 +1,7 @@
import md5 from "./md5.min";
const HOSTARR = {
'development': 'http://bd-fangke.ali251.langye.net',
'production': 'http://bd-fangke.ali251.langye.net'
'development': 'https://bd-fangke.ali251.langye.net',
'production': 'https://bd-fangke.ali251.langye.net'
}; // 审核状态
const HOST = HOSTARR[process.env