enter_view.html 3.2 KB
<!DOCTYPE html>
<html lang="en">

{include file="public/head"/}
<link rel="stylesheet" href="__CDN__/assets/advertising/css/entry.css">
<style>
    body,
    html {
        background-color: #f9f9f9;
    }
</style>

<body>
    <div class="submit_entry">
        <div class="submit_table">
            <div class="submit_single align_center layout flex_row">
                <div class="submit_title">商家名称<i>*</i></div>
                <input type="text" placeholder="请填写商家名称">
            </div>
            <div class="submit_single align_center layout flex_row">
                <div class="submit_title">联系人<i>*</i></div>
                <input type="text" placeholder="请填写联系人姓名">
            </div>
            <div class="submit_single align_center layout flex_row">
                <div class="submit_title">联系电话<i>*</i></div>
                <input type="text" placeholder="请填写联系人电话">
            </div>
            <div class="submit_single align_center layout flex_row">
                <div class="submit_title">地址</div>
                <input type="text" placeholder="请填写所在地址">
            </div>
            <div class="submit_single  layout flex_row">
                <div class="submit_title">简介</div>
                <textarea name="" id="" cols="30" rows="5" placeholder="请填写商家简介"></textarea>
            </div>
            <div class="submit_single  layout flex_row">
                <div class="submit_title">
                    营业执照<i>*</i>
                </div>
                <div class="submit_img">
                    <div class="submit_img_add">
                        <img src="__CDN__/assets/advertising/img/add.png" alt="">
                    </div>
                    <!-- <div class="submited_img">
                        <img src="" alt="" id="img1">
                    </div>
                    <input type="file" id="imgFile" class="submit_img_input" onchange="fileImg(this)"> -->
                </div>
            </div>
            <div class="submit_single  layout flex_row">
                <div class="submit_title">
                    其他证件
                </div>
                <div class="submit_img">
                    <div class="submit_img_add">
                        <img src="__CDN__/assets/advertising/img/add.png" alt="">
                    </div>
                    <!-- <input type="file" class="submit_img_input" onchange="fileImgOther"> -->
                </div>
            </div>
        </div>
        <div class="btn_box">
            <div class="btn">
                申请入驻
            </div>
        </div>

    </div>
    {include file="public/js" /}
    <script>
        // 营业执照
        function fileImg() {
            var reads = new FileReader();
            var img = document.getElementById("imgFile").files[0];
            reads.readAsDataURL(img);
            reads.onload = function(e) {
                document.getElementById('img1').src = this.result;
                console.log($("#img1"))
                console.log(e)
            };
        };
        $(".btn_box").click(function() {
            window.location.href = "examine.html"
        })
    </script>
</body>

</html>