添加侧边栏

This commit is contained in:
Mr.jiang 2024-08-21 10:35:50 +08:00
parent 965eb445fd
commit 50d44697b6
2 changed files with 27 additions and 33 deletions

View File

@ -275,6 +275,11 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
/deep/.zp-empty-view-center{
position: absolute;
margin-top: 106px;
margin-left: 42%;
}
/deep/.z-tabs-item-title /deep/span{ /deep/.z-tabs-item-title /deep/span{
white-space: nowrap; white-space: nowrap;
} }
@ -287,7 +292,7 @@
.body { .body {
height: 100vh; height: 100vh;
display: flex; display: flex;
justify-content: space-between; justify-content: end;
.leftTab { .leftTab {
width: 177rpx; width: 177rpx;
@ -296,7 +301,8 @@
border-radius: 0px 15rpx 0px 0px; border-radius: 0px 15rpx 0px 0px;
padding: 24rpx 11rpx; padding: 24rpx 11rpx;
box-sizing: border-box; box-sizing: border-box;
position: fixed;
left: 0;
.tabBox { .tabBox {
height: 100%; height: 100%;
@ -311,16 +317,16 @@
} }
.tabActive { .tabActive {
background: #60B347; background: #0ca58b;
color: #ffffff; color: #ffffff;
} }
} }
} }
.rightGoods { .rightGoods {
width: 573rpx; width: 280px;
height: 100%; height: 100%;
padding: 0 16rpx 27rpx; // padding: 0 16rpx 27rpx;
box-sizing: border-box; box-sizing: border-box;
.whiteBox { .whiteBox {
@ -491,7 +497,7 @@
} }
.item-view { .item-view {
width: 60%; width: 55%;
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -501,7 +507,7 @@
} }
.item-img { .item-img {
width: 240rpx; width: 110px;
height: 200rpx; height: 200rpx;
border-radius: 14rpx; border-radius: 14rpx;
position: relative; position: relative;

View File

@ -147,25 +147,6 @@
} }
}, },
getData() { getData() {
// this.$Request.get("/app/artificer/selectMassageTypePage", {
// by: '3',
// status:'1',
// classifyId:this.classifyId,
// page:this.page,
// limit:this.limit,
// title:this.searchValue
// }).then(res => {
// if (res.code == 0) {
// if (res.data) {
// if (this.page == 1) this.dataList = []; //
// this.dataList = [...this.dataList, ...res.data.list]; //
// for(var i=0;i<this.dataList.length;i++){
// this.dataList[i].tagsData=this.dataList[i].labels.split(',');
// }
// uni.stopPullDownRefresh()
// }
// }
// });
this.$refs.paging.reload(true); this.$refs.paging.reload(true);
}, },
queryList(pageNo, pageSize) { queryList(pageNo, pageSize) {
@ -214,10 +195,15 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
/deep/.zp-empty-view-center{
position: absolute;
margin-top: 106px;
margin-left: 42%;
}
.body { .body {
height: 100vh; height: 100vh;
display: flex; display: flex;
justify-content: space-between; justify-content: end;
.leftTab { .leftTab {
width: 177rpx; width: 177rpx;
@ -226,7 +212,9 @@
border-radius: 0px 15rpx 0px 0px; border-radius: 0px 15rpx 0px 0px;
padding: 24rpx 11rpx; padding: 24rpx 11rpx;
box-sizing: border-box; box-sizing: border-box;
margin-top: 10px;
position: fixed;
left: 0;
.tabBox { .tabBox {
height: 100%; height: 100%;
@ -241,16 +229,16 @@
} }
.tabActive { .tabActive {
background: #60B347; background: #0ca58b;
color: #ffffff; color: #ffffff;
} }
} }
} }
.rightGoods { .rightGoods {
width: 573rpx; width: 280px;
height: 100%; height: 100%;
padding: 0 16rpx 27rpx; // padding: 0 16rpx 27rpx;
box-sizing: border-box; box-sizing: border-box;
.whiteBox { .whiteBox {
@ -448,7 +436,7 @@
} }
.item-view { .item-view {
width: 49%; width: 55%;
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -458,7 +446,7 @@
} }
.item-img { .item-img {
width: 240rpx; width: 110px;
height: 200rpx; height: 200rpx;
border-radius: 14rpx; border-radius: 14rpx;
position: relative; position: relative;