From ebc96a1cf0424c04dceacbc42f9ad2a897223be9 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 25 六月 2024 14:42:04 +0800
Subject: [PATCH] css
---
h5/pages/staff/snapshot.vue | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/h5/pages/staff/snapshot.vue b/h5/pages/staff/snapshot.vue
index 0c80c25..aaaddd2 100644
--- a/h5/pages/staff/snapshot.vue
+++ b/h5/pages/staff/snapshot.vue
@@ -125,7 +125,7 @@
<text
class="mr6"
:style="{ color: param.submitTime ? '#000000' : '#999999' }"
- >{{ param.submitTime ? param.submitTime : "璇烽�夋嫨" }}</text
+ >{{ param.submitTime ? param.submitTime.slice(0, 16) : "璇烽�夋嫨" }}</text
>
<u-icon name="arrow-right" color="#CCCCCC" size="20"></u-icon>
</view>
@@ -252,7 +252,7 @@
this.isShowType = false
},
seletedSafety(e) {
-
+
},
seletedDate(e) {
this.$set(this.param, 'submitTime', dayjs(e.value).format('YYYY-MM-DD HH:mm:ss'))
@@ -276,6 +276,7 @@
},
uploadImage() {
this.showUpload = false
+ let token = uni.getStorageSync('token') || ''
uni.chooseImage({
count: 4,
success: (chooseImageRes) => {
@@ -294,6 +295,9 @@
name: 'file',
formData: {
folder: 'HIDDEN_DANGER_FILE'
+ },
+ header: {
+ Dm_user_token: token
},
success: (uploadFileRes) => {
let res = JSON.parse(uploadFileRes.data)
@@ -324,12 +328,16 @@
uploadVideo() {
this.showUpload = false
let that = this
+ let token = uni.getStorageSync('token') || ''
uni.chooseVideo({
success: (chooseImageRes) => {
uni.showLoading({ title: '涓婁紶涓�', mask: true })
uni.uploadFile({
url: `${uploadUrl}`,
filePath: chooseImageRes.tempFilePath,
+ header: {
+ Dm_user_token: token
+ },
name: 'file',
formData: {
folder: 'HIDDEN_DANGER_FILE'
@@ -360,6 +368,7 @@
<style lang="scss">
.main_wrap {
+ padding-bottom: 200rpx;
.line {
display: flex;
justify-content: space-between;
--
Gitblit v1.9.3