This commit is contained in:
闫晓茹 2023-04-20 09:44:56 +08:00
parent 4dfbff27a2
commit ac992fa3f7
9 changed files with 22 additions and 24 deletions

17
package-lock.json generated
View File

@ -9,23 +9,20 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"uview-ui": "^2.0.31"
"uview-ui": "^1.8.4"
}
},
"node_modules/uview-ui": {
"version": "2.0.31",
"resolved": "https://registry.npmjs.org/uview-ui/-/uview-ui-2.0.31.tgz",
"integrity": "sha512-I/0fGuvtiKHH/mBb864SGYk+SJ7WaF32tsBgYgeBOsxlUp+Th+Ac2tgz2cTvsQJl6eZYWsKZ3ixiSXCAcxZ8Sw==",
"engines": {
"HBuilderX": "^3.1.0"
}
"version": "1.8.4",
"resolved": "https://registry.npmjs.org/uview-ui/-/uview-ui-1.8.4.tgz",
"integrity": "sha512-Zr+D5dFdNy6CdHQLBEXeGq/w0LkjxzBtsgaaDwLl0P58g67H7fBBDvy6AzWK/k0c7dwPYMBiK7I4Tr9p92+0DA=="
}
},
"dependencies": {
"uview-ui": {
"version": "2.0.31",
"resolved": "https://registry.npmjs.org/uview-ui/-/uview-ui-2.0.31.tgz",
"integrity": "sha512-I/0fGuvtiKHH/mBb864SGYk+SJ7WaF32tsBgYgeBOsxlUp+Th+Ac2tgz2cTvsQJl6eZYWsKZ3ixiSXCAcxZ8Sw=="
"version": "1.8.4",
"resolved": "https://registry.npmjs.org/uview-ui/-/uview-ui-1.8.4.tgz",
"integrity": "sha512-Zr+D5dFdNy6CdHQLBEXeGq/w0LkjxzBtsgaaDwLl0P58g67H7fBBDvy6AzWK/k0c7dwPYMBiK7I4Tr9p92+0DA=="
}
}
}

View File

@ -9,7 +9,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"uview-ui": "^2.0.31"
"uview-ui": "^1.8.4"
},
"repository": {
"type": "git",
@ -17,3 +17,4 @@
},
"description": ""
}

View File

@ -125,7 +125,7 @@
if (this.checked == false) {
this.$refs.uToast.show({
type: 'error',
message: "请先阅读《隐私保护协议》!",
title: "请先阅读《隐私保护协议》!",
})
setTimeout(() => {
this.maskshow = true
@ -142,7 +142,7 @@
data: res.msg
});
this.$refs.uToast.show({
message: "添加成功",
title: "添加成功",
type: 'success'
})
// uni.showToast({
@ -157,7 +157,7 @@
} else if (res.code == 500) {
this.$refs.uToast.show({
message: res.msg,
title: res.msg,
type: 'error'
})
// uni.showToast({

View File

@ -183,7 +183,7 @@
uni.removeStorageSync('studentId');
this.mask = false
that.$refs.uToast.show({
message: "退出成功",
title: "退出成功",
type: 'success',
duration: '1500'
})
@ -464,7 +464,7 @@
padding: 3%;
.backgrounditem {
width: 665rpx;
// width: 97%;
height: 445rpx;
background: #F9F9FA;
border-radius: 10rpx;

View File

@ -147,7 +147,7 @@
},
showToast() {
this.$refs.uToast.show({
message: "暂无报告",
title: "暂无报告",
type: 'error',
duration: 1000
})
@ -155,7 +155,7 @@
lookbook(item) {
if (item.existFlag == false) {
this.$refs.uToast.show({
message: "暂无报告",
title: "暂无报告",
type: 'error',
duration: 1000
})
@ -182,7 +182,7 @@
fail: function(err) {
uni.hideLoading();
that.$refs.uToast.show({
message: '请求报告失败',
title: '请求报告失败',
type: 'error'
})
}

View File

@ -70,7 +70,7 @@
lookbook(item) {
if (item.existFlag == false) {
this.$refs.uToast.show({
message: "暂无报告",
title: "暂无报告",
type: 'error',
duration: 1000
})

View File

@ -43,7 +43,7 @@
height: 600rpx;
.background {
width: 90%;
width: 95%;
margin: 20rpx auto;
height: 1120rpx;
background: #FFFFFF;

View File

@ -85,7 +85,7 @@
this.getInfoByPhoneinfo()
}
this.$refs.uToast.show({
message: "登录成功",
title: "登录成功",
type: 'success',
duration: '5000'
})

View File

@ -206,7 +206,7 @@
lookbook(item) {
if (item.existFlag == false) {
this.$refs.uToast.show({
message: "暂无报告",
title: "暂无报告",
type: 'error',
duration: 1000
})
@ -233,7 +233,7 @@
fail: function(err) {
uni.hideLoading();
that.$refs.uToast.show({
message: '请求报告失败',
title: '请求报告失败',
type: 'error'
})
}