Compare commits
2 Commits
9f6c343d05
...
0dd0f0f37c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0dd0f0f37c | ||
|
|
b144de3c32 |
2
App.vue
2
App.vue
@@ -14,7 +14,7 @@
|
|||||||
title : "更新提示",
|
title : "更新提示",
|
||||||
content : res.note || '版本更新信息',
|
content : res.note || '版本更新信息',
|
||||||
confirmText : "更新",
|
confirmText : "更新",
|
||||||
showCancel : false,
|
showCancel : true,
|
||||||
success : modalRes => {
|
success : modalRes => {
|
||||||
if (modalRes.confirm) {
|
if (modalRes.confirm) {
|
||||||
if (plus.os.name == "Android") {
|
if (plus.os.name == "Android") {
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ import router from '../router'
|
|||||||
|
|
||||||
// 基础配置
|
// 基础配置
|
||||||
const config = {
|
const config = {
|
||||||
// apiUrl : 'https://api.gongli.vip/api/', // 正式环境
|
apiUrl : 'https://api.gongli.vip/api/', // 正式环境
|
||||||
apiUrl : 'http://api.gl.shangkelian.cn/api/', // 测试
|
// apiUrl : 'http://api.gl.shangkelian.cn/api/', // 测试
|
||||||
timeout : 60000
|
timeout : 60000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -227,6 +227,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
.time{
|
.time{
|
||||||
padding:20rpx 30rpx 20rpx 20rpx;
|
padding:20rpx 30rpx 20rpx 20rpx;
|
||||||
|
font-size: 30rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -130,9 +130,7 @@
|
|||||||
cancelText: '再想想',
|
cancelText: '再想想',
|
||||||
success: (res1) => {
|
success: (res1) => {
|
||||||
if (res1.confirm) {
|
if (res1.confirm) {
|
||||||
console.log('再次签到。。。')
|
|
||||||
this.checkIMEI().then(res => {
|
this.checkIMEI().then(res => {
|
||||||
console.log(res);
|
|
||||||
switch (res) {
|
switch (res) {
|
||||||
case 'Permanent':
|
case 'Permanent':
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
@@ -174,7 +172,6 @@
|
|||||||
methods: {
|
methods: {
|
||||||
glz(){
|
glz(){
|
||||||
glz().then(res => {
|
glz().then(res => {
|
||||||
console.log(res);
|
|
||||||
this.nickname = res.nickname
|
this.nickname = res.nickname
|
||||||
this.identityText = res.identity_text
|
this.identityText = res.identity_text
|
||||||
this.baseHour = res.base_hour
|
this.baseHour = res.base_hour
|
||||||
|
|||||||
@@ -260,11 +260,13 @@
|
|||||||
title: ''
|
title: ''
|
||||||
})
|
})
|
||||||
readingUrl().then(res => {
|
readingUrl().then(res => {
|
||||||
if(res.is_over){
|
if(!res.is_over){
|
||||||
plus.runtime.openURL(res.ticket)
|
try{
|
||||||
|
plus.runtime.openURL(res.ticket)
|
||||||
|
}catch(e){
|
||||||
|
console.log(e)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(res)
|
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
@@ -283,7 +285,7 @@
|
|||||||
this.Sign()
|
this.Sign()
|
||||||
}
|
}
|
||||||
}, err => {
|
}, err => {
|
||||||
this.Sign()
|
// this.Sign()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 签到
|
// 签到
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
4351
unpackage/dist/dev/app-plus/app-service.js
vendored
4351
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
7339
unpackage/dist/dev/app-plus/app-view.js
vendored
7339
unpackage/dist/dev/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/dev/app-plus/manifest.json
vendored
2
unpackage/dist/dev/app-plus/manifest.json
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user