app权限增加,页面样式优化

This commit is contained in:
BianLzhaoMin 2025-04-02 18:15:42 +08:00
parent 016a3fa641
commit 2ded2f4034
8 changed files with 31 additions and 18 deletions

View File

@ -40,12 +40,22 @@
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\"/>",
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>"
]
},
/* ios */
"ios" : {
"dSYMs" : false
"dSYMs" : false,
"permissions" : {
"camera" : {
"description" : "需要相机权限拍照"
},
"photo-library" : {
"description" : "需要相册权限选择照片"
}
}
},
/* SDK */
"sdkConfigs" : {},

View File

@ -44,7 +44,7 @@
<!-- 文字内容 -->
</view>
<view class="text-content">
<view style="position: absolute">
<view style="position: absolute; left: 0; top: -8rpx"">
<up-button
size="mini"
text="建设前"
@ -71,7 +71,7 @@ uni-app是基VuejsVue和View(延伸为UI、视图之意)同音同时view
</view>
</view>
<view class="text-content">
<view style="position: absolute">
<view style="position: absolute; left: 0; top: -8rpx"">
<up-button
size="mini"
text="建设中"
@ -98,7 +98,7 @@ uni-app是基VuejsVue和View(延伸为UI、视图之意)同音同时view
</view>
</view>
<view class="text-content">
<view style="position: absolute">
<view style="position: absolute; left: 0; top: -8rpx">
<up-button
size="mini"
text="恢复后"
@ -183,7 +183,7 @@ const onClickSwiper = (e) => {
<style lang="scss" scoped>
.upload-record {
height: 100%;
padding-top: 50px;
padding-top: 54px;
box-sizing: border-box;
background-color: #f6f9ff;
.container {

View File

@ -126,7 +126,7 @@ const onClickSwiper = (e) => {
<style lang="scss" scoped>
.upload-record {
height: 100%;
padding-top: 50px;
padding-top: 54px;
box-sizing: border-box;
background-color: #f6f9ff;
.container {

View File

@ -117,14 +117,17 @@ const onSubmitLogin = debounce(() => {
.validate()
.then(async (valid) => {
if (valid) {
console.log(
'%c🔍 登录请求入参 %c',
'background: linear-gradient(90deg, #FF6B6B, #4ECDC4); color: white; padding: 5px 10px; border-radius: 5px; font-weight: bold;',
'',
opinionModel.value,
)
// uni.$u.toast('')
// setTimeout(() => {
// uni.switchTab({ url: '/pages/workbenches/index' })
// }, 500)
try {
console.log(
'%c🔍 登录请求入参 %c',
'background: linear-gradient(90deg, #FF6B6B, #4ECDC4); color: white; padding: 5px 10px; border-radius: 5px; font-weight: bold;',
'',
opinionModel.value,
)
const res = await loginApi(opinionModel.value)
console.log(
'%c🔍 登录请求出参 %c',

View File

@ -127,7 +127,7 @@ const onClickSwiper = (e) => {
<style lang="scss" scoped>
.upload-record {
height: 100%;
padding-top: 50px;
padding-top: 54px;
box-sizing: border-box;
background-color: #f6f9ff;
.container {

View File

@ -126,7 +126,7 @@ const onClickSwiper = (e) => {
<style lang="scss" scoped>
.upload-record {
height: 100%;
padding-top: 50px;
padding-top: 54px;
box-sizing: border-box;
background-color: #f6f9ff;
.container {

View File

@ -143,7 +143,7 @@ const onHandleBackTop = () => {}
<style lang="scss" scoped>
.upload-record {
height: 100%;
padding-top: 50px;
padding-top: 54px;
box-sizing: border-box;
background-color: #f6f9ff;
.container {

View File

@ -8,7 +8,7 @@ import { cloneDeep } from 'lodash-es' // 引入深拷贝函数
* baseURL 设置请求ip地址和端口
*/
const ENV = process.env.NODE_ENV
const baseURL = ENV === 'development' ? '/api' : '/proxyApi'
const baseURL = ENV === 'development' ? '/api' : 'http://192.168.0.133:11997'
/**
* httpInterceptor 分别拦截 request uploadFile 请求
*/