Browse Source

bug修改

lzm_web
Linzm 6 months ago
parent
commit
aa21829e78
  1. 2
      index.html
  2. 6
      src/views/badge/index.vue

2
index.html

@ -9,7 +9,7 @@
<title>葡哇立体肖像</title> <title>葡哇立体肖像</title>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app" style="max-width: 500px;margin: 0 auto;"></div>
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/main.ts"></script>
</body> </body>
<style> <style>

6
src/views/badge/index.vue

@ -170,7 +170,7 @@
</div> </div>
<img class="photo-upload-img" v-if="picture" :src="picture" alt="" srcset=""> <img class="photo-upload-img" v-if="picture" :src="picture" alt="" srcset="">
<div class="photo-upload-box-1"> <div class="photo-upload-box-1">
<h5-cropper :option="option" @getbase64Data="getbase64Data" @imgorigoinf="imgorigoinf" ></h5-cropper> <h5-cropper :option="option" @getbase64Data="getbase64Data" @imgorigoinf="imgorigoinf"></h5-cropper>
</div> </div>
</div> </div>
<div style="font-size: 12px; color: red; margin-top: 16px; text-align: center;" v-if="prodId == 7">温馨提示请上传只有{{ prop == '3D真人肖像' ? '1' : '1-3' }}人的照片</div> <div style="font-size: 12px; color: red; margin-top: 16px; text-align: center;" v-if="prodId == 7">温馨提示请上传只有{{ prop == '3D真人肖像' ? '1' : '1-3' }}人的照片</div>
@ -259,7 +259,7 @@ const option = ref({
fixedNumber: [3, 4], fixedNumber: [3, 4],
fixedBox: false, fixedBox: false,
canMoveBox: true, canMoveBox: true,
enlarge: 6 enlarge: 2
}) })
const options = ref({ const options = ref({
autoCropWidth: 1000, autoCropWidth: 1000,
@ -732,7 +732,7 @@ onMounted(() => {
}) })
</script> </script>
<style scoped> <style lang="scss" scoped>
.photo-upload-page { .photo-upload-page {
height: auto; height: auto;
overflow-y: scroll!important; overflow-y: scroll!important;

Loading…
Cancel
Save