|
@@ -39,7 +39,13 @@
|
39
|
39
|
<div class="borrowedRecordContent flex-h" @click="showDialog = false">
|
40
|
40
|
<div class="img">
|
41
|
41
|
<a>
|
42
|
|
- <img :src="currentItem.BookImg" class="centerLabel" alt>
|
|
42
|
+ <img
|
|
43
|
+ :src="currentItem.BookImg"
|
|
44
|
+ class="centerLabel"
|
|
45
|
+ style="width: 100%;
|
|
46
|
+ height: 100%;
|
|
47
|
+ object-fit: cover"
|
|
48
|
+ >
|
43
|
49
|
</a>
|
44
|
50
|
</div>
|
45
|
51
|
<div class="flex-item">
|
|
@@ -71,7 +77,7 @@ export default {
|
71
|
77
|
showDialog: false,
|
72
|
78
|
status: '1',
|
73
|
79
|
page: 1,
|
74
|
|
- pagesize: 10,
|
|
80
|
+ pagesize: 10000,
|
75
|
81
|
reserveBooks: {},
|
76
|
82
|
borrowBooks: {},
|
77
|
83
|
currentItem: {},
|
|
@@ -84,9 +90,9 @@ export default {
|
84
|
90
|
this.getList('2')
|
85
|
91
|
},
|
86
|
92
|
computed: {
|
87
|
|
- myBookStatus() {
|
|
93
|
+ myBookStatus () {
|
88
|
94
|
let status = ''
|
89
|
|
- switch(this.currentItem.BorrowStatus) {
|
|
95
|
+ switch (this.currentItem.BorrowStatus) {
|
90
|
96
|
case '4':
|
91
|
97
|
status = '已预约'
|
92
|
98
|
break
|
|
@@ -130,9 +136,9 @@ export default {
|
130
|
136
|
this.getMineBook({
|
131
|
137
|
page: this.page,
|
132
|
138
|
pagesize: this.pagesize,
|
133
|
|
- status: status == '1'?'1,3,2,0':'4',
|
|
139
|
+ status: status == '1' ? '1,3,2,0' : '4',
|
134
|
140
|
}).then((res) => {
|
135
|
|
- if(status == '1') {
|
|
141
|
+ if (status == '1') {
|
136
|
142
|
_that.borrowBooks = res
|
137
|
143
|
_that.borrowshow = true
|
138
|
144
|
} else {
|
|
@@ -164,9 +170,6 @@ export default {
|
164
|
170
|
width: 0.7rem;
|
165
|
171
|
display: block;
|
166
|
172
|
margin: 0 auto;
|
167
|
|
- .centerLabel{
|
168
|
|
-
|
169
|
|
- }
|
170
|
173
|
}
|
171
|
174
|
span {
|
172
|
175
|
width: 100%;
|
|
@@ -237,15 +240,15 @@ export default {
|
237
|
240
|
text-align: right;
|
238
|
241
|
span {
|
239
|
242
|
display: inline-block;
|
240
|
|
- line-height: .24rem;
|
241
|
|
- font-size: .12rem;
|
242
|
|
- color: #869EC3;
|
|
243
|
+ line-height: 0.24rem;
|
|
244
|
+ font-size: 0.12rem;
|
|
245
|
+ color: #869ec3;
|
243
|
246
|
background: #f2f4f7;
|
244
|
|
- padding: 0 .1rem 0 .15rem;
|
245
|
|
- border-radius: .15rem 0 0 .15rem;
|
246
|
|
- margin-right: -.12rem;
|
|
247
|
+ padding: 0 0.1rem 0 0.15rem;
|
|
248
|
+ border-radius: 0.15rem 0 0 0.15rem;
|
|
249
|
+ margin-right: -0.12rem;
|
247
|
250
|
}
|
248
|
|
- .active{
|
|
251
|
+ .active {
|
249
|
252
|
background-color: #fc5534;
|
250
|
253
|
color: #fff;
|
251
|
254
|
}
|