0415 分包
@ -3,7 +3,8 @@ module.exports = {
|
||||
// baseUrl: 'https://vue.ruoyi.vip/prod-api',
|
||||
|
||||
imagesUrl: 'http://122.51.230.86:9000',
|
||||
baseUrl: 'http://localhost:48080',
|
||||
// baseUrl: 'http://localhost:48080',
|
||||
baseUrl: 'http://192.168.1.27:48080',
|
||||
appId:'wx684fc832e96cee65',
|
||||
appSecret:'d1fecac806c5f3cd9aca9f3d5c3759c7',
|
||||
// baseUrl: 'http://192.168.31.54:8016/jx',
|
||||
|
@ -100,7 +100,7 @@ export default {
|
||||
// 跳转到详情页
|
||||
goToDetail(courseId) {
|
||||
uni.navigateTo({
|
||||
url: `/newPages/courseDetail/index?courseId=${courseId}&tenantId=${this.tenantId}`,
|
||||
url: `/pagesA/courseDetail/index?courseId=${courseId}&tenantId=${this.tenantId}`,
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -1,313 +0,0 @@
|
||||
.page {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
position: relative;
|
||||
width: 10rem;
|
||||
height: 21.654rem;
|
||||
overflow: hidden;
|
||||
.box_1 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
width: 10rem;
|
||||
height: 1.227rem;
|
||||
.image_1 {
|
||||
width: 0.854rem;
|
||||
height: 0.48rem;
|
||||
margin: 0.374rem 0 0 0.8rem;
|
||||
}
|
||||
.box_2 {
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
width: 0.48rem;
|
||||
height: 0.294rem;
|
||||
margin: 0.454rem 0 0 6.16rem;
|
||||
}
|
||||
.box_3 {
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
width: 0.427rem;
|
||||
height: 0.32rem;
|
||||
margin: 0.454rem 0 0 0.134rem;
|
||||
}
|
||||
.image_2 {
|
||||
width: 0.667rem;
|
||||
height: 0.32rem;
|
||||
margin: 0.454rem 0.374rem 0 0.107rem;
|
||||
}
|
||||
}
|
||||
.box_4 {
|
||||
width: 10rem;
|
||||
height: 18.854rem;
|
||||
.box_5 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
width: 10rem;
|
||||
height: 1.28rem;
|
||||
justify-content: flex-center;
|
||||
.label_1 {
|
||||
width: 0.64rem;
|
||||
height: 0.64rem;
|
||||
margin: 0.32rem 0 0 0.32rem;
|
||||
}
|
||||
.text_1 {
|
||||
width: 1.707rem;
|
||||
height: 0.694rem;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(0, 0, 0, 0.9);
|
||||
font-size: 0.426rem;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 0.694rem;
|
||||
margin: 0.294rem 0 0 3.174rem;
|
||||
}
|
||||
.block_1 {
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 16px;
|
||||
height: 0.854rem;
|
||||
width: 2.32rem;
|
||||
margin: 0.214rem 0.32rem 0 1.52rem;
|
||||
.image-wrapper_1 {
|
||||
width: 0.534rem;
|
||||
height: 0.027rem;
|
||||
margin: 0.16rem 0 0 1.2rem;
|
||||
.thumbnail_1 {
|
||||
width: 0.534rem;
|
||||
height: 0.027rem;
|
||||
}
|
||||
}
|
||||
.group_1 {
|
||||
width: 1.627rem;
|
||||
height: 0.427rem;
|
||||
margin: 0.027rem 0 0.214rem 0.347rem;
|
||||
.section_1 {
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
width: 0.48rem;
|
||||
height: 0.16rem;
|
||||
margin-top: 0.134rem;
|
||||
}
|
||||
.section_2 {
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
width: 0.427rem;
|
||||
height: 0.427rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_6 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border-radius: 8px;
|
||||
height: 4.32rem;
|
||||
width: 9.147rem;
|
||||
margin: 0.267rem 0 0 0.427rem;
|
||||
.box_7 {
|
||||
width: 8.614rem;
|
||||
height: 0.934rem;
|
||||
margin: 0.24rem 0 0 0.267rem;
|
||||
.text_2 {
|
||||
width: 0.747rem;
|
||||
height: 0.374rem;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(131, 131, 131, 1);
|
||||
font-size: 0.373rem;
|
||||
letter-spacing: -0.30000001192092896px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 0.374rem;
|
||||
margin-top: 0.294rem;
|
||||
}
|
||||
.label_2 {
|
||||
width: 0.934rem;
|
||||
height: 0.934rem;
|
||||
}
|
||||
}
|
||||
.text-wrapper_1 {
|
||||
width: 8.614rem;
|
||||
height: 0.374rem;
|
||||
margin: 0.8rem 0 0 0.267rem;
|
||||
.text_3 {
|
||||
width: 0.747rem;
|
||||
height: 0.374rem;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(131, 131, 131, 1);
|
||||
font-size: 0.373rem;
|
||||
letter-spacing: -0.30000001192092896px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 0.374rem;
|
||||
}
|
||||
.text_4 {
|
||||
width: 1.494rem;
|
||||
height: 0.374rem;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 0.373rem;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
line-height: 0.374rem;
|
||||
}
|
||||
}
|
||||
.text-wrapper_2 {
|
||||
width: 8.614rem;
|
||||
height: 0.374rem;
|
||||
margin: 1.067rem 0 0.534rem 0.267rem;
|
||||
.text_5 {
|
||||
width: 1.494rem;
|
||||
height: 0.374rem;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(131, 131, 131, 1);
|
||||
font-size: 0.373rem;
|
||||
letter-spacing: -0.30000001192092896px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 0.374rem;
|
||||
}
|
||||
.text_6 {
|
||||
width: 2.64rem;
|
||||
height: 0.374rem;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 0.373rem;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
line-height: 0.374rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_8 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border-radius: 8px;
|
||||
height: 4.187rem;
|
||||
width: 9.147rem;
|
||||
justify-content: flex-center;
|
||||
margin: 0.267rem 0 0 0.427rem;
|
||||
.text-wrapper_3 {
|
||||
width: 1.867rem;
|
||||
height: 0.374rem;
|
||||
margin: 0.4rem 0 0 0.267rem;
|
||||
.text_7 {
|
||||
width: 1.867rem;
|
||||
height: 0.374rem;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 0.373rem;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
line-height: 0.374rem;
|
||||
}
|
||||
}
|
||||
.group_2 {
|
||||
width: 8.614rem;
|
||||
height: 2.614rem;
|
||||
margin: 0.4rem 0 0.4rem 0.267rem;
|
||||
.image-wrapper_2 {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
border-radius: 4px;
|
||||
height: 2.614rem;
|
||||
width: 4.16rem;
|
||||
.image_3 {
|
||||
width: 1.867rem;
|
||||
height: 1.867rem;
|
||||
margin: 0.374rem 0 0 1.147rem;
|
||||
}
|
||||
}
|
||||
.image-wrapper_3 {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
border-radius: 4px;
|
||||
height: 2.614rem;
|
||||
width: 4.16rem;
|
||||
.image_4 {
|
||||
width: 1.867rem;
|
||||
height: 1.867rem;
|
||||
margin: 0.374rem 0 0 1.147rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_9 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border-radius: 8px;
|
||||
width: 9.147rem;
|
||||
height: 3.707rem;
|
||||
justify-content: flex-center;
|
||||
margin: 0.267rem 0 4.56rem 0.427rem;
|
||||
.text_8 {
|
||||
width: 1.494rem;
|
||||
height: 0.374rem;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 0.373rem;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
line-height: 0.374rem;
|
||||
margin: 0.4rem 0 0 0.267rem;
|
||||
}
|
||||
.block_2 {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
border-radius: 4px;
|
||||
width: 2.134rem;
|
||||
height: 2.134rem;
|
||||
margin: 0.4rem 0 0.4rem 0.267rem;
|
||||
.image-text_1 {
|
||||
width: 1.067rem;
|
||||
height: 1.067rem;
|
||||
margin: 0.534rem 0 0 0.534rem;
|
||||
.label_3 {
|
||||
width: 0.64rem;
|
||||
height: 0.64rem;
|
||||
margin-left: 0.214rem;
|
||||
}
|
||||
.text-group_1 {
|
||||
width: 1.067rem;
|
||||
height: 0.267rem;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(115, 124, 144, 1);
|
||||
font-size: 0.266rem;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
line-height: 0.267rem;
|
||||
margin-top: 0.16rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_10 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
height: 1.6rem;
|
||||
margin-top: -0.026rem;
|
||||
width: 10rem;
|
||||
.text-wrapper_4 {
|
||||
background-color: rgba(4, 78, 242, 1);
|
||||
border-radius: 20px;
|
||||
height: 1.067rem;
|
||||
width: 9.147rem;
|
||||
margin: 0.267rem 0 0 0.427rem;
|
||||
.text_9 {
|
||||
width: 0.854rem;
|
||||
height: 0.427rem;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-size: 0.426rem;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 0.427rem;
|
||||
margin: 0.32rem 0 0 4.24rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,313 +0,0 @@
|
||||
.page {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
position: relative;
|
||||
width: 100vw;
|
||||
height: 216.54vw;
|
||||
overflow: hidden;
|
||||
.box_1 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
width: 100vw;
|
||||
height: 12.27vw;
|
||||
.image_1 {
|
||||
width: 8.54vw;
|
||||
height: 4.8vw;
|
||||
margin: 3.73vw 0 0 8vw;
|
||||
}
|
||||
.box_2 {
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
width: 4.8vw;
|
||||
height: 2.94vw;
|
||||
margin: 4.53vw 0 0 61.6vw;
|
||||
}
|
||||
.box_3 {
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
width: 4.27vw;
|
||||
height: 3.2vw;
|
||||
margin: 4.53vw 0 0 1.33vw;
|
||||
}
|
||||
.image_2 {
|
||||
width: 6.67vw;
|
||||
height: 3.2vw;
|
||||
margin: 4.53vw 3.73vw 0 1.06vw;
|
||||
}
|
||||
}
|
||||
.box_4 {
|
||||
width: 100vw;
|
||||
height: 188.54vw;
|
||||
.box_5 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
width: 100vw;
|
||||
height: 12.8vw;
|
||||
justify-content: flex-center;
|
||||
.label_1 {
|
||||
width: 6.4vw;
|
||||
height: 6.4vw;
|
||||
margin: 3.2vw 0 0 3.2vw;
|
||||
}
|
||||
.text_1 {
|
||||
width: 17.07vw;
|
||||
height: 6.94vw;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(0, 0, 0, 0.9);
|
||||
font-size: 4.26vw;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 6.94vw;
|
||||
margin: 2.93vw 0 0 31.73vw;
|
||||
}
|
||||
.block_1 {
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 16px;
|
||||
height: 8.54vw;
|
||||
width: 23.2vw;
|
||||
margin: 2.13vw 3.2vw 0 15.2vw;
|
||||
.image-wrapper_1 {
|
||||
width: 5.34vw;
|
||||
height: 0.27vw;
|
||||
margin: 1.6vw 0 0 12vw;
|
||||
.thumbnail_1 {
|
||||
width: 5.34vw;
|
||||
height: 0.27vw;
|
||||
}
|
||||
}
|
||||
.group_1 {
|
||||
width: 16.27vw;
|
||||
height: 4.27vw;
|
||||
margin: 0.26vw 0 2.13vw 3.46vw;
|
||||
.section_1 {
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
width: 4.8vw;
|
||||
height: 1.6vw;
|
||||
margin-top: 1.34vw;
|
||||
}
|
||||
.section_2 {
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
width: 4.27vw;
|
||||
height: 4.27vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_6 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border-radius: 8px;
|
||||
height: 43.2vw;
|
||||
width: 91.47vw;
|
||||
margin: 2.66vw 0 0 4.26vw;
|
||||
.box_7 {
|
||||
width: 86.14vw;
|
||||
height: 9.34vw;
|
||||
margin: 2.4vw 0 0 2.66vw;
|
||||
.text_2 {
|
||||
width: 7.47vw;
|
||||
height: 3.74vw;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(131, 131, 131, 1);
|
||||
font-size: 3.73vw;
|
||||
letter-spacing: -0.30000001192092896px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 3.74vw;
|
||||
margin-top: 2.94vw;
|
||||
}
|
||||
.label_2 {
|
||||
width: 9.34vw;
|
||||
height: 9.34vw;
|
||||
}
|
||||
}
|
||||
.text-wrapper_1 {
|
||||
width: 86.14vw;
|
||||
height: 3.74vw;
|
||||
margin: 8vw 0 0 2.66vw;
|
||||
.text_3 {
|
||||
width: 7.47vw;
|
||||
height: 3.74vw;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(131, 131, 131, 1);
|
||||
font-size: 3.73vw;
|
||||
letter-spacing: -0.30000001192092896px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 3.74vw;
|
||||
}
|
||||
.text_4 {
|
||||
width: 14.94vw;
|
||||
height: 3.74vw;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 3.73vw;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
line-height: 3.74vw;
|
||||
}
|
||||
}
|
||||
.text-wrapper_2 {
|
||||
width: 86.14vw;
|
||||
height: 3.74vw;
|
||||
margin: 10.66vw 0 5.33vw 2.66vw;
|
||||
.text_5 {
|
||||
width: 14.94vw;
|
||||
height: 3.74vw;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(131, 131, 131, 1);
|
||||
font-size: 3.73vw;
|
||||
letter-spacing: -0.30000001192092896px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 3.74vw;
|
||||
}
|
||||
.text_6 {
|
||||
width: 26.4vw;
|
||||
height: 3.74vw;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 3.73vw;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
line-height: 3.74vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_8 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border-radius: 8px;
|
||||
height: 41.87vw;
|
||||
width: 91.47vw;
|
||||
justify-content: flex-center;
|
||||
margin: 2.66vw 0 0 4.26vw;
|
||||
.text-wrapper_3 {
|
||||
width: 18.67vw;
|
||||
height: 3.74vw;
|
||||
margin: 4vw 0 0 2.66vw;
|
||||
.text_7 {
|
||||
width: 18.67vw;
|
||||
height: 3.74vw;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 3.73vw;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
line-height: 3.74vw;
|
||||
}
|
||||
}
|
||||
.group_2 {
|
||||
width: 86.14vw;
|
||||
height: 26.14vw;
|
||||
margin: 4vw 0 4vw 2.66vw;
|
||||
.image-wrapper_2 {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
border-radius: 4px;
|
||||
height: 26.14vw;
|
||||
width: 41.6vw;
|
||||
.image_3 {
|
||||
width: 18.67vw;
|
||||
height: 18.67vw;
|
||||
margin: 3.73vw 0 0 11.46vw;
|
||||
}
|
||||
}
|
||||
.image-wrapper_3 {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
border-radius: 4px;
|
||||
height: 26.14vw;
|
||||
width: 41.6vw;
|
||||
.image_4 {
|
||||
width: 18.67vw;
|
||||
height: 18.67vw;
|
||||
margin: 3.73vw 0 0 11.46vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_9 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border-radius: 8px;
|
||||
width: 91.47vw;
|
||||
height: 37.07vw;
|
||||
justify-content: flex-center;
|
||||
margin: 2.66vw 0 45.6vw 4.26vw;
|
||||
.text_8 {
|
||||
width: 14.94vw;
|
||||
height: 3.74vw;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 3.73vw;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
line-height: 3.74vw;
|
||||
margin: 4vw 0 0 2.66vw;
|
||||
}
|
||||
.block_2 {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
border-radius: 4px;
|
||||
width: 21.34vw;
|
||||
height: 21.34vw;
|
||||
margin: 4vw 0 4vw 2.66vw;
|
||||
.image-text_1 {
|
||||
width: 10.67vw;
|
||||
height: 10.67vw;
|
||||
margin: 5.33vw 0 0 5.33vw;
|
||||
.label_3 {
|
||||
width: 6.4vw;
|
||||
height: 6.4vw;
|
||||
margin-left: 2.14vw;
|
||||
}
|
||||
.text-group_1 {
|
||||
width: 10.67vw;
|
||||
height: 2.67vw;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(115, 124, 144, 1);
|
||||
font-size: 2.66vw;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
line-height: 2.67vw;
|
||||
margin-top: 1.6vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_10 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
height: 16vw;
|
||||
margin-top: -0.26vw;
|
||||
width: 100vw;
|
||||
.text-wrapper_4 {
|
||||
background-color: rgba(4, 78, 242, 1);
|
||||
border-radius: 20px;
|
||||
height: 10.67vw;
|
||||
width: 91.47vw;
|
||||
margin: 2.66vw 0 0 4.26vw;
|
||||
.text_9 {
|
||||
width: 8.54vw;
|
||||
height: 4.27vw;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-size: 4.26vw;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 4.27vw;
|
||||
margin: 3.2vw 0 0 42.4vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,313 +0,0 @@
|
||||
.page {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
position: relative;
|
||||
width: 750rpx;
|
||||
height: 1624rpx;
|
||||
overflow: hidden;
|
||||
.box_1 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
width: 750rpx;
|
||||
height: 92rpx;
|
||||
.image_1 {
|
||||
width: 64rpx;
|
||||
height: 36rpx;
|
||||
margin: 28rpx 0 0 60rpx;
|
||||
}
|
||||
.box_2 {
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
width: 36rpx;
|
||||
height: 22rpx;
|
||||
margin: 34rpx 0 0 462rpx;
|
||||
}
|
||||
.box_3 {
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
width: 32rpx;
|
||||
height: 24rpx;
|
||||
margin: 34rpx 0 0 10rpx;
|
||||
}
|
||||
.image_2 {
|
||||
width: 50rpx;
|
||||
height: 24rpx;
|
||||
margin: 34rpx 28rpx 0 8rpx;
|
||||
}
|
||||
}
|
||||
.box_4 {
|
||||
width: 750rpx;
|
||||
height: 1414rpx;
|
||||
.box_5 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
width: 750rpx;
|
||||
height: 96rpx;
|
||||
justify-content: flex-center;
|
||||
.label_1 {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
margin: 24rpx 0 0 24rpx;
|
||||
}
|
||||
.text_1 {
|
||||
width: 128rpx;
|
||||
height: 52rpx;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(0, 0, 0, 0.9);
|
||||
font-size: 32rpx;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 52rpx;
|
||||
margin: 22rpx 0 0 238rpx;
|
||||
}
|
||||
.block_1 {
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 16px;
|
||||
height: 64rpx;
|
||||
width: 174rpx;
|
||||
margin: 16rpx 24rpx 0 114rpx;
|
||||
.image-wrapper_1 {
|
||||
width: 40rpx;
|
||||
height: 2rpx;
|
||||
margin: 12rpx 0 0 90rpx;
|
||||
.thumbnail_1 {
|
||||
width: 40rpx;
|
||||
height: 2rpx;
|
||||
}
|
||||
}
|
||||
.group_1 {
|
||||
width: 122rpx;
|
||||
height: 32rpx;
|
||||
margin: 2rpx 0 16rpx 26rpx;
|
||||
.section_1 {
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
width: 36rpx;
|
||||
height: 12rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.section_2 {
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_6 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border-radius: 8px;
|
||||
height: 324rpx;
|
||||
width: 686rpx;
|
||||
margin: 20rpx 0 0 32rpx;
|
||||
.box_7 {
|
||||
width: 646rpx;
|
||||
height: 70rpx;
|
||||
margin: 18rpx 0 0 20rpx;
|
||||
.text_2 {
|
||||
width: 56rpx;
|
||||
height: 28rpx;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(131, 131, 131, 1);
|
||||
font-size: 28rpx;
|
||||
letter-spacing: -0.30000001192092896px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 28rpx;
|
||||
margin-top: 22rpx;
|
||||
}
|
||||
.label_2 {
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
}
|
||||
}
|
||||
.text-wrapper_1 {
|
||||
width: 646rpx;
|
||||
height: 28rpx;
|
||||
margin: 60rpx 0 0 20rpx;
|
||||
.text_3 {
|
||||
width: 56rpx;
|
||||
height: 28rpx;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(131, 131, 131, 1);
|
||||
font-size: 28rpx;
|
||||
letter-spacing: -0.30000001192092896px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 28rpx;
|
||||
}
|
||||
.text_4 {
|
||||
width: 200rpx;
|
||||
height: 28rpx;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 28rpx;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
line-height: 28rpx;
|
||||
}
|
||||
}
|
||||
.text-wrapper_2 {
|
||||
width: 646rpx;
|
||||
height: 28rpx;
|
||||
margin: 80rpx 0 40rpx 20rpx;
|
||||
.text_5 {
|
||||
width: 112rpx;
|
||||
height: 28rpx;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(131, 131, 131, 1);
|
||||
font-size: 28rpx;
|
||||
letter-spacing: -0.30000001192092896px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 28rpx;
|
||||
}
|
||||
.text_6 {
|
||||
width: 300rpx;
|
||||
height: 28rpx;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 28rpx;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
line-height: 28rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_8 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border-radius: 8px;
|
||||
height: 314rpx;
|
||||
width: 686rpx;
|
||||
justify-content: flex-center;
|
||||
margin: 20rpx 0 0 32rpx;
|
||||
.text-wrapper_3 {
|
||||
width: 140rpx;
|
||||
height: 28rpx;
|
||||
margin: 30rpx 0 0 20rpx;
|
||||
.text_7 {
|
||||
width: 140rpx;
|
||||
height: 28rpx;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 28rpx;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
line-height: 28rpx;
|
||||
}
|
||||
}
|
||||
.group_2 {
|
||||
width: 646rpx;
|
||||
height: 196rpx;
|
||||
margin: 30rpx 0 30rpx 20rpx;
|
||||
.image-wrapper_2 {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
border-radius: 4px;
|
||||
height: 196rpx;
|
||||
width: 312rpx;
|
||||
.image_3 {
|
||||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
margin: 28rpx 0 0 86rpx;
|
||||
}
|
||||
}
|
||||
.image-wrapper_3 {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
border-radius: 4px;
|
||||
height: 196rpx;
|
||||
width: 312rpx;
|
||||
.image_4 {
|
||||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
margin: 28rpx 0 0 86rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_9 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border-radius: 8px;
|
||||
width: 686rpx;
|
||||
height: 278rpx;
|
||||
justify-content: flex-center;
|
||||
margin: 20rpx 0 342rpx 32rpx;
|
||||
.text_8 {
|
||||
width: 112rpx;
|
||||
height: 28rpx;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 28rpx;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
line-height: 28rpx;
|
||||
margin: 30rpx 0 0 20rpx;
|
||||
}
|
||||
.block_2 {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
border-radius: 4px;
|
||||
width: 160rpx;
|
||||
height: 160rpx;
|
||||
margin: 30rpx 0 30rpx 20rpx;
|
||||
.image-text_1 {
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
margin: 40rpx 0 0 40rpx;
|
||||
.label_3 {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
margin-left: 16rpx;
|
||||
}
|
||||
.text-group_1 {
|
||||
width: 80rpx;
|
||||
height: 20rpx;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(115, 124, 144, 1);
|
||||
font-size: 20rpx;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
line-height: 20rpx;
|
||||
margin-top: 12rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_10 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
height: 120rpx;
|
||||
margin-top: -2rpx;
|
||||
width: 750rpx;
|
||||
.text-wrapper_4 {
|
||||
background-color: rgba(4, 78, 242, 1);
|
||||
border-radius: 20px;
|
||||
height: 80rpx;
|
||||
width: 686rpx;
|
||||
margin: 20rpx 0 0 32rpx;
|
||||
.text_9 {
|
||||
width: 64rpx;
|
||||
height: 32rpx;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-size: 32rpx;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 32rpx;
|
||||
margin: 24rpx 0 0 318rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,313 +0,0 @@
|
||||
.page {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
position: relative;
|
||||
width: 375px;
|
||||
height: 812px;
|
||||
overflow: hidden;
|
||||
.box_1 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
width: 375px;
|
||||
height: 46px;
|
||||
.image_1 {
|
||||
width: 32px;
|
||||
height: 18px;
|
||||
margin: 14px 0 0 30px;
|
||||
}
|
||||
.box_2 {
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
width: 18px;
|
||||
height: 11px;
|
||||
margin: 17px 0 0 231px;
|
||||
}
|
||||
.box_3 {
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
width: 16px;
|
||||
height: 12px;
|
||||
margin: 17px 0 0 5px;
|
||||
}
|
||||
.image_2 {
|
||||
width: 25px;
|
||||
height: 12px;
|
||||
margin: 17px 14px 0 4px;
|
||||
}
|
||||
}
|
||||
.box_4 {
|
||||
width: 375px;
|
||||
height: 707px;
|
||||
.box_5 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
width: 375px;
|
||||
height: 48px;
|
||||
justify-content: flex-center;
|
||||
.label_1 {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin: 12px 0 0 12px;
|
||||
}
|
||||
.text_1 {
|
||||
width: 64px;
|
||||
height: 26px;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(0, 0, 0, 0.9);
|
||||
font-size: 16px;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 26px;
|
||||
margin: 11px 0 0 119px;
|
||||
}
|
||||
.block_1 {
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 16px;
|
||||
height: 32px;
|
||||
width: 87px;
|
||||
margin: 8px 12px 0 57px;
|
||||
.image-wrapper_1 {
|
||||
width: 20px;
|
||||
height: 1px;
|
||||
margin: 6px 0 0 45px;
|
||||
.thumbnail_1 {
|
||||
width: 20px;
|
||||
height: 1px;
|
||||
}
|
||||
}
|
||||
.group_1 {
|
||||
width: 61px;
|
||||
height: 16px;
|
||||
margin: 1px 0 8px 13px;
|
||||
.section_1 {
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
width: 18px;
|
||||
height: 6px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.section_2 {
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_6 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border-radius: 8px;
|
||||
height: 162px;
|
||||
width: 343px;
|
||||
margin: 10px 0 0 16px;
|
||||
.box_7 {
|
||||
width: 323px;
|
||||
height: 35px;
|
||||
margin: 9px 0 0 10px;
|
||||
.text_2 {
|
||||
width: 28px;
|
||||
height: 14px;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(131, 131, 131, 1);
|
||||
font-size: 14px;
|
||||
letter-spacing: -0.30000001192092896px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 14px;
|
||||
margin-top: 11px;
|
||||
}
|
||||
.label_2 {
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
}
|
||||
}
|
||||
.text-wrapper_1 {
|
||||
width: 323px;
|
||||
height: 14px;
|
||||
margin: 30px 0 0 10px;
|
||||
.text_3 {
|
||||
width: 28px;
|
||||
height: 14px;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(131, 131, 131, 1);
|
||||
font-size: 14px;
|
||||
letter-spacing: -0.30000001192092896px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 14px;
|
||||
}
|
||||
.text_4 {
|
||||
width: 56px;
|
||||
height: 14px;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 14px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
line-height: 14px;
|
||||
}
|
||||
}
|
||||
.text-wrapper_2 {
|
||||
width: 323px;
|
||||
height: 14px;
|
||||
margin: 40px 0 20px 10px;
|
||||
.text_5 {
|
||||
width: 56px;
|
||||
height: 14px;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(131, 131, 131, 1);
|
||||
font-size: 14px;
|
||||
letter-spacing: -0.30000001192092896px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 14px;
|
||||
}
|
||||
.text_6 {
|
||||
width: 99px;
|
||||
height: 14px;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 14px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
line-height: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_8 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border-radius: 8px;
|
||||
height: 157px;
|
||||
width: 343px;
|
||||
justify-content: flex-center;
|
||||
margin: 10px 0 0 16px;
|
||||
.text-wrapper_3 {
|
||||
width: 70px;
|
||||
height: 14px;
|
||||
margin: 15px 0 0 10px;
|
||||
.text_7 {
|
||||
width: 70px;
|
||||
height: 14px;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 14px;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
line-height: 14px;
|
||||
}
|
||||
}
|
||||
.group_2 {
|
||||
width: 323px;
|
||||
height: 98px;
|
||||
margin: 15px 0 15px 10px;
|
||||
.image-wrapper_2 {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
border-radius: 4px;
|
||||
height: 98px;
|
||||
width: 156px;
|
||||
.image_3 {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
margin: 14px 0 0 43px;
|
||||
}
|
||||
}
|
||||
.image-wrapper_3 {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
border-radius: 4px;
|
||||
height: 98px;
|
||||
width: 156px;
|
||||
.image_4 {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
margin: 14px 0 0 43px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_9 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border-radius: 8px;
|
||||
width: 343px;
|
||||
height: 139px;
|
||||
justify-content: flex-center;
|
||||
margin: 10px 0 171px 16px;
|
||||
.text_8 {
|
||||
width: 56px;
|
||||
height: 14px;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(51, 51, 51, 1);
|
||||
font-size: 14px;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
line-height: 14px;
|
||||
margin: 15px 0 0 10px;
|
||||
}
|
||||
.block_2 {
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
border-radius: 4px;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin: 15px 0 15px 10px;
|
||||
.image-text_1 {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin: 20px 0 0 20px;
|
||||
.label_3 {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
.text-group_1 {
|
||||
width: 40px;
|
||||
height: 10px;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(115, 124, 144, 1);
|
||||
font-size: 10px;
|
||||
font-family: PingFang SC-Regular;
|
||||
font-weight: NaN;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
line-height: 10px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.box_10 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
height: 60px;
|
||||
margin-top: -1px;
|
||||
width: 375px;
|
||||
.text-wrapper_4 {
|
||||
background-color: rgba(4, 78, 242, 1);
|
||||
border-radius: 20px;
|
||||
height: 40px;
|
||||
width: 343px;
|
||||
margin: 10px 0 0 16px;
|
||||
.text_9 {
|
||||
width: 32px;
|
||||
height: 16px;
|
||||
overflow-wrap: break-word;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-size: 16px;
|
||||
font-family: PingFang SC-Semibold;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
line-height: 16px;
|
||||
margin: 12px 0 0 159px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,225 +0,0 @@
|
||||
<template>
|
||||
<view class="page flex-col">
|
||||
<view class="box_1 flex-row">
|
||||
|
||||
|
||||
</view>
|
||||
<view class="box_4 flex-col">
|
||||
<view class="box_5 flex-row">
|
||||
<image
|
||||
class="label_1"
|
||||
referrerpolicy="no-referrer"
|
||||
src="/static/lanhu_gerenxinxiweitianxie/FigmaDDSSlicePNGacf527a62cbe7351c6472edd8f5b2814.png"
|
||||
@click="handleBack()"
|
||||
/>
|
||||
<text class="text_1">个人信息</text>
|
||||
|
||||
</view>
|
||||
<view class="box_6 flex-col">
|
||||
<view class="box_7 flex-row justify-between">
|
||||
<text class="text_2">头像</text>
|
||||
<u-upload
|
||||
:fileList="fileList1"
|
||||
@afterRead="afterRead"
|
||||
@delete="deletePic"
|
||||
name="1"
|
||||
:maxCount="1"
|
||||
width="80"
|
||||
height="80"
|
||||
:previewFullImage="true"
|
||||
>
|
||||
<image
|
||||
v-if="userDetails.avatar"
|
||||
class="label_2"
|
||||
:src="userDetails.avatar"
|
||||
mode="aspectFill"
|
||||
/>
|
||||
<image
|
||||
v-else
|
||||
class="label_2"
|
||||
src="/static/lanhu_gerenxinxiweitianxie/FigmaDDSSlicePNGcc6ee579083c2c921f6c93c250df5d44.png"
|
||||
/>
|
||||
</u-upload>
|
||||
<!-- <image
|
||||
class="label_2"
|
||||
referrerpolicy="no-referrer"
|
||||
src="/static/lanhu_gerenxinxiweitianxie/FigmaDDSSlicePNGcc6ee579083c2c921f6c93c250df5d44.png"
|
||||
/> -->
|
||||
|
||||
</view>
|
||||
<view class="text-wrapper_1 flex-row justify-between">
|
||||
<text class="text_3">昵称</text>
|
||||
<input class="text_4" v-model="name" type="text" placeholder="请填写昵称">
|
||||
<!-- <text class="text_4">千舟寻渡</text> -->
|
||||
</view>
|
||||
<view class="text-wrapper_2 flex-row justify-between">
|
||||
<text class="text_5">联系方式</text>
|
||||
<input class="text_6" v-model="name" type="text" placeholder="请填写联系方式">
|
||||
<!-- <text class="text_6">166 8888 6666</text> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="box_8 flex-col">
|
||||
<view class="text-wrapper_3 flex-row">
|
||||
<text class="text_7">身份证照片</text>
|
||||
</view>
|
||||
<view class="group_2 flex-row justify-between">
|
||||
<view class="image-wrapper_2 flex-col">
|
||||
<image
|
||||
class="image_3"
|
||||
referrerpolicy="no-referrer"
|
||||
src="/static/lanhu_gerenxinxiweitianxie/FigmaDDSSlicePNG613ddce187a71bcc667c56c84cd2d022.png"
|
||||
/>
|
||||
</view>
|
||||
<view class="image-wrapper_3 flex-col">
|
||||
<image
|
||||
class="image_4"
|
||||
referrerpolicy="no-referrer"
|
||||
src="/static/lanhu_gerenxinxiweitianxie/FigmaDDSSlicePNGc70887b65324cf1c7b3d66fcb7a32970.png"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="box_9 flex-col">
|
||||
<text class="text_8">生活照片</text>
|
||||
<view class="block_2 flex-row">
|
||||
<view class="image-text_1 flex-col justify-between">
|
||||
<image
|
||||
class="label_3"
|
||||
referrerpolicy="no-referrer"
|
||||
src="/static/lanhu_gerenxinxiweitianxie/FigmaDDSSlicePNG6ea89e46a56641bc7e118ef1d4d789d5.png"
|
||||
/>
|
||||
<text class="text-group_1">添加图片</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="box_10 flex-col">
|
||||
<view class="text-wrapper_4 flex-col">
|
||||
<text class="text_9">保存</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
import upload from '@/utils/upload.js'
|
||||
import request from '@/utils/request.js'
|
||||
import {getLocalUserInfo} from '../../utils/auth';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
// userDetails: [],
|
||||
userId: null,
|
||||
constants: {},
|
||||
avatarList: [],// 用于上传组件的文件列表
|
||||
idCardfileList: [],
|
||||
idCardList: [],
|
||||
lifePhotoList: [],
|
||||
imageUrl: this.$imagesUrl,
|
||||
userDetails: {
|
||||
avatar: '',
|
||||
name: null,
|
||||
phone: null,
|
||||
idCardImg: '',
|
||||
lifeImg: '',
|
||||
},
|
||||
};
|
||||
},
|
||||
onLoad(option) {
|
||||
this.userId = option.userId;
|
||||
this.getUserInfo()
|
||||
},
|
||||
methods: {
|
||||
handleBack() {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
},
|
||||
|
||||
getUserInfo() {
|
||||
request({
|
||||
url: '/app-api/small/dl-drive-school-student/getByUserId',
|
||||
method: 'GET',
|
||||
params: {
|
||||
userId: this.userId,
|
||||
},
|
||||
}).then(res => {
|
||||
this.userDetails = res.data
|
||||
if (res.data.avatar) {
|
||||
this.fileList1 = [{
|
||||
url: res.data.avatar,
|
||||
status: 'success'
|
||||
}]
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
// 删除图片
|
||||
deletePic(event) {
|
||||
this[`fileList${event.name}`].splice(event.index, 1)
|
||||
this.userDetails.avatar = '' // 清空头像
|
||||
},
|
||||
|
||||
// 新增图片
|
||||
afterRead(event) {
|
||||
// 当设置 mutiple 为 true 时, file 为数组格式,否则为对象格式
|
||||
let lists = [].concat(event.file)
|
||||
let fileListLen = this[`fileList${event.name}`].length
|
||||
lists.map((item) => {
|
||||
this[`fileList${event.name}`].push({
|
||||
...item,
|
||||
status: 'uploading',
|
||||
message: '上传中'
|
||||
})
|
||||
})
|
||||
|
||||
// 上传图片到服务器
|
||||
lists.map((item, index) => {
|
||||
this.uploadFilePromise(item.url).then(res => {
|
||||
let item = this[`fileList${event.name}`][fileListLen + index]
|
||||
this[`fileList${event.name}`].splice(fileListLen + index, 1, {
|
||||
...item,
|
||||
status: 'success',
|
||||
message: '',
|
||||
url: res.data.url
|
||||
})
|
||||
// 更新用户头像
|
||||
this.userDetails.avatar = this.baseUrl + '/' + res.data.url
|
||||
}).catch(err => {
|
||||
let item = this[`fileList${event.name}`][fileListLen + index]
|
||||
this[`fileList${event.name}`].splice(fileListLen + index, 1, {
|
||||
...item,
|
||||
status: 'failed',
|
||||
message: '上传失败'
|
||||
})
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
// 上传文件方法
|
||||
uploadFilePromise(e) {
|
||||
return new Promise((resolve, reject) => {
|
||||
uni.uploadFile({
|
||||
url: '/app-api/small-upload/common/upload',
|
||||
filePath: e,
|
||||
name: 'file',
|
||||
success: (res) => {
|
||||
if (res.statusCode === 200) {
|
||||
resolve(JSON.parse(res.data))
|
||||
} else {
|
||||
reject(new Error('上传失败'))
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
reject(err)
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang='scss'>
|
||||
@import '../common/common.scss';
|
||||
@import './assets/style/index.rpx.scss';
|
||||
</style>
|
@ -2,7 +2,7 @@
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
position: relative;
|
||||
width: 750rpx;
|
||||
height: 1624rpx;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
.box_1 {
|
||||
width: 750rpx;
|
||||
|
@ -78,21 +78,21 @@
|
||||
</view>
|
||||
|
||||
<view class="menu-list">
|
||||
<!-- 1. 个人信息 -->
|
||||
<!-- 个人信息 -->
|
||||
<view class="menu-item" @click="goMyInDetails()">
|
||||
<image class="menu-icon" src="/static/lanhu_gerenzhongxin/FigmaDDSSlicePNG1bb0cdc369203c305a42d848736e8f01.png" />
|
||||
<text class="menu-text">个人信息</text>
|
||||
<image class="menu-arrow" src="/static/lanhu_gerenzhongxin/FigmaDDSSlicePNG4f20daae79bb7c60189f8702897465d1.png" />
|
||||
</view>
|
||||
|
||||
<view class="menu-item">
|
||||
<!-- <view class="menu-item">
|
||||
<button open-type="contact" class="menu-item-btn">
|
||||
<image class="menu-icon" src="/static/lanhu_gerenzhongxin/FigmaDDSSlicePNGb5e90b5b4c1f154eb4e27313164118a4.png" />
|
||||
<text class="menu-text">在线客服</text>
|
||||
<image class="menu-arrow" src="/static/lanhu_gerenzhongxin/FigmaDDSSlicePNG4f20daae79bb7c60189f8702897465d1.png" />
|
||||
</button></view>
|
||||
</button></view> -->
|
||||
|
||||
<!-- 3. 消息中心 -->
|
||||
<!-- 消息中心 -->
|
||||
<view class="menu-item" @click="goFeedback">
|
||||
<image class="menu-icon" src="/static/lanhu_gerenzhongxin/FigmaDDSSlicePNGa728895586dafec1bde5f90c89d05c48.png" />
|
||||
<text class="menu-text">消息中心</text>
|
||||
@ -104,10 +104,10 @@
|
||||
|
||||
<tabbar :msg='msg'></tabbar>
|
||||
<u-popup round="20" :show="showQrCode" @close="closeQrCode" mode="center" zoom="false" @open="openQrCode">
|
||||
<view style="padding: 50rpx">
|
||||
<canvas id="qrcode" canvas-id="qrcode" style="width: 600rpx;height:600rpx;"/>
|
||||
<view style="padding: 50rpx 50rpx 20rpx 50rpx">
|
||||
<canvas id="qrcode" canvas-id="qrcode" style="width: 300rpx;height: 300rpx"/>
|
||||
</view>
|
||||
<span style="text-align: center">学车码</span>
|
||||
<span style="text-align: center;margin-bottom: 20rpx;">学车码</span>
|
||||
</u-popup>
|
||||
</view>
|
||||
</template>
|
||||
@ -136,6 +136,7 @@ export default {
|
||||
showQrCode: false,
|
||||
isCreateQrCode:true,
|
||||
noReadNum:0,
|
||||
rpxUnit: 2,
|
||||
loopData: [
|
||||
{
|
||||
url: '/static/myImgs/alreadyPaid.png',
|
||||
@ -169,6 +170,8 @@ export default {
|
||||
onLoad() {
|
||||
this.selfInfoLocal = getLocalUserInfo()
|
||||
this.getUserInfo()
|
||||
this.systemInfo()
|
||||
|
||||
},
|
||||
onShow() {
|
||||
if (getToken()) {
|
||||
@ -192,6 +195,11 @@ export default {
|
||||
tabbar
|
||||
},
|
||||
methods: {
|
||||
systemInfo(){
|
||||
const systemInfo = uni.getSystemInfoSync();
|
||||
//1rpx 转换px 的单位
|
||||
this.rpxUnit= (systemInfo.screenWidth / 750)
|
||||
},
|
||||
goback() {
|
||||
uni.navigateBack()
|
||||
},
|
||||
@ -203,7 +211,7 @@ export default {
|
||||
createQrCode(data) {
|
||||
const qr = new UQRCode();
|
||||
qr.data = data;
|
||||
qr.size = 300;
|
||||
qr.size = 300*this.rpxUnit-10;
|
||||
qr.make();
|
||||
const ctx = uni.createCanvasContext('qrcode', this); // 组件内调用需传this,vue3 中 this 为 getCurrentInstance()?.proxy
|
||||
qr.canvasContext = ctx;
|
||||
@ -252,6 +260,7 @@ export default {
|
||||
uni.navigateTo({
|
||||
url: "/pages/login/login"
|
||||
})
|
||||
return
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: `/newPages/orderList/index?orderType=${orderType}&type=${type}&userId=${this.selfInfo.id}`
|
||||
@ -262,9 +271,10 @@ export default {
|
||||
uni.navigateTo({
|
||||
url: "/pages/login/login"
|
||||
})
|
||||
return
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: `/newPages/information/index?userId=${this.selfInfo.id}`
|
||||
url: `/pagesA/information/index?userId=${this.selfInfo.id}`
|
||||
})
|
||||
},
|
||||
goFeedback(){
|
||||
|
@ -2,7 +2,7 @@
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
position: relative;
|
||||
//width: 750rpx;
|
||||
//height: 1706rpx;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
.section_1 {
|
||||
height: 500rpx;
|
||||
|
@ -21,9 +21,20 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="box_4 flex-row justify-between">
|
||||
|
||||
<view class="image-text_2 flex-row justify-between">
|
||||
<u-notice-bar direction="column" duration="10000" bgColor="#e9f1ff" color="black" :text="textList" icon="/static/lanhu_shouye2gai/FigmaDDSSlicePNGd2c17b5f24182e597acbfa50481040c1.png"></u-notice-bar>
|
||||
<!-- <u-notice-bar direction="column" duration="10000" bgColor="#e9f1ff" color="black" :text="textList.map(item => item.title)" @click="handleNoticeClick" icon="/static/lanhu_shouye2gai/FigmaDDSSlicePNGd2c17b5f24182e597acbfa50481040c1.png"></u-notice-bar> -->
|
||||
<u-notice-bar
|
||||
direction="column"
|
||||
duration="10000"
|
||||
bgColor="#e9f1ff"
|
||||
color="black"
|
||||
:text="textList"
|
||||
@click="handleNoticeClick"
|
||||
icon="/static/lanhu_shouye2gai/FigmaDDSSlicePNGd2c17b5f24182e597acbfa50481040c1.png"
|
||||
/>
|
||||
</view>
|
||||
|
||||
<view class="group_3 flex-col justify-between">
|
||||
<view class="block_5 flex-col"></view>
|
||||
<view class="block_6 flex-col"></view>
|
||||
@ -59,8 +70,8 @@
|
||||
import SchoolInfo from './SchoolInfo.vue';
|
||||
import request from "@/utils/request";
|
||||
import {
|
||||
getCoachId,
|
||||
getInviteId,
|
||||
getCoachId,
|
||||
getInviteId,
|
||||
getLocalUserInfo,
|
||||
getToken,
|
||||
removeCoachId,
|
||||
@ -107,6 +118,7 @@ export default {
|
||||
total: 0,
|
||||
imageUrl: this.$imagesUrl,
|
||||
textList:[],
|
||||
noticeList: [],
|
||||
qTenantId: null,
|
||||
qCoachId: null,
|
||||
};
|
||||
@ -131,6 +143,7 @@ export default {
|
||||
removeInviteId()
|
||||
removeCoachId()
|
||||
removeTenantId()
|
||||
this.getList()
|
||||
/* uni.reLaunch({
|
||||
url: '/pages-home/home/home'
|
||||
}) */
|
||||
@ -168,7 +181,6 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
getList() {
|
||||
const params = {
|
||||
pageNo: this.pageNo,
|
||||
@ -211,22 +223,44 @@ export default {
|
||||
/**
|
||||
* 实时讯息
|
||||
*/
|
||||
async getTextList() {
|
||||
/* async getTextList() {
|
||||
let res = await request({
|
||||
url: '/app-api/drivingSchool/text/list',
|
||||
url: '/app-api/base/notice/pageList',
|
||||
method: 'get',
|
||||
params: {
|
||||
pageNum: 1,
|
||||
pageSize: 10000
|
||||
pageSize: 10000,
|
||||
parentServer: 'jiaxiao',
|
||||
server: 'wx'
|
||||
}
|
||||
})
|
||||
// this.textList = res.data.records
|
||||
// 将textList中的title拼接成数组赋值给textList
|
||||
this.textList = []
|
||||
res.data.records.forEach(item => {
|
||||
this.textList.push(item.title)
|
||||
})
|
||||
},
|
||||
}, */
|
||||
async getTextList() {
|
||||
let res = await request({
|
||||
url: '/app-api/base/notice/pageList',
|
||||
method: 'get',
|
||||
params: {
|
||||
pageNum: 1,
|
||||
pageSize: 10000,
|
||||
parentServer: 'jiaxiao',
|
||||
server: 'wx'
|
||||
}
|
||||
})
|
||||
this.noticeList = res.data.records // 保留原始数据
|
||||
this.textList = res.data.records.map(item => item.title) // 提取 title 用于展示
|
||||
},
|
||||
handleNoticeClick(index) {
|
||||
const currentNotice = this.noticeList[index]
|
||||
if (currentNotice && currentNotice.id) {
|
||||
uni.navigateTo({
|
||||
url: `/pagesA/noticeContent/index?id=${currentNotice.id}`
|
||||
})
|
||||
}
|
||||
},
|
||||
getSwiperList() {
|
||||
request({
|
||||
url: '/app-api/drivingSchool/text/swiper/list',
|
||||
@ -304,7 +338,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: '/newPages/appointment/index'
|
||||
url: '/pagesA/appointment/index'
|
||||
});
|
||||
break;
|
||||
case '考试结果录入':
|
||||
@ -324,7 +358,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: '/newPages/examinationList/index'
|
||||
url: '/pagesA/examinationList/index'
|
||||
});
|
||||
break;
|
||||
case '评价':
|
||||
@ -344,7 +378,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: '/newPages/evaluate/index'
|
||||
url: '/pagesA/evaluate/index'
|
||||
});
|
||||
break;
|
||||
default:
|
||||
|
@ -18,57 +18,12 @@
|
||||
<text class="text_3_2">地址:{{ schoolInfo.address }}</text>
|
||||
<view class="text-wrapper_1 flex-row justify-between">
|
||||
<text class="text_4">营业时间</text>
|
||||
<!-- <text class="text_5">08:00-18:00</text> -->
|
||||
<text class="text_5">{{ schoolInfo.businessStartTime }} - {{schoolInfo.businessEndTime}}</text>
|
||||
<text class="text_5" v-if=" schoolInfo.businessStartTime && schoolInfo.businessEndTime ">{{ schoolInfo.businessStartTime }} - {{ schoolInfo.businessEndTime }}</text>
|
||||
<text class="text_5" v-else>08:00-18:00</text>
|
||||
</view>
|
||||
<!-- <view class="block_2 flex-row">-->
|
||||
<!-- <view class="text-group_1 flex-col justify-between">-->
|
||||
<!-- <text class="text_6">{{ schoolDetails.address }}</text>-->
|
||||
<!-- <text class="text_7">距离4.0km</text>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="image-wrapper_2 flex-col">-->
|
||||
<!-- <image-->
|
||||
<!-- class="label_2"-->
|
||||
<!-- referrerpolicy="no-referrer"-->
|
||||
<!-- src="/static/lanhu_jiaxiaoxiangqing/FigmaDDSSlicePNGb598f2a62156745f7ba827352fd17464.png"-->
|
||||
<!-- />-->
|
||||
<!-- </view>-->
|
||||
<!-- </view>-->
|
||||
|
||||
</view>
|
||||
|
||||
<!-- <view class="container">
|
||||
|
||||
<view class="section-title">
|
||||
<text class="title">报名类型</text>
|
||||
</view>
|
||||
|
||||
|
||||
<view class="class-list">
|
||||
<view class="class-item" v-for="(item, index) in schoolClassList" :key="index">
|
||||
<image class="class-image" :src="item.photo" />
|
||||
<view class="class-info">
|
||||
<text class="class-name">{{ item.tittle }}</text>
|
||||
<view class="class-details">
|
||||
<text class="class-type">{{ item.name }}</text>
|
||||
<text class="class-license">{{ item.type }}</text>
|
||||
</view>
|
||||
<view class="class-price">
|
||||
<text class="price">¥{{ item.price - item.favour }}</text>
|
||||
<text class="original-price">¥{{ item.price }}</text>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<view class="view-all" @click="goClassList()">
|
||||
<text>查看全部班型 ({{ schoolClassList.length }})</text>
|
||||
<image src="/static/arrow.png" class="arrow-icon" />
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
|
||||
<view class="group_6 flex-col">
|
||||
<view class="box_4 flex-row justify-between">
|
||||
<view class="box_5 flex-col"></view>
|
||||
@ -337,7 +292,7 @@ export default {
|
||||
// 跳转到详情页
|
||||
goToDetail(courseId) {
|
||||
uni.navigateTo({
|
||||
url: `/newPages/courseDetail/index?courseId=${courseId}&tenantId=${this.tenantId}`,
|
||||
url: `/pagesA/courseDetail/index?courseId=${courseId}&tenantId=${this.tenantId}`,
|
||||
});
|
||||
},
|
||||
|
||||
|
350
pages.json
@ -24,101 +24,6 @@
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "pages/index/schoolList",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "驾校列表",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/Details",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "驾校详情",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/reservation/reservation",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "预约中心",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/courseInfo",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "课程详情",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/bmPage",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "报名页面",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/schoolFeedback",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "意见反馈",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/TextInfo",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "实施讯系",
|
||||
"navigationStyle": "custom",
|
||||
"backgroundColorTop": "#fff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/schoolCounseling",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "列表",
|
||||
"navigationStyle": "custom",
|
||||
"backgroundColorTop": "#fff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/schoolCDetails",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "列表详情",
|
||||
"navigationStyle": "custom",
|
||||
"backgroundColorTop": "#fff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/coachDetails",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "教练详情",
|
||||
"navigationStyle": "custom",
|
||||
"backgroundColorTop": "#fff"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/TextContrnt",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "公告信息",
|
||||
"navigationStyle": "custom",
|
||||
"backgroundColorTop": "#fff"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "pages/login/login",
|
||||
"style": {
|
||||
@ -127,71 +32,7 @@
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/my",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "预约中心",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/passThrough",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "考试通过",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "pages/index/bookingInfo",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "预约详情",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/allOrders",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "全部订单",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/selfInfo",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "个人信息",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/jlInfo",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "教练信息",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
// {
|
||||
// "path": "newPages/newIndex/index",
|
||||
// "style": {
|
||||
// "enablePullDownRefresh": true,
|
||||
// "navigationBarTitleText": "考试通过",
|
||||
// "navigationStyle": "custom"
|
||||
// }
|
||||
// },
|
||||
{
|
||||
"path": "newPages/appointmentDetail/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "考试通过",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "newPages/orderList/index",
|
||||
"style": {
|
||||
@ -200,22 +41,8 @@
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "newPages/evaluateAdd/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "考试通过",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "newPages/examinationList/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "考试通过",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"path": "newPages/courseList/index",
|
||||
"style": {
|
||||
@ -224,22 +51,7 @@
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "newPages/evaluate/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "考试通过",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "newPages/appointment/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "考试通过",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "newPages/my/index",
|
||||
"style": {
|
||||
@ -248,14 +60,7 @@
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "newPages/examinationAdd/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "考试通过",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "newPages/schoolDetail/index",
|
||||
"style": {
|
||||
@ -264,38 +69,9 @@
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "newPages/courseDetail/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "考试通过",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "newPages/informationAdd/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "考试通过",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "newPages/information/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "考试通过",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "newPages/appointmentAdd/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "考试通过",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
{
|
||||
"path": "newPages/schoolList/index",
|
||||
"style": {
|
||||
@ -304,14 +80,7 @@
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "newPages/register/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "报名",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "newPages/messageCenter/index",
|
||||
"style": {
|
||||
@ -330,6 +99,107 @@
|
||||
}
|
||||
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pagesA",
|
||||
"pages": [
|
||||
{
|
||||
"path": "appointmentAdd/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "添加预约",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "appointmentDetail/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "预约详情",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "appointment/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "预约",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "evaluateAdd/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "添加评价",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "evaluate/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "评价",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "examinationList/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "考试成绩录入列表",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "examinationAdd/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "考试成绩录入",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "register/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "报名",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "information/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "个人信息",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "courseDetail/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "课程详情",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "noticeContent/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": "通知公告详情",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "uni_modules",
|
||||
"name": "modules",
|
||||
"pages": []
|
||||
}
|
||||
],
|
||||
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "uni-app",
|
||||
|
@ -122,7 +122,7 @@ export default {
|
||||
const pages = getCurrentPages();
|
||||
const prevPage = pages[pages.length - 2];
|
||||
|
||||
if (prevPage && (prevPage.route === 'newPages/register/index' || prevPage.route === '/newPages/register/index')) {
|
||||
if (prevPage && (prevPage.route === 'pagesA/register/index' || prevPage.route === '/pagesA/register/index')) {
|
||||
if (this.callback) { // 从onLoad中获取的callback
|
||||
try {
|
||||
const callback = decodeURIComponent(this.callback);
|
||||
|
@ -2,7 +2,8 @@
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
position: relative;
|
||||
width: 750rpx;
|
||||
height: 1624rpx;
|
||||
// height: 1624rpx;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
.box_1 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
@ -417,7 +418,7 @@
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
height: 120rpx;
|
||||
margin-top: -2rpx;
|
||||
//width: 750rpx;
|
||||
width: 100%;
|
||||
.text-wrapper_12 {
|
||||
background-color: rgba(4, 78, 242, 1);
|
||||
border-radius: 20px;
|
@ -8,7 +8,7 @@
|
||||
<view style="padding: 10rpx 30rpx">
|
||||
<u-subsection :list="list" :current="curNow" @change="sectionChange"></u-subsection>
|
||||
</view>
|
||||
<scroll-view style="height: 1200rpx;" scroll-y="true" class="itemContent" @scrolltolower="onReachBottomCus"
|
||||
<scroll-view :style="{ height: scrollHeight + 'px' }" scroll-y="true" class="scroll-view" @scrolltolower="onReachBottomCus"
|
||||
refresher-enabled @refresherrefresh="onRefresherrefresh" :refresher-triggered="isTriggered" v-if="appointmentList.length > 0">
|
||||
<!-- 新增内容容器 -->
|
||||
<view class="box_2 flex-col" v-if="curNow === 0">
|
||||
@ -114,7 +114,8 @@
|
||||
constants: {},
|
||||
list: ['预约记录', '训练记录'],
|
||||
curNow: 0,
|
||||
subjectArr: ['科目一', '科目二', '科目三', '科目四']
|
||||
subjectArr: ['科目一', '科目二', '科目三', '科目四'],
|
||||
scrollHeight: 0,
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
@ -129,6 +130,10 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
onReady() {
|
||||
// 动态计算滚动区域高度
|
||||
this.calculateScrollHeight();
|
||||
},
|
||||
methods: {
|
||||
goback() {
|
||||
uni.navigateBack()
|
||||
@ -188,9 +193,19 @@
|
||||
goDetail(data, str) {
|
||||
//将data转为字符串
|
||||
uni.navigateTo({
|
||||
url: `/newPages/appointmentDetail/index?data=${JSON.stringify(data)}&type=${str}`
|
||||
url: `/pagesA/appointmentDetail/index?data=${JSON.stringify(data)}&type=${str}`
|
||||
})
|
||||
},
|
||||
calculateScrollHeight() {
|
||||
// 获取屏幕高度
|
||||
const screenHeight = uni.getSystemInfoSync().windowHeight;
|
||||
// 获取顶部区域高度(头部+分段选择器)
|
||||
const topHeight = 138; // 140rpx转换为px
|
||||
// 获取底部按钮高度(假设约100rpx)
|
||||
const bottomHeight = uni.upx2px(120);
|
||||
// 计算滚动区域高度
|
||||
this.scrollHeight = screenHeight - topHeight - bottomHeight;
|
||||
},
|
||||
/**
|
||||
* 上滑加载数据
|
||||
*/
|
||||
@ -225,13 +240,13 @@
|
||||
},
|
||||
goAppointment() {
|
||||
uni.navigateTo({
|
||||
url: '/newPages/appointmentAdd/index'
|
||||
url: '/pagesA/appointmentAdd/index'
|
||||
})
|
||||
},
|
||||
goEvaluateAdd(data) {
|
||||
data = JSON.stringify(data)
|
||||
uni.navigateTo({
|
||||
url: `/newPages/evaluateAdd/index?data=${data}&type=xunlian&controls=add`
|
||||
url: `/pagesA/evaluateAdd/index?data=${data}&type=xunlian&controls=add`
|
||||
})
|
||||
},
|
||||
}
|
65
pagesA/common/common.css
Normal file
@ -0,0 +1,65 @@
|
||||
body * {
|
||||
box-sizing: border-box;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
body {
|
||||
font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
|
||||
Arial, PingFang SC-Light, Microsoft YaHei;
|
||||
}
|
||||
button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
button:active {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.flex-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.flex-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.justify-start {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.justify-center {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.justify-end {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.justify-evenly {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.justify-around {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.justify-between {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.align-start {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.align-center {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.align-end {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
65
pagesA/common/common.less
Normal file
@ -0,0 +1,65 @@
|
||||
body * {
|
||||
box-sizing: border-box;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
body {
|
||||
font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
|
||||
Arial, PingFang SC-Light, Microsoft YaHei;
|
||||
}
|
||||
button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
button:active {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.flex-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.flex-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.justify-start {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.justify-center {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.justify-end {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.justify-evenly {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.justify-around {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.justify-between {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.align-start {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.align-center {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.align-end {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
64
pagesA/common/common.scss
Normal file
@ -0,0 +1,64 @@
|
||||
body * {
|
||||
box-sizing: border-box;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
body {
|
||||
font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
|
||||
Arial, PingFang SC-Light, Microsoft YaHei;
|
||||
}
|
||||
button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
button:active {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.flex-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.flex-row {
|
||||
display: flex;
|
||||
//flex-direction: row;
|
||||
}
|
||||
.justify-start {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.justify-center {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.justify-end {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.justify-evenly {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.justify-around {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.justify-between {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.align-start {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.align-center {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.align-end {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
@ -140,7 +140,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: `/newPages/register/index?courseId=${this.courseDetails.id}&userId=${this.userDetails.id}&tenantId=${this.tenantId}`,
|
||||
url: `/pagesA/register/index?courseId=${this.courseDetails.id}&userId=${this.userDetails.id}&tenantId=${this.tenantId}`,
|
||||
// url: '/pages/index/bmPage'
|
||||
});
|
||||
},
|
@ -160,7 +160,7 @@ export default {
|
||||
goEvaluateDetail(data) {
|
||||
data = JSON.stringify(data)
|
||||
uni.navigateTo({
|
||||
url: `/newPages/evaluateAdd/index?data=${data}`
|
||||
url: `/pagesA/evaluateAdd/index?data=${data}`
|
||||
})
|
||||
}
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
position: relative;
|
||||
width: 750rpx;
|
||||
height: 1624rpx;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
.section_1 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="page flex-col">
|
||||
<view style="width: 100%;background: #f4f5f6;box-sizing: border-box;padding-top: 88px;">
|
||||
<headers titles="评价表单">
|
||||
<headers titles="评价详情">
|
||||
<uni-icons type="left" color="#000000" size="22px"></uni-icons>
|
||||
</headers>
|
||||
</view>
|
||||
@ -50,10 +50,10 @@
|
||||
</view>
|
||||
<view class="bottom_" v-if="show">
|
||||
|
||||
<view class="text-wrapper_5 flex-col" style="display: flex; justify-content: center; width: 60%;"
|
||||
<view class="text-wrapper_5 flex-col" style="display: flex; justify-content: center; align-items: center; width: 80%;"
|
||||
@click="submit">
|
||||
<view style="background-color: #044EF2; padding: 20rpx 80rpx; border-radius: 18rpx;text-align: center ">
|
||||
<text style="color: white; font-size: 28rpx;">确认评价</text>
|
||||
<view style="background-color: #044EF2; padding: 20rpx 80rpx;text-align: center; border-radius: 20px; width: 85%;">
|
||||
<text style="color: white; font-weight: 600; font-size: 32rpx;">确认评价</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -167,12 +167,13 @@
|
||||
.bottom_ {
|
||||
//固定在底部
|
||||
position: fixed;
|
||||
bottom: 10rpx;
|
||||
bottom: 1rpx;
|
||||
width: 100%;
|
||||
background: white;
|
||||
padding: 40rpx 0;
|
||||
padding: 15rpx 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
/* 新增:水平居中 */
|
||||
}
|
||||
.text-group_2 {
|
@ -2,7 +2,7 @@
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
position: relative;
|
||||
width: 750rpx;
|
||||
height: 1624rpx;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
.group_1 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
@ -438,7 +438,7 @@
|
||||
border-radius: 20px;
|
||||
height: 80rpx;
|
||||
width: 686rpx;
|
||||
margin: 20rpx 0 0 32rpx;
|
||||
margin: 20rpx 0 10rpx 32rpx;
|
||||
.text_19 {
|
||||
width: 192rpx;
|
||||
height: 32rpx;
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="page flex-col">
|
||||
<view class="group_1 flex-row">
|
||||
<!-- <view class="group_1 flex-row">
|
||||
|
||||
|
||||
</view>
|
||||
@ -13,7 +13,17 @@
|
||||
/>
|
||||
<text class="text_1">考试结果</text>
|
||||
|
||||
</view>
|
||||
</view> -->
|
||||
<view style="width: 100%;background: #f4f5f6;box-sizing: border-box;padding-top: 88px;">
|
||||
<headers titles="考试结果">
|
||||
<uni-icons type="left" color="#000000" size="22px"></uni-icons>
|
||||
</headers>
|
||||
</view>
|
||||
<view >
|
||||
<scroll-view
|
||||
:style="{ height: scrollHeight + 'px' }"
|
||||
scroll-y="true" class="scroll-view"
|
||||
>
|
||||
<view class="group_4 flex-col">
|
||||
<view class="block_1 flex-row justify-between" @click="show = true">
|
||||
<text class="text_19">是否通过</text>
|
||||
@ -111,6 +121,8 @@
|
||||
></u-upload>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="block_8 flex-col">
|
||||
<view class="text-wrapper_8 flex-col" @click="saveData()">
|
||||
<text class="text_19">确定</text>
|
||||
@ -122,8 +134,12 @@
|
||||
import upload from '@/utils/upload.js'
|
||||
import request from '@/utils/request.js'
|
||||
import {getLocalUserInfo} from '../../utils/auth';
|
||||
import headers from "@/components/header/headers.vue";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
headers
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
show: false,
|
||||
@ -163,6 +179,7 @@ export default {
|
||||
},
|
||||
minTime: 0,
|
||||
maxTime: 0,
|
||||
scrollHeight: 0,
|
||||
constants: {}
|
||||
};
|
||||
},
|
||||
@ -184,6 +201,10 @@ export default {
|
||||
this.process.coachId = options.coachId
|
||||
this.process.userName = options.nickname
|
||||
},
|
||||
onReady() {
|
||||
// 动态计算滚动区域高度
|
||||
this.calculateScrollHeight();
|
||||
},
|
||||
computed: {
|
||||
displayFileList() {
|
||||
return this.fileList.map(item => {
|
||||
@ -352,6 +373,14 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
calculateScrollHeight() {
|
||||
// 获取屏幕高度
|
||||
const screenHeight = uni.getSystemInfoSync().windowHeight;
|
||||
// 获取顶部区域高度
|
||||
const topHeight = 145;
|
||||
// 计算滚动区域高度
|
||||
this.scrollHeight = screenHeight - topHeight;
|
||||
},
|
||||
|
||||
saveData() {
|
||||
if (!this.process.userId || !this.process.subject || !this.process.examScore || !this.process.examStatus || !this.process.examTime) {
|
@ -202,7 +202,7 @@ export default {
|
||||
// 跳转成绩录入界面
|
||||
goToScoreEntry(course) {
|
||||
this.$u.route({
|
||||
url: '/newPages/examinationAdd/index',
|
||||
url: '/pagesA/examinationAdd/index',
|
||||
params: {
|
||||
courseId: course.value,
|
||||
courseType: course.courseType,
|
||||
@ -351,21 +351,21 @@ export default {
|
||||
// 跳转到成绩录入页面
|
||||
goScoreInput(item) {
|
||||
uni.navigateTo({
|
||||
url: `/newPages/examinationAdd/index?id=${item.batchItemId}&batchId=${item.batchId}&batchId=${item.batchId}&tenantId=${item.tenantId}&courseType=${item.courseType}&subject=${item.subject}&courseId=${item.courseId}&coachId=${item.coachId}`
|
||||
url: `/pagesA/examinationAdd/index?id=${item.batchItemId}&batchId=${item.batchId}&batchId=${item.batchId}&tenantId=${item.tenantId}&courseType=${item.courseType}&subject=${item.subject}&courseId=${item.courseId}&coachId=${item.coachId}`
|
||||
});
|
||||
},
|
||||
// 跳转到开始评价页面
|
||||
goEvaluate(item) {
|
||||
item = JSON.stringify(item)
|
||||
uni.navigateTo({
|
||||
url: `/newPages/evaluateAdd/index?data=${item}&type=kaoshi&controls=add`
|
||||
url: `/pagesA/evaluateAdd/index?data=${item}&type=kaoshi&controls=add`
|
||||
})
|
||||
},
|
||||
|
||||
// 跳转到查看评价页面
|
||||
goViewEvaluation(item) {
|
||||
uni.navigateTo({
|
||||
url: `/newPages/evaluationDetail/index?evaluateId=${item.evaluateId}`
|
||||
url: `/pagesA/evaluationDetail/index?evaluateId=${item.evaluateId}`
|
||||
})
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
background-color: rgba(242, 244, 248, 1);
|
||||
position: relative;
|
||||
width: 750rpx;
|
||||
height: 1624rpx;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
.block_1 {
|
||||
background-color: rgba(255, 255, 255, 1);
|
@ -1,9 +1,15 @@
|
||||
<template>
|
||||
<view class="page flex-col">
|
||||
<view class="block_1 flex-row">
|
||||
</view>
|
||||
<!-- <view class="block_1 flex-row">{{ 123 }}
|
||||
</view> -->
|
||||
<view style="width: 100%;background: #f4f5f6;box-sizing: border-box;padding-top: 88px;">
|
||||
<headers titles="个人信息">
|
||||
<uni-icons type="left" color="#000000" size="22px"></uni-icons>
|
||||
</headers>
|
||||
</view>
|
||||
<view :style="{ height: scrollHeight + 'px' }">
|
||||
<view class="block_2 flex-col">
|
||||
<view class="group_1 flex-row">
|
||||
<!-- <view class="group_1 flex-row">
|
||||
<image
|
||||
class="label_1"
|
||||
referrerpolicy="no-referrer"
|
||||
@ -12,7 +18,8 @@
|
||||
/>
|
||||
<text class="text_1">个人信息</text>
|
||||
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view class="group_4 flex-col">
|
||||
<view class="block_4 flex-row justify-between">
|
||||
<text class="text_2">头像</text>
|
||||
@ -119,6 +126,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="block_5 flex-col">
|
||||
<view class="text-wrapper_4 flex-col" @click="handleSave">
|
||||
<text class="text_9">保存</text>
|
||||
@ -130,8 +138,12 @@
|
||||
import upload from '@/utils/upload.js'
|
||||
import request from '@/utils/request.js'
|
||||
import { getLocalUserInfo } from '../../utils/auth';
|
||||
import headers from "@/components/header/headers.vue";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
headers
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
usersMsg: {},
|
||||
@ -152,6 +164,7 @@ export default {
|
||||
lifeImg: '',
|
||||
},
|
||||
noN:true,
|
||||
scrollHeight: 0,
|
||||
|
||||
loopData0: [
|
||||
{
|
||||
@ -188,6 +201,10 @@ export default {
|
||||
this.userDetails.userId = option.userId;
|
||||
this.getUserInfo()
|
||||
},
|
||||
onReady() {
|
||||
// 动态计算滚动区域高度
|
||||
this.calculateScrollHeight();
|
||||
},
|
||||
methods: {
|
||||
handleBack() {
|
||||
uni.navigateBack({
|
||||
@ -201,7 +218,7 @@ export default {
|
||||
request({
|
||||
url: '/app-api/small/dl-drive-school-student/getByUserId',
|
||||
method: 'GET',
|
||||
params: { userId: this.userId }
|
||||
params: { userId: this.userId },
|
||||
}).then(res => {
|
||||
if (!res.data) {
|
||||
this.noN = false;
|
||||
@ -370,6 +387,14 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
calculateScrollHeight() {
|
||||
// 获取屏幕高度
|
||||
const screenHeight = uni.getSystemInfoSync().windowHeight;
|
||||
// 获取顶部区域高度
|
||||
const topHeight = 145;
|
||||
// 计算滚动区域高度
|
||||
this.scrollHeight = screenHeight - topHeight;
|
||||
},
|
||||
|
||||
|
||||
handleSave() {
|
165
pagesA/noticeContent/index.vue
Normal file
@ -0,0 +1,165 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<VNavigationBar titleColor="rgba(0,0,0,0.9)" backgroundColor="#fff" title="通知公告详情"></VNavigationBar>
|
||||
<view class="body">
|
||||
<view class="header">
|
||||
<view class="title line-clamp-3">{{ noticeDetails.title }}</view>
|
||||
<view class="time" v-if="noticeDetails.updateTime">{{ getCurrentDateTime(noticeDetails.updateTime) }}</view>
|
||||
</view>
|
||||
<view class="content">
|
||||
<u-parse :content="noticeDetails.content"></u-parse>
|
||||
<!-- <u-parse :content="test"></u-parse> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getJSONData} from "@/utils/auth";
|
||||
import VNavigationBar from '@/components/tabbar/VNavigationBar.vue'
|
||||
import request from '@/utils/request.js'
|
||||
|
||||
export default {
|
||||
name: "content",
|
||||
components: {VNavigationBar},
|
||||
filters: {
|
||||
formatRichText(html) {
|
||||
const nodes = parser.getRichTextJson(html)
|
||||
return nodes.children
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
richTextHtml: '',
|
||||
toUrl:null,
|
||||
noticeId: null,
|
||||
noticeDetails: [],
|
||||
};
|
||||
},
|
||||
onLoad(data) {
|
||||
console.log('data', data.id)
|
||||
this.noticeId = data.id
|
||||
this.getNoticeById()
|
||||
},
|
||||
methods:{
|
||||
getNoticeById(){
|
||||
request({
|
||||
url: '/app-api/base/notice/get',
|
||||
method: 'GET',
|
||||
params: {
|
||||
id: this.noticeId
|
||||
}
|
||||
}).then(res => {
|
||||
this.noticeDetails = res.data
|
||||
})
|
||||
},
|
||||
// 格式化时间
|
||||
getCurrentDateTime() {
|
||||
const now = new Date();
|
||||
|
||||
const year = now.getFullYear();
|
||||
const month = String(now.getMonth() + 1).padStart(2, '0');
|
||||
const day = String(now.getDate()).padStart(2, '0');
|
||||
const hours = String(now.getHours()).padStart(2, '0');
|
||||
const minutes = String(now.getMinutes()).padStart(2, '0');
|
||||
const seconds = String(now.getSeconds()).padStart(2, '0');
|
||||
|
||||
return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
|
||||
// return now;
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.container {
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #ffffff;
|
||||
|
||||
.body {
|
||||
flex: 1;
|
||||
padding: 24rpx 32rpx;
|
||||
overflow-y: auto;
|
||||
box-sizing: border-box;
|
||||
|
||||
.header {
|
||||
margin-bottom: 40rpx;
|
||||
padding-bottom: 24rpx;
|
||||
border-bottom: 1rpx solid #f0f0f0;
|
||||
|
||||
.title {
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
color: #333333;
|
||||
line-height: 1.5;
|
||||
margin-bottom: 16rpx;
|
||||
word-break: break-word;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.time {
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
font-size: 30rpx;
|
||||
color: #333333;
|
||||
line-height: 1.8;
|
||||
|
||||
/* 图片样式增强 */
|
||||
img {
|
||||
max-width: 100% !important; /* 确保图片不超过容器宽度 */
|
||||
height: auto !important; /* 保持图片原始比例 */
|
||||
display: block; /* 改为块级元素避免间隙 */
|
||||
margin: 32rpx auto; /* 增加上下边距 */
|
||||
border-radius: 12rpx; /* 圆角效果 */
|
||||
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08); /* 轻微阴影提升层次感 */
|
||||
background-color: #f8f8f8; /* 加载时的背景色 */
|
||||
}
|
||||
|
||||
/* 图片点击预览(可选) */
|
||||
img {
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
img:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
/* 其他富文本元素样式 */
|
||||
p {
|
||||
margin: 24rpx 0;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
margin: 32rpx 0 24rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #2979ff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin: 24rpx 0;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
th, td {
|
||||
border: 1rpx solid #e0e0e0;
|
||||
padding: 16rpx;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
Before Width: | Height: | Size: 412 KiB |
Before Width: | Height: | Size: 328 B |
Before Width: | Height: | Size: 219 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 113 KiB |
Before Width: | Height: | Size: 452 B |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 211 B After Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 135 B |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 452 B |
Before Width: | Height: | Size: 211 B |
Before Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 135 B |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 135 B |
Before Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 158 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 135 B |
Before Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 452 B |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 211 B After Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 297 B |