![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
小程序开发问题记录
叶川飞流
学而时习之,不亦乐乎
展开
-
小程序的单行显示多个内容的间隔如何处理
<swiper class="swiper" display-multiple-items="2" style="height:150rpx;"> <swiper-item class="swiper-item"><image src="{{global_domain_pic}}/mat/src/images/index/swiper_pic.png"></image></swiper-item> <swiper-item .原创 2021-01-11 14:21:58 · 544 阅读 · 0 评论 -
float排版对齐
<view class="category"> <view class="cate"> <view class="item" wx:for="{{10}}"> <view class="pic"><image src="./../../images/category.png"></image></view> .原创 2020-10-15 14:19:07 · 692 阅读 · 0 评论 -
小程序去掉button的默认样式(已解决)
分享海报的下面蓝色按钮就是修改后的样式button { position: fixed !important; bottom: 0 !important; padding: 0px !important; width: 100% !important; line-height: 120rpx !important; height: 120rpx !important; border-rad..原创 2020-07-16 09:43:05 · 3351 阅读 · 0 评论 -
小程序富文本图片修改
statePic = statePic.replace(/\<img/gi, '<img style="width:100%;height:auto" ')原创 2020-06-02 16:54:02 · 555 阅读 · 0 评论 -
小程序请求全都是404的解决办法(一片红)
关闭防火墙即可原创 2020-05-21 14:48:06 · 3562 阅读 · 0 评论 -
qq小程序开发:picker控件和input交互有冲突(已解决)
不再使用picker控件,使用picker-view控件来处理这个问题,从后台获取数据来展示。原创 2020-05-11 13:48:39 · 493 阅读 · 0 评论 -
小程序多个筛选项功能实现
js data: { active: 0, value: 4, domain: app.domain, shop: 'mat/dist/images/index/shop.png', pos: 'mat/dist/images/index/pos.png', open: false, index: 0, select: [{...原创 2020-05-03 14:26:35 · 5438 阅读 · 0 评论 -
小程序数据变动在哪里可以监听到
在onshow函数里面可以监听到数据的变动,一般在跨页面改数据时回到当前页可以触发原创 2020-04-23 09:49:17 · 956 阅读 · 0 评论 -
小程序url的编码和解码方式
url = encodeURIComponent('/' + url + '?itemid=' + currentPage.options.itemid); console.log(url,decodeURIComponent(url));原创 2020-04-22 17:27:00 · 7070 阅读 · 0 评论 -
苹果机不显示倒计时的问题(已解决)
// 倒计时 countDown: function() { /*这是安卓机不兼容苹果机的写法 start*/ var that = this; var nowTime = new Date().getTime(); //现在时间(时间戳) var endTime = new Date(that.data.endTime).getTim...原创 2020-04-20 15:20:38 · 3214 阅读 · 0 评论