Commit 9d818c5e by 杨明

fixed

1 parent 472e2dc5
...@@ -109,14 +109,13 @@ ...@@ -109,14 +109,13 @@
} }
.table_left_column { .table_left_column {
min-width: 100rpx; min-width: 190rpx;
height: auto; height: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.left_col_item { .left_col_item {
width: 100%;
height: 72rpx; height: 72rpx;
font-size: 20rpx; font-size: 20rpx;
display: flex; display: flex;
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
color: #D3D3D3; color: #D3D3D3;
font-size: 20rpx; font-size: 20rpx;
text-align: center; text-align: center;
margin-top: 10rpx; padding: 24rpx;
} }
.container { .container {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<view class="searchList"> <view class="searchList">
<block wx:for="{{opts.lineList}}" wx:for-item="item" wx:key="index"> <block wx:for="{{opts.lineList}}" wx:for-item="item" wx:key="index">
<view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view></block> <view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view></block>
<view class="search-unit">单位:{{dataType==1?'元':'单'}}</view> <view class="search-unit">单位:{{(opts.lineList.length == 2 && dataType==1)||opts.lineList.length == 3 && dataType==3?'元':'单'}}</view>
</view> </view>
<view class="searchTime"> <view class="searchTime">
<block wx:for="{{dimension}}" wx:for-item="item" wx:key="index"> <block wx:for="{{dimension}}" wx:for-item="item" wx:key="index">
......
...@@ -119,19 +119,17 @@ ...@@ -119,19 +119,17 @@
} }
.line-box { .line-box {
width: 710rpx; width: 750rpx;
height: 584rpx; height: 604rpx;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0 2rpx 20rpx 0 #b4bacc52;
border-radius: 20rpx; border-radius: 20rpx;
margin: 24rpx auto 0rpx; margin: 24rpx auto 0rpx;
} }
.bar-box { .bar-box {
width: 710rpx; width: 750rpx;
height: 516rpx; height: 536rpx;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0 2rpx 20rpx 0 #b4bacc52;
border-radius: 20rpx; border-radius: 20rpx;
margin: 24rpx auto 0rpx; margin: 24rpx auto 0rpx;
} }
......
...@@ -128,11 +128,11 @@ Component({ ...@@ -128,11 +128,11 @@ Component({
label: { label: {
show: true, show: true,
position: 'top', position: 'top',
color: this.data.color, color: '#3582EE',
}, },
color: this.data.color, color: '#3582EE',
itemStyle: { itemStyle: {
borderRadius: [50, 50, 0, 0], // borderRadius: [50, 50, 0, 0],
padding: [50, 50, 0, 0] padding: [50, 50, 0, 0]
}, },
barWidth: 24 barWidth: 24
......
...@@ -66,11 +66,17 @@ Component({ ...@@ -66,11 +66,17 @@ Component({
trigger: 'axis', trigger: 'axis',
triggerOn: "mousemove", triggerOn: "mousemove",
axisPointer: { axisPointer: {
type: "none", type: "shadow",
shadowStyle: {
shadowColor: 'rgba(53, 195, 118, .1)',
color: 'rgba(53, 195, 118, .1)',
},
lineStyle: { lineStyle: {
type: 'solid' color: '#35C376',
type: 'shadow'
} }
}, },
position: 'top',
padding: [0, 12], padding: [0, 12],
borderWidth: 2, borderWidth: 2,
borderColor: '#6ED0BE', borderColor: '#6ED0BE',
...@@ -79,10 +85,10 @@ Component({ ...@@ -79,10 +85,10 @@ Component({
color: '#6ED0BE', color: '#6ED0BE',
fontSize: 10 fontSize: 10
}, },
// position: function(pt) { position: function (point, params, dom, rect, size) {
// console.log(pt) // 固定在顶部
// return [pt[0], pt[1]+20]; return [point[0]-20, '10%'];
// }, },
formatter: function (item) { formatter: function (item) {
return `${item[0].value}` return `${item[0].value}`
} }
...@@ -126,14 +132,14 @@ Component({ ...@@ -126,14 +132,14 @@ Component({
}, },
dataZoom: { dataZoom: {
type: "inside", type: "inside",
maxSpan:maxSpan, maxSpan: maxSpan,
// end: 100, // end: 100,
// // start: start, // // start: start,
}, },
series: [{ series: [{
data: yData, data: yData,
type: 'line', type: 'line',
smooth: true, // smooth: true,
color: this.data.color color: this.data.color
}] }]
} }
......
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
.icon { .icon {
width: 56rpx; width: 56rpx;
height: 48rpx; height: 56rpx;
// margin-left: 6rpx; // margin-left: 6rpx;
} }
} }
......
...@@ -21,7 +21,7 @@ const systemInfo = wx.getSystemInfoSync() ...@@ -21,7 +21,7 @@ const systemInfo = wx.getSystemInfoSync()
const manual = false const manual = false
const release = false const release = false
let index = 2 let index = 3
// 判断小程序环境 // 判断小程序环境
// develop:开发版(正常开发工具,测试时) // develop:开发版(正常开发工具,测试时)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!