修复部分页面展示bug

main
26947 2024-06-01 20:10:34 +08:00
parent 28c31bf458
commit ba7f983e5b
15 changed files with 7 additions and 12 deletions

View File

@ -4,8 +4,8 @@ export default {
uploadQiNiuDomain: 'https://upload-z2.qiniup.com', uploadQiNiuDomain: 'https://upload-z2.qiniup.com',
// baseUrl: 'https://vue.ruoyi.vip/prod-api', // baseUrl: 'https://vue.ruoyi.vip/prod-api',
// baseUrl: 'http://47.93.242.168:8080', // baseUrl: 'http://47.93.242.168:8080',
// baseUrl: 'http://47.93.242.168:8080', baseUrl: 'http://47.93.242.168:8080',
baseUrl: 'http://localhost:8080', // baseUrl: 'http://localhost:8080',
// baseUrl: 'http://47.93.242.168:8080', // baseUrl: 'http://47.93.242.168:8080',
// 应用信息 // 应用信息
appInfo: { appInfo: {

View File

@ -337,8 +337,6 @@ align-items: center;
.text { .text {
font-weight: 400; font-weight: 400;
width: 60rpx;
height: 20rpx;
font-size: 20rpx; font-size: 20rpx;
text-align: center; text-align: center;
color: #00CCBE; color: #00CCBE;

View File

@ -145,7 +145,7 @@ const leftClick = () => {
.dictAuto { .dictAuto {
margin: 4rpx auto; margin: 4rpx auto;
margin-bottom: 200rpx; margin-bottom: 400rpx;
.state1 { .state1 {
width: 686rpx; width: 686rpx;
height: 80rpx; height: 80rpx;

View File

@ -115,11 +115,13 @@ const uploadFilePromise = async (fileInfo1, name) => {
} }
fileInfo.name = fileNameOld[0] + "_" + store.state.user.phoneType + "_" + name; fileInfo.name = fileNameOld[0] + "_" + store.state.user.phoneType + "_" + name;
let extension1 = fileInfo1.url.split('.'); let extension1 = fileInfo1.url.split('.');
// h5 // h5
if (extension1[1] == null) { if (extension1[1] == null) {
extension1[1] = fileNameOld[1]; extension1[1] = fileNameOld[1];
} }
//typevideo/mp4type
fileInfo.type = fileInfo1.type + "/" + extension1[1]; fileInfo.type = fileInfo1.type + "/" + extension1[1];
fileInfo.extension = extension1[1]; fileInfo.extension = extension1[1];
try { try {
@ -134,13 +136,8 @@ const uploadFilePromise = async (fileInfo1, name) => {
throw error; throw error;
} }
}; };
//
const uploadQN = (file) => { const uploadQN = (file) => {
// if (store.state.user.phoneType === 'mp-weixin') {
// return uploadQN1(file.url);
// } else {
// return uploadQN2(file);
// }
return uploadQN1(file.url); return uploadQN1(file.url);
}; };
// //

View File

@ -89,7 +89,7 @@ import { useStore } from 'vuex';
const { proxy } = getCurrentInstance(); const { proxy } = getCurrentInstance();
const store = useStore(); const store = useStore();
const fileTypeInfo1 = ref("image") const fileTypeInfo1 = ref("image")
const fileTypeInfo2 = ref("file") const fileTypeInfo2 = ref("video")
const QNDomain = store.state.user.QNDomain const QNDomain = store.state.user.QNDomain
const current = ref(0) const current = ref(0)
const swiperDotIndex = ref(0) const swiperDotIndex = ref(0)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB