syt 6 days ago
parent c4478f3939
commit d4f9c0cf97
  1. 63
      pages/users/feedback/add.vue
  2. 64
      pages/users/feedback/index.vue
  3. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/apple-mobileprovision.mobileprovision
  4. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/apple-private.p12
  5. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/appstore.png
  6. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/google-keystore.keystore
  7. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-android-hdpi.png
  8. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-android-xhdpi.png
  9. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-android-xxhdpi.png
  10. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-android-xxxhdpi.png
  11. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-ipad-app.png
  12. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-ipad-app@2x.png
  13. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-ipad-notification.png
  14. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-ipad-notification@2x.png
  15. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-ipad-proapp@2x.png
  16. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-ipad-settings.png
  17. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-ipad-settings@2x.png
  18. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-ipad-spotlight.png
  19. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-ipad-spotlight@2x.png
  20. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-iphone-app@2x.png
  21. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-iphone-app@3x.png
  22. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-iphone-notification@2x.png
  23. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-iphone-notification@3x.png
  24. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-iphone-settings@2x.png
  25. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-iphone-settings@3x.png
  26. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-iphone-spotlight@2x.png
  27. BIN
      unpackage/cache/wgt/__UNI__7C06BEE/.manifest/icon-iphone-spotlight@3x.png
  28. 6
      unpackage/cache/wgt/__UNI__7C06BEE/app-service.js
  29. 6
      unpackage/cache/wgt/__UNI__7C06BEE/app-view.js
  30. 2
      unpackage/cache/wgt/__UNI__7C06BEE/manifest.json
  31. 2
      unpackage/cache/wgt/__UNI__7C06BEE/pages/pipei/shipin/detail.js
  32. 2
      unpackage/cache/wgt/__UNI__7C06BEE/pages/users/renzheng/camera.js
  33. BIN
      unpackage/debug/android_debug.apk
  34. 50
      unpackage/dist/build/app-plus/__uniappview.html
  35. 6
      unpackage/dist/build/app-plus/app-service.js
  36. 6
      unpackage/dist/build/app-plus/app-view.js
  37. 2
      unpackage/dist/build/app-plus/pages/pipei/shipin/detail.js
  38. 2
      unpackage/dist/build/app-plus/pages/users/renzheng/camera.js
  39. 4790
      unpackage/dist/dev/app-plus/app-service.js
  40. 8776
      unpackage/dist/dev/app-plus/app-view.js
  41. 238
      unpackage/dist/dev/app-plus/pages/pipei/shipin/detail.js
  42. 108
      unpackage/dist/dev/app-plus/pages/users/renzheng/camera.js

@ -28,7 +28,7 @@
<image class="pic" :src="a"></image>
<image class="del" @click="toDel(i)" src="@/static/fabu-cha.png"></image>
</view>
<view class="upload" @click="uploadImg()">
<view class="upload" @click="chooseAvatar()">
<image class="pic" src="@/static/fankui-tianjia.png"></image>
<view class="txt">上传图片</view>
</view>
@ -56,15 +56,22 @@
<view class="title">反馈提交成功</view>
<view class="btn" @click="show = false">我知道了</view>
</view>
</u-popup>
<u-popup v-model="show1" mode="top" :mask-close-able='false' :zIndex="5">
<view class="permissions_box">
当您使用APP时为了提供图片上传的功能我们需要申请相机/存储权限
</view>
</u-popup>
</view>
</template>
<script>
<script>
import permision from "@/js_sdk/wa-permission/permission.js"
export default {
data() {
return {
show: false,
show: false,
show1: false,
imgurl: [],
content: "",
tabIndex: 1,
@ -73,6 +80,56 @@
};
},
methods: {
recorderAuthModal: function () {
const that = this;
uni.showModal({
title: '温馨提示',
content: '为了提供图片上传的功能,我们需要申请相机/存储权限,请您确认授权,否则无法使用该功能~',
cancelText: '关闭',
confirmText: '去授权',
success(res) {
that.show1=false
if (res.confirm) {
permision.gotoAppPermissionSetting()
}
}
})
},
chooseAvatar() {
const that = this;
// APP
if(uni.getSystemInfoSync().platform == 'android') {
plus.android.checkPermission(
'android.permission.WRITE_EXTERNAL_STORAGE',
granted => {
if (granted.checkResult==-1){
that.show1=true
}else{
that.show1=false
// uView"-JS"uniuni.navigateTo
that.uploadImg();
}
},
error => {
console.error('Error checking permission:', error.message);
}
);
that.requestAndroidPermission('android.permission.WRITE_EXTERNAL_STORAGE')
return ;
}
that.uploadImg();
},
async requestAndroidPermission(permisionID) {
const that = this;
var result = await permision.requestAndroidPermission(permisionID);
if(result != 1){
that.recorderAuthModal();
}else{
that.show1=false
// uView"-JS"uniuni.navigateTo
that.uploadImg();
}
},
toPage() {
uni.navigateTo({
url: "/pages/users/feedback/list"

@ -39,7 +39,7 @@
<image class="pic" :src="a"></image>
<image class="del" @click="toDel(i)" src="@/static/fabu-cha.png"></image>
</view>
<view class="upload" @click="uploadImg()">
<view class="upload" @click="chooseAvatar()">
<image class="pic" src="@/static/fankui-tianjia.png"></image>
<view class="txt">上传图片</view>
</view>
@ -55,15 +55,23 @@
<view class="title">提交成功</view>
<view class="btn" @click="show = false">我知道了</view>
</view>
</u-popup>
<u-popup v-model="show1" mode="top" :mask-close-able='false' :zIndex="5">
<view class="permissions_box">
当您使用APP时为了提供图片上传的功能我们需要申请相机/存储权限
</view>
</u-popup>
</view>
</template>
<script>
<script>
import permision from "@/js_sdk/wa-permission/permission.js"
export default {
data() {
return {
show: false,
show1: false,
imgurl: [],
content: "",
reportUserId: "",
@ -78,7 +86,57 @@
this.id = o.id;
this.uid = o.uid;
},
methods: {
methods: {
recorderAuthModal: function () {
const that = this;
uni.showModal({
title: '温馨提示',
content: '为了提供图片上传的功能,我们需要申请相机/存储权限,请您确认授权,否则无法使用该功能~',
cancelText: '关闭',
confirmText: '去授权',
success(res) {
that.show1=false
if (res.confirm) {
permision.gotoAppPermissionSetting()
}
}
})
},
chooseAvatar() {
const that = this;
// APP
if(uni.getSystemInfoSync().platform == 'android') {
plus.android.checkPermission(
'android.permission.WRITE_EXTERNAL_STORAGE',
granted => {
if (granted.checkResult==-1){
that.show1=true
}else{
that.show1=false
// uView"-JS"uniuni.navigateTo
that.uploadImg();
}
},
error => {
console.error('Error checking permission:', error.message);
}
);
that.requestAndroidPermission('android.permission.WRITE_EXTERNAL_STORAGE')
return ;
}
that.uploadImg();
},
async requestAndroidPermission(permisionID) {
const that = this;
var result = await permision.requestAndroidPermission(permisionID);
if(result != 1){
that.recorderAuthModal();
}else{
that.show1=false
// uView"-JS"uniuni.navigateTo
that.uploadImg();
}
},
//
uploadImg() {
const that = this

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

@ -1,25 +1,25 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<script>
var __UniViewStartTime__ = Date.now();
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title>View</title>
<link rel="stylesheet" href="view.css" />
</head>
<body>
<div id="app"></div>
<script src="__uniappes6.js"></script>
<script src="view.umd.min.js"></script>
<script src="app-view.js"></script>
</body>
</html>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<script>
var __UniViewStartTime__ = Date.now();
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title>View</title>
<link rel="stylesheet" href="view.css" />
</head>
<body>
<div id="app"></div>
<script src="__uniappes6.js"></script>
<script src="view.umd.min.js"></script>
<script src="app-view.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save