fix: eslint

This commit is contained in:
hw
2025-11-05 17:02:16 +08:00
parent 6a3e8173e0
commit b897f50420
4 changed files with 7 additions and 7 deletions

View File

@@ -147,20 +147,20 @@ function onUploadError(err: Error) {
<style lang="scss" scoped> <style lang="scss" scoped>
.upload-tip { .upload-tip {
margin-left: 5px;
margin-top: 5px; margin-top: 5px;
margin-left: 5px;
font-size: 12px; font-size: 12px;
color: #999; color: #999;
} }
.thumb-div { .thumb-div {
display: inline-block; display: inline-block;
width: 100%;
text-align: center;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 100%;
text-align: center;
.avatar-uploader-icon { .avatar-uploader-icon {
width: 120px; width: 120px;

View File

@@ -279,9 +279,9 @@ function plusNews() {
height: 25px; height: 25px;
padding: 1%; padding: 1%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis;
font-size: 15px; font-size: 15px;
color: #fff; color: #fff;
text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
background-color: black; background-color: black;
opacity: 0.65; opacity: 0.65;

View File

@@ -147,12 +147,12 @@ function onUploadError(err: Error) {
.thumb-div { .thumb-div {
display: inline-block; display: inline-block;
width: 100%;
text-align: center;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 100%;
text-align: center;
.avatar-uploader-icon { .avatar-uploader-icon {
width: 120px; width: 120px;

View File

@@ -279,9 +279,9 @@ function plusNews() {
height: 25px; height: 25px;
padding: 1%; padding: 1%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis;
font-size: 15px; font-size: 15px;
color: #fff; color: #fff;
text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
background-color: black; background-color: black;
opacity: 0.65; opacity: 0.65;