- 博客(11)
- 收藏
- 关注
原创 【报Bug】uniapp app点击事件无效,原生返回事件无效,底部导航点击页面未翻页
【报Bug】uniapp app全局事件无效,原生返回事件无效
2022-11-17 11:06:32
743
原创 小程序分类
wxml{{item}}wxss.tabTit {height: 90rpx;line-height: 90rpx;border-bottom: solid 1px #eee;/* position:fixed; // top:0; */width: 750rpx;z-index: 1;background: #fff;font-size: 15px;text...
2019-04-19 17:09:54
1106
原创 小程序点击切换样式
wxml10元20元50元100元200元500元json: function (e) {var that = this;if (this.data.currentTab === e.target.dataset.current) { return false;} else { that.setData({ currentTab: e.target.da...
2019-04-19 10:12:09
3095
原创 小程序点击勾选协议
wxmljs// checkbox是否选中niming(e) {var flag = e.detail.value[0];if (flag === undefined) { this.data.bbb="#bbb"; flag = false;} else { this.data.bbb="red"; flag = true;}this.setData({ ...
2019-04-18 10:52:42
7682
5
原创 小程序上传图片
wxmljsPage({data:{// 上传的图片logosrc: ‘’,currentSrc: ‘’,},// 上传图片chooseImage: function() {var that = this;wx.chooseImage({success: function(res) {console.log(res.tempFilePaths[0]); that...
2019-04-18 10:43:10
172
原创 小程序二级导航栏
wxmlwxss.tabTit{height:90rpx;line-height: 90rpx;border-bottom: solid 1px #eee;/* position:fixed; // top:0; */width: 750rpx;z-index: 1;background: #fff;font-size:15px;text-align: center;...
2019-04-18 10:36:13
4411
原创 小程序单击收藏,和取消收藏
wxml<view class='bargainRight' bindtap='mytap'> <image src='{{item1.SysFavoritesFlag=="true"?"/images/bargain/heart-love.png":"/images/bargain/heart.png"}}' ></image&g...
2019-04-18 10:18:45
3760
原创 小程序搜索框
wxmlwxss/* pages/tab/research/index.wxss */page{}.research {width: 100%;height: 60rpx;border-radius: 50rpx;}.content {margin-top: 20rpx;width: 90%;margin-left: 5%;}.item {width: 140r...
2019-04-17 17:06:24
936
原创 小程序轮播图中间大两边小
wxmljsdata:{imgUrls: [‘https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=749058170,2423062569&fm=15&gp=0.jpg’,‘https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=74...
2019-04-17 11:19:52
1784
空空如也
uni-app app安卓运行程序跳转tabbar无效
2022-11-15
TA创建的收藏夹 TA关注的收藏夹
TA关注的人