修改bug
This commit is contained in:
@@ -88,8 +88,6 @@
|
||||
const rememberPwd = ref(false);
|
||||
const placeholderStyle = ref('font-size:24rpx')
|
||||
const showPrivacyPopup = ref(false)
|
||||
// 控制点击变色
|
||||
// const isClicked = ref(false)
|
||||
|
||||
// 计算属性:是否可登录(帐号+密码+协议都满足)
|
||||
const canLogin = computed(() => {
|
||||
|
||||
@@ -172,6 +172,10 @@ onShow(() => {
|
||||
border-radius: 8rpx;
|
||||
padding: 20rpx;
|
||||
margin-bottom: 20rpx;
|
||||
word-break: break-all;
|
||||
/* 按高度截断,避免 line-clamp 导致文字重叠 */
|
||||
max-height: 160rpx;
|
||||
overflow: hidden;
|
||||
.content-text {
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
|
||||
@@ -312,8 +312,7 @@ const getNoticeData = () => {
|
||||
}
|
||||
// 获取bannar图
|
||||
function getbannarData() {
|
||||
getBannarList()
|
||||
.then(res => {
|
||||
getBannarList().then(res => {
|
||||
if (res.code === 200 && res.data) {
|
||||
// 只有数据真正变化时才更新,避免 swiper 重新渲染导致闪动
|
||||
const newData = res.data
|
||||
|
||||
Reference in New Issue
Block a user