style: 华为手机文字展示

This commit is contained in:
From-wh 2023-03-29 15:59:06 +08:00
parent d676bb1e21
commit 8e50bffe0b
3 changed files with 5 additions and 7 deletions

View File

@ -305,7 +305,8 @@
.name {
color: #333;
font-size: 30rpx;
height: 82rpx;
line-height: 38rpx;
height: 70rpx;
}
.bottom {

View File

@ -49,11 +49,9 @@
getCategoryVersion().then(res => {
if (!uni.getStorageSync('CAT_VERSION') || res.data.version != uni.getStorageSync(
'CAT_VERSION')) {
this.isNew = !this.isNew
console.log('变了')
this.isNew = !this.isNew
uni.setStorageSync('CAT_VERSION', res.data.version)
} else {
console.log('没变')
} else {
// this.isNew = false
}
this.classStyle();

View File

@ -187,8 +187,7 @@
let that = this;
if (type || !uni.getStorageSync('CAT1_DATA')) {
getCategoryList().then(res => {
uni.setStorageSync('CAT1_DATA', res.data)
console.log('调了')
uni.setStorageSync('CAT1_DATA', res.data)
that.productList = res.data;
that.$nextTick(res => {
that.infoScroll();