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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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