feat: 修改学术传承分类

修改manifest.json版本号至1.0.59
在VIP购买提示中增加论坛不包含说明
调整开发环境API配置
优化mine页面flex布局和vip类型显示
重构medicaldes页面网格布局,支持3列/4列切换
This commit is contained in:
2026-03-24 18:46:37 +08:00
parent 02436fe222
commit 1f01ceb3ee
5 changed files with 53 additions and 14 deletions

View File

@@ -39,19 +39,22 @@
<!-- </scroll-view> -->
<template v-if="!showSearchList">
<view class="grid twoCateList" v-if="twoCateList.length > 0">
<u-grid :col="3" border class="u-grid-list cateList">
<u-grid-item
<view
class="custom-grid"
:class="curOneCateIndex == 1 ? 'col-4' : 'col-3'"
>
<view
v-for="(item, index) in twoCateList"
:key="item.dictType"
class="grid-item"
@click="setTwoCateIndex(item, index)"
>
<!-- <u-button :type="success">成功按钮</u-button> -->
<view
:class="['grid-text', curTwoCateIndex == index ? 'cur' : '']"
>{{ item.dictValue }}
</view>
</u-grid-item>
</u-grid>
</view>
</view>
</view>
<view
@@ -199,7 +202,6 @@
</view>
</u-modal> -->
<z-navigation></z-navigation>
</view>
</template>
@@ -773,6 +775,37 @@ export default {
// height: 40rpx;
}
.custom-grid {
display: flex;
flex-wrap: wrap;
// border: 1px solid #dadbde;
// border-bottom: 0;
&.col-3 {
.grid-item {
min-width: 33.33%;
flex: 1;
}
}
&.col-4 {
.grid-item {
min-width: 25%;
flex: 1;
}
}
.grid-item {
// border-right: 1px solid #dadbde;
// border-bottom: 1px solid #dadbde;
padding: 10rpx 0;
text-align: center;
font-size: 30rpx;
cursor: pointer;
box-sizing: border-box;
}
}
.searchList {
.item {
font-size: 28rpx;
@@ -799,20 +832,20 @@ export default {
text-align: center;
display: inline-block;
width: 32%;
padding: 20rpx 0;
padding: 16rpx 0;
font-size: 34rpx;
border-radius: 10rpx;
}
.cur {
background-color: #3ab3ae;
background-color: #3AB3AE;
color: #fff;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}
}
.twoCateList {
font-size: 28rpx;
font-size: 30rpx;
margin-top: 20rpx;
.grid-text {