样式优化

h5
wangdong 4 months ago
parent 19cb5a64cb
commit 411177f6b3
  1. 98
      pages/gamll/index.vue
  2. 3
      pages/index/index.vue

@ -797,7 +797,7 @@
// justify-content: space-evenly;
overflow: hidden;
flex-wrap: wrap;
margin: 0 17rpx;
margin: 0 14rpx;
.tab-pro-active {
background: linear-gradient(180deg, rgba(255, 238, 237, 1) 0%, rgba(255, 202, 201, 1) 66.15%, rgba(255, 173, 173, 1) 100%) !important;
@ -1014,6 +1014,13 @@
flex: auto !important
}
::v-deep .u-td {
// #ifndef H5
border: none !important;
// #endif
padding: 0 !important;
}
::v-deep .box_content .u-tr {
border: 1rpx solid #e4e7ed;
}
@ -1023,41 +1030,78 @@
border-right: none;
border-bottom: none;
}
// #ifdef H5
::v-deep .u-tr:nth-child(1) .box_content .u-tr:nth-child(1) .flex-1 {
background-color: #e3e6f5 !important;
color: #333 !important;
font-size: 34rpx !important;
font-weight: 700 !important;
}
::v-deep .u-tr:nth-child(1) .box_content .u-tr:nth-child(1) .flex-2 {
background-color: #f6cdb1 !important;
font-size: 34rpx !important;
font-weight: 700 !important;
}
::v-deep .u-tr:nth-child(1) .box_content .u-tr:nth-child(1) .flex-3 {
background-color: #fe9a9a !important;
font-size: 34rpx !important;
font-weight: 700 !important;
}
::v-deep .u-tr:nth-child(1) .box_content .u-tr:nth-child(1) .flex-4 {
background-color: #5a74e3 !important;
font-size: 34rpx !important;
font-weight: 700 !important;
}
::v-deep .u-tr:nth-child(1) {
border-top: none;
}
// #endif
// #ifndef H5
::v-deep u-tr:nth-child(1) .box_content u-tr:nth-child(1) .flex-1 {
background-color: #e3e6f5;
background-color: #e3e6f5 !important;
color: #333 !important;
font-size: 34rpx;
font-weight: 700;
font-size: 34rpx !important;
font-weight: 700 !important;
}
::v-deep u-tr:nth-child(1) .box_content u-tr:nth-child(1) .flex-2 {
background-color: #f6cdb1;
font-size: 34rpx;
font-weight: 700;
background-color: #f6cdb1 !important;
font-size: 34rpx !important;
font-weight: 700 !important;
}
::v-deep u-tr:nth-child(1) .box_content u-tr:nth-child(1) .flex-3 {
background-color: #fe9a9a;
font-size: 34rpx;
font-weight: 700;
background-color: #fe9a9a !important;
font-size: 34rpx !important;
font-weight: 700 !important;
}
::v-deep u-tr:nth-child(1) .box_content u-tr:nth-child(1) .flex-4 {
background-color: #5a74e3;
font-size: 34rpx;
font-weight: 700;
background-color: #5a74e3 !important;
font-size: 34rpx !important;
font-weight: 700 !important;
}
::v-deep u-tr:nth-child(1) {
border-top: none;
}
// #endif
.box_name {
::v-deep .box_name {
// #ifdef H5
flex: 0 0 20%;
height: auto;
// #endif
// #ifndef H5
width: 10%;
// #endif
border-top: 1rpx solid #e4e7ed;
}
.u-td {
::v-deep .u-td {
line-height: 2;
}
@ -1065,11 +1109,16 @@
background: #D6D6D6;
}
.box_content {
::v-deep .box_content {
// #ifdef H5
flex: 0 0 80%;
// #endif
// #ifndef H5
width: 80%;
// #endif
}
.box_cus {
::v-deep .box_cus {
text-align: center;
padding: 10px 3px !important;
height: auto;
@ -1097,7 +1146,7 @@
}
}
.box_tips {
::v-deep .box_tips {
display: flex;
align-items: center;
justify-content: center;
@ -1131,11 +1180,6 @@
.box_cus:nth-child(1) {
border-left: none;
}
::v-deep .u-td {
border: none !important;
padding: 0 !important;
}
}
.advantage {

@ -1138,6 +1138,9 @@
if (res.status == 200) {
this.logoImage = res.data.storeInfo.logoImage ? res.data.storeInfo.logoImage
.preview_url : "";
uni.setNavigationBarTitle({
title: res.data.storeInfo.store_name,
});
uni.setStorageSync('storeInfo', JSON.stringify(res.data.storeInfo));
uni.setStorageSync('storeVersion', res.data.storeInfo.store_version || 0);
}

Loading…
Cancel
Save