Merge pull request '修改小程序bug' (#112) from dj into dev

Reviewed-on: http://git.feashow.cn/feashow/pupil/pulls/112
This commit is contained in:
odjbin
2023-05-07 15:10:05 +00:00
3 changed files with 26 additions and 19 deletions

View File

@@ -121,6 +121,7 @@
showUpdating: false,
showCall: false,
mobile: '',
kf_email: '',
updateContent: '您暂无权限访问请升级VIP访问',
updatingContent: '升级VIP正在审核中',
timoutText: 1
@@ -313,10 +314,10 @@
align-items: center;
.title {
font-size: 44rpx;
font-weight: blod;
font-size: 48rpx;
font-weight: bold;
color: #134b40;
line-height: 50rpx;
line-height: 60rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@@ -326,7 +327,7 @@
height: 30rpx;
background: #0EBB5B;
border-radius: 7rpx;
font-size: 20rpx;
font-size: 26rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #FFFFFF;
@@ -336,24 +337,24 @@
}
.desc {
font-size: 38rpx;
font-size: 42rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #3E3E3E;
line-height: 34rpx;
padding: 15rpx 0;
// line-height: 38rpx;
padding: 24rpx 0;
}
.classify {
width: 100rpx;
height: 30rpx;
width: 117rpx;
height: 40rpx;
border-radius: 6rpx;
border: 1rpx solid #EEEEEE;
font-size: 24rpx;
font-size: 30rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #666666;
line-height: 28rpx;
line-height: 40rpx;
padding: 1rpx 15rpx;
}
@@ -361,12 +362,12 @@
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 14rpx;
font-size: 24rpx;
padding-top: 24rpx;
font-size: 30rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #CCCCCC;
line-height: 28rpx;
// line-height: 28rpx;
.tagOne {
padding-right: 20rpx;
@@ -389,7 +390,7 @@
}
.releaseDate {
font-size: 24rpx;
font-size: 30rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #666666;

View File

@@ -205,7 +205,6 @@
}
})
this.needsPublishForm = publishFormList
console.log('this.needsPublishForm', this.needsPublishForm);
} catch (error) {
this.$toast.warn(error)
}
@@ -384,7 +383,8 @@
if (this.needsPublishForm.mobile && !/^1[3456789]\d{9}$/.test(this.needsPublishForm.mobile)) {
this.$toast.warn('请输入正确的手机号')
return false
} else if (this.needsPublishForm.email && !/^([0-9a-zA-Z_\.\-\])+\@([0-9a-zA-Z_\.\-\])+\.([a-zA-Z]+)$/.test(this.needsPublishForm.email)) {
} else if (this.needsPublishForm.email && !/^([0-9a-zA-Z_\.\-\])+\@([0-9a-zA-Z_\.\-\])+\.([a-zA-Z]+)$/
.test(this.needsPublishForm.email)) {
this.$toast.warn('请输入正确的邮箱地址')
return false
}
@@ -426,7 +426,7 @@
this.tabCurrent = 0
this.fileList1 = []
this.needsPublishForm = {}
} else{
} else {
this.$toast.warn(res.data.msg)
}
// this.$toast.success(res.data.msg)
@@ -449,6 +449,10 @@
background-color: #ffffff !important;
}
/deep/.u-input {
background-color: #ffffff !important;
}
.content {
background-color: #F8F8F8;

View File

@@ -140,7 +140,9 @@
//获取首页轮播图
getBanner() {
this.$apiServe.getBanner().then(res => {
let banner = res.data.data
console.log('轮播图', banner);
if (banner) {
for (const item of banner) {
item.img = this.imgUrl + item.img