许成详 6 년 전
부모
커밋
9b6859b428
2개의 변경된 파일10개의 추가작업 그리고 3개의 파일을 삭제
  1. 9
    2
      src/components/libraryListItem/index.vue
  2. 1
    1
      src/pages/user/library/borrowedRecord/index.vue

+ 9
- 2
src/components/libraryListItem/index.vue 파일 보기

12
         <h5 v-if="!type">{{data.BookDescription}}</h5>
12
         <h5 v-if="!type">{{data.BookDescription}}</h5>
13
         <div v-if="!type" class="flex-h" style="margin-top: .06rem;">
13
         <div v-if="!type" class="flex-h" style="margin-top: .06rem;">
14
           <span class="flex-item">{{data.Author}} 著</span>
14
           <span class="flex-item">{{data.Author}} 著</span>
15
-          <span class="status" @click="appointmentBook(data.BookId)">{{data.Status}}</span>
15
+          <span class="status active" @click="appointmentBook(data.BookId)">{{data.Status}}</span>
16
         </div>
16
         </div>
17
         <div v-if="!type" class="flex-h">
17
         <div v-if="!type" class="flex-h">
18
           <span class="flex-item">{{data.Publisher}}</span>
18
           <span class="flex-item">{{data.Publisher}}</span>
155
           &.status {
155
           &.status {
156
             padding: 0 0.15rem;
156
             padding: 0 0.15rem;
157
             font-size: 0.12rem;
157
             font-size: 0.12rem;
158
+            color: #999;
159
+            background: #fff;
160
+            border: 1px solid #ccc;
161
+            border-radius: 0.25rem;
162
+            box-sizing: border-box;
163
+          }
164
+          &.status.active {
158
             color: #fc674a;
165
             color: #fc674a;
159
             background: #fcf3f3;
166
             background: #fcf3f3;
160
-            border-radius: 0.25rem;
167
+            border: none;
161
           }
168
           }
162
         }
169
         }
163
       }
170
       }

+ 1
- 1
src/pages/user/library/borrowedRecord/index.vue 파일 보기

60
   data () {
60
   data () {
61
     return {
61
     return {
62
       tabList: [{ value: '借阅记录', id: '1' }, { value: '线上预约记录', id: '2' }],
62
       tabList: [{ value: '借阅记录', id: '1' }, { value: '线上预约记录', id: '2' }],
63
-      showDialog: true
63
+      showDialog: false
64
     }
64
     }
65
   },
65
   },
66
   created () {
66
   created () {