Commit 42d509b0 authored by ly's avatar ly

多典花强更

parent 43861929
......@@ -12,16 +12,25 @@
this.loadLocation();
this.loadUuid()
}
let versionNumber
plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo){
if(wgtinfo.version){
versionNumber = wgtinfo.version;
}else{
versionNumber = plus.runtime.version;
// let versionNumber
// plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo){
// if(wgtinfo.version){
// versionNumber = wgtinfo.version;
// }else{
// versionNumber = plus.runtime.version;
// }
// uni.setStorageSync('version',versionNumber)
// })
// 手机型号
uni.getSystemInfo({
success:function(res) {
// console.log(res,'model')
uni.setStorageSync('modelApp',res.deviceBrand)
uni.setStorageSync('version',res.appVersion)
}
uni.setStorageSync('version',versionNumber)
})
// 强制竖屏
plus.screen.lockOrientation("portrait-primary")
......
No preview for this file type
......@@ -7,16 +7,27 @@
<view class="rocket-content">
<view class="rocket-img"></view>
</view>
<view class="content-v-des">
<view class="content-v">v{{ appUpgeadeObj.versionName }}</view>
<view class='content-text'>发现新版本</view>
<view class="title">
发现新版本
<!-- 更新内容 -->
<scroll-view class="info_desc_scroll" scroll-y="true">
<rich-text class='scroll-text' :nodes="appUpgeadeObj.content"></rich-text>
</scroll-view>
</view>
</view>
<view class="update-content">
<text space="nbsp">{{appUpgeadeObj.updateContent}}</text>
</view>
<view v-if="updateButtonBoolean" class="update-button">
<button class="not-updated-button" :disabled="noUpdatedDisabled"
v-if="appUpgeadeObj.forceUpdate == false" type="warn" @tap.stop="noUpdate">暂不更新</button>
<button class="updated-button" type="warn" @tap.stop="upgradeNow">立即升级</button>
v-show="appUpgeadeObj.forceUpdate == false" type="warn" @tap.stop="noUpdate">暂不更新</button>
<button v-show='appUpgeadeObj.type == "ANDROID"' class="updated-button" type="warn" @tap.stop="upgradeNowAndroid">立即升级</button>
<button v-show='appUpgeadeObj.type == "IOS"' class="updated-button" type="warn" @tap.stop="upgradeNow">立即升级</button>
</view>
<!-- v-if="progressBolean" -->
<!-- {{progressBolean}} -->
......@@ -52,8 +63,7 @@
},
progressBolean: false, // 进度条的显示和隐藏
noUpdatedDisabled: false,
// viewTop: null, // 创建原生View控件
// viewBottom: null // 创建原生View控件
isWGT:false,// 是否wgt资源包
};
},
......@@ -89,11 +99,30 @@
},
// 立即升级事件
upgradeNow() {
this.noUpdatedDisabled = true
const that = this
that.noUpdatedDisabled = true
let platform = uni.getSystemInfoSync().platform
that.isWGT=that.appUpgeadeObj.type == 'wgt'
const index = that.appUpgeadeObj.downloadUrl.indexOf('apps.apple.com')
console.log(that.isWGT,'that.isWGT3333')
if(that.isWGT!=true){
that.updateWgt(that.appUpgeadeObj.downloadUrl,that.appUpgeadeObj.downloadUrl.versionName)
}else{
if (platform == 'ios' && index !== -1) return plus.runtime.openURL(that.appUpgeadeObj.downloadUrl);
}
},
upgradeNowAndroid(){
let that = this
that.noUpdatedDisabled = true
let platform = uni.getSystemInfoSync().platform
const index = this.appUpgeadeObj.downloadUrl.indexOf('apps.apple.com')
if (platform == 'ios' && index !== -1) return plus.runtime.openURL(this.appUpgeadeObj.downloadUrl);
const index = that.containsApkExtension(this.appUpgeadeObj.downloadUrl)
that.isWGT=that.appUpgeadeObj.type == 'wgt'
if(that.isWGT==true){
that.updateWgt(that.appUpgeadeObj.downloadUrl,that.appUpgeadeObj.downloadUrl.versionName)
}else{
if(index==true){
plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
var downloadTask = uni.downloadFile({
url: that.appUpgeadeObj.downloadUrl,
......@@ -121,6 +150,72 @@
this.progressData.percent = res.progress
});
})
}else{
console.log(333,'indexw')
//跳转到应用商店
let appurl = "market://details?id=io.dcloud.ddh"
plus.runtime.openURL(appurl)
}
}
},
//wgt更新
updateWgt(downloadUrl,newVersion){
uni.showModal({
title: '已发现新版本',
content: '确认更新?',
showCancel: false,
success:function(res){
uni.setStorageSync('checkVersions',newVersion)
if(res.confirm){
uni.downloadFile({
url: downloadUrl,
success: (downloadResult) => {
plus.runtime.install(downloadResult.tempFilePath,{force: true},function(){
//应用热重启,重新启动进入首页
plus.runtime.restart();
uni.showModal({
title: '安装成功!',
content: '已重新进入应用',
showCancel: false,
success:function(res){
if(res.confirm){
console.log('用户点击确定');
}else if(res.cancel){
console.log('用户点击确定');
}
}
})
},
function(e){
console.log(e,'安装失败')
uni.showModal({
title: '安装失败',
icon: 'none'
})
})
},
fail: (err) => {
uni.showToast({
title: '下载失败',
icon: 'none'
})
}
})
}else if(res.cancel){
uni.showToast({
title: '已取消',
icon: 'none'
})
}
}
})
},
containsApkExtension(url) {
return /\.apk$/i.test(url);
}
}
};
......@@ -155,15 +250,45 @@
left: 225rpx;
}
}
.content-v-des{
position: absolute;
left: 40rpx;
top: 30rpx;
z-index: 3;
.content-v{
font-size: 75rpx;
color:#FFFFFF;
}
.content-text{
padding-top: 20rpx;
font-family: PingFangSC, PingFang SC;
font-size: 42rpx;
color:#333333;
}
.title {
margin-top:20rpx;
display: flex;
justify-content: center;
font-size: 36rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #282828;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 16px;
color: #999999;
line-height: 28px;
text-align: left;
font-style: normal;
.info_desc_scroll{
width: 450rpx;
height: 200rpx;
box-sizing: border-box;
line-height: 1.3;
.scroll-text{
padding-bottom:6rpx;
}
}
}
}
.update-content {
margin-top: 44rpx;
......
......@@ -226,42 +226,6 @@ export default {
uni.removeStorageSync('userLastRefuseTime');
}
}
// const checkVersion=uni.getStorageSync('appVersion-info')
// if (!checkVersion.is_silently) {
// // 读取下载好的包的缓存
// const appDownLoadTempFilePath = uni.getStorageSync('appDownLoadTempFilePath');
// // 更新的版本号
// this.version = checkVersion.versionName;
// // 系统环境
// this.platform = checkVersion.platform;
// // 网络下载地址
// this.url = checkVersion.downloadUrl;
// // 跳转的应用市场列表
// this.storeList = checkVersion.store_list || [];
// // 更新内容
// this.content = checkVersion.versionInfo && this.getContentHTML(checkVersion.versionInfo);
// // 更新标题
// this.title = checkVersion.title || '发现新版本';
// // 是否强制更新
// this.isForceUpdata = checkVersion.forceUpdate;
// // 是否wgt资源包
// this.isWGT = checkVersion.type == 'wgt';
// // 如果已经有下载好的包
// if (appDownLoadTempFilePath && this.compare(this.version, uni.getStorageSync(
// 'appDownLoadTempFilePathVersion')) == 0) {
// this.tempFilePath = appDownLoadTempFilePath;
// this.downloadSuccess = true;
// this.installForBeforeFilePath = appDownLoadTempFilePath;
// } else {
// uni.clearStorageSync('appDownLoadTempFilePath');
// uni.clearStorageSync('appDownLoadTempFilePathVersion');
// }
// // 打开更新提示
// this.$refs.popup.open();
// }
// 检查版本 需要更新时才会触发回调
checkVersion().then((res) => {
// 非静默更新时触发
......
......@@ -170,16 +170,23 @@
const self=this
uni.getSystemInfo({
success: (res) => {
console.log(res.appVersion,'dddd')
const appVersion=res.appVersion
let platform = res.platform;
// 获取本机版本号
let type;
platform === "android" ? (type = "ANDROID") : (type = "IOS");
self.$request(`/pawn/setting/other/appVersion/${type}`,'GET').then(res => {
if (res.success==true) {
const response = res.result.data;
console.log(response,'response')
console.log(appVersion,'appVersion')
if(appVersion<response.versionName){
self.appUpgeadeObj=response
}
console.log(response,'response')
}
})
}
})
......@@ -241,8 +248,17 @@
this.Go('uni:/pages/login/login')
}else{
const { tager }=item
console.log(tager)
if(tager.split(',')[1]=='tab'){
console.log(1)
this.Go('uni:/pages/finance/index','tab')
}else{
console.log(2)
this.Go(tager)
}
}
},
goUP(val){
console.log(val,'val33')
......
......@@ -2,7 +2,7 @@
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/index/index","pages/sort/index","pages/my/index","pages/recruit/index","pages/recruitResult/index","pages/category/category","pages/application/application","pages/myneed/myneed","pages/Ineed/Ineed","pages/productDetails/productDetails","pages/detailResult/detailResult","pages/useFeed/useFeed","pages/lookGoods/lookGoods","pages/login/login","pages/prolist/prolist","pages/setting/setting","pages/contact/contact","pages/webview/webview","pages/web/web","pages/bill/indexs","pages/finance/index","pages/app-update/index","pages/agreement/index"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#FFFFFF","backgroundColor":"#F8F8F8","bounce":"none"},"tabBar":{"borderStyle":"white","color":"#BBBBBB","selectedColor":"#2263E6","iconWidth":"24px","height":"52px","fontSize":"12px","list":[{"pagePath":"pages/index/index","iconPath":"/static/tab/indexfh.png","selectedIconPath":"/static/tab/indexf.png","text":"首页"},{"pagePath":"pages/finance/index","iconPath":"/static/tab/index-h.png","selectedIconPath":"/static/tab/index.png","text":"贷款"},{"pagePath":"pages/bill/indexs","iconPath":"/static/tab/billh.png","selectedIconPath":"/static/tab/bill.png","text":"账单"},{"pagePath":"pages/my/index","iconPath":"/static/tab/my-h.png","selectedIconPath":"/static/tab/my.png","text":"我的"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"多典花","compilerVersion":"4.24","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":false,"navigationStyle":"custom","bounce":"none"}},{"path":"/pages/sort/index","meta":{},"window":{"navigationBarTitleText":"款式"}},{"path":"/pages/my/index","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":true,"navigationStyle":"custom"}},{"path":"/pages/recruit/index","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"鉴定师招聘"}},{"path":"/pages/recruitResult/index","meta":{},"window":{"enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/category/category","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"选择鉴定品类"}},{"path":"/pages/application/application","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"我的鉴定申请"}},{"path":"/pages/myneed/myneed","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"我需要的"}},{"path":"/pages/Ineed/Ineed","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"我需要"}},{"path":"/pages/productDetails/productDetails","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"商品详情"}},{"path":"/pages/detailResult/detailResult","meta":{},"window":{"enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/useFeed/useFeed","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"用户反馈"}},{"path":"/pages/lookGoods/lookGoods","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":""}},{"path":"/pages/login/login","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"登录"}},{"path":"/pages/prolist/prolist","meta":{},"window":{"navigationBarTitleText":"相关协议"}},{"path":"/pages/setting/setting","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"设置"}},{"path":"/pages/contact/contact","meta":{},"window":{"navigationBarTitleText":"通讯录","enablePullDownRefresh":false}},{"path":"/pages/webview/webview","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":""}},{"path":"/pages/web/web","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":""}},{"path":"/pages/bill/indexs","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"账单"}},{"path":"/pages/finance/index","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":true,"navigationStyle":"custom"}},{"path":"/pages/app-update/index","meta":{},"window":{"disableScroll":true,"backgroundColorTop":"transparent","background":"transparent","titleNView":false,"scrollIndicator":false,"animationType":"fade-in","animationDuration":200,"disableSwipeBack":true}},{"path":"/pages/agreement/index","meta":{},"window":{"navigationStyle":"custom","navigationBarTitleText":"","enablePullDownRefresh":false,"bounce":"none","animationType":"fade-in","background":"transparent","backgroundColor":"rgba(0,0,0,0)","webviewBGTransparent":true,"mask":"none"}}];
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":false,"navigationStyle":"custom","bounce":"none"}},{"path":"/pages/sort/index","meta":{},"window":{"navigationBarTitleText":"款式"}},{"path":"/pages/my/index","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":true,"navigationStyle":"custom"}},{"path":"/pages/recruit/index","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"鉴定师招聘"}},{"path":"/pages/recruitResult/index","meta":{},"window":{"enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/category/category","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"选择鉴定品类"}},{"path":"/pages/application/application","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"我的鉴定申请"}},{"path":"/pages/myneed/myneed","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"我需要的"}},{"path":"/pages/Ineed/Ineed","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"我需要"}},{"path":"/pages/productDetails/productDetails","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"商品详情"}},{"path":"/pages/detailResult/detailResult","meta":{},"window":{"enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/useFeed/useFeed","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"用户反馈"}},{"path":"/pages/lookGoods/lookGoods","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":""}},{"path":"/pages/login/login","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"登录"}},{"path":"/pages/prolist/prolist","meta":{},"window":{"navigationBarTitleText":"相关协议"}},{"path":"/pages/setting/setting","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"设置"}},{"path":"/pages/contact/contact","meta":{},"window":{"navigationBarTitleText":"通讯录","enablePullDownRefresh":false}},{"path":"/pages/webview/webview","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":""}},{"path":"/pages/web/web","meta":{},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":""}},{"path":"/pages/bill/indexs","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"账单"}},{"path":"/pages/finance/index","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":true,"navigationStyle":"custom"}},{"path":"/pages/app-update/index","meta":{},"window":{"navigationStyle":"custom","navigationBarTitleText":"","enablePullDownRefresh":false,"bounce":"none","animationType":"fade-in","background":"transparent","backgroundColor":"rgba(0,0,0,0)","webviewBGTransparent":true,"mask":"none"}},{"path":"/pages/agreement/index","meta":{},"window":{"navigationStyle":"custom","navigationBarTitleText":"","enablePullDownRefresh":false,"bounce":"none","animationType":"fade-in","background":"transparent","backgroundColor":"rgba(0,0,0,0)","webviewBGTransparent":true,"mask":"none"}}];
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__DE04B13","name":"多典花","version":{"name":"1.0.1","code":101},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Camera":{},"Geolocation":{},"Contacts":{},"Barcode":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"none","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#FFFFFF"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"safearea":{"bottom":{"offset":"none"}},"distribute":{"distribute":{"orientation":["portrait-primary"]},"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"useOriginalMsgbox":true,"androidStyle":"common"},"google":{"permissions":["<uses-feature android:name=\"android.hardware.camera\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.INTERNET\"/>","<uses-permission android:name=\"android.permission.INSTALL_PACKAGES\"/> ","<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\" />","<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>","<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"targetSdkVersion":30,"abiFilters":["armeabi-v7a","arm64-v8a","x86"],"permissionExternalStorage":{"request":"none","prompt":"应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"},"permissionPhoneState":{"request":"none","prompt":"为保证您正常、安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许"}},"apple":{"dSYMs":false,"privacyDescription":{"NSLocationWhenInUseUsageDescription":"为保护您账户安全,便于为您提供所在区域专属产品和服务,请您开启定位权限","NSLocationAlwaysUsageDescription":"为保护您账户安全,便于为您提供所在区域专属产品和服务,请您开启定位权限","NSLocationAlwaysAndWhenInUseUsageDescription":"为保护您账户安全,便于为您提供所在区域专属产品和服务,请您开启定位权限","NSPhotoLibraryUsageDescription":"为了给您提供意见反馈服务,请允许访问您的相册信息","NSCameraUsageDescription":"以便于您可以使用正常使用身份证认证、刷脸、申请借款等功能"},"idfa":false},"plugins":{"ad":{},"geolocation":{"system":{"__platform__":["ios","android"]},"amap":{"name":"amap_13669606635BrsJEpZoq","__platform__":["ios","android"],"appkey_ios":"219171ea69d16fa01856326bfce37395","appkey_android":"d5eb8009720b7ef9e540d1869d3c5f15"}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"compatible":{"ignoreVersion":true},"nativePlugins":{"AThree-LFv2":{"__plugin_info__":{"name":"LFv2","description":"LFv2","platforms":"Android,iOS","url":"","android_package_name":"","ios_bundle_id":"","isCloud":false,"bought":-1,"pid":"","parameters":{}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"4.24","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"borderStyle":"rgba(255,255,255,0.4)","color":"#BBBBBB","selectedColor":"#2263E6","iconWidth":"24px","height":"52px","fontSize":"12px","list":[{"pagePath":"pages/index/index","iconPath":"/static/tab/indexfh.png","selectedIconPath":"/static/tab/indexf.png","text":"首页"},{"pagePath":"pages/finance/index","iconPath":"/static/tab/index-h.png","selectedIconPath":"/static/tab/index.png","text":"贷款"},{"pagePath":"pages/bill/indexs","iconPath":"/static/tab/billh.png","selectedIconPath":"/static/tab/bill.png","text":"账单"},{"pagePath":"pages/my/index","iconPath":"/static/tab/my-h.png","selectedIconPath":"/static/tab/my.png","text":"我的"}],"child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}
\ No newline at end of file
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__DE04B13","name":"多典花","version":{"name":"1.0.2","code":101},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"Camera":{},"Geolocation":{},"Contacts":{},"Barcode":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"none","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#FFFFFF"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"safearea":{"bottom":{"offset":"none"}},"distribute":{"distribute":{"orientation":["portrait-primary"]},"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"useOriginalMsgbox":true,"androidStyle":"common"},"google":{"permissions":["<uses-feature android:name=\"android.hardware.camera\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.CALL_PHONE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.INTERNET\"/>","<uses-permission android:name=\"android.permission.INSTALL_PACKAGES\"/> ","<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\" />","<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>","<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"targetSdkVersion":30,"abiFilters":["armeabi-v7a","arm64-v8a","x86"],"permissionExternalStorage":{"request":"none","prompt":"应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"},"permissionPhoneState":{"request":"none","prompt":"为保证您正常、安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许"}},"apple":{"dSYMs":false,"privacyDescription":{"NSLocationWhenInUseUsageDescription":"为保护您账户安全,便于为您提供所在区域专属产品和服务,请您开启定位权限","NSLocationAlwaysUsageDescription":"为保护您账户安全,便于为您提供所在区域专属产品和服务,请您开启定位权限","NSLocationAlwaysAndWhenInUseUsageDescription":"为保护您账户安全,便于为您提供所在区域专属产品和服务,请您开启定位权限","NSPhotoLibraryUsageDescription":"为了给您提供意见反馈服务,请允许访问您的相册信息","NSCameraUsageDescription":"以便于您可以使用正常使用身份证认证、刷脸、申请借款等功能"},"idfa":false},"plugins":{"ad":{},"geolocation":{"system":{"__platform__":["ios","android"]},"amap":{"name":"amap_13669606635BrsJEpZoq","__platform__":["ios","android"],"appkey_ios":"219171ea69d16fa01856326bfce37395","appkey_android":"d5eb8009720b7ef9e540d1869d3c5f15"}},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"compatible":{"ignoreVersion":true},"nativePlugins":{"AThree-LFv2":{"__plugin_info__":{"name":"LFv2","description":"LFv2","platforms":"Android,iOS","url":"","android_package_name":"","ios_bundle_id":"","isCloud":false,"bought":-1,"pid":"","parameters":{}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"4.24","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"borderStyle":"rgba(255,255,255,0.4)","color":"#BBBBBB","selectedColor":"#2263E6","iconWidth":"24px","height":"52px","fontSize":"12px","list":[{"pagePath":"pages/index/index","iconPath":"/static/tab/indexfh.png","selectedIconPath":"/static/tab/indexf.png","text":"首页"},{"pagePath":"pages/finance/index","iconPath":"/static/tab/index-h.png","selectedIconPath":"/static/tab/index.png","text":"贷款"},{"pagePath":"pages/bill/indexs","iconPath":"/static/tab/billh.png","selectedIconPath":"/static/tab/bill.png","text":"账单"},{"pagePath":"pages/my/index","iconPath":"/static/tab/my-h.png","selectedIconPath":"/static/tab/my.png","text":"我的"}],"child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -8985,7 +8985,7 @@ if(false) {}
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../Applications/HBuilderX 2.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 10);
exports = ___CSS_LOADER_API_IMPORT___(false);
// Module
exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/*每个页面公共css */\n", ""]);
exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/*每个页面公共css */\n", ""]);
// Exports
module.exports = exports;
......@@ -9701,32 +9701,72 @@ var render = function () {
_c(
"uni-view",
{ staticClass: _vm._$g(6, "sc"), attrs: { _i: 6 } },
[
_c(
"uni-view",
{ staticClass: _vm._$g(7, "sc"), attrs: { _i: 7 } },
[_vm._v("v" + _vm._$g(7, "t0-0"))]
),
_c(
"uni-view",
{ staticClass: _vm._$g(8, "sc"), attrs: { _i: 8 } },
[_vm._v("发现新版本")]
),
_c(
"uni-view",
{ staticClass: _vm._$g(7, "sc"), attrs: { _i: 7 } },
{ staticClass: _vm._$g(9, "sc"), attrs: { _i: 9 } },
[
_c("v-uni-text", { attrs: { space: "nbsp", _i: 8 } }, [
_vm._v(_vm._$g(8, "t0-0")),
_c(
"v-uni-scroll-view",
{
staticClass: _vm._$g(10, "sc"),
attrs: { "scroll-y": "true", _i: 10 },
},
[
_c("v-uni-rich-text", {
staticClass: _vm._$g(11, "sc"),
attrs: { nodes: _vm._$g(11, "a-nodes"), _i: 11 },
}),
],
1
),
],
1
),
],
1
),
_c(
"uni-view",
{ staticClass: _vm._$g(12, "sc"), attrs: { _i: 12 } },
[
_c("v-uni-text", { attrs: { space: "nbsp", _i: 13 } }, [
_vm._v(_vm._$g(13, "t0-0")),
]),
],
1
),
_vm._$g(9, "i")
_vm._$g(14, "i")
? _c(
"uni-view",
{ staticClass: _vm._$g(9, "sc"), attrs: { _i: 9 } },
{ staticClass: _vm._$g(14, "sc"), attrs: { _i: 14 } },
[
_vm._$g(10, "i")
? _c(
_c(
"v-uni-button",
{
staticClass: _vm._$g(10, "sc"),
directives: [
{
name: "show",
rawName: "v-show",
value: _vm._$g(15, "v-show"),
expression: "_$g(15,'v-show')",
},
],
staticClass: _vm._$g(15, "sc"),
attrs: {
disabled: _vm._$g(10, "a-disabled"),
disabled: _vm._$g(15, "a-disabled"),
type: "warn",
_i: 10,
_i: 15,
},
on: {
click: function ($event) {
......@@ -9737,13 +9777,43 @@ var render = function () {
},
},
[_vm._v("暂不更新")]
)
: _vm._e(),
),
_c(
"v-uni-button",
{
staticClass: _vm._$g(11, "sc"),
attrs: { type: "warn", _i: 11 },
directives: [
{
name: "show",
rawName: "v-show",
value: _vm._$g(16, "v-show"),
expression: "_$g(16,'v-show')",
},
],
staticClass: _vm._$g(16, "sc"),
attrs: { type: "warn", _i: 16 },
on: {
click: function ($event) {
return _vm.$handleViewEvent($event, {
stop: true,
})
},
},
},
[_vm._v("立即升级")]
),
_c(
"v-uni-button",
{
directives: [
{
name: "show",
rawName: "v-show",
value: _vm._$g(17, "v-show"),
expression: "_$g(17,'v-show')",
},
],
staticClass: _vm._$g(17, "sc"),
attrs: { type: "warn", _i: 17 },
on: {
click: function ($event) {
return _vm.$handleViewEvent($event, {
......@@ -9758,10 +9828,10 @@ var render = function () {
1
)
: _vm._e(),
_vm._$g(12, "i")
_vm._$g(18, "i")
? _c(
"uni-view",
{ staticClass: _vm._$g(12, "sc"), attrs: { _i: 12 } },
{ staticClass: _vm._$g(18, "sc"), attrs: { _i: 18 } },
[
_c("v-uni-progress", {
attrs: {
......@@ -9770,9 +9840,9 @@ var render = function () {
activeColor: "#DB4032",
backgroundColor: "#f0f0f0",
"show-info": true,
percent: _vm._$g(13, "a-percent"),
percent: _vm._$g(19, "a-percent"),
"stroke-width": "15",
_i: 13,
_i: 19,
},
}),
],
......@@ -10021,7 +10091,7 @@ exports = ___CSS_LOADER_API_IMPORT___(false);
var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
// Module
exports.push([module.i, "@charset \"UTF-8\";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n.upgradePopup[data-v-4add8d6a] {\n z-index: 999;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper {\n width: 602rpx;\n background-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\n background-repeat: no-repeat;\n background-size: 100% 100%;\n border-radius: 15rpx;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .rocket-content {\n height: 368rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .rocket-content .rocket-img {\n background-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\n background-repeat: no-repeat;\n background-size: 100% 100%;\n width: 152rpx;\n height: 212rpx;\n position: absolute;\n top: -105rpx;\n left: 225rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .title {\n display: flex;\n justify-content: center;\n font-size: 36rpx;\n font-family: PingFangSC-Medium, PingFang SC;\n font-weight: 500;\n color: #282828;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .update-content {\n margin-top: 44rpx;\n padding-left: 100rpx;\n display: flex;\n flex-direction: column;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .update-content uni-text {\n font-size: 28rpx;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #989899;\n margin-bottom: 8rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .update-button {\n display: flex;\n width: 482rpx;\n margin: 0 auto;\n margin-top: 48rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .update-button uni-button {\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 28rpx;\n font-family: PingFangSC-Medium, PingFang SC;\n font-weight: 500;\n color: #FFFFFF;\n margin: 0rpx;\n flex: 1;\n height: 80rpx;\n margin-bottom: 80rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .update-button .not-updated-button {\n margin-right: 40rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .progress-bar {\n width: 538rpx;\n margin: 0 auto;\n margin-top: 96rpx;\n margin-bottom: 102rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .progress-bar uni-progress .uni-progress-bar {\n border-radius: 50rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .progress-bar uni-progress .uni-progress-bar .uni-progress-inner-bar {\n border-radius: 50rpx;\n}\n", ""]);
exports.push([module.i, "@charset \"UTF-8\";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n.upgradePopup[data-v-4add8d6a] {\n z-index: 999;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper {\n width: 602rpx;\n background-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\n background-repeat: no-repeat;\n background-size: 100% 100%;\n border-radius: 15rpx;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .rocket-content {\n height: 368rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .rocket-content .rocket-img {\n background-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\n background-repeat: no-repeat;\n background-size: 100% 100%;\n width: 152rpx;\n height: 212rpx;\n position: absolute;\n top: -105rpx;\n left: 225rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .content-v-des {\n position: absolute;\n left: 40rpx;\n top: 30rpx;\n z-index: 3;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .content-v-des .content-v {\n font-size: 75rpx;\n color: #FFFFFF;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .content-v-des .content-text {\n padding-top: 20rpx;\n font-family: PingFangSC, PingFang SC;\n font-size: 42rpx;\n color: #333333;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .content-v-des .title {\n margin-top: 20rpx;\n display: flex;\n font-family: PingFangSC, PingFang SC;\n font-weight: 400;\n font-size: 16px;\n color: #999999;\n line-height: 28px;\n text-align: left;\n font-style: normal;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .content-v-des .title .info_desc_scroll {\n width: 450rpx;\n height: 200rpx;\n box-sizing: border-box;\n line-height: 1.3;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .content-v-des .title .info_desc_scroll .scroll-text {\n padding-bottom: 6rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .update-content {\n margin-top: 44rpx;\n padding-left: 100rpx;\n display: flex;\n flex-direction: column;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .update-content uni-text {\n font-size: 28rpx;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: #989899;\n margin-bottom: 8rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .update-button {\n display: flex;\n width: 482rpx;\n margin: 0 auto;\n margin-top: 48rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .update-button uni-button {\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 28rpx;\n font-family: PingFangSC-Medium, PingFang SC;\n font-weight: 500;\n color: #FFFFFF;\n margin: 0rpx;\n flex: 1;\n height: 80rpx;\n margin-bottom: 80rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .update-button .not-updated-button {\n margin-right: 40rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .progress-bar {\n width: 538rpx;\n margin: 0 auto;\n margin-top: 96rpx;\n margin-bottom: 102rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .progress-bar uni-progress .uni-progress-bar {\n border-radius: 50rpx;\n}\n.upgradePopup[data-v-4add8d6a] .uni-popup__wrapper .progress-bar uni-progress .uni-progress-bar .uni-progress-inner-bar {\n border-radius: 50rpx;\n}\n", ""]);
// Exports
module.exports = exports;
......@@ -18,6 +18,7 @@ export const convertPromise = function (FnName, params = {}) {
}
export const initHeaderInfo = function () {
const modelApp = uni.getStorageSync('modelApp')
const versionNew = uni.getStorageSync('m-header-version')
let deviceName
if (plus.os.name == 'Android') {
......@@ -29,7 +30,7 @@ export const initHeaderInfo = function () {
var randomNum = new Date().getTime();
const commons = {
"appName": "DDH",
"appSourceId": "1",
"appSourceId":modelApp,
"token": randomNum,
"device": deviceName,
"appVersion": versionNew,
......@@ -38,9 +39,10 @@ export const initHeaderInfo = function () {
}
// 初始化请求头的device参数信息
export const initHeaderDevice = function () {
const modelApp = uni.getStorageSync('modelApp')
const common = {
appName: 'DDH',
appSourceId: "1",
appSourceId: modelApp,
token: "c695fa285b9dc46a", // 设备令牌(device_token) 设备udid
idfa: "", // IOS设备则为:IDFA 广告标识
imei: "", //安卓设备为:imei
......
......@@ -22,7 +22,6 @@ const request = async (url, type, data) => {
}
}
return new Promise((resolve, reject) => {
const token = uni.getStorageSync('token')
const tokenFinance = uni.getStorageSync('tokenFinance')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment