|
@@ -2,33 +2,33 @@
|
|
|
<view class="ss-p-b-100" style="height: 100vh; background-color: #f2f4f7;">
|
|
|
<uni-notice-bar text="温馨提示:最多可以上传5份附件简历。请在手机上打开此小程序进行文件上传,暂不支持在桌面版小程序中上传文件。" />
|
|
|
<view v-if="bioList?.length > 0">
|
|
|
- <uni-card v-for="(item, index) in bioList" :key="index" :is-shadow="true" :border='false' shadow="0px 0px 3px 1px rgba(0,0,0,0.1)">
|
|
|
+ <view v-for="(item, index) in bioList" :key="index" class="default-border list-item">
|
|
|
<view class="d-flex align-center">
|
|
|
<view v-if="props.resumeAnalysis" class="ss-m-r-15">
|
|
|
<radio :value="index" color="#00B760" :checked="index === checkedIndex" @tap="radioChange(index)" />
|
|
|
</view>
|
|
|
<view @click="preview(item.url)" style="flex: 1;">
|
|
|
- <view class="font-size-14" style="font-weight: bold;">{{ item.title }}</view>
|
|
|
- <view>上传时间:{{ timesTampChange(item.createTime, 'Y-M-D') }}</view>
|
|
|
+ <view class="MiSans-Semibold" style="font-weight: bold;">{{ item.title }}</view>
|
|
|
+ <view class="color-666 MiSans-Normal ss-m-t-10 font-size-14">上传时间:{{ timesTampChange(item.createTime, 'Y-M-D') }}</view>
|
|
|
</view>
|
|
|
<view class="ss-m-l-30" style="width: 60rpx;">
|
|
|
<uni-icons @click="handleOpenPopup(item)" type="more-filled" size="20"></uni-icons>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </uni-card>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view v-else class="nodata-img-parent">
|
|
|
<image src="https://minio.citupro.com/dev/static/nodata.png" mode="widthFix" style="width: 100vw;height: 100vh;"></image>
|
|
|
</view>
|
|
|
<view class="bottom-sticky flex-column">
|
|
|
<button v-if="props.resumeAnalysis" class="recomm-button" style="margin-bottom: 0;" :loading="analysisLoading" @click="handleResumeAnalysis">开始解析</button>
|
|
|
- <button class="recomm-button" style="margin-bottom: 0;" @click="handleUpload">微信聊天文件上传</button>
|
|
|
- <view class="color-primary font-size-14 ss-m-b-25 ss-m-t-10" style="text-align: center;">上传文件大小不能超过20MB</view>
|
|
|
+ <button class="recomm-button MiSans-Medium" style="margin-bottom: 0;" @click="handleUpload">微信聊天文件上传</button>
|
|
|
+ <view class="color-primary font-size-14 ss-m-b-25 ss-m-t-10 MiSans-Normal" style="text-align: center;">上传文件大小不能超过20MB</view>
|
|
|
</view>
|
|
|
|
|
|
<uni-popup ref="popup" type="bottom">
|
|
|
- <button class="big-cancel-button" style="color: #333 !important;" @click="handleDelete">删除附件</button>
|
|
|
- <button class="big-cancel-button" @click="popup.close(); currentId = ''">取消</button>
|
|
|
+ <button class="big-cancel-button MiSans-Normal" style="color: #666 !important;" @click="handleDelete">删除附件</button>
|
|
|
+ <button class="big-cancel-button MiSans-Normal" @click="popup.close(); currentId = ''">取消</button>
|
|
|
</uni-popup>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -148,4 +148,16 @@ const handleResumeAnalysis = () => {
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
+.list-item {
|
|
|
+ margin: 30rpx;
|
|
|
+ border-radius: 20rpx;
|
|
|
+ padding: 30rpx;
|
|
|
+ background-color: #fff;
|
|
|
+ &:last-child {
|
|
|
+ margin-bottom: 0;
|
|
|
+ }
|
|
|
+ &:first-child {
|
|
|
+ margin-top: 0;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|