cyl/dev
jscyl13849007907 1 year ago
parent f42a3f4d8c
commit 3e3598bed3

@ -136,7 +136,7 @@
"iconPath": "./assets/images/tabbar/unit.png",
"selectedIconPath": "./assets/images/tabbar/unit_active.png",
"pagePath": "pages/workBench/index",
"text": "工"
"text": "工作台"
},
{
"iconPath": "./assets/images/tabbar/message.png",

@ -1 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1739525819656" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8609" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32z m-40 728H184V184h656v656z" p-id="8610" fill="#1890ff"></path><path d="M370.8 554.4c-54.6 0-98.8 44.2-98.8 98.8s44.2 98.8 98.8 98.8 98.8-44.2 98.8-98.8v-42.4h84.7v42.4c0 54.6 44.2 98.8 98.8 98.8s98.8-44.2 98.8-98.8-44.2-98.8-98.8-98.8h-42.4v-84.7h42.4c54.6 0 98.8-44.2 98.8-98.8 0-54.6-44.2-98.8-98.8-98.8s-98.8 44.2-98.8 98.8v42.4h-84.7v-42.4c0-54.6-44.2-98.8-98.8-98.8S272 316.2 272 370.8s44.2 98.8 98.8 98.8h42.4v84.7h-42.4z m42.4 98.8c0 23.4-19 42.4-42.4 42.4s-42.4-19-42.4-42.4 19-42.4 42.4-42.4h42.4v42.4z m197.6-282.4c0-23.4 19-42.4 42.4-42.4s42.4 19 42.4 42.4-19 42.4-42.4 42.4h-42.4v-42.4z m0 240h42.4c23.4 0 42.4 19 42.4 42.4s-19 42.4-42.4 42.4-42.4-19-42.4-42.4v-42.4zM469.6 469.6h84.7v84.7h-84.7v-84.7z m-98.8-56.4c-23.4 0-42.4-19-42.4-42.4s19-42.4 42.4-42.4 42.4 19 42.4 42.4v42.4h-42.4z" p-id="8611" fill="#1890ff"></path></svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1739526892263" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8711" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><path d="M453.74577778 65.3842963H84.80237037c-10.67994075 0-19.41807408 8.73813333-19.41807407 19.41807407v368.94340741c0 10.67994075 8.73813333 19.41807408 19.41807407 19.41807407h368.94340741c10.67994075 0 19.41807408-8.73813333 19.41807407-19.41807407V84.80237037c0-10.67994075-8.73813333-19.41807408-19.41807407-19.41807407z m-63.10874075 325.25274073H147.91111111V147.91111111h242.72592592v242.72592592zM939.19762963 65.3842963H570.25422222c-10.67994075 0-19.41807408 8.73813333-19.41807407 19.41807407v368.94340741c0 10.67994075 8.73813333 19.41807408 19.41807407 19.41807407h368.94340741c10.67994075 0 19.41807408-8.73813333 19.41807407-19.41807407V84.80237037c0-10.67994075-8.73813333-19.41807408-19.41807407-19.41807407z m-63.10874074 325.25274073H633.36296297V147.91111111h242.72592592v242.72592592zM453.74577778 550.83614815H84.80237037c-10.67994075 0-19.41807408 8.73813333-19.41807407 19.41807407v368.94340741c0 10.67994075 8.73813333 19.41807408 19.41807407 19.41807407h368.94340741c10.67994075 0 19.41807408-8.73813333 19.41807407-19.41807407V570.25422222c0-10.67994075-8.73813333-19.41807408-19.41807407-19.41807407z m-63.10874075 325.25274074H147.91111111V633.36296297h242.72592592v242.72592592zM939.19762963 550.83614815H570.25422222c-10.67994075 0-19.41807408 8.73813333-19.41807407 19.41807407v368.94340741c0 10.67994075 8.73813333 19.41807408 19.41807407 19.41807407h368.94340741c10.67994075 0 19.41807408-8.73813333 19.41807407-19.41807407V570.25422222c0-10.67994075-8.73813333-19.41807408-19.41807407-19.41807407z m-63.10874074 325.25274074H633.36296297V633.36296297h242.72592592v242.72592592z" p-id="8712" fill="#1890ff"></path></svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -1 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1739525819656" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8609" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32z m-40 728H184V184h656v656z" p-id="8610" fill="#888888"></path><path d="M370.8 554.4c-54.6 0-98.8 44.2-98.8 98.8s44.2 98.8 98.8 98.8 98.8-44.2 98.8-98.8v-42.4h84.7v42.4c0 54.6 44.2 98.8 98.8 98.8s98.8-44.2 98.8-98.8-44.2-98.8-98.8-98.8h-42.4v-84.7h42.4c54.6 0 98.8-44.2 98.8-98.8 0-54.6-44.2-98.8-98.8-98.8s-98.8 44.2-98.8 98.8v42.4h-84.7v-42.4c0-54.6-44.2-98.8-98.8-98.8S272 316.2 272 370.8s44.2 98.8 98.8 98.8h42.4v84.7h-42.4z m42.4 98.8c0 23.4-19 42.4-42.4 42.4s-42.4-19-42.4-42.4 19-42.4 42.4-42.4h42.4v42.4z m197.6-282.4c0-23.4 19-42.4 42.4-42.4s42.4 19 42.4 42.4-19 42.4-42.4 42.4h-42.4v-42.4z m0 240h42.4c23.4 0 42.4 19 42.4 42.4s-19 42.4-42.4 42.4-42.4-19-42.4-42.4v-42.4zM469.6 469.6h84.7v84.7h-84.7v-84.7z m-98.8-56.4c-23.4 0-42.4-19-42.4-42.4s19-42.4 42.4-42.4 42.4 19 42.4 42.4v42.4h-42.4z" p-id="8611" fill="#888888"></path></svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1739526877754" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8458" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><path d="M453.74577778 65.3842963H84.80237037c-10.67994075 0-19.41807408 8.73813333-19.41807407 19.41807407v368.94340741c0 10.67994075 8.73813333 19.41807408 19.41807407 19.41807407h368.94340741c10.67994075 0 19.41807408-8.73813333 19.41807407-19.41807407V84.80237037c0-10.67994075-8.73813333-19.41807408-19.41807407-19.41807407z m-63.10874075 325.25274073H147.91111111V147.91111111h242.72592592v242.72592592zM939.19762963 65.3842963H570.25422222c-10.67994075 0-19.41807408 8.73813333-19.41807407 19.41807407v368.94340741c0 10.67994075 8.73813333 19.41807408 19.41807407 19.41807407h368.94340741c10.67994075 0 19.41807408-8.73813333 19.41807407-19.41807407V84.80237037c0-10.67994075-8.73813333-19.41807408-19.41807407-19.41807407z m-63.10874074 325.25274073H633.36296297V147.91111111h242.72592592v242.72592592zM453.74577778 550.83614815H84.80237037c-10.67994075 0-19.41807408 8.73813333-19.41807407 19.41807407v368.94340741c0 10.67994075 8.73813333 19.41807408 19.41807407 19.41807407h368.94340741c10.67994075 0 19.41807408-8.73813333 19.41807407-19.41807407V570.25422222c0-10.67994075-8.73813333-19.41807408-19.41807407-19.41807407z m-63.10874075 325.25274074H147.91111111V633.36296297h242.72592592v242.72592592zM939.19762963 550.83614815H570.25422222c-10.67994075 0-19.41807408 8.73813333-19.41807407 19.41807407v368.94340741c0 10.67994075 8.73813333 19.41807408 19.41807407 19.41807407h368.94340741c10.67994075 0 19.41807408-8.73813333 19.41807407-19.41807407V570.25422222c0-10.67994075-8.73813333-19.41807408-19.41807407-19.41807407z m-63.10874074 325.25274074H633.36296297V633.36296297h242.72592592v242.72592592z" p-id="8459" fill="#888888"></path></svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -18,7 +18,7 @@ Component({
iconPath: "../assets/images/tabbar/unit_active.svg",
selectedIconPath: "../assets/images/tabbar/unit.svg",
pagePath: "/pages/workBench/index",
text: "工",
text: "工作台",
index: 1,
},
{

@ -4,7 +4,7 @@
<!-- <view class="middle tac" wx:if="{{index === 1}}" hover-class="none" hover-stop-propagation="false">
<image class="tabImg" src="{{item.selectedIconPath}}" />
</view> -->
<view class='' hover-class="none" hover-stop-propagation="false">
<view class='tabImg-box' hover-class="none" hover-stop-propagation="false">
<image class="tabImg" style="visibility:{{selected === item.index ? 'visiable':'hidden'}}" src="{{item.selectedIconPath}}" />
<image class="tabImg " style="visibility:{{selected === item.index ? 'hidden':'visiable'}}" src="{{item.iconPath}}" />
<view class="tabText" style="color: {{selected === item.index ? selectedColor : color}}">{{item.text}}</view>

@ -37,13 +37,28 @@
}
.tabImg {
width: 30px;
height: 30px;
width: 26px;
height: 26px;
position: absolute;
top: 6px;
top: 7px;
}
.tab-bar-item:nth-child(2) .tabImg{
width: 24px;
height: 24px;
}
.tab-bar-item:nth-child(3) .tabImg{
width: 24px;
height: 24px;
}
.tab-bar-item:nth-child(6) .tabImg{
width: 22px;
height: 22px;
}
.tabText {
margin-top: 34px;
margin-top: 36px;
}
.tab-bar-item view {
font-size: 10px;

@ -1,7 +1,5 @@
{
"usingComponents": {},
"navigationBarTitleText": "工具",
"navigationBarBackgroundColor": "#1890ff",
"navigationBarTextStyle": "white",
"navigationBarTitleText": "工作台",
"backgroundColor": "#f5f5f5"
}
Loading…
Cancel
Save