微信小程序
zhang8907xiaoyue
这个作者很懒,什么都没留下…
展开
-
微信小程序 图片 宽度自适应满屏 高度自动调整 图片宽度显示不全
mode="widthFix"<image src="{{item.img_url}}" background-size="cover" mode="widthFix" bindtap="listenerPreviewImage" data-index="{{index}}"></image>原创 2020-12-04 23:35:07 · 1685 阅读 · 0 评论 -
微信小程序 setData无效 编辑表单已被赋值 上传图片后 用户输入内容被重置
原因:初始化加载编辑数据时,不能把加载和setData写在onShow方法中,要写在onLoad方法原创 2020-11-23 18:57:44 · 451 阅读 · 0 评论 -
微信小程序 空格写法
<view class="other-line"> <text class="left" space="emsp">车 牌号</text> <view class="right">{{licensePlate}}</view> </view> <view class="other-line"> ...原创 2020-07-28 21:26:49 · 984 阅读 · 0 评论 -
微信小程序: scroll-view x轴 不能滚动
1、参考链接:https://blog.csdn.net/qq_35324453/article/details/819438992、代码(1)scroll-x="true"(2)父容器:white-space: nowrap;(3)子元素:display:inline-block<scroll-view class="m-menu" scroll-x="true"> <navigator class="item" url="{{item.iconUrl}}原创 2020-07-06 22:02:56 · 1043 阅读 · 0 评论 -
微信小程序+springboot+shiro实现登录
一、自定义WxRealm,继承自AuthorizingRealmpackage com.ruoyi.framework.shiro.realm;import com.ruoyi.customer.domain.CustomerInfo;import com.ruoyi.customer.domain.CustomerLoginLog;import com.ruoyi.customer...原创 2020-05-03 21:10:36 · 4014 阅读 · 3 评论