![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信小程序
文章平均质量分 92
Upward Force
这个作者很懒,什么都没留下…
展开
-
微信小程序实现星星评分-整颗星星评分、半颗星星评分、任意颗星星展示
一、实现整颗星星评分(默认一颗星)1.效果图2.准备图片3.remark.wxml<view class="stars"> <view wx:for="{{stars}}" wx:key="index" data-index="{{index}}" bindtap='score'> <image src="{{index > 0 && item.flag == 1 ? item.bgImg : item.bgfImg}}">原创 2020-11-03 18:36:58 · 4333 阅读 · 3 评论 -
微信小程序实现自定义导航栏
1、要实现自定义导航栏,首先得在全局进行相关配置app.json页面 "window": { ... "navigationStyle": "custom" },根据微信小程序官方文档的说法,只有客户端7.0.0以上版本才支持局部页面实现自定义导航栏,7.0.0以下版本只支持全体页面的自定义导航栏,自己项目里采用的是就是这种app.js页面App({ onLaunch: function(options) { var _this = this;原创 2020-06-26 11:32:04 · 4952 阅读 · 1 评论 -
微信小程序+canvas+echarts循环数据生成折线图
1、下载GitHub上的 ecomfe/echarts-for-weixin 项目2、拷贝 ec-canvas 目录到自己的项目下3、效果预览4、在需要的页面创建折线图test.json{ "usingComponents": { "ec-canvas": "../../lib/ec-canvas/ec-canvas" }}test.wxml<view class="box" wx:for="{{ecLine}}" wx:key="index"> &原创 2020-06-29 08:59:00 · 1421 阅读 · 5 评论 -
微信小程序+f2/wx-f2生成折线图
1、效果图2、从GitHub上下载F2的微信小程序图表组件 wx-f2 ,原创 2020-06-30 11:40:27 · 2940 阅读 · 0 评论