<template>
|
<view>
|
<u-navbar
|
@rightClick="rightClick"
|
:autoBack="true"
|
:placeholder="false"
|
bgColor="transparent"
|
leftIconColor="white"
|
>
|
</u-navbar>
|
<image src="/static/policy/back.png" mode="widthFix" class="back-image"></image>
|
<view class="page-box">
|
<view class="code-hint">
|
<view>
|
<image src="/static/policy/success.png" mode="widthFix"></image>
|
<!-- <image src="/static/policy/error.png" mode="widthFix"></image> -->
|
<text>成功-绿码</text>
|
<!-- <text>失败-红码</text> -->
|
</view>
|
<view class="hint">
|
可对此企业进行核查
|
</view>
|
<view class="hint">
|
请核查企业信息
|
</view>
|
</view>
|
<!-- 二维码 -->
|
<view class="qrcode">
|
<image src="/static/policy/qrcode-border.png" class="border" mode="widthFix"></image>
|
<image :src="uqrcodeImage" mode="widthFix" class="qrcode-1"></image>
|
<view class="code-time">
|
<text>扫码时间:</text>2024-05-12 12:00
|
</view>
|
</view>
|
<view class="code">
|
<view class="item">
|
<text class="label">执法人员</text>
|
<text class="value">王小丫</text>
|
</view>
|
<view class="write-border"></view>
|
<view class="item">
|
<text class="label">执法部门</text>
|
<text class="value">工商管理局</text>
|
</view>
|
</view>
|
<view class="hint-text">
|
当前企业存在<text>1</text>条未完成的执法任务
|
</view>
|
<view class="down-block">
|
<view class="box">
|
<view class="title">24年5月突击检查消防安全</view>
|
<view class="user-news">
|
<text>王思雨</text>
|
<view class="driver"></view>
|
<text>工商管理局</text>
|
</view>
|
<view class="font-13">
|
<text>执法对象:</text>河南觉醒科技有限公司
|
</view>
|
<view class="border"></view>
|
<view class="font-12 margin-bottom">
|
<text>执法时间:</text>2024-05-12 12:00
|
</view>
|
<view class="font-12">
|
<text>申请时间:</text>2024-05-12 12:00:12
|
</view>
|
</view>
|
</view>
|
</view>
|
<uqrcode class="hide-canvas" :size="470" sizeUnit="rpx" v-if="companyCode" ref="uqrcode" canvas-id="qrcode" :value="companyCode" :options="{ backgroundColor: 'green',useDynamicSize: true, areaColor: '#ffffff', foregroundColor: '#ffffff' }"></uqrcode>
|
|
</view>
|
</template>
|
|
<script>
|
export default {
|
data() {
|
return {
|
companyCode: 'code===',
|
uqrcodeImage: ''
|
}
|
},
|
onReady() {
|
this.$refs.uqrcode.toTempFilePath({
|
success: res => {
|
this.uqrcodeImage = res.tempFilePath
|
}
|
});
|
},
|
methods: {
|
|
}
|
}
|
</script>
|
<style>
|
page{
|
padding-bottom: 20rpx;
|
}
|
</style>
|
<style lang="scss" scoped>
|
@import "./scodePage.scss";
|
</style>
|