weappNotice.html 4.14 KB
<!--  第一部分:菜单导航 start -->
<!--  第一部分:菜单导航 end -->

<!--  第二部分:列表部分 start -->
<div class="weapp-notice relative white-bg animated fadeInRight">
    <form name="noticeForm" class="woForm" novalidate="">
        <toaster-container toaster-options="{'position-class': 'toast-top-center'}"></toaster-container>
        <div class="row wo-row">
            <div class="form-group col-lg-12 notice-group">
                <label class="control-label" style="font-size: 14px; color: #333;">小程序公告
                    <i class="fa form-item-label-i nav-box" aria-hidden='true'>i
                        <ul class="nav-menu">
                            <li>发布后公告将显示在小程序主页</li>
                        </ul>
                    </i>
                </label>
                <textarea required name="notice" class="form-control specialContent lg" ng-model="model.notice"
                    placeholder="请输入店面公告,最多不超过40个字符,注意不要包含色情、低俗和反动信息,内容不可为空,如无特别公告说明,建议填写店铺服务等。" maxlength="40">
                            </textarea>
                <!-- <input type="text" required name="notice" class="form-control notice col-lg-10" ng-model="model.notice"
                    placeholder="请输入店面公告,最多不超过40个字符,注意不要包含色情、低俗和反动信息,内容不可为空,如无特别公告说明,建议填写店铺服务等。" maxlength="40" /> -->
                <small class="text-danger" ng-show="noticeForm.notice.$error.required && model.submitted">此项不能为空</small>
                <button ng-click="model.submit()" ng-disabled="noticeForm.$invalid"
                    class="btn btn-primary notice-submit">发布
                    <i ng-show="isSubmitting"></i></button>
            </div>
        </div>

    </form>
</div>
</div>
<style>
    .height35 {
        height: 35px;
    }

    .weapp-notice textarea {
        /* width: 300px; */
        height: 90px !important;
        font-size: 14px;
    }

    .notice-group {
        align-items: center;
        padding: 40px;
    }

    .notice-group .notice {
        height: 80px;
    }

    .notice-group label {
        font-size: 20px;
    }

    .notice-submit {
        margin-top: 20px;
        height: 40px;
        float: right;
    }

    .notice-group .form-item-label-i {
    display: inline-block;
    cursor: pointer;
    width: 14px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    border: 1px solid #666;
    border-radius: 100%;
    font-size: 12px;
    vertical-align: middle;
    color: #333;
    position: relative;
    margin-top: -2px;
  }

    .notice-group .nav-box .nav-menu {
        position: absolute;
        background: #5a5a5a;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.20);
        width: 200px;
        height: 34px;
        box-sizing: border-box;
        left: 600%;
        top: -42px;
        transform: translateX(-50%);
        padding: 8px 0 0;
        border-radius: 5px;
        display: none;
    }

    .notice-group .nav-box:hover .nav-menu {
        display: block;
    }

    .notice-group .nav-box .nav-menu::before,
    .notice-group .nav-box .nav-menu::after {
        position: absolute;
        content: '';
        left: 18%;
        transform: translateX(-50%);
    }

    .notice-group .nav-box .nav-menu::before {
        top: 32px;
        border-top: 7.5px solid #5a5a5a;
        border-right: 3.75px solid transparent;
        border-bottom: 7.5px solid transparent;
        border-left: 3.75px solid transparent;
    }

    .notice-group .nav-box .nav-menu::after {
        top: 32px;
        border-top: 7px solid #5a5a5a;
        border-right: 3.5px solid transparent;
        border-bottom: 7px solid transparent;
        border-left: 3.5px solid transparent;
    }

    .notice-group .nav-menu li {
        /* height: 20px;
        line-height: 20px; */
        display: block;
        margin-bottom: 10px;
        margin-right: 0 !important;
        text-align: center;
        color: #fff;
        font-size: 12px;
    }
</style>