tool_fm.html 3.7 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">
    <title></title>
    <script src="../../assets/js/fontsize.js"></script>
    <!--<link rel="stylesheet" href="../../assets/css/api.css"/>-->
    <!--<link rel="stylesheet" href="http://at.alicdn.com/t/font_641470_jg64l6ijsg4lsor.css">-->
    <link rel="stylesheet" href="../../assets/icon/iconfont.css">
    <style>
        body, html {
            background-color: transparent !important;
            height: 100%;
        }

        .meal {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .img_box {
            margin: 0.21rem 0.24rem 0.8rem 0.24rem;
            overflow: hidden;
        }

        .img_box img {
            width: 100%;
        }

        .meal_cli {
            background-color: #fff;
            margin: 0.5rem 0.88rem;
            font-size: 15px;
            text-align: center;
            padding: 0.25rem;
            border-radius: 0.1rem;
        }

        .meal_cli .icon {
            width: 25px;
            height: 25px;
            margin: 0.2rem 0;
        }

        .meal_item {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .tips {
            font-size: 9px;
        }

        .cli_btn {
            background-color: #dbb25f;
            color: #ffff;
            font-size: 9px;
            width: 2rem;
            padding: 0.1rem 0.25rem;
            text-align: center;
            border-radius: 0.16rem;
            margin: 0.2rem auto;
        }

        .save_btn {
            text-align: center;
            font-size: 15px;
            color: #fff;
            padding: 0.15rem 0;
            width: 95%;
            position: absolute;
            left: 0;
            right: 0;
            margin: 0 auto;
            bottom: 0.3rem;
            z-index: 100;
            border-radius: 0.15rem;
            background-color: #dbb25f;
        }

        .tool_box {
            background-color: #fff;
        }
    </style>
</head>
<body>
<div id="app">
    <div @click="close" class="meal">
        <div class="tool_box" @click.stop>
            <div class="img_box"><img src="../../assets/image/price_img.png" alt=""></div>
            <!--<div v-html="tool_img"></div>-->
            <div class="save_btn" @click="close">确定</div>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript" src="../../assets/js/api.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/vue.min.js"></script>
<!--<script type="text/javascript" src="http://at.alicdn.com/t/font_641470_jg64l6ijsg4lsor.js"></script>-->
<script type="text/javascript" src="../../assets/icon/iconfont.js"></script>
<script type="text/javascript" src="../../assets/js/axios.min.js"></script>
<script>
    var app = new Vue({
        el: '#app',
        data: {
            tool_img: ''
        },
        created: function () {
            apiready = function () {
            }
        },
        methods: {
            close: function () {
                api.closeFrame();
            },
        }
    })
</script>