解决了吗哥
echarts 饼图不显示?echarts 饼图不显示,柱形图可以正常显示。 [图片] const app = getApp(); import * as echarts from '../../components/ec-canvas/echarts'; var pieChart; Page({ data: { ecPie: { disableTouch: true, lazyLoad: true }, }, onLoad() { this._initPieChart(); }, _initPieChart: function () { this.chart2Componnet = this.selectComponent('#pie-chart'); this.chart2Componnet.init((canvas, width, height, dpr) => { pieChart = echarts.init(canvas, null, { width: width, height: height, devicePixelRatio: dpr }); canvas.setChart(pieChart); pieChart.setOption(this._getPieOption()); console.log("pieChart(23) => ", pieChart); return pieChart; }); }, _getPieOption: function () { let option = option = { tooltip: { trigger: 'item' }, legend: { top: '5%', left: 'center' }, series: [ { name: 'Access From', type: 'pie', radius: ['40%', '70%'], avoidLabelOverlap: false, itemStyle: { borderRadius: 10, borderColor: '#fff', borderWidth: 2 }, label: { show: false, position: 'center' }, emphasis: { label: { show: true, fontSize: '40', fontWeight: 'bold' } }, labelLine: { show: false }, data: [ { value: 1048, name: 'Search Engine' }, { value: 735, name: 'Direct' }, { value: 580, name: 'Email' }, { value: 484, name: 'Union Ads' } ] } ] }; return option }, }) <view class="pie_chart"> <ec-canvas id="pie-chart" canvas-id="pie-chart" ec="{{ ecPie }}"></ec-canvas> </view>
2022-11-09lz解决了吗,球回复
uni写的微信小程序,视频在安卓可以正常播放,在ios播放不了(视频链接在ios浏览器可以正常播)?[图片] <video :src="roomInfo.lists[curIndex-1].video_src" class="itemContentVideoH" :autoplay="false" :show-fullscreen-btn="false" :show-play-btn="true" :show-progress="true" object-fit="cover" custom-cache="false" @play="firstStartTime()" ></video> 模拟器ios端也是可以正常播放的, 就是真机ios没有办法播放
2022-08-04VUE项目
企业微信的上传临时素材接口,前端可以调用吗?如题[图片]
2022-05-09