xuqiaoying 3 years ago
parent
commit
a6c65482fe
4 changed files with 23 additions and 14 deletions
  1. 6 2
      pages2/class/questionBank.vue
  2. 4 7
      pages2/verify/input.vue
  3. 6 2
      pages3/live/detail.vue
  4. 7 3
      pages3/polyv/detail.vue

+ 6 - 2
pages2/class/questionBank.vue

@@ -2611,10 +2611,14 @@ export default {
 
 <style lang="scss" scoped>
 .photoBox {
-  background-color: #ffffff;
-  border-radius: 24px 24px 0px 0px;
+  width: 100%;
+  // background-color: #ffffff;
+  // border-radius: 24px 24px 0px 0px;
   .photoTop {
+    width: 100%;
     height: 74rpx;
+    border-radius: 20px 20px 0px 0px;
+    background-color: #ffffff;
     display: flex;
     align-items: center;
     justify-content: center;

+ 4 - 7
pages2/verify/input.vue

@@ -244,9 +244,9 @@
               >
                 文件大小≤2M
               </text>
+              <!-- :max-size="2097152" -->
               <u-upload
                 :show-progress="false"
-                :max-size="2097152"
                 :ref="
                   item.fieldKey === 'recent_photos'
                     ? 'recent_photos'
@@ -989,13 +989,9 @@ export default {
         return false;
       }
     },
-    cahngeText() {
-      this.$set(this.form, "name", "唐");
-      console.log(this.form.name, 123);
-    },
 
     async uploadDatas(data) {
-      console.log('sfsfg---data', data)
+      // console.log('sfsfg---data', data)
       if (this.form.recent_photos && this.form.idcard_face_photo) {
         uni.downloadFile({
           url: this.$method.splitImgHost(this.form.idcard_face_photo),
@@ -1435,7 +1431,7 @@ export default {
       });
     },
     async changePhotoListHeader1(lists, name) {
-      console.log(lists);
+      console.log('个人近照---',lists);
       if (lists.length) {
         this.fileList1 = lists;
         console.log(lists, "lists1");
@@ -1443,6 +1439,7 @@ export default {
           lists[0].url.indexOf("//tmp") !== -1 ||
           lists[0].url.indexOf("//temp") !== -1
         ) {
+          console.log('----')
           this.$set(
             this.form,
             "recent_photos",

+ 6 - 2
pages3/live/detail.vue

@@ -2425,10 +2425,14 @@ export default {
   border-radius: 16rpx;
 }
 .photoBox {
-  background-color: #ffffff;
-  border-radius: 24px 24px 0px 0px;
+  width: 100%;
+  // background-color: #ffffff;
+  // border-radius: 24px 24px 0px 0px;
   .photoTop {
+    width: 100%;
     height: 74rpx;
+    border-radius: 20px 20px 0px 0px;
+    background-color: #ffffff;
     display: flex;
     align-items: center;
     justify-content: center;

+ 7 - 3
pages3/polyv/detail.vue

@@ -3163,10 +3163,14 @@ export default {
   border-radius: 16rpx;
 }
 .photoBox {
-  background-color: #ffffff;
-  border-radius: 24px 24px 0px 0px;
+  width: 100%;
+  // background-color: #ffffff;
+  // border-radius: 24px 24px 0px 0px;
   .photoTop {
+    width: 100%;
     height: 74rpx;
+    border-radius: 20px 20px 0px 0px;
+    background-color: #ffffff;
     display: flex;
     align-items: center;
     justify-content: center;
@@ -3191,7 +3195,7 @@ export default {
     .center_camera {
       width: 100%;
       height: 75vh;
-      // position: fixed;
+      position: fixed;
       .head_take {
         width: 100%;
         height: 75vh;