【问题标题】:How do i remove this extended content?如何删除此扩展内容?
【发布时间】:2021-02-13 22:10:44
【问题描述】:

我正在创建一个网络信使,我想删除光标所在的栏:

Home.blade.php:

@extends('layouts.texter')

@section('content')


<template>
<div class="container">
    <div class="row justify-content-center">
        <div class="col-sm-12">
            <div class="card">
                <div class="card-header" style="width: 32.5% !important; border-right: 1px solid #d6d6d6;">
                    <div class="user-row">
                        <img src="{{asset('/images/conta.png')}}" alt="" style="width: 50px; height: 50px; cursor: pointer;">

                        <span style="float: right; margin-top: 10px; cursor: pointer;">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">
                                <path fill="currentColor" d="M12 7a2 2 0 1 0-.001-4.001A2 2 0 0 0 12 7zm0 2a2 2 0 1 0-.001 3.999A2 2 0 0 0 12 9zm0 6a2 2 0 1 0-.001 3.999A2 2 0 0 0 12 15z">     
                                </path>
                            </svg>
                        </span>
                        
                            

                    </div>

                </div>

                <div class="card-body" id="app">
                    <chat-app :user="{{ auth()->user() }}"></chat-app>
                </div>
            </div>
        </div>
    </div>
</div>
</template>
@endsection

如果我转到 layouts.texter 并删除它的导航栏和内容,我的整个页面就会变成空白。

我只是希望我的主刀片显示顶部没有条,我该怎么做?

【问题讨论】:

    标签: html css laravel vue.js


    【解决方案1】:
    the navbar? its defined as nav in your texter.blade.php 
    does it not work to remove everything from <nav class="navbar navbar-expand-md.......">
    down to the closing </nav>?
    

    【讨论】:

    • 如果我删除这整件事:i.imgur.com/wtTlme9.png 我的整个页面都会变成空白
    • 它让我的整个页面变成空白,但它现在正在工作,我做了npm run dev 并且它似乎已经工作了,无论如何谢谢
    猜你喜欢
    • 2017-04-07
    • 1970-01-01
    • 2011-07-11
    • 2019-10-16
    • 1970-01-01
    • 2013-03-08
    • 1970-01-01
    • 2015-06-28
    • 1970-01-01
    相关资源
    最近更新 更多