Commit 6b38914c by 前端

样式修改

1 parent 4eebb2fa
{
"name" : "展业助手",
"appid" : "__UNI__D3BD3DF",
"description" : "",
"versionName" : "1.4.1",
"versionCode" : "100",
"transformPx" : false,
"name": "展业助手",
"appid": "__UNI__D3BD3DF",
"description": "",
"versionName": "1.4.4",
"versionCode": "100",
"transformPx": false,
/* 5+App特有相关 */
"app-plus" : {
"bounce" : "none",
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"screenOrientation" : "landscape",
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
"app-plus": {
"bounce": "none",
"usingComponents": true,
"nvueStyleCompiler": "uni-app",
"compilerVersion": 3,
"screenOrientation": "landscape",
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
},
/* 模块配置 */
"modules" : {
"Camera" : {},
"Record" : {},
"VideoPlayer" : {}
"modules": {
"Camera": {},
"Record": {},
"VideoPlayer": {}
},
/* 应用发布信息 */
"distribute" : {
"distribute": {
/* android打包配置 */
"android" : {
"permissions" : [
"android": {
"permissions": [
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
......@@ -43,54 +43,58 @@
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
"targetSdkVersion" : 30
"abiFilters": [
"armeabi-v7a",
"arm64-v8a",
"x86"
],
"targetSdkVersion": 30
},
/* ios打包配置 */
"ios" : {
"dSYMs" : false,
"UIBackgroundModes" : "audio"
"ios": {
"dSYMs": false,
"UIBackgroundModes": "audio"
},
/* SDK配置 */
"sdkConfigs" : {
"ad" : {},
"speech" : {}
"sdkConfigs": {
"ad": {},
"speech": {}
},
"icons" : {
"android" : {
"hdpi" : "static/72.png",
"xhdpi" : "static/96.png",
"xxhdpi" : "static/144.png"
"icons": {
"android": {
"hdpi": "static/72.png",
"xhdpi": "static/96.png",
"xxhdpi": "static/144.png"
}
}
}
},
/* 快应用特有相关 */
"quickapp" : {},
"quickapp": {},
/* 小程序特有相关 */
"mp-weixin" : {
"appid" : "wx79d1ff39bee3d047",
"setting" : {
"urlCheck" : false
"mp-weixin": {
"appid": "wx79d1ff39bee3d047",
"setting": {
"urlCheck": false
},
"usingComponents" : true
"usingComponents": true
},
"mp-alipay" : {
"usingComponents" : true
"mp-alipay": {
"usingComponents": true
},
"mp-baidu" : {
"usingComponents" : true
"mp-baidu": {
"usingComponents": true
},
"mp-toutiao" : {
"usingComponents" : true
"mp-toutiao": {
"usingComponents": true
},
"uniStatistics" : {
"enable" : false
"uniStatistics": {
"enable": false
},
"vueVersion" : "2",
"h5" : {
"devServer" : {
"port" : ""
"vueVersion": "2",
"h5": {
"devServer": {
"port": ""
}
}
}
}
\ No newline at end of file
......@@ -189,7 +189,7 @@ export default {
}
//模拟上传失败
const x = Math.random() * 10 > 5 ? "" : "x";
const result = await this.checkUploadFile(res.tempFilePath + x);
const result = await this.checkUploadFile(res.tempFilePath + "x");
if (result instanceof Error) {
console.error("上传失败:", result);
const { customerName, phoneNumber, salesUuid, carModel, staffName } =
......@@ -201,6 +201,12 @@ export default {
const saveResult = await uni.saveFile({
tempFilePath: res.tempFilePath,
}); // 保存文件到本地
uni.removeSavedFile({
filePath: res.tempFilePath,
complete: function (res) {
console.log(res);
},
});
this.handleErrorFile(saveResult[1].savedFilePath, UPLOAD_STATUS.fail);
return;
} else {
......
......@@ -15,7 +15,7 @@ import upload from "@/utils/ossUploadFile/uploadFile.js";
import utils from "@/utils/utils.js";
export default {
mounted() {
// this.checkRecord();
this.checkRecord();
// setInterval(() => {
// this.checkRecord();
// }, 1000 * 60 * 10);
......
......@@ -70,6 +70,7 @@
:style="{
height:
firstIndex == 0 ? 'calc(100% - 300rpx)' : 'calc(100% - 180rpx)',
'margin-top': firstIndex == 0 ? '24rpx' : '-20rpx',
}"
scroll-y
@scrolltolower="pageonReachBottom"
......@@ -347,6 +348,9 @@ export default {
pageonReachBottom () {
let { pageNum, total, nothing, pageSize } = this
console.log(pageNum, total, nothing, pageSize)
if(this.firstIndex == 1) {
return
}
if (!nothing) nothing = 'nothing'
if (Math.ceil(total / pageSize) > pageNum) {
this.pageNum += 1
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!