一、去uni-app的插件市场下载插件
https://ext.dcloud.net.cn/plugin?id=52
二、点击导入插件 在页面中使用
<template> <view class="content"> <!-- 顶部导航 --> <uni-nav-bar left-icon="back" title="个人中心" background-color="#404040" color="#fff"></uni-nav-bar> </view> </template>
属性说明