Commit 7da0e0f4 authored by salitedfish's avatar salitedfish

bug修复

parent efb1519a
......@@ -6,7 +6,7 @@
<!-- <img src='/img/cover.png' class=" w-11/12 mx-auto rounded-xl shadow-md"> -->
<img :src="k.cover?k.cover :'/img/cover.png'" class="desk_img rounded-md w-11/12 h-5/6 mx-auto" />
</div>
<div class='mt-3'>
<div class='mt-3 overflow-hidden whitespace-nowrap overflow-ellipsis w-full text-center'>
{{k.name}}
</div>
</div>
......
......@@ -11,9 +11,10 @@
bg-font-light-black
"
>
<div class="imgbox left w-4/12 rounded-md">
<img :src="colletionData.cover?colletionData.cover:'/img/cover.png'" class="rounded-md" />
<div class="imgbox left w-4/12 rounded-md h-40">
<img :src="colletionData.cover?colletionData.cover:'/img/cover.png'" class="rounded-md max-h-full max-w-full" />
</div>
<div class="right w-8/12">
<div class="w-full px-4">
<div class=" text-lg">{{colletionData.name}}</div>
......
......@@ -2,9 +2,10 @@
<template>
<Layout-Child class="page-scroll text-center">
<div class="text-font-white mt-20 text-center mb-6">{{uploadAccept.acceptTitle}}</div>
<input type="file" class="upload hidden" @change="handleFileChange('inputFile')" ref="inputFile" :accept="uploadAccept.acceptType"/>
<input type="file" accept="image/*" class="upload hidden" ref='localImgElem' @change="handleFileChange('localImgElem')"/>
<input type="file" accept="image/*" capture="camera" class="upload hidden" ref='cameraElem' @change="handleFileChange('cameraElem')"/>
<!-- <input type="file" class="upload hidden" @change="handleFileChange('inputFile')" ref="inputFile" :accept="uploadAccept.acceptType"/> -->
<input type="file" class="upload hidden" @change="handleFileChange('inputFile')" ref="inputFile"/>
<input type="file" class="upload hidden" ref='localImgElem' @change="handleFileChange('localImgElem')"/>
<input type="file" capture="camera" class="upload hidden" ref='cameraElem' @change="handleFileChange('cameraElem')"/>
<van-action-sheet v-model="show" :actions="actions" @select="onSelect" />
<div
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment