logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

小程序之 fixed定位下scroll-view左右滚动失效

.fixed{position: fixed;top: 0;z-index: 9999;width: 100%;}fixed定位+top 0 会让tabs固定在顶部 但是会出现 无法左右滑动问题 这是因为我们没有设置宽度 只要加上width100%就好了 下面是页面代码<view class="fixed"><view class="search_box"><u-in

#css#vue.js#javascript +1
el-pagination高亮问题,页面数据变了但页码高亮不变

注意文档的 current-page / v-model:current-page这一条 , 只需要手动赋值一下即可解决高亮不变的问题。

#前端#javascript#vue.js
uniapp公共方法-字符串数组互转

export const jsonTypeConversion = (json, type = "string") => {if (type === 'string') {try {return JSON.stringify(json)} catch (error) {return '[]'}} else if (type === 'obj') {try {return JSON.parse

#vue.js#json#前端
到底了