grid task
This commit is contained in:
parent
c4d54ad573
commit
2f2c1a0398
|
@ -1,7 +1,7 @@
|
|||
<view class="head">共{{total}}条风险</view>
|
||||
<view class="weui-cells weui-cells_after-title">
|
||||
<block wx:for="{{alllist}}" wx:key="unique">
|
||||
<view class="weui-media-box weui-media-box_appmsg" hover-class="weui-cell_active">
|
||||
<view class="weui-media-box weui-media-box_appmsg">
|
||||
<view class="weui-media-box__bd weui-media-box__bd_in-appmsg" >
|
||||
<view class="weui-media-box__title">
|
||||
<span wx:if="{{item.level == '低风险'}}" style="background-color:blue;color:white">低风险</span>
|
||||
|
@ -10,10 +10,10 @@
|
|||
<span wx:if="{{item.level == '重大风险'}}" style="background-color:red;color:white">重大风险</span>
|
||||
{{item.step}}
|
||||
</view>
|
||||
<view>
|
||||
<navigator url="/pages/risk/detail?id={{item.id}}">
|
||||
<span style="background-color:orange;color:white">标准/危害因素</span>
|
||||
{{item.hazard}}
|
||||
</view>
|
||||
</navigator>
|
||||
<view class="weui-media-box__desc">
|
||||
<span style="background-color:green;color:white">工程技术</span>
|
||||
<span wx:if="{{item.measure1!=null}}">{{item.measure1}}</span>
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<view>
|
||||
|
||||
<navigator url="/pages/risk/detail?id={{item.risk}}" hover-class="navigator-hover">风险详情</navigator>
|
||||
<navigator url="/pages/trouble/troubledetail?troubleid={{item.trouble}}" hover-class="navigator-hover">隐患详情</navigator>
|
||||
<navigator url="/pages/trouble/troubledetail?troubleid={{item.trouble}}" hover-class="navigator-hover" wx:if="{{item.trouble}}">隐患详情</navigator>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
|
|
|
@ -1,59 +1,59 @@
|
|||
{
|
||||
"description": "项目配置文件。",
|
||||
"setting": {
|
||||
"urlCheck": false,
|
||||
"es6": true,
|
||||
"postcss": true,
|
||||
"minified": true,
|
||||
"newFeature": true,
|
||||
"coverView": true,
|
||||
"nodeModules": true,
|
||||
"autoAudits": false,
|
||||
"showShadowRootInWxmlPanel": true,
|
||||
"scopeDataCheck": false,
|
||||
"checkInvalidKey": true,
|
||||
"checkSiteMap": true,
|
||||
"uploadWithSourceMap": true,
|
||||
"babelSetting": {
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
},
|
||||
"useCompilerModule": false,
|
||||
"userConfirmedUseCompilerModuleSwitch": false,
|
||||
"enhance": false,
|
||||
"preloadBackgroundData": false,
|
||||
"uglifyFileName": false,
|
||||
"compileHotReLoad": false,
|
||||
"useMultiFrameRuntime": true,
|
||||
"useApiHook": false,
|
||||
"useIsolateContext": true,
|
||||
"packNpmManually": false,
|
||||
"packNpmRelationList": []
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "2.9.4",
|
||||
"appid": "wx5c39b569f01c27db",
|
||||
"projectname": "aqyj",
|
||||
"isGameTourist": false,
|
||||
"simulatorType": "wechat",
|
||||
"simulatorPluginLibVersion": {},
|
||||
"condition": {
|
||||
"search": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"conversation": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"game": {
|
||||
"currentL": -1,
|
||||
"list": []
|
||||
},
|
||||
"miniprogram": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
}
|
||||
}
|
||||
"description": "项目配置文件。",
|
||||
"setting": {
|
||||
"urlCheck": false,
|
||||
"es6": true,
|
||||
"enhance": false,
|
||||
"postcss": true,
|
||||
"preloadBackgroundData": false,
|
||||
"minified": true,
|
||||
"newFeature": true,
|
||||
"coverView": true,
|
||||
"nodeModules": true,
|
||||
"autoAudits": false,
|
||||
"showShadowRootInWxmlPanel": true,
|
||||
"scopeDataCheck": false,
|
||||
"uglifyFileName": false,
|
||||
"checkInvalidKey": true,
|
||||
"checkSiteMap": true,
|
||||
"uploadWithSourceMap": true,
|
||||
"compileHotReLoad": false,
|
||||
"useMultiFrameRuntime": false,
|
||||
"useApiHook": false,
|
||||
"babelSetting": {
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
},
|
||||
"useIsolateContext": true,
|
||||
"useCompilerModule": true,
|
||||
"userConfirmedUseCompilerModuleSwitch": false,
|
||||
"packNpmManually": false,
|
||||
"packNpmRelationList": []
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "2.9.4",
|
||||
"appid": "wx5c39b569f01c27db",
|
||||
"projectname": "aqyj",
|
||||
"isGameTourist": false,
|
||||
"simulatorType": "wechat",
|
||||
"simulatorPluginLibVersion": {},
|
||||
"condition": {
|
||||
"search": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"conversation": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"game": {
|
||||
"currentL": -1,
|
||||
"list": []
|
||||
},
|
||||
"miniprogram": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue