feat: tabbar图标替换
This commit is contained in:
parent
b860aea6d2
commit
a81b89bd92
|
@ -1,18 +1,30 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view
|
<view
|
||||||
style="margin-top: 50rpx; display: flex; align-items: center; padding-right: 50rpx"
|
style="
|
||||||
|
margin-top: 50rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding-right: 50rpx;
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<view style="margin-right: 50rpx">账号</view>
|
<view style="margin-right: 50rpx">账号</view>
|
||||||
<u-input v-model="phone" border placeholder="账号"></u-input>
|
<u-input v-model="phone" border placeholder="账号"></u-input>
|
||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
style="margin-top: 50rpx; display: flex; align-items: center; padding-right: 50rpx"
|
style="
|
||||||
|
margin-top: 50rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding-right: 50rpx;
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<view style="margin-right: 50rpx">账号</view>
|
<view style="margin-right: 50rpx">账号</view>
|
||||||
<u-input v-model="pwd" border placeholder="密码"></u-input>
|
<u-input v-model="pwd" border placeholder="密码"></u-input>
|
||||||
</view>
|
</view>
|
||||||
<u-button type="primary" @click="loginFn" style="margin-top: 50rpx">登陆</u-button>
|
<u-button type="primary" @click="loginFn" style="margin-top: 50rpx"
|
||||||
|
>登陆</u-button
|
||||||
|
>
|
||||||
<u-button type="primary" @click="login1Fn" style="margin-top: 50rpx"
|
<u-button type="primary" @click="login1Fn" style="margin-top: 50rpx"
|
||||||
>登陆13800451500清洁工</u-button
|
>登陆13800451500清洁工</u-button
|
||||||
>
|
>
|
||||||
|
@ -44,20 +56,20 @@ export default {
|
||||||
const normalTabBar = [
|
const normalTabBar = [
|
||||||
{
|
{
|
||||||
pagePath: "/pages/index/planList",
|
pagePath: "/pages/index/planList",
|
||||||
iconPath: "/static/tab/list.png",
|
iconPath: "/static/tab/planList.png",
|
||||||
selectedIconPath: "/static/tab/list_cur.png",
|
selectedIconPath: "/static/tab/planList-active.png",
|
||||||
text: "计划",
|
text: "计划",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
pagePath: "/pages/index/index",
|
pagePath: "/pages/index/index",
|
||||||
iconPath: "/static/tab/home.png",
|
iconPath: "/static/tab/admin-home.png",
|
||||||
selectedIconPath: "/static/tab/home_cur.png",
|
selectedIconPath: "/static/tab/admin-home-acitve.png",
|
||||||
text: "首页",
|
text: "首页",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
pagePath: "/pages/user/index",
|
pagePath: "/pages/user/index",
|
||||||
iconPath: "/static/tab/my.png",
|
iconPath: "/static/tab/admin-my.png",
|
||||||
selectedIconPath: "/static/tab/my_cur.png",
|
selectedIconPath: "/static/tab/admin-my-active.png",
|
||||||
text: "设置",
|
text: "设置",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
Loading…
Reference in New Issue