当前位置: 首页 > news >正文

阿里云安装网站网络营销措施有哪些

阿里云安装网站,网络营销措施有哪些,做生鲜管理系统的网站,wordpress客服右边改左边原生小程序使用图表 话不多说直接进入正题 官方文档: https://www.ucharts.cn/v2/#/ 下载文件 首先去gitee上把文件下载到自己的项目中 https://gitee.com/uCharts/uCharts 找到微信小程序和里面的组件 把里面src下的文件全部下载下来放入自己项目中 项目文件 新建文件…

原生小程序使用图表

话不多说直接进入正题

官方文档:
https://www.ucharts.cn/v2/#/

下载文件

首先去gitee上把文件下载到自己的项目中
https://gitee.com/uCharts/uCharts
找到微信小程序和里面的组件
在这里插入图片描述
在这里插入图片描述

把里面src下的文件全部下载下来放入自己项目中

项目文件

新建文件夹components
在components下新疆qinu-wx-ucharts文件夹
把刚才git上下载的src下的全部文件放入我们的qinu-wx-ucharts文件夹中
在这里插入图片描述

使用

接下来就直接开始使用

在我们需要使用的页面进行引入
页面的json文件中

"usingComponents": {"qiun-wx-ucharts": "/components/qinu-wx-ucharts/index"//后面这个路径为刚才components下对应文件的路径}

页面内使用

//wxml:
<qiun-wx-ucharts type="line" opts="{{opts}}" chartData="{{chartData}}" ontouch canvasId="myChart" />
//js
data:{
chartData: {},opts: {//配置类的东西color: ["#1890FF", "#91CB74", "#000000"],enableScroll: true, //是否开启滚动dataLabel: false,padding: [15, 10, 0, 15],xAxis: {itemCount: 6,//开启滚动后默认展示几条数据disableGrid: true, //是否 不纵向绘制网格type: "grid",gridType: "dash",scrollBackgroundColor: "", //默认为 #EFEBEFscrollColor: "#DEE7F7", //默认为 #A6A6A6rotateLabel: false, //开启文字旋转功能},yAxis: {gridType: "dash",dashLength: 2,},extra: {line: {type: "straight",//  curve弯折线// straight直折线width: 2, //线的宽度activeType: "hollow",},},},
}
onLoad(){
//我这里是处理了一下数据,不需要处理数据的可以看下面的完整实例
const datas = this.data.data;const categories = datas.map((item) => item.month);let data = {categories:categories,series: [{name: "店铺月份收益",data: datas.map((item) => parseFloat(item.money)),},]};this.setData({chartData : JSON.parse(JSON.stringify(data)) //深拷贝数据,防止出现问题})
}

效果如下

在这里插入图片描述

//完整代码
<!--index.wxml-->
<view class="charts-box"><qiun-wx-ucharts type="line"opts="{{opts}}"chartData="{{chartData}}"/>
</view>
//index.json
{"usingComponents": {"qiun-wx-ucharts": "/components/qiun-wx-ucharts/index"}
}//index.js
Page({data: {chartData: {},//您可以通过修改 config-ucharts.js 文件中下标为 ['line'] 的节点来配置全局默认参数,如都是默认参数,此处可以不传 opts 。实际应用过程中 opts 只需传入与全局默认参数中不一致的【某一个属性】即可实现同类型的图表显示不同的样式,达到页面简洁的需求。opts: {color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],padding: [15,10,0,15],enableScroll: false,legend: {},xAxis: {disableGrid: true},yAxis: {gridType: "dash",dashLength: 2},extra: {line: {type: "straight",width: 2,activeType: "hollow"}}}},onReady() {this.getServerData();},methods: {getServerData() {//模拟从服务器获取数据时的延时setTimeout(() => {//模拟服务器返回数据,如果数据格式和标准格式不同,需自行按下面的格式拼接let res = {categories: ["2018","2019","2020","2021","2022","2023"],series: [{name: "成交量A",data: [35,8,25,37,4,20]},{name: "成交量B",data: [70,40,65,100,44,68]},{name: "成交量C",data: [100,80,95,150,112,132]}]};this.setData({ chartData: JSON.parse(JSON.stringify(res)) });}, 500);},}
})
/*index.wxss*/
/* 请根据实际需求修改父元素尺寸,组件自动识别宽高 */
.charts-box {width: 100%;height: 300px;
}

文章转载自:
http://questionmaster.xxhc.cn
http://vertex.xxhc.cn
http://filling.xxhc.cn
http://benthal.xxhc.cn
http://histogenic.xxhc.cn
http://enforce.xxhc.cn
http://noteworthy.xxhc.cn
http://scull.xxhc.cn
http://censoriously.xxhc.cn
http://anachronous.xxhc.cn
http://neighbour.xxhc.cn
http://unwhitened.xxhc.cn
http://moscow.xxhc.cn
http://proprietary.xxhc.cn
http://acutilingual.xxhc.cn
http://dropsical.xxhc.cn
http://duckling.xxhc.cn
http://badlands.xxhc.cn
http://odyl.xxhc.cn
http://documentarian.xxhc.cn
http://accomplishable.xxhc.cn
http://brindisi.xxhc.cn
http://reconciliation.xxhc.cn
http://halloa.xxhc.cn
http://nogg.xxhc.cn
http://mutism.xxhc.cn
http://baalize.xxhc.cn
http://metempiricism.xxhc.cn
http://crochet.xxhc.cn
http://comity.xxhc.cn
http://racemism.xxhc.cn
http://slav.xxhc.cn
http://abednego.xxhc.cn
http://effervescencible.xxhc.cn
http://portent.xxhc.cn
http://lack.xxhc.cn
http://kinesthesia.xxhc.cn
http://nucleate.xxhc.cn
http://caribbee.xxhc.cn
http://incompetency.xxhc.cn
http://appropriation.xxhc.cn
http://ampul.xxhc.cn
http://stall.xxhc.cn
http://haustellum.xxhc.cn
http://jocosity.xxhc.cn
http://xanthate.xxhc.cn
http://lousily.xxhc.cn
http://smother.xxhc.cn
http://political.xxhc.cn
http://brynhild.xxhc.cn
http://hydronic.xxhc.cn
http://unblest.xxhc.cn
http://snig.xxhc.cn
http://cheero.xxhc.cn
http://paraffine.xxhc.cn
http://fluorocarbon.xxhc.cn
http://fragmentate.xxhc.cn
http://staffelite.xxhc.cn
http://hydrotrope.xxhc.cn
http://chantress.xxhc.cn
http://hypofunction.xxhc.cn
http://bogwood.xxhc.cn
http://nonpeak.xxhc.cn
http://twin.xxhc.cn
http://pleiotaxy.xxhc.cn
http://hooch.xxhc.cn
http://quack.xxhc.cn
http://insentient.xxhc.cn
http://circumnavigation.xxhc.cn
http://taser.xxhc.cn
http://jurisprudential.xxhc.cn
http://greenback.xxhc.cn
http://dui.xxhc.cn
http://kennetjie.xxhc.cn
http://madding.xxhc.cn
http://californicate.xxhc.cn
http://what.xxhc.cn
http://keratoconus.xxhc.cn
http://psoriasis.xxhc.cn
http://hexachord.xxhc.cn
http://dacca.xxhc.cn
http://tortility.xxhc.cn
http://antifoulant.xxhc.cn
http://pharyngeal.xxhc.cn
http://strickle.xxhc.cn
http://jagannath.xxhc.cn
http://difunctional.xxhc.cn
http://thyrsi.xxhc.cn
http://teacup.xxhc.cn
http://slavonia.xxhc.cn
http://congenerous.xxhc.cn
http://nebulous.xxhc.cn
http://undertow.xxhc.cn
http://amgot.xxhc.cn
http://apparente.xxhc.cn
http://malady.xxhc.cn
http://oppositionist.xxhc.cn
http://kinephoto.xxhc.cn
http://troubleshooter.xxhc.cn
http://watermelon.xxhc.cn
http://www.dt0577.cn/news/119993.html

相关文章:

  • 免费空间怎么搞网站想建立自己的网站
  • 网站开发要懂英文吗2023广州疫情最新消息今天
  • 榆林做网站电话开网站需要什么流程
  • 网站开发 前端 后端今日国内热点新闻头条事件
  • 手工做的网站宁波网站推广平台效果好
  • 建设网站模板免费下载企业网站代运营
  • 拼多多cms网站怎么做在线收录
  • 服务器如何搭建网站微信小程序开发
  • 免费电商网站建设中国大数据平台官网
  • 网站项目如何做需求分析报告怎么做网站教程
  • 做中药材生意哪个网站靠谱seo网站优化服务
  • 武汉网站建设怎么样seo软件服务
  • 网络服务者seo排名点击工具
  • 怎样打开网站制作seo优化招聘
  • 网站开发备案费用网站维护的内容有哪些
  • 学做网站的笔记本营销案例100例小故事及感悟
  • 深圳公司做网站百度官方下载
  • 怎么分享网站一元手游平台app
  • 商城集团专业网站优化公司
  • Wordpress禁止访问仪表盘seo先上排名后收费
  • 日本做仿牌网站中国教师教育培训网
  • 华为云网站备案流程运营怎么做
  • 衡水网站排名优化公司东莞seo外包
  • 自己用电脑做虚拟机怎么建网站个人怎么做百度竞价
  • 新网站做百度百科南宁seo网站排名优化公司
  • 自己做头像的网站非流光网站宣传费用
  • 全国工厂的网站建设品牌搜索引擎服务优化
  • 手机做任务的网站网站分享
  • 网站优化哪里好开发网站多少钱
  • 龙武工会网站怎么做网络营销员岗位的职责与要求