Browse Source

修改样式

dev
战立标 2 years ago
parent
commit
abd05d888b
  1. 2
      components/Tabs/index.wxss
  2. 5
      pages/statistics/modules/CrowdPortrait/CrowdPortrait.wxss
  3. 50
      pages/statistics/modules/SmyddcSqmydzc/SmyddcSqmydzc.js
  4. 2
      subpages/OCRCard/pages/index/index.wxss
  5. 3
      subpages/addhouse/pages/addhouse/addhouse.wxss
  6. BIN
      subpages/demandCheck/images/ig_tianjiatupian@2x.png
  7. BIN
      subpages/demandCheck/images/mkf.png
  8. 4
      subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.wxml
  9. 14
      subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.wxss
  10. 4
      subpages/statistics/pages/crowdPortrait/crowdPortrait.wxss
  11. 4
      subpages/statistics/pages/event/detail/detail.wxml
  12. 2
      subpages/statistics/pages/event/detail/detail.wxss
  13. 45
      subpages/statistics/pages/event/list/list.wxml
  14. 6
      subpages/statistics/pages/event/list/list.wxss
  15. 8
      subpages/statistics/pages/problem/problem.wxss

2
components/Tabs/index.wxss

@ -6,7 +6,7 @@
border: 2px solid #D6E6FC;
border-radius: 6rpx;
flex: 1;
padding: 25rpx 0;
padding: 25rpx 20rpx;
font-size: 30rpx;
font-weight: 500;
color: #999999;

5
pages/statistics/modules/CrowdPortrait/CrowdPortrait.wxss

@ -123,7 +123,7 @@
.picker {
width: 180rpx;
background: #3A80E7;
border-radius: 27rpx;
border-radius: 1000rpx;
font-size: 28rpx;
font-weight: 500;
color: #FFFFFF;
@ -132,3 +132,6 @@
align-items: center;
justify-content: center;
}
.picker image {
margin-left: 5px;
}

50
pages/statistics/modules/SmyddcSqmydzc/SmyddcSqmydzc.js

@ -1,5 +1,5 @@
import * as echarts from '../../../../ec-canvas/echarts';
import {satisfactionGroup, event12345Group} from "../../../../utils/statisticsApi";
import { satisfactionGroup, event12345Group } from "../../../../utils/statisticsApi";
var chart;
@ -54,7 +54,7 @@ Component({
}
},
methods: {
tabChange({detail}) {
tabChange({ detail }) {
this.setData({
tabValue: this.data.tabList[detail].value
})
@ -95,9 +95,9 @@ Component({
params.endTime = formatTime(new Date(now.getFullYear(), now.getMonth() + 1, 0, 23, 59, 59))
}
console.log(params)
console.log(this.data.tabValue,'this.data.tabValue')
console.log(this.data.tabValue, 'this.data.tabValue')
if (this.data.tabValue === 1) {
satisfactionGroup(params).then(({data}) => {
satisfactionGroup(params).then(({ data }) => {
var dataname = data.map(item => item.name)
var datavaule = data.map(item => item.blueNum ? item.blueNum : 0)
var datavaule2 = data.map(item => item.yellowNum ? item.yellowNum : 0)
@ -111,6 +111,8 @@ Component({
max: datamax[i],
})
}
indicator[0].axisLabel = {show: true}
let legendName = ['省满意度调查各项\n不满意人数', '社区满意度自查各项\n不满意人数']
let series = [{
name: "省满意度调查各项\n不满意人数",
@ -122,6 +124,22 @@ Component({
color: 'rgba(58,128,231,0.36)',
}
},
axisLabel: {
show: true,
},
triggerEvent: true,
axisLine: {
show: true,
lineStyle: {
color: "transparent",
},
},
splitLine: {
show: true,
lineStyle: {
color: "#527AA8",
},
},
itemStyle: {
color: '#3A80E7',
borderColor: '#3AB7FF',
@ -204,8 +222,17 @@ Component({
color: 'transparent'
}
},
name: {
textStyle: {
color: '#333333',
fontSize: 14,
borderRadius: 3,
}
},
indicator: indicator
},
axisLabel: {
show: false,
show: true,
},
axisLine: {
show: true,
@ -219,21 +246,12 @@ Component({
color: "rgba(226,226,226,0.61)"
}
},
name: {
textStyle: {
color: '#333333',
fontSize: 14,
borderRadius: 3,
}
},
indicator: indicator
},
series
};
chart.setOption(option, true);
})
} else {
event12345Group().then(({data}) => {
event12345Group().then(({ data }) => {
var dataname = data.map(item => item.name)
var datavaule = data.map(item => item.blueNum ? item.blueNum : 0)
var datavaule2 = data.map(item => item.yellowNum ? item.yellowNum : 0)
@ -243,7 +261,7 @@ Component({
var datamax = new Array(datavaule.length).fill(max)
for (var i = 0; i < dataname.length; i++) {
indicator.push({
name: dataname[i],
name: datavaule[i] + '\n' + dataname[i],
max: datamax[i],
})
}

2
subpages/OCRCard/pages/index/index.wxss

@ -55,7 +55,7 @@ page {
.body{
position: relative;
top: -400rpx;
top: -200rpx;
display: flex;
flex-direction: column;
justify-content: center;

3
subpages/addhouse/pages/addhouse/addhouse.wxss

@ -124,7 +124,8 @@ page {
.form_card .form_textarea .input{
background-color: #f7f7f7;
border-radius: 20rpx;
padding:27rpx ;
padding:27rpx;
width: calc(100% - 54rpx);
}
.form_card .form_item .label,
.form_card .form_textarea .label

BIN
subpages/demandCheck/images/ig_tianjiatupian@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
subpages/demandCheck/images/mkf.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 606 B

After

Width:  |  Height:  |  Size: 2.6 KiB

4
subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.wxml

@ -71,7 +71,7 @@
</view>
<view class="mkf-img" bindtap="showRecordSheet">
<image src="../../../images/mkf.png" mode=""/> 您也可以语音输入描述
<image src="../../../images/mkf.png" mode="widthFix" /> 您也可以语音输入描述
</view>
</view>
<!-- 上传图片 -->
@ -88,7 +88,7 @@
wx:key="imageId">
<image class="issue-image" src="{{item.imgUrl}}" />
<image wx:if="{{!item.uploaded}}" class="loading" src="../../../images/loading.gif" />
<image bindtap="deleteImage" data-imageid="{{item.imageId}}" class="close" wx:else src="../../../images/icon_close.png" />
<image bindtap="deleteImage" data-imageid="{{item.imageId}}" class="close" wx:else src="../../../images/sc.png" />
</view>
<image wx:if="{{uploadImageList.length < 3}}" src="../../../images/ig_tianjiatupian@2x.png" bindtap="chooseImage" />
</view>

14
subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.wxss

@ -105,7 +105,7 @@ page {
grid-template-columns: 214rpx 214rpx 214rpx;
grid-template-rows: 214rpx;
grid-gap: 17rpx;
height: 214rpx;
height: 188rpx;
margin-top:80rpx ;
}
.image-list-2 {
@ -123,8 +123,10 @@ page {
position: relative;
}
.image-list image {
width: 100%;
height: 100%;
/* width: 100%; */
/* height: 100%; */
width: 180rpx;
height: 180rpx;
object-fit: cover;
border-radius: 8rpx;
}
@ -935,10 +937,12 @@ background: rgb(175, 1, 1);
color: #999;
font-size: 26rpx;
font-family: PingFang SC;
margin-top: 34rpx;
}
.mkf-img image{
width: 91rpx;
height: 80rpx;
width: 46rpx;
height: 46rpx;
margin-right: 9rpx;
}
.audio-play{
display: flex;

4
subpages/statistics/pages/crowdPortrait/crowdPortrait.wxss

@ -11,7 +11,8 @@
.title {
font-size: 30rpx;
color: #333333;
margin-bottom: 60rpx;
padding-bottom: 30rpx;
border-bottom: 1px solid #EAEAEA
}
.bold {
font-weight: bold;
@ -26,6 +27,7 @@
.log-item .user {
display: flex;
align-items: center;
margin-bottom: 10rpx
}
.log-item .icon {
width: 48rpx;

4
subpages/statistics/pages/event/detail/detail.wxml

@ -22,8 +22,8 @@
</view>
<view class="card">
<view class="title">处理进展</view>
<wux-steps wx:if="{{process.length > 0}}" direction="vertical" :current="0">
<view class="title" style="margin-bottom: 0;">处理进展</view>
<wux-steps wx:if="{{process.length > 0}}" style="margin-top: 39rpx" direction="vertical" :current="0">
<wux-step wx:for="{{process}}" wx:key="index" icon="none">
<view slot="title">
<view class="step-title" wx:if="{{item.agencyId}}">【指派】</view>

2
subpages/statistics/pages/event/detail/detail.wxss

@ -14,7 +14,7 @@ page {
font-size: 32rpx;
font-weight: bold;
color: #333333;
margin-bottom: 30rpx;
margin-bottom: 10rpx;
display: flex;
align-items: center;
justify-content: space-between;

45
subpages/statistics/pages/event/list/list.wxml

@ -1,39 +1,27 @@
<view class="screen">
<picker
model:value="{{ orgIndex }}"
range="{{orgList}}"
range-key="label"
data-key="orgIndex"
bindchange="setVal"
>
<view class="picker">
<picker model:value="{{ orgIndex }}" range="{{orgList}}" range-key="label" data-key="orgIndex" bindchange="setVal">
<view class="picker-type {{orgIndex >= 0 ?'cur':''}}">
<text>{{ orgIndex >= 0 ? orgList[orgIndex].label : '按组织' }}</text>
<image src="../../../images/down.png" mode="widthFix"/>
<image src="../../../images/down.png" wx:if="orgIndex >= 0" mode="widthFix" />
<image src="../../../images/down2.png" wx:else mode="widthFix" />
</view>
</picker>
<picker
range="{{satisfactionSourceOptions}}"
range-key="label"
model:value="{{ satisfactionSourceIndex }}"
bind:change="sourceChange"
>
<view class="picker-type">
<text>{{ satisfactionSourceIndex >= 0 ? satisfactionSourceOptions[satisfactionSourceIndex].label : '按来源'
}}</text>
<image src="../../../images/down2.png" mode="widthFix"/>
<picker range="{{satisfactionSourceOptions}}" range-key="label" model:value="{{ satisfactionSourceIndex }}" bind:change="sourceChange">
<view class="picker-type {{satisfactionSourceIndex > 0 ?'cur':''}}">
<text>{{ satisfactionSourceIndex > 0 ? satisfactionSourceOptions[satisfactionSourceIndex].label : '按来源' }}</text>
<image src="../../../images/down.png" wx:if="{{satisfactionSourceIndex > 0}}" mode="widthFix" />
<image src="../../../images/down2.png" wx:else mode="widthFix" />
</view>
</picker>
<picker
range="{{tagOptions}}"
range-key="label"
model:value="{{ tagIndex }}"
>
<view class="picker-type">
<text>{{ tagIndex >= 0 ? tagOptions[tagIndex].label : '按标记'
}}</text>
<image src="../../../images/down2.png" mode="widthFix"/>
<picker range="{{tagOptions}}" range-key="label" model:value="{{ tagIndex }}">
<view class="picker-type {{tagIndex > 0 ?'cur':''}}">
<text>{{ tagIndex > 0 ? tagOptions[tagIndex].label : '按标记' }}</text>
<image src="../../../images/down.png" wx:if="{{tagIndex > 0}}" mode="widthFix" />
<image src="../../../images/down2.png" wx:else mode="widthFix" />
</view>
</picker>
<view class="btn" bindtap="onConfirm">
筛选
@ -62,4 +50,3 @@
</view>
</view>
</scroll-view>

6
subpages/statistics/pages/event/list/list.wxss

@ -59,7 +59,11 @@ page {
text-align: center;
}
.picker-type.cur {
background: rgba(58, 128, 231, 0.16);
border: 1px solid #3A80E7;
color: #3A80E7;
}
.btn {
width: 120rpx;
height: 56rpx;

8
subpages/statistics/pages/problem/problem.wxss

@ -66,7 +66,9 @@ page {
font-weight: bold;
color: #FF783C;
}
.event-list .event-item:first-child {
padding-top: 0;
}
.event-list .event-item {
border-bottom: 1px solid #EAEAEA;
padding: 30rpx 0;
@ -76,7 +78,7 @@ page {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 25rpx;
margin-bottom: 15rpx;
}
.event-list .event-item .userInfo .name {
font-size: 34rpx;
@ -92,7 +94,7 @@ page {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 30rpx;
margin-bottom: 20rpx;
}
.event-list .event-item .address .grid {
font-size: 28rpx;

Loading…
Cancel
Save