Skip to content

Commit

Permalink
chore: update & add example
Browse files Browse the repository at this point in the history
  • Loading branch information
alantoa committed Feb 17, 2022
1 parent e30a32d commit 22d3d10
Show file tree
Hide file tree
Showing 18 changed files with 999 additions and 54 deletions.
1 change: 1 addition & 0 deletions example/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = function (api) {
},
},
],
['react-native-reanimated/plugin'],
],
};
};
8 changes: 8 additions & 0 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,19 @@
"test": "jest"
},
"dependencies": {
"@react-navigation/bottom-tabs": "^6.2.0",
"@react-navigation/native": "^6.0.8",
"expo": "^42.0.0",
"expo-splash-screen": "~0.11.2",
"lottie-ios": "3.2.3",
"lottie-react-native": "4.0.2",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "0.63.4",
"react-native-animated-numbers": "^0.4.1",
"react-native-reanimated": "~2.2.0",
"react-native-safe-area-context": "3.2.0",
"react-native-screens": "~3.4.0",
"react-native-unimodules": "~0.14.5",
"react-native-web": "~0.13.12"
},
Expand Down
127 changes: 103 additions & 24 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,31 +1,110 @@
import * as React from 'react';
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
import { NavigationContainer } from '@react-navigation/native';

import { StyleSheet, View, Text } from 'react-native';
import { multiply } from 'react-native-lottie-tabbar';
import React, { useEffect, useState } from 'react';
import { View } from 'react-native';
import LottieTabbar, { TabItem } from '../../src';

export default function App() {
const [result, setResult] = React.useState<number | undefined>();
const BottomTab = createBottomTabNavigator();

React.useEffect(() => {
multiply(3, 7).then(setResult);
}, []);

return (
<View style={styles.container}>
<Text>Result: {result}</Text>
</View>
);
export enum RootScreenEnum {
RootTab1 = 'home',
RootTab2 = 'community',
RootTab3 = 'cars',
RootTab4 = 'notice',
}
export const palette = {
transparent: `rgba(0,0,0,0)`,
Main: `rgba(61, 219, 209, 1)`,
ActiveMain: `rgba(41, 142, 136, 1)`,
Danger: `rgba(255, 61, 74, 1)`,
Warning: `rgba(255, 187, 0, 1)`,
Info: `rgba(0, 99, 247, 1)`,
Success: `rgba(1, 208, 134, 1)`,
W: `rgba(255, 255, 255, 1)`,
G1: `rgba(245, 247, 250, 1)`,
G2: `rgba(225, 227, 229, 1)`,
G3: `rgba(195, 197, 199, 1)`,
G4: `rgba(157, 159, 163, 1)`,
G5: `rgba(108, 110, 112, 1)`,
G6: `rgba(39, 41, 46, 1)`,
G7: `rgba(44, 45, 47, 1)`,
G8: `rgba(23, 26, 31, 1)`,
B: `rgba(0, 0, 0, 1)`,
};

const getViewStyle = (color: string) => ({
flex: 1,
backgroundColor: color,
});

const RootTab1 = () => {
return <View style={getViewStyle(palette.Main)} />;
};
const RootTab2 = () => {
return <View style={getViewStyle(palette.Info)} />;
};
const RootTab3 = () => {
return <View style={getViewStyle(palette.Danger)} />;
};

const RootTab4 = () => {
return <View style={getViewStyle(palette.Warning)} />;
};

const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
const _tabs: TabItem = {
[RootScreenEnum.RootTab1]: {
title: 'Home',
lottieFile: require('./lottie/home.json'),
iconSize: 24,
textWidth: 30,
},
box: {
width: 60,
height: 60,
marginVertical: 20,
[RootScreenEnum.RootTab2]: {
title: 'Community',
lottieFile: require('./lottie/community.json'),
iconSize: 24,
textWidth: 60,
},
});
[RootScreenEnum.RootTab3]: {
title: 'Cars',
lottieFile: require('./lottie/car.json'),
iconSize: 24,
textWidth: 24,
},
[RootScreenEnum.RootTab4]: {
title: 'Message',
lottieFile: require('./lottie/notice.json'),
iconSize: 24,
textWidth: 46,
isShowBadge: true,
badgeCount: 1,
},
};

const App = () => {
const [tabs, setTabs] = useState(_tabs);
useEffect(() => {
setTimeout(() => {
const obj = { ...tabs } as any;
obj[RootScreenEnum.RootTab4].badgeCount += 2;
setTabs(obj);
}, 2000);
}, [tabs]);
return (
<NavigationContainer>
<BottomTab.Navigator
initialRouteName={RootScreenEnum.RootTab1}
tabBar={(props) => <LottieTabbar {...props} tabs={tabs} />}
screenOptions={{
headerShown: false,
}}
>
<BottomTab.Screen name={RootScreenEnum.RootTab1} component={RootTab1} />
<BottomTab.Screen name={RootScreenEnum.RootTab2} component={RootTab2} />
<BottomTab.Screen name={RootScreenEnum.RootTab3} component={RootTab3} />
<BottomTab.Screen name={RootScreenEnum.RootTab4} component={RootTab4} />
</BottomTab.Navigator>
</NavigationContainer>
);
};
export default App;
1 change: 1 addition & 0 deletions example/src/lottie/car.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"v":"5.8.1","fr":30,"ip":0,"op":30,"w":72,"h":72,"nm":"model library","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"line4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[36,42.5,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-12,0],[0,0]],"o":[[0,0],[12,0],[0,0]],"v":[[-20,-0.5],[0,0.5],[20,-0.5]],"c":false},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4.5,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Vector 207","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":8,"s":[50]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":14,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":16,"s":[0]},{"t":22,"s":[50]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":8,"s":[50]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":14,"s":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":16,"s":[100]},{"t":22,"s":[50]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"修剪路径 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":30,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"block","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":10,"s":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":18,"s":[100]},{"t":22,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[36,36,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":6,"s":[0,0,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":12,"s":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":15,"s":[97,97,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":18,"s":[100,100,100]},{"t":24,"s":[0,0,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0.918,-3.673],[0,0],[2.693,0.48],[-0.042,-0.952],[-2.382,-0.477],[-0.636,-0.093],[-0.217,-3.903],[0,0],[-2.786,0],[0,0],[-0.422,2.531],[0,0],[-0.367,0],[0,0],[-0.102,-0.306],[0,0],[-2.26,0],[0,0],[-0.155,2.782],[0,0],[2.688,2.841],[-0.641,0.104],[-0.099,2.275],[0.911,-0.142],[1.628,-0.2],[0,0],[3.786,0]],"o":[[-3.786,0],[0,0],[-2.573,-0.309],[-0.938,-0.167],[0.101,2.31],[0.63,0.126],[-2.67,2.838],[0,0],[0.155,2.782],[0,0],[2.566,0],[0,0],[0.06,-0.362],[0,0],[0.323,0],[0,0],[0.715,2.144],[0,0],[2.786,0],[0,0],[0.218,-3.916],[0.643,-0.092],[2.389,-0.482],[0.04,-0.921],[-2.418,0.378],[0,0],[-0.918,-3.673],[0,0]],"v":[[-14.816,-29.25],[-22.82,-23.001],[-25.948,-10.489],[-34.185,-11.649],[-35.974,-10.151],[-33,-5.399],[-31.1,-5.073],[-34.949,5.482],[-33.904,24.291],[-28.663,29.25],[-23.542,29.25],[-18.363,24.863],[-17.699,20.877],[-16.959,20.25],[15.837,20.25],[16.549,20.763],[18.181,25.66],[23.162,29.25],[28.662,29.25],[33.903,24.291],[34.948,5.482],[31.072,-5.102],[33,-5.394],[35.974,-10.244],[34.267,-11.728],[25.946,-10.489],[22.818,-23.001],[14.815,-29.25]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.144000008702,0.15600001812,0.180000007153,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Union","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":30,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"line3","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[36,27.5,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[19.5,0],[0,0]],"o":[[0,0],[-19.5,0],[0,0]],"v":[[36,-1.5],[0,1.5],[-36,-1.5]],"c":false},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0,0,0,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":6,"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Vector 216","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":8,"s":[50]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":22,"s":[50]},{"t":30,"s":[0]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":8,"s":[50]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":22,"s":[50]},{"t":30,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"修剪路径 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":30,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Vector 206 (Stroke)","tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[36.001,27.877,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[10.821,0],[6.16,0.738],[2.723,0.485],[-0.064,-0.951],[-2.313,-0.464],[-2.143,-0.257],[-11.092,0],[-6.362,0.762],[-2.134,0.345],[-0.119,1.791],[0.911,-0.142],[1.558,-0.187]],"o":[[-10.821,0],[-2.592,-0.311],[-0.938,-0.167],[0.121,1.814],[2.121,0.425],[6.362,0.762],[11.092,0],[2.145,-0.257],[2.32,-0.469],[0.061,-0.92],[-2.463,0.385],[-6.16,0.738]],"v":[[-0.001,-0.877],[-25.861,-2.356],[-34.185,-3.526],[-35.965,-2.028],[-33.001,1.224],[-26.575,2.102],[-0.001,3.623],[26.574,2.102],[32.999,1.229],[35.965,-2.121],[34.267,-3.605],[25.86,-2.356]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.388235300779,0.403921574354,0.439215689898,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Vector 206 (Stroke)","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":30,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"line2","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[36,45.75,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[24,-17.25],[33,-9.75],[31.5,17.25],[18,17.25],[15,8.25],[-16.5,8.25],[-18,17.25],[-31.5,17.25],[-33,-9.75],[-24,-17.25]],"c":false},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.388235300779,0.403921574354,0.439215689898,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4.5,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Rectangle 660","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":8,"s":[50]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":22,"s":[50]},{"t":30,"s":[0]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":8,"s":[50]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":22,"s":[50]},{"t":30,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"修剪路径 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":30,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Rectangle 660 (Stroke)","tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[36,45.75,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0.796,0.955],[0.955,-0.796],[0,0],[-0.145,-2.605],[0,0],[-2.786,0],[0,0],[-0.422,2.531],[0,0],[-0.367,0],[0,0],[-0.102,-0.306],[0,0],[-2.26,0],[0,0],[-0.155,2.782],[0,0],[2.004,1.67],[0,0],[0.796,-0.955],[-0.955,-0.796],[0,0],[0.066,-1.184],[0,0],[0.398,0],[0,0],[0.102,0.306],[0,0],[2.26,0],[0,0],[0.422,-2.531],[0,0],[0.367,0],[0,0],[0.022,0.397],[0,0],[-0.911,0.759]],"o":[[0.955,-0.796],[-0.796,-0.955],[0,0],[-2.004,1.67],[0,0],[0.155,2.782],[0,0],[2.566,0],[0,0],[0.06,-0.362],[0,0],[0.323,0],[0,0],[0.715,2.144],[0,0],[2.786,0],[0,0],[0.145,-2.605],[0,0],[-0.955,-0.796],[-0.796,0.955],[0,0],[0.911,0.759],[0,0],[-0.022,0.397],[0,0],[-0.323,0],[0,0],[-0.715,-2.144],[0,0],[-2.566,0],[0,0],[-0.06,0.362],[0,0],[-0.398,0],[0,0],[-0.066,-1.184],[0,0]],"v":[[-22.56,-15.521],[-22.271,-18.69],[-25.44,-18.978],[-32.123,-13.409],[-35.079,-6.614],[-33.904,14.541],[-28.662,19.5],[-20.541,19.5],[-15.363,15.113],[-14.698,11.127],[-13.959,10.5],[12.838,10.5],[13.549,11.013],[15.182,15.91],[20.162,19.5],[28.662,19.5],[33.904,14.541],[35.079,-6.614],[32.123,-13.409],[25.44,-18.978],[22.271,-18.69],[22.56,-15.521],[29.243,-9.952],[30.586,-6.863],[29.411,14.292],[28.662,15],[20.162,15],[19.451,14.487],[17.818,9.59],[12.838,6],[-13.959,6],[-19.137,10.387],[-19.802,14.373],[-20.541,15],[-28.662,15],[-29.411,14.292],[-30.586,-6.863],[-29.243,-9.952]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.388235300779,0.403921574354,0.439215689898,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Rectangle 660 (Stroke)","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":30,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"line1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[36,14.25,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[22.5,5.25],[19.5,-5.25],[-19.5,-5.25],[-22.5,5.25]],"c":false},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.388235300779,0.403921574354,0.439215689898,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4.5,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"描边 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Rectangle 659","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":1},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"修剪路径 1","mn":"ADBE Vector Filter - Trim","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[50]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":22,"s":[50]},{"t":28,"s":[0]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[100]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[50]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":22,"s":[50]},{"t":28,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":3,"nm":"修剪路径 2","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":30,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Rectangle 659 (Stroke)","tt":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[36,14.25,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[1.012,-3.542],[0,0],[-1.195,-0.341],[-0.341,1.195],[0,0],[-1.674,0],[0,0],[-0.46,-1.61],[0,0],[-1.195,0.341],[0.341,1.195],[0,0],[3.683,0]],"o":[[-3.683,0],[0,0],[-0.341,1.195],[1.195,0.341],[0,0],[0.46,-1.61],[0,0],[1.674,0],[0,0],[0.341,1.195],[1.195,-0.341],[0,0],[-1.012,-3.542],[0,0]],"v":[[-14.974,-7.5],[-22.907,-1.517],[-24.663,4.632],[-23.118,7.413],[-20.337,5.868],[-18.58,-0.28],[-14.974,-3],[14.974,-3],[18.58,-0.28],[20.337,5.868],[23.118,7.413],[24.663,4.632],[22.907,-1.517],[14.974,-7.5]],"c":true},"ix":2},"nm":"路径 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.388235300779,0.403921574354,0.439215689898,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"填充 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"变换"}],"nm":"Rectangle 659 (Stroke)","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":30,"st":0,"bm":0}],"markers":[]}
Loading

0 comments on commit 22d3d10

Please sign in to comment.