Jelajahi Sumber

修改显示

lex 1 tahun lalu
induk
melakukan
0f7685aa06
1 mengubah file dengan 9 tambahan dan 7 penghapusan
  1. 9 7
      src/views/studentList/studentDetail.vue

+ 9 - 7
src/views/studentList/studentDetail.vue

@@ -29,9 +29,7 @@
       <van-cell title="分部" :value="organName"></van-cell>
       <van-cell title="手机号" :value="phone" center>
         <template #extra>
-          <svg @click="copyText(phone)" class="iconCopy" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16">
-            <g fill="none"><path d="M4 4.085V10.5a2.5 2.5 0 0 0 2.336 2.495L6.5 13h4.414A1.5 1.5 0 0 1 9.5 14H6a3 3 0 0 1-3-3V5.5a1.5 1.5 0 0 1 1-1.415zM11.5 2A1.5 1.5 0 0 1 13 3.5v7a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 5 10.5v-7A1.5 1.5 0 0 1 6.5 2h5z" fill="currentColor"></path></g>
-          </svg>
+          <span @click="copyText(phone)" class="iconCopy">复制</span>
         </template>
       </van-cell>
       <van-cell title="年级" :value="currentGrade"></van-cell>
@@ -189,9 +187,13 @@ export default {
 }
 
 .iconCopy {
-  width: 0.18rem;
-  height: 0.18rem;
-  color: #333;
-  margin-left: 0.08rem;
+  font-size: 0.14rem;
+  color: #01c1b5;
+  line-height: 0.2rem;
+  padding-left: 0.16rem;
+  // width: 0.18rem;
+  // height: 0.18rem;
+  // color: #333;
+  // margin-left: 0.08rem;
 }
 </style>