dev
xiaowen 3 years ago
parent b5d53ee13f
commit be36297ca1

@ -1,4 +1,4 @@
<!--pages/components/custom-echarts/index.wxml--> <!--pages/components/custom-echarts/index.wxml-->
<view style="height: {{ height }}; width:100%;"> <view style="height: {{ height }}; width:100%;position: relative;">
<ec-canvas force-use-old-canvas="{{flocShow}}" wx:if="{{showChart}}" id="{{ chartId }}" canvas-id="eventBar" ec="{{ec}}" options="{{chartOption}}"></ec-canvas> <ec-canvas force-use-old-canvas="{{flocShow}}" wx:if="{{showChart}}" id="{{ chartId }}" canvas-id="eventBar" ec="{{ec}}" options="{{chartOption}}"></ec-canvas>
</view> </view>

@ -1,4 +1,4 @@
<!-- 新的接口对其了H5 --> <!-- 新的接口对其了H5 -->
<canvas wx:if="{{isUseNewCanvas}}" type="2d" class="ec-canvas" canvas-id="{{ canvasId }}" bindinit="init" bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}" bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}" bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}"></canvas> <canvas wx:if="{{isUseNewCanvas}}" force-use-old-canvas="true" type="2d" class="ec-canvas" canvas-id="{{ canvasId }}" bindinit="init" bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}" bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}" bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}"></canvas>
<!-- 旧的 --> <!-- 旧的 -->
<canvas wx:else class="ec-canvas" canvas-id="{{ canvasId }}" bindinit="init" bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}" bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}" bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}"></canvas> <canvas wx:else force-use-old-canvas="true" class="ec-canvas" canvas-id="{{ canvasId }}" bindinit="init" bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}" bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}" bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}"></canvas>

@ -104,7 +104,7 @@
</van-tab> </van-tab>
</van-tabs> </van-tabs>
<van-popup show="{{ show }}" position="bottom" custom-style="height: 40%;" bind:close="onClose"> <van-popup show="{{ show }}" position="bottom" custom-style="height: 40%;" bind:close="onClose" lock-scroll="{{false}}">
<view class="detail-page"> <view class="detail-page">
<view style="display: flex;"> <view style="display: flex;">
<view class="qushi">销量趋势</view> <view class="qushi">销量趋势</view>

@ -3,7 +3,9 @@
box-shadow: 0 0 0 !important; box-shadow: 0 0 0 !important;
border: 1px solid #F9F9F9; border: 1px solid #F9F9F9;
} }
.detail-page {
position: relative;
}
.menu-tabs .van-tabs__nav { .menu-tabs .van-tabs__nav {
background-color: #ffffff; background-color: #ffffff;
/* 标签背景颜色 */ /* 标签背景颜色 */

Loading…
Cancel
Save