lex před 2 roky
rodič
revize
b087582eda

+ 13 - 7
src/school/orchestra/compontent/photo-detail.tsx

@@ -346,14 +346,20 @@ export default defineComponent({
             }}
           </OHeader>
 
-          <Button
-            icon="plus"
-            block
-            class={styles.addPhone}
-            onClick={() => (state.showPhoto = true)}
+          <div
+            style={{
+              overflow: 'hidden'
+            }}
           >
-            上传照片
-          </Button>
+            <Button
+              icon="plus"
+              block
+              class={styles.addPhone}
+              onClick={() => (state.showPhoto = true)}
+            >
+              上传照片
+            </Button>
+          </div>
         </OSticky>
 
         {state.listState.dataShow ? (

+ 2 - 1
src/views/mine-orchestra/my-photo/index.module.less

@@ -24,7 +24,7 @@
     align-items: center;
     height: calc(100vw / 2);
     width: 100%;
-    border-radius: 4px;
+    border-radius: 2px;
     overflow: hidden;
     position: relative;
     background-color: #eaeaea;
@@ -48,6 +48,7 @@
   }
   .gridName {
     font-size: 16px;
+    font-weight: 500;
     color: #333;
     line-height: 22px;
     padding: 8px 0 4px 0;

+ 19 - 8
src/views/mine-orchestra/my-photo/index.tsx

@@ -135,14 +135,25 @@ export default defineComponent({
           }}
         >
           {data.schoolList.length > 0 && (
-            <CellGroup inset class={styles.cellGroup}>
-              <Cell class={styles.select} center isLink onClick={() => (data.schoolStatus = true)}>
-                {{
-                  icon: () => <img class={styles.icon} src={iconOrchestra} />,
-                  title: () => <div class="van-ellipsis">{data.school.name}</div>
-                }}
-              </Cell>
-            </CellGroup>
+            <div
+              style={{
+                overflow: 'hidden'
+              }}
+            >
+              <CellGroup inset class={styles.cellGroup}>
+                <Cell
+                  class={styles.select}
+                  center
+                  isLink
+                  onClick={() => (data.schoolStatus = true)}
+                >
+                  {{
+                    icon: () => <img class={styles.icon} src={iconOrchestra} />,
+                    title: () => <div class="van-ellipsis">{data.school.name}</div>
+                  }}
+                </Cell>
+              </CellGroup>
+            </div>
           )}
         </OSticky>
         <OFullRefresh v-model={data.refreshing} onRefresh={() => getList()}>

+ 5 - 4
src/views/mine-orchestra/photo-list/index.module.less

@@ -33,6 +33,7 @@
   }
   .gridName {
     font-size: 16px;
+    font-weight: 500;
     color: #333;
     line-height: 22px;
     padding: 8px 0 4px 0;
@@ -60,7 +61,7 @@
     .gridImg {
       width: 100%;
       height: 100%;
-      border-radius: 0;
+      border-radius: 2px;
     }
   }
 }
@@ -82,9 +83,9 @@
   border-radius: 50%;
   background: rgba(255, 255, 255, 1);
   padding: 8px;
-  box-shadow: 0 2px 8px 0px rgba(0, 0, 0, .2);
-  &:active{
-    opacity: .8;
+  box-shadow: 0 2px 8px 0px rgba(0, 0, 0, 0.2);
+  &:active {
+    opacity: 0.8;
   }
   img {
     width: 100%;