app权限增加,页面样式优化
This commit is contained in:
parent
016a3fa641
commit
2ded2f4034
|
|
@ -40,12 +40,22 @@
|
||||||
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
|
||||||
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
"<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打包配置 */
|
||||||
"ios" : {
|
"ios" : {
|
||||||
"dSYMs" : false
|
"dSYMs" : false,
|
||||||
|
"permissions" : {
|
||||||
|
"camera" : {
|
||||||
|
"description" : "需要相机权限拍照"
|
||||||
|
},
|
||||||
|
"photo-library" : {
|
||||||
|
"description" : "需要相册权限选择照片"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
/* SDK配置 */
|
/* SDK配置 */
|
||||||
"sdkConfigs" : {},
|
"sdkConfigs" : {},
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@
|
||||||
<!-- 文字内容 -->
|
<!-- 文字内容 -->
|
||||||
</view>
|
</view>
|
||||||
<view class="text-content">
|
<view class="text-content">
|
||||||
<view style="position: absolute">
|
<view style="position: absolute; left: 0; top: -8rpx"">
|
||||||
<up-button
|
<up-button
|
||||||
size="mini"
|
size="mini"
|
||||||
text="建设前"
|
text="建设前"
|
||||||
|
|
@ -71,7 +71,7 @@ uni-app是基Vuejs,Vue和View(延伸为UI、视图之意)同音,同时view
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="text-content">
|
<view class="text-content">
|
||||||
<view style="position: absolute">
|
<view style="position: absolute; left: 0; top: -8rpx"">
|
||||||
<up-button
|
<up-button
|
||||||
size="mini"
|
size="mini"
|
||||||
text="建设中"
|
text="建设中"
|
||||||
|
|
@ -98,7 +98,7 @@ uni-app是基Vuejs,Vue和View(延伸为UI、视图之意)同音,同时view
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="text-content">
|
<view class="text-content">
|
||||||
<view style="position: absolute">
|
<view style="position: absolute; left: 0; top: -8rpx">
|
||||||
<up-button
|
<up-button
|
||||||
size="mini"
|
size="mini"
|
||||||
text="恢复后"
|
text="恢复后"
|
||||||
|
|
@ -183,7 +183,7 @@ const onClickSwiper = (e) => {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.upload-record {
|
.upload-record {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-top: 50px;
|
padding-top: 54px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: #f6f9ff;
|
background-color: #f6f9ff;
|
||||||
.container {
|
.container {
|
||||||
|
|
|
||||||
|
|
@ -126,7 +126,7 @@ const onClickSwiper = (e) => {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.upload-record {
|
.upload-record {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-top: 50px;
|
padding-top: 54px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: #f6f9ff;
|
background-color: #f6f9ff;
|
||||||
.container {
|
.container {
|
||||||
|
|
|
||||||
|
|
@ -117,14 +117,17 @@ const onSubmitLogin = debounce(() => {
|
||||||
.validate()
|
.validate()
|
||||||
.then(async (valid) => {
|
.then(async (valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
console.log(
|
// uni.$u.toast('登录成功')
|
||||||
'%c🔍 登录请求入参 %c',
|
// setTimeout(() => {
|
||||||
'background: linear-gradient(90deg, #FF6B6B, #4ECDC4); color: white; padding: 5px 10px; border-radius: 5px; font-weight: bold;',
|
// uni.switchTab({ url: '/pages/workbenches/index' })
|
||||||
'',
|
// }, 500)
|
||||||
opinionModel.value,
|
|
||||||
)
|
|
||||||
|
|
||||||
try {
|
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)
|
const res = await loginApi(opinionModel.value)
|
||||||
console.log(
|
console.log(
|
||||||
'%c🔍 登录请求出参 %c',
|
'%c🔍 登录请求出参 %c',
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ const onClickSwiper = (e) => {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.upload-record {
|
.upload-record {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-top: 50px;
|
padding-top: 54px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: #f6f9ff;
|
background-color: #f6f9ff;
|
||||||
.container {
|
.container {
|
||||||
|
|
|
||||||
|
|
@ -126,7 +126,7 @@ const onClickSwiper = (e) => {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.upload-record {
|
.upload-record {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-top: 50px;
|
padding-top: 54px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: #f6f9ff;
|
background-color: #f6f9ff;
|
||||||
.container {
|
.container {
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@ const onHandleBackTop = () => {}
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.upload-record {
|
.upload-record {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-top: 50px;
|
padding-top: 54px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: #f6f9ff;
|
background-color: #f6f9ff;
|
||||||
.container {
|
.container {
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import { cloneDeep } from 'lodash-es' // 引入深拷贝函数
|
||||||
* baseURL 设置请求ip地址和端口
|
* baseURL 设置请求ip地址和端口
|
||||||
*/
|
*/
|
||||||
const ENV = process.env.NODE_ENV
|
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 请求
|
* httpInterceptor 分别拦截 request 和 uploadFile 请求
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue