
--- client/resources/css/user/sub.css
+++ client/resources/css/user/sub.css
... | ... | @@ -947,10 +947,11 @@ |
947 | 947 |
|
948 | 948 |
.swiper-slide { |
949 | 949 |
img { |
950 |
- height: 800px; |
|
951 | 950 |
width: 100%; |
951 |
+ aspect-ratio: 15 / 8; |
|
952 | 952 |
object-fit: contain; |
953 | 953 |
background-color: #ddd; |
954 |
+ display: block; |
|
954 | 955 |
} |
955 | 956 |
} |
956 | 957 |
|
... | ... | @@ -1022,6 +1023,11 @@ |
1022 | 1023 |
margin-right: 50px; |
1023 | 1024 |
width: 600px; |
1024 | 1025 |
height: 360px; |
1026 |
+ img{ |
|
1027 |
+ width: 100%; |
|
1028 |
+ height: 100%; |
|
1029 |
+ object-fit: contain; |
|
1030 |
+ } |
|
1025 | 1031 |
} |
1026 | 1032 |
|
1027 | 1033 |
.info-form { |
... | ... | @@ -1215,6 +1221,9 @@ |
1215 | 1221 |
} |
1216 | 1222 |
|
1217 | 1223 |
table { |
1224 |
+ .selected { |
|
1225 |
+ background-color: rgba(194, 61, 74, 0.2); |
|
1226 |
+ } |
|
1218 | 1227 |
border-radius: 10px; |
1219 | 1228 |
overflow: hidden; |
1220 | 1229 |
|
--- client/views/pages/ctgry/CategoryManagement.vue
+++ client/views/pages/ctgry/CategoryManagement.vue
... | ... | @@ -33,7 +33,8 @@ |
33 | 33 |
<td colspan="3" style="text-align: center;">등록된 카테고리가 없습니다.</td> |
34 | 34 |
</tr> |
35 | 35 |
<tr v-for="item in selectedCategories" :key="item.ctgryId" |
36 |
- :class="{ 'delete-member': item.useAt === 'N' }" @click="selectCategory(item)"> |
|
36 |
+ :class="{ 'delete-member': item.useAt === 'N', 'selected': item.ctgryId === selectedCategory.ctgryId }" |
|
37 |
+ @click="selectCategory(item)"> |
|
37 | 38 |
<!-- Category 칼럼 --> |
38 | 39 |
<td> |
39 | 40 |
{{ item.ctgryNm }} |
... | ... | @@ -117,7 +118,7 @@ |
117 | 118 |
|
118 | 119 |
data() { |
119 | 120 |
return { |
120 |
- // Define the image sources |
|
121 |
+ selectedUser: null, |
|
121 | 122 |
homeicon: 'client/resources/images/icon/home.png', |
122 | 123 |
erroricon: 'client/resources/images/icon/error.png', |
123 | 124 |
righticon: 'client/resources/images/icon/right.png', |
... | ... | @@ -173,7 +174,8 @@ |
173 | 174 |
this.selectedCategory = { |
174 | 175 |
ctgryNm: item.ctgryNm, |
175 | 176 |
useAt: item.useAt, |
176 |
- dc: item.dc |
|
177 |
+ dc: item.dc, |
|
178 |
+ ctgryId: item.ctgryId, |
|
177 | 179 |
}; |
178 | 180 |
this.copySelectedCategory = { |
179 | 181 |
oldCtgryNm: item.ctgryNm, |
--- client/views/pages/member/MemberManagement.vue
+++ client/views/pages/member/MemberManagement.vue
... | ... | @@ -44,7 +44,8 @@ |
44 | 44 |
<td colspan="3" style="text-align: center;">등록된 사용자가 없습니다.</td> |
45 | 45 |
</tr> |
46 | 46 |
<tr v-for="(item, index) in selectedUsers" :key="index" |
47 |
- :class="{ 'delete-member': item.useAt === 'N' }" @click="selectUser(item)"> |
|
47 |
+ :class="{ 'delete-member': item.useAt === 'N', 'selected': item.userId === selectedUser.userId }" |
|
48 |
+ @click="selectUser(item)"> |
|
48 | 49 |
<td>{{ item.loginId }}</td> |
49 | 50 |
<td>{{ item.userNm }}</td> |
50 | 51 |
<td> |
... | ... | @@ -158,6 +159,7 @@ |
158 | 159 |
|
159 | 160 |
data() { |
160 | 161 |
return { |
162 |
+ selectedUser: null, |
|
161 | 163 |
homeicon: 'client/resources/images/icon/home.png', |
162 | 164 |
erroricon: 'client/resources/images/icon/error.png', |
163 | 165 |
righticon: 'client/resources/images/icon/right.png', |
... | ... | @@ -359,7 +361,8 @@ |
359 | 361 |
this.selectedUser = { |
360 | 362 |
userNm: item.userNm, |
361 | 363 |
useAt: item.useAt, |
362 |
- authorList: [item.authorList[0]] |
|
364 |
+ authorList: [item.authorList[0]], |
|
365 |
+ userId: item.userId |
|
363 | 366 |
}; |
364 | 367 |
|
365 | 368 |
// 깊은 복사를 통해 copySelectedUser를 설정 |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?