wzp
2022-02-21 2667d6931e0f85f3dda26238330d9c45385025cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!-- 资产报修 -->
<template>
    <view>
        <view class="">
            <cu-custom bgColor="bg-gradual-blue" :isBack="true">
                <block slot="backText">返回</block>
                <block slot="content">资产报修</block>
            </cu-custom>
        </view>
        <view class="flex align-center justify-center Tbox">
            <view class="btnBox">
                <view @click="navigateTo('Qrcode')" class="no1" hover-class="active">
                    <image src="../../static/shao02.svg" mode="widthFix"></image>
                    <text>点击扫码获取资产信息</text>
                </view>
            </view>
            
        </view>
    </view>
</template>
 
<script>
    
    export default {
        data() {
            return {
                
            }
        },
        methods: {
            navigateTo(url) {
                setTimeout(()=>{
                    uni.navigateTo({
                        url: `./${url}/${url}`
                    })
                },300)
            }
        }
    }
</script>
 
<style lang="scss">
page {
        background-color: #6a6a6a;
    }
    
    .Tbox{
        height: 100vh;
        width: 100vw;
    }
    
    .btnBox {
        // border: 1rpx red solid;
        display: flex;
        padding: 5rpx;
 
        >view {
            color: #fff;
            width: 270rpx;
            height: 270rpx;
            font-size: 26rpx;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #777777;
            margin: 8rpx;
                border: 1px solid #777777;
            image {
                margin-bottom: 12rpx;
                width: 60rpx;
            }
        }
        
        >view.active {
            border: 1px solid #C0C0C0;
            background-color: #868686;
        }
    }
</style>