浏览代码

更新样式

lex 2 年之前
父节点
当前提交
989aca732f
共有 2 个文件被更改,包括 13 次插入1 次删除
  1. 5 0
      src/views/music/component/song/index.module.less
  2. 8 1
      src/views/music/component/song/index.tsx

+ 5 - 0
src/views/music/component/song/index.module.less

@@ -131,6 +131,11 @@
   width: 22px;
   height: 19px;
   margin-right: 14px;
+
+  .share {
+    width: 20px;
+    height: 20px;
+  }
 }
 
 .shareMate {

+ 8 - 1
src/views/music/component/song/index.tsx

@@ -205,11 +205,15 @@ export default defineComponent({
                 border={false}
                 size="large"
                 title={'分享曲目'}
+                center
                 onClick={() => onShare()}
                 v-slots={{
                   icon: () => (
                     <div class={styles.shareIcon}>
-                      <Image src={getAssetsHomeFile('icon_share.png')} />
+                      <Image
+                        class={styles.share}
+                        src={getAssetsHomeFile('icon_share.png')}
+                      />
                     </div>
                   )
                 }}
@@ -219,6 +223,7 @@ export default defineComponent({
             <Cell
               border={false}
               size="large"
+              center
               title={`作曲:${moreData.value?.composer}`}
               v-slots={{
                 icon: () => (
@@ -231,6 +236,7 @@ export default defineComponent({
             <Cell
               border={false}
               size="large"
+              center
               title={`上传:${moreData.value?.addName || '--'}`}
               v-slots={{
                 icon: () => (
@@ -245,6 +251,7 @@ export default defineComponent({
               size="large"
               title={'小酷Ai练习'}
               isLink
+              center
               style={{ marginBottom: '100px' }}
               onClick={() => {
                 isMore.value = false