摘要: 参数: theme是指主题 display:bottom 是指弹出框的位置,分别可以使用top,bottom,inline来定义,这里解释一下inline的用法:inline的话就可以实现页面一加载就能看到这个弹出框,如果使用top和bottom,则必须使得输入框获得焦点才可以弹出。 lang: " 阅读全文
posted @ 2017-06-06 13:21 Sun_Song 阅读(507) 评论(0) 推荐(0)
摘要: 在app.json文件中添加如下代码: "tabBar": { "color": "black", "backgroundColor":"#fff", "selectedColor": "#11cd6e", "borderStyle":"white", "list": [{ "selectedIco 阅读全文
posted @ 2017-06-01 18:21 Sun_Song 阅读(1274) 评论(0) 推荐(0)
摘要: view_kinds:[{id:1,name:"百货"},{id:2,name:"百货1"},{id:3,name:"百货2"},{id:4,name:"百货3"},{id:5,name:"百货4"},{id:6,name:"百货5"},{id:7,name:"百货6"},] <block wx:f 阅读全文
posted @ 2017-06-01 18:00 Sun_Song 阅读(2022) 评论(0) 推荐(0)
摘要: kind_xi:[{name:"百货"},{name:"百货"},{name:"百货"},{name:"百货"},{name:"百货"},{name:"百货"}] 循环: <text wx:for="{{kind_xi}}">{{item.name}}\n</text> //以后的item即为指代的 阅读全文
posted @ 2017-06-01 17:57 Sun_Song 阅读(7845) 评论(0) 推荐(0)
摘要: <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}"> <block wx:for="{{imgUrls}}"> <swip 阅读全文
posted @ 2017-05-31 16:31 Sun_Song 阅读(514) 评论(0) 推荐(0)
摘要: wxml: <view class="section"> <view class="section__title">flex-direction: row</view> <view class="flex-wrp" style="display:flex;flex-direction:row;"> 阅读全文
posted @ 2017-05-31 15:56 Sun_Song 阅读(2251) 评论(0) 推荐(0)
摘要: 镂空文字 阅读全文
posted @ 2017-05-20 17:37 Sun_Song 阅读(176) 评论(0) 推荐(0)
摘要: hbuilder 打开工具栏->预编译器设置 选择.less,点击编辑按钮 编辑命令地址(就是含有lessc.cmd的文件夹) 阅读全文
posted @ 2017-05-20 16:18 Sun_Song 阅读(3927) 评论(0) 推荐(0)
摘要: <frameset rows="70,*"cols="1920"frameborder="0"noresize framespacing="0"> <frame src="top.html" name="topframe" scrolling="no" noresize /> <frameset r 阅读全文
posted @ 2017-05-20 15:00 Sun_Song 阅读(234) 评论(0) 推荐(0)
摘要: 首先需要nodejs 安装 <a href="https://nodejs.org/en/">nodejs官网</a>下载安装 window+R输入cmd 打开doc命令 npm -version查看nodejs版本 命令行安装less windows系统的不用$符号 npm install -g 阅读全文
posted @ 2017-05-20 14:39 Sun_Song 阅读(451) 评论(0) 推荐(0)