lex 1 year ago
parent
commit
4fbb7bbf08

+ 8 - 3
src/views/creation/edit/index.module.less

@@ -5,7 +5,12 @@
   overflow: hidden;
   font-size: 16px;
 
+  :global {
+    .van-field__control::placeholder {
+      color: #aaa;
+    }
 
+  }
 }
 
 .sectionFile {
@@ -29,7 +34,7 @@
 
   .uploadImg {
     position: relative;
-    border-radius: 6px;
+    border-radius: 8px;
     margin-right: 16px;
 
     .tip {
@@ -44,7 +49,7 @@
       color: #FFFFFF;
       line-height: 18px;
       text-align: center;
-      border-radius: 0 0 6px 6px;
+      border-radius: 0 0 8px 8px;
       pointer-events: none;
     }
 
@@ -83,6 +88,6 @@
 }
 
 .btnGroup {
-  margin: 12px 24px;
+  margin: 32px 24px 12px;
 
 }

+ 2 - 2
src/views/creation/index-share.tsx

@@ -339,7 +339,7 @@ export default defineComponent({
           )}
         </div>
 
-        <Cell class={styles.userSection} center>
+        <Cell class={styles.userSection} center border={false}>
           {{
             icon: () => (
               <Image class={styles.userLogo} src={state.musicDetail.avatar} />
@@ -354,7 +354,7 @@ export default defineComponent({
                 </p>
                 <p class={styles.sub}>
                   {state.musicDetail.subjectName}{' '}
-                  {getGradeCh(state.musicDetail.currentGradeNum)}
+                  {getGradeCh(state.musicDetail.currentGradeNum - 1)}
                 </p>
               </div>
             ),

+ 5 - 3
src/views/creation/index.module.less

@@ -134,6 +134,7 @@
 
   .actionBtn {
     line-height: 0;
+    margin-right: 4px;
 
     img {
       width: 14px;
@@ -147,14 +148,13 @@
     justify-content: space-between;
     flex: 1;
     min-width: 86px;
-    font-size: 14px;
-    font-weight: 500;
+    font-size: 12px;
     color: #131415;
     line-height: 20px;
 
     span {
       font-size: 12px;
-      padding: 0 2px;
+      padding: 0 1px;
     }
   }
 
@@ -194,6 +194,8 @@
 
   .userInfo {
     .name {
+      display: flex;
+      align-items: center;
       font-size: 16px;
       font-weight: 500;
       color: #333333;

+ 9 - 6
src/views/creation/index.tsx

@@ -341,7 +341,7 @@ export default defineComponent({
           )}
         </div>
 
-        <Cell class={styles.userSection} center>
+        <Cell class={styles.userSection} center border={false}>
           {{
             icon: () => (
               <Image class={styles.userLogo} src={state.musicDetail.avatar} />
@@ -356,7 +356,7 @@ export default defineComponent({
                 </p>
                 <p class={styles.sub}>
                   {state.musicDetail.subjectName}{' '}
-                  {getGradeCh(state.musicDetail.currentGradeNum)}
+                  {getGradeCh(state.musicDetail.currentGradeNum - 1)}
                 </p>
               </div>
             ),
@@ -389,8 +389,10 @@ export default defineComponent({
               class={[styles.container, styles.containerInformation]}
               onLoad={getStarList}
               immediateCheck={false}>
-              {state.list.map((item: any) => (
-                <Cell class={styles.likeItem}>
+              {state.list.map((item: any, index: number) => (
+                <Cell
+                  class={styles.likeItem}
+                  border={state.list.length - 1 == index ? false : true}>
                   {{
                     icon: () => (
                       <Image src={item.userAvatar} class={styles.userLogo} />
@@ -399,7 +401,8 @@ export default defineComponent({
                       <div class={styles.userInfo}>
                         <p class={styles.name}>{item.userName}</p>
                         <p class={styles.sub}>
-                          {item.subjectName} {getGradeCh(item.currentGradeNum)}
+                          {item.subjectName}{' '}
+                          {getGradeCh(item.currentGradeNum - 1)}
                         </p>
                       </div>
                     ),
@@ -454,7 +457,7 @@ export default defineComponent({
           v-model:show={state.deleteStatus}
           round
           class={styles.popupContainer}>
-          <p class={styles.popupContent}>确定是否删除</p>
+          <p class={styles.popupContent}>确定删除吗?</p>
           <div class={styles.popupBtnGroup}>
             <Button round onClick={() => (state.deleteStatus = false)}>
               取消

+ 2 - 1
src/views/creation/share-model/index.module.less

@@ -105,6 +105,7 @@
     position: relative;
     width: 84px;
     height: 84px;
+    padding: 3px;
     border-radius: 4px;
     // opacity: 0.53;
     border: 1px solid rgba(37, 156, 254, 1);
@@ -144,7 +145,7 @@
     .iconLogo {
       width: 102px;
       height: 20px;
-      margin: 6px 0 4px;
+      margin: 12px 0 4px;
     }
 
     .downTip {

+ 1 - 1
src/views/creation/share-model/index.tsx

@@ -188,7 +188,7 @@ export default defineComponent({
                 温馨提示:保存图片到相册或长按识别二维码进入查看喔~
               </p>
               <img src={iconLogo} class={styles.iconLogo} />
-              <p class={styles.downTip}>扫码下载音乐数字课堂App</p>
+              {/* <p class={styles.downTip}>扫码下载音乐数字课堂App</p> */}
             </div>
           </div>
         </div>