power_f.html 2.0 KB
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <script src="../../assets/js/fontsize.js"></script>
    <link rel="stylesheet" href="../../assets/css/api.css"/>
    <link rel="stylesheet" href="../../assets/css/style.css">
    <link rel="stylesheet" href="../../assets/icon/iconfont.css">
    <link rel="stylesheet" href="../../assets/css/index.css">
    <title></title>
    <style>
        .img_list {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 0.28rem;
        }

        .img_list img {
            width: 100%;
        }
    </style>
</head>
<body>
<div id="app">
    <div class="img_list">
        <img v-if="power==0" src="../../assets/image/strict_a.png" alt="">
        <img v-else-if="power==1" src="../../assets/image/strict_b.png" alt="">
        <img v-else src="../../assets/image/strict_c.png" alt="">
    </div>
</div>
</body>
</html>
<script type="text/javascript" src="../../assets/js/api.js"></script>
<script type="text/javascript" src="../../assets/js/vue.min.js"></script>
<script type="text/javascript" src="../../assets/js/index.js"></script>
<script type="text/javascript" src="../../assets/js/public.js"></script>
<script type="text/javascript" src="../../assets/js/fastclick.js"></script>
<script>
    new FastClick(document.body);
</script>
<script type="text/javascript" src="../../assets/js/axios.min.js"></script>
<script type="text/javascript" src="../../assets/icon/iconfont.js"></script>
<script>
    var app = new Vue({
        el: '#app',
        data: {
            power: ''
        },
        created: function () {
            apiready = function () {
                app.power = api.pageParam.types
            }
        },
        methods: {}
    })
</script>