首先我们先创建一个导航栏在app.json里面添加
"tabBar": {
"list": [
{
"selectedIconPath": "./pages/image/shou 2.png",
"iconPath": "./pages/image/shou 1.png",
"pagePath": "pages/teacher/teacher",
"text": "首页"
},
{
"selectedIconPath": "./pages/image/shou 4.png",
"iconPath": "./pages/image/shou 3.png",
"pagePath": "pages/xin/xin",
"text": "其他"
}
]
},
然后我们创建修改密码界面
<view>
<form bindsubmit="formSubmit">
<view >
<text>原密码</text>
<input placeholder="请输入原密码" class='wen' password='ture' name='oldpwd' value='{
{item.oldpwd}}'></input>
</view>
<view &g