start
@ -0,0 +1,88 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/jobListSearch/index",
|
||||
"pages/city/index",
|
||||
"pages/detail/index",
|
||||
"pages/mine/index",
|
||||
"pages/collect/index",
|
||||
"pages/shareList/index",
|
||||
"pages/login/index",
|
||||
"pages/newEnroll/index",
|
||||
"pages/newEnroll/enrollEdit/index",
|
||||
"pages/newEnroll/enroll/index",
|
||||
"pages/newEnroll/enrollJob/index",
|
||||
"pages/returnMessage/index",
|
||||
"pages/test/index",
|
||||
|
||||
"pages/mine/userDetail/index",
|
||||
"pages/mine/changeAvatar/index",
|
||||
"pages/mine/changeGender/index",
|
||||
"pages/mine/setting/index",
|
||||
"pages/mine/trueName/index",
|
||||
"pages/mine/userName/index",
|
||||
"pages/mine/returnMessage/index",
|
||||
"pages/mine/realName1/index",
|
||||
"pages/mine/userTel/index",
|
||||
"pages/mine/wxNickname/index",
|
||||
"pages/mine/addAddress/index",
|
||||
"pages/mine/addCard/index",
|
||||
"pages/mine/addressBook/index",
|
||||
"pages/mine/addressPage/index",
|
||||
"pages/mine/addUserCard/index",
|
||||
"pages/mine/changePsw/index",
|
||||
"pages/mine/connectUs/index",
|
||||
"pages/mine/seeIdCard/index",
|
||||
"pages/mine/versionPage/index",
|
||||
"pages/mine/myJob/index",
|
||||
|
||||
"pages/message/index",
|
||||
"pages/messageDetail/index",
|
||||
|
||||
"pages/secret/index",
|
||||
"pages/serviceTerm/index"
|
||||
],
|
||||
"permission": {
|
||||
"scope.userLocation": {
|
||||
"desc": "你的位置信息将用于小程序位置接口的效果展示"
|
||||
}
|
||||
},
|
||||
"requiredPrivateInfos":[
|
||||
"getLocation",
|
||||
"chooseLocation",
|
||||
"chooseAddress"
|
||||
],
|
||||
"window": {
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"navigationBarTitleText": "Weixin",
|
||||
"navigationBarTextStyle": "black"
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#666666",
|
||||
"borderStyle": "black",
|
||||
"selectedColor": "#027aff",
|
||||
"list": [
|
||||
{
|
||||
"iconPath": "./assets/images/zw.png",
|
||||
"selectedIconPath": "./assets/images/zw1.png",
|
||||
"pagePath": "pages/index/index",
|
||||
"text": "首页"
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"iconPath": "./assets/images/wd.png",
|
||||
"selectedIconPath": "./assets/images/wd1.png",
|
||||
"pagePath": "pages/mine/index",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
},
|
||||
"useExtendedLib": {
|
||||
"weui": true
|
||||
},
|
||||
"style": "v2",
|
||||
"sitemapLocation": "sitemap.json",
|
||||
"lazyCodeLoading": "requiredComponents"
|
||||
}
|
||||
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 15 KiB |
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="60px" height="32px" viewBox="0 0 60 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>标</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="标">
|
||||
<rect id="矩形" fill="#FFFFFF" x="0" y="0" width="60" height="32" rx="16"></rect>
|
||||
<g id="标/简" transform="translate(9.332000, 6.000000)" fill-rule="nonzero">
|
||||
<g id="编组-35">
|
||||
<path d="M4.99390244,19.4332855 L6.16893831,8.88055954 C6.54555237,9.63378766 6.8920373,10.3794835 7.20839311,11.1176471 L7.20839311,11.1176471 L8.88055954,10.1007891 C7.90136298,8.41355811 7.0954089,7.12553802 6.46269727,6.23672884 L6.46269727,6.23672884 L6.50789096,5.67180775 L8.69978479,5.67180775 L8.94835007,3.70588235 L6.7338594,3.70588235 L7.14060258,0 L5.03909613,0 L4.63235294,3.70588235 L1.87553802,3.70588235 L1.62697274,5.67180775 L4.20301291,5.67180775 C3.13342898,8.06707317 1.73242468,10.5075323 0,12.9931851 L0,12.9931851 L1.69476327,13.9422525 C2.58357245,12.5864419 3.32926829,11.2984218 3.93185079,10.0781923 L3.93185079,10.0781923 L2.91499283,19.4106887 L4.99390244,19.4332855 Z M19.5688666,3.05057389 L19.794835,1.06205165 L10.3945481,1.06205165 L10.1685796,3.05057389 L19.5688666,3.05057389 Z M12.9027977,19.4558824 C13.8970588,19.4558824 14.4393831,18.9512195 14.5297704,17.9418938 L14.5297704,17.9418938 L15.6144189,8.27044476 L19.9530129,8.27044476 L20.1789813,6.28192253 L9.06133429,6.28192253 L8.83536585,8.27044476 L13.4677188,8.27044476 L12.428264,17.0606169 C12.3981349,17.2413917 12.3077475,17.3317791 12.1571019,17.3317791 L12.1571019,17.3317791 L12.0441176,17.3091822 C11.4565997,17.2037303 10.793759,17.0229555 10.0555954,16.766858 L10.0555954,16.766858 L9.80703013,18.777977 C10.6054519,19.0943329 11.4867288,19.312769 12.4508608,19.4332855 C12.5563128,19.4483501 12.7069584,19.4558824 12.9027977,19.4558824 Z M9.51327116,16.4053085 C10.0405308,15.1248207 10.8464849,12.8651363 11.9311334,9.62625538 L11.9311334,9.62625538 L10.0555954,9.62625538 C9.12159254,12.1571019 8.22525108,14.4167862 7.36657102,16.4053085 L7.36657102,16.4053085 L9.51327116,16.4053085 Z M19.794835,16.7216643 C19.3880918,14.4318508 18.9060258,12.1119082 18.348637,9.76183644 L18.348637,9.76183644 L16.4053085,9.76183644 C17.0229555,12.5035868 17.5050215,14.8235294 17.8515065,16.7216643 L17.8515065,16.7216643 L19.794835,16.7216643 Z" id="标" fill="#FF4400"></path>
|
||||
<path d="M23.0789096,18.3712339 L28.2611191,7.05774749 L26.6040172,7.05774749 L21.4218077,18.3712339 L23.0789096,18.3712339 Z M30.7618364,9.22704448 C31.1535151,8.69476327 31.4296987,8.30308465 31.5903874,8.05200861 L31.5903874,8.05200861 L32.6901004,8.05200861 L33.1571019,9.18185079 L34.527977,9.18185079 L34.0157819,8.05200861 L35.6728838,8.05200861 L35.8084648,6.84684362 L32.2984218,6.84684362 L32.7955524,5.91284075 L31.258967,5.91284075 C30.6865136,7.00753228 29.9935438,8.11226686 29.1800574,9.22704448 L29.1800574,9.22704448 L30.7618364,9.22704448 Z M36.802726,9.33249641 C37.0738881,8.91068867 37.3299857,8.48888092 37.5710187,8.06707317 L37.5710187,8.06707317 L38.5803443,8.06707317 L39.0925395,9.30236729 L40.5086083,9.30236729 L39.9512195,8.06707317 L41.8644189,8.06707317 L42,6.86190818 L38.2187948,6.86190818 L38.4447633,6.42503587 L38.6707317,5.94296987 L37.1642755,5.94296987 C36.812769,6.73637016 36.1750359,7.86621234 35.251076,9.33249641 L35.251076,9.33249641 L36.802726,9.33249641 Z M32.8708752,11.3963415 L33.0215208,10.1309182 L30.8974175,9.42288379 L30.7467719,10.5979197 L32.8708752,11.3963415 Z M38.7611191,18.9436872 C39.2431851,18.9738164 39.5997131,18.883429 39.830703,18.6725251 C40.061693,18.4616212 40.2073171,18.0850072 40.2675753,17.5426829 L40.2675753,17.5426829 L40.9906743,11.2456958 C41.0107604,11.0247489 41.0208034,10.8741033 41.0208034,10.793759 C41.0208034,10.4020803 40.9304161,10.133429 40.7496413,9.98780488 C40.5688666,9.84218077 40.2525108,9.76936872 39.8005739,9.76936872 L39.8005739,9.76936872 L33.7446198,9.76936872 L33.5789096,10.9745337 L39.5746055,10.9745337 L38.866571,17.3016499 C38.856528,17.4322095 38.8213773,17.5276184 38.7611191,17.5878766 C38.7209469,17.6180057 38.6506456,17.6330703 38.5502152,17.6330703 C38.3995696,17.6330703 38.2338594,17.6079627 38.0530846,17.5577475 L38.0530846,17.5577475 L37.661406,17.4974892 C37.4404591,17.4573171 37.1592539,17.3970588 36.8177905,17.3167145 L36.8177905,17.3167145 L36.6822095,18.6122669 C37.4354376,18.7930416 38.1284075,18.9035151 38.7611191,18.9436872 Z M30.6111908,18.9135581 L31.5753228,11.4716643 L30.1592539,11.4716643 L29.2403156,18.9135581 L30.6111908,18.9135581 Z M37.5559541,17.0003587 L37.9626973,13.0685079 C37.9827834,12.8877331 37.9928264,12.7672166 37.9928264,12.7069584 C37.9928264,12.365495 37.902439,12.1219512 37.7216643,11.9763271 C37.5408895,11.830703 37.2395983,11.757891 36.8177905,11.757891 L36.8177905,11.757891 L33.9555237,11.757891 C33.5035868,11.757891 33.1847202,11.8482783 32.998924,12.0290531 C32.8131277,12.2098278 32.695122,12.5412482 32.6449067,13.0233142 L32.6449067,13.0233142 L32.1929699,17.0003587 L37.5559541,17.0003587 Z M36.6370158,13.8518651 L33.7747489,13.8518651 L33.8802009,12.8726686 L36.7424677,12.8726686 L36.6370158,13.8518651 Z M36.4110473,15.8855811 L33.5638451,15.8855811 L33.669297,14.9063845 L36.5164993,14.9063845 L36.4110473,15.8855811 Z" id="/简" fill="#333333"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="39px" height="18px" viewBox="0 0 39 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>标</title>
|
||||
<g id="职位云1.0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="标" transform="translate(0.012000, 0.220000)" fill-rule="nonzero">
|
||||
<path d="M4.42,17.2 L5.46,7.86 C5.79333333,8.52666667 6.1,9.18666667 6.38,9.84 L6.38,9.84 L7.86,8.94 C6.99333333,7.44666667 6.28,6.30666667 5.72,5.52 L5.72,5.52 L5.76,5.02 L7.7,5.02 L7.92,3.28 L5.96,3.28 L6.32,0 L4.46,0 L4.1,3.28 L1.66,3.28 L1.44,5.02 L3.72,5.02 C2.77333333,7.14 1.53333333,9.3 0,11.5 L0,11.5 L1.5,12.34 C2.28666667,11.14 2.94666667,10 3.48,8.92 L3.48,8.92 L2.58,17.18 L4.42,17.2 Z M17.32,2.7 L17.52,0.94 L9.2,0.94 L9,2.7 L17.32,2.7 Z M11.42,17.22 C12.3,17.22 12.78,16.7733333 12.86,15.88 L12.86,15.88 L13.82,7.32 L17.66,7.32 L17.86,5.56 L8.02,5.56 L7.82,7.32 L11.92,7.32 L11,15.1 C10.9733333,15.26 10.8933333,15.34 10.76,15.34 L10.76,15.34 L10.66,15.32 C10.14,15.2266667 9.55333333,15.0666667 8.9,14.84 L8.9,14.84 L8.68,16.62 C9.38666667,16.9 10.1666667,17.0933333 11.02,17.2 C11.1133333,17.2133333 11.2466667,17.22 11.42,17.22 Z M8.42,14.52 C8.88666667,13.3866667 9.6,11.3866667 10.56,8.52 L10.56,8.52 L8.9,8.52 C8.07333333,10.76 7.28,12.76 6.52,14.52 L6.52,14.52 L8.42,14.52 Z M17.52,14.8 C17.16,12.7733333 16.7333333,10.72 16.24,8.64 L16.24,8.64 L14.52,8.64 C15.0666667,11.0666667 15.4933333,13.12 15.8,14.8 L15.8,14.8 L17.52,14.8 Z" fill="#FF4400"></path>
|
||||
<path d="M20.49,16.284 L25.306,5.77 L23.766,5.77 L18.95,16.284 L20.49,16.284 Z M27.63,7.786 C27.994,7.29133333 28.2506667,6.92733333 28.4,6.694 L28.4,6.694 L29.422,6.694 L29.856,7.744 L31.13,7.744 L30.654,6.694 L32.194,6.694 L32.32,5.574 L29.058,5.574 L29.52,4.706 L28.092,4.706 C27.56,5.72333333 26.916,6.75 26.16,7.786 L26.16,7.786 L27.63,7.786 Z M33.244,7.884 C33.496,7.492 33.734,7.1 33.958,6.708 L33.958,6.708 L34.896,6.708 L35.372,7.856 L36.688,7.856 L36.17,6.708 L37.948,6.708 L38.074,5.588 L34.56,5.588 L34.77,5.182 L34.98,4.734 L33.58,4.734 C33.2533333,5.47133333 32.6606667,6.52133333 31.802,7.884 L31.802,7.884 L33.244,7.884 Z M29.59,9.802 L29.73,8.626 L27.756,7.968 L27.616,9.06 L29.59,9.802 Z M35.064,16.816 C35.512,16.844 35.8433333,16.76 36.058,16.564 C36.2726667,16.368 36.408,16.018 36.464,15.514 L36.464,15.514 L37.136,9.662 C37.1546667,9.45666667 37.164,9.31666667 37.164,9.242 C37.164,8.878 37.08,8.62833333 36.912,8.493 C36.744,8.35766667 36.45,8.29 36.03,8.29 L36.03,8.29 L30.402,8.29 L30.248,9.41 L35.82,9.41 L35.162,15.29 C35.1526667,15.4113333 35.12,15.5 35.064,15.556 C35.0266667,15.584 34.9613333,15.598 34.868,15.598 C34.728,15.598 34.574,15.5746667 34.406,15.528 L34.406,15.528 L34.042,15.472 C33.8366667,15.4346667 33.5753333,15.3786667 33.258,15.304 L33.258,15.304 L33.132,16.508 C33.832,16.676 34.476,16.7786667 35.064,16.816 Z M27.49,16.788 L28.386,9.872 L27.07,9.872 L26.216,16.788 L27.49,16.788 Z M33.944,15.01 L34.322,11.356 C34.3406667,11.188 34.35,11.076 34.35,11.02 C34.35,10.7026667 34.266,10.4763333 34.098,10.341 C33.93,10.2056667 33.65,10.138 33.258,10.138 L33.258,10.138 L30.598,10.138 C30.178,10.138 29.8816667,10.222 29.709,10.39 C29.5363333,10.558 29.4266667,10.866 29.38,11.314 L29.38,11.314 L28.96,15.01 L33.944,15.01 Z M33.09,12.084 L30.43,12.084 L30.528,11.174 L33.188,11.174 L33.09,12.084 Z M32.88,13.974 L30.234,13.974 L30.332,13.064 L32.978,13.064 L32.88,13.974 Z" id="/简" fill="#333333"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="60px" height="40px" viewBox="0 0 60 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>标</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="标">
|
||||
<rect id="矩形" fill="#F5F5F5" x="0" y="0" width="60" height="40" rx="20"></rect>
|
||||
<g id="标/简" transform="translate(9.000000, 10.000000)" fill-rule="nonzero">
|
||||
<g id="编组-35">
|
||||
<path d="M4.99390244,19.4332855 L6.16893831,8.88055954 C6.54555237,9.63378766 6.8920373,10.3794835 7.20839311,11.1176471 L7.20839311,11.1176471 L8.88055954,10.1007891 C7.90136298,8.41355811 7.0954089,7.12553802 6.46269727,6.23672884 L6.46269727,6.23672884 L6.50789096,5.67180775 L8.69978479,5.67180775 L8.94835007,3.70588235 L6.7338594,3.70588235 L7.14060258,0 L5.03909613,0 L4.63235294,3.70588235 L1.87553802,3.70588235 L1.62697274,5.67180775 L4.20301291,5.67180775 C3.13342898,8.06707317 1.73242468,10.5075323 0,12.9931851 L0,12.9931851 L1.69476327,13.9422525 C2.58357245,12.5864419 3.32926829,11.2984218 3.93185079,10.0781923 L3.93185079,10.0781923 L2.91499283,19.4106887 L4.99390244,19.4332855 Z M19.5688666,3.05057389 L19.794835,1.06205165 L10.3945481,1.06205165 L10.1685796,3.05057389 L19.5688666,3.05057389 Z M12.9027977,19.4558824 C13.8970588,19.4558824 14.4393831,18.9512195 14.5297704,17.9418938 L14.5297704,17.9418938 L15.6144189,8.27044476 L19.9530129,8.27044476 L20.1789813,6.28192253 L9.06133429,6.28192253 L8.83536585,8.27044476 L13.4677188,8.27044476 L12.428264,17.0606169 C12.3981349,17.2413917 12.3077475,17.3317791 12.1571019,17.3317791 L12.1571019,17.3317791 L12.0441176,17.3091822 C11.4565997,17.2037303 10.793759,17.0229555 10.0555954,16.766858 L10.0555954,16.766858 L9.80703013,18.777977 C10.6054519,19.0943329 11.4867288,19.312769 12.4508608,19.4332855 C12.5563128,19.4483501 12.7069584,19.4558824 12.9027977,19.4558824 Z M9.51327116,16.4053085 C10.0405308,15.1248207 10.8464849,12.8651363 11.9311334,9.62625538 L11.9311334,9.62625538 L10.0555954,9.62625538 C9.12159254,12.1571019 8.22525108,14.4167862 7.36657102,16.4053085 L7.36657102,16.4053085 L9.51327116,16.4053085 Z M19.794835,16.7216643 C19.3880918,14.4318508 18.9060258,12.1119082 18.348637,9.76183644 L18.348637,9.76183644 L16.4053085,9.76183644 C17.0229555,12.5035868 17.5050215,14.8235294 17.8515065,16.7216643 L17.8515065,16.7216643 L19.794835,16.7216643 Z" id="标" fill="#FF4400"></path>
|
||||
<path d="M23.0789096,18.3712339 L28.2611191,7.05774749 L26.6040172,7.05774749 L21.4218077,18.3712339 L23.0789096,18.3712339 Z M30.7618364,9.22704448 C31.1535151,8.69476327 31.4296987,8.30308465 31.5903874,8.05200861 L31.5903874,8.05200861 L32.6901004,8.05200861 L33.1571019,9.18185079 L34.527977,9.18185079 L34.0157819,8.05200861 L35.6728838,8.05200861 L35.8084648,6.84684362 L32.2984218,6.84684362 L32.7955524,5.91284075 L31.258967,5.91284075 C30.6865136,7.00753228 29.9935438,8.11226686 29.1800574,9.22704448 L29.1800574,9.22704448 L30.7618364,9.22704448 Z M36.802726,9.33249641 C37.0738881,8.91068867 37.3299857,8.48888092 37.5710187,8.06707317 L37.5710187,8.06707317 L38.5803443,8.06707317 L39.0925395,9.30236729 L40.5086083,9.30236729 L39.9512195,8.06707317 L41.8644189,8.06707317 L42,6.86190818 L38.2187948,6.86190818 L38.4447633,6.42503587 L38.6707317,5.94296987 L37.1642755,5.94296987 C36.812769,6.73637016 36.1750359,7.86621234 35.251076,9.33249641 L35.251076,9.33249641 L36.802726,9.33249641 Z M32.8708752,11.3963415 L33.0215208,10.1309182 L30.8974175,9.42288379 L30.7467719,10.5979197 L32.8708752,11.3963415 Z M38.7611191,18.9436872 C39.2431851,18.9738164 39.5997131,18.883429 39.830703,18.6725251 C40.061693,18.4616212 40.2073171,18.0850072 40.2675753,17.5426829 L40.2675753,17.5426829 L40.9906743,11.2456958 C41.0107604,11.0247489 41.0208034,10.8741033 41.0208034,10.793759 C41.0208034,10.4020803 40.9304161,10.133429 40.7496413,9.98780488 C40.5688666,9.84218077 40.2525108,9.76936872 39.8005739,9.76936872 L39.8005739,9.76936872 L33.7446198,9.76936872 L33.5789096,10.9745337 L39.5746055,10.9745337 L38.866571,17.3016499 C38.856528,17.4322095 38.8213773,17.5276184 38.7611191,17.5878766 C38.7209469,17.6180057 38.6506456,17.6330703 38.5502152,17.6330703 C38.3995696,17.6330703 38.2338594,17.6079627 38.0530846,17.5577475 L38.0530846,17.5577475 L37.661406,17.4974892 C37.4404591,17.4573171 37.1592539,17.3970588 36.8177905,17.3167145 L36.8177905,17.3167145 L36.6822095,18.6122669 C37.4354376,18.7930416 38.1284075,18.9035151 38.7611191,18.9436872 Z M30.6111908,18.9135581 L31.5753228,11.4716643 L30.1592539,11.4716643 L29.2403156,18.9135581 L30.6111908,18.9135581 Z M37.5559541,17.0003587 L37.9626973,13.0685079 C37.9827834,12.8877331 37.9928264,12.7672166 37.9928264,12.7069584 C37.9928264,12.365495 37.902439,12.1219512 37.7216643,11.9763271 C37.5408895,11.830703 37.2395983,11.757891 36.8177905,11.757891 L36.8177905,11.757891 L33.9555237,11.757891 C33.5035868,11.757891 33.1847202,11.8482783 32.998924,12.0290531 C32.8131277,12.2098278 32.695122,12.5412482 32.6449067,13.0233142 L32.6449067,13.0233142 L32.1929699,17.0003587 L37.5559541,17.0003587 Z M36.6370158,13.8518651 L33.7747489,13.8518651 L33.8802009,12.8726686 L36.7424677,12.8726686 L36.6370158,13.8518651 Z M36.4110473,15.8855811 L33.5638451,15.8855811 L33.669297,14.9063845 L36.5164993,14.9063845 L36.4110473,15.8855811 Z" id="/简" fill="#333333"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 25 24" style="enable-background:new 0 0 25 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:none;}
|
||||
.st1{fill:#333333;}
|
||||
.st2{fill:#FF4400;}
|
||||
</style>
|
||||
<title>报名中</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="工具" transform="translate(-132.000000, -406.000000)">
|
||||
<g id="编组-4" transform="translate(10.000000, 348.000000)">
|
||||
<g id="编组-16" transform="translate(113.333333, 58.000000)">
|
||||
<g id="报名中" transform="translate(9.000000, 0.000000)">
|
||||
<rect id="矩形" x="0" class="st0" width="24" height="24"/>
|
||||
<g id="报名-_x28_3_x29_" transform="translate(0.296667, 0.000000)">
|
||||
<g id="编辑铅笔">
|
||||
<path id="形状" class="st1" d="M14.1,1.3c1.8-1.8,4.7-1.8,6.5,0c1.8,1.8,1.8,4.7,0,6.5L9.1,19.4c-0.1,0.1-0.2,0.2-0.3,0.2
|
||||
l-6.5,2.3c-1.4,0.5-2.7-0.8-2.2-2.2l2.3-6.5c0-0.1,0.1-0.2,0.2-0.3L14.1,1.3z M19.5,2.5c-0.6-0.6-1.3-0.9-2.1-0.9
|
||||
S15.9,2,15.3,2.5L3.9,14l-2.2,6.3c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0L8,18.1L19.5,6.7
|
||||
C20.6,5.5,20.6,3.7,19.5,2.5L19.5,2.5z"/>
|
||||
<path id="形状_1_" class="st1" d="M12.9,2.9c0.2-0.2,0.4-0.2,0.6-0.2c0.2,0,0.4,0.1,0.6,0.2l5,5c0.2,0.2,0.3,0.5,0.2,0.8
|
||||
C19.3,9,19,9.2,18.7,9.3c-0.3,0.1-0.6,0-0.8-0.2l-5-5C12.6,3.7,12.6,3.2,12.9,2.9L12.9,2.9z M3,12.8c0.2-0.2,0.4-0.2,0.6-0.2
|
||||
s0.4,0.1,0.6,0.2l5,5c0.2,0.2,0.3,0.5,0.2,0.8c-0.1,0.3-0.3,0.5-0.6,0.6S8.2,19.2,8,19l-5-5C2.7,13.7,2.7,13.2,3,12.8L3,12.8
|
||||
z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path class="st2" d="M22.8,19.5h-7.8c-0.3,0-0.6,0.3-0.6,0.8c0,0.4,0.3,0.8,0.6,0.8h7.8c0.3,0,0.6-0.3,0.6-0.8
|
||||
C23.4,19.9,23.1,19.5,22.8,19.5z"/>
|
||||
<path class="st2" d="M22.8,16h-6c-0.3,0-0.6,0.3-0.6,0.8c0,0.4,0.3,0.8,0.6,0.8h6c0.3,0,0.6-0.3,0.6-0.8
|
||||
C23.4,16.4,23.1,16,22.8,16z"/>
|
||||
<path class="st2" d="M18.6,14.1h4.2c0.3,0,0.6-0.3,0.6-0.8c0-0.4-0.3-0.8-0.6-0.8h-4.2c-0.3,0-0.6,0.3-0.6,0.8
|
||||
C18.1,13.7,18.3,14.1,18.6,14.1z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="22px" height="5px" viewBox="0 0 22 5" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>选中</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="首页" transform="translate(-32.000000, -129.000000)" fill="#FF4400">
|
||||
<g id="编组-18" transform="translate(25.000000, 100.000000)">
|
||||
<g id="编组" transform="translate(0.000000, 4.000000)">
|
||||
<path d="M8.28138892,25.468138 C12.1255901,26.8227127 15.3651271,27.5 18,27.5 C20.6348729,27.5 23.8744099,26.8227127 27.7186111,25.468138 C28.2195856,25.2916181 28.7688069,25.5546331 28.9453335,26.0556052 C28.9815152,26.1582864 29,26.2663656 29,26.375235 C29,27.2229167 28.4707493,27.9804265 27.674788,28.2719911 C24.5298758,29.423997 21.3049465,30 18,30 C14.6950535,30 11.4701242,29.423997 8.32521195,28.2719911 C7.52925068,27.9804265 7,27.2229167 7,26.375235 C7,25.8440715 7.43059314,25.4134783 7.9617567,25.4134783 C8.07062612,25.4134783 8.17870529,25.4319632 8.28138892,25.468138 Z" id="选中"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill-rule:evenodd;clip-rule:evenodd;fill:#F5F5F5;}
|
||||
.st1{fill:#CCCCCC;}
|
||||
</style>
|
||||
<title>电话</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="工具_xFF08_我的报名_xFF09_" transform="translate(-15.000000, -284.000000)">
|
||||
<g id="编组-11" transform="translate(0.000000, 162.000000)">
|
||||
<g id="编组-10" transform="translate(10.000000, 116.000000)">
|
||||
<g id="编组-7" transform="translate(5.000000, 0.000000)">
|
||||
<g id="电话" transform="translate(0.000000, 6.000000)">
|
||||
<g id="椭圆形">
|
||||
<circle class="st0" cx="16" cy="16" r="15.8"/>
|
||||
</g>
|
||||
<g id="形状">
|
||||
<path class="st1" d="M18.1,18c-0.3,0.3-0.5,0.6-0.7,1c-0.9-0.5-1.8-1.2-2.5-1.9c-0.7-0.7-1.4-1.6-1.9-2.5
|
||||
c0.4-0.2,0.7-0.4,1-0.7c1.5-1.5,1.5-4,0-5.5s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l0,0v-0.4l0.1,0l0.2-0.2c0.4-0.2,0.8-0.4,1-0.7
|
||||
c1.2-1.2,1.2-3,0-4.2C12.8,8.5,12.1,8.2,11.3,8.2z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#FF4400;}
|
||||
.st1{opacity:0.1;}
|
||||
.st2{fill-rule:evenodd;clip-rule:evenodd;fill:#FF4400;}
|
||||
</style>
|
||||
<title>电话</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="工具_xFF08_我的报名_xFF09_" transform="translate(-15.000000, -284.000000)">
|
||||
<g id="编组-11" transform="translate(0.000000, 162.000000)">
|
||||
<g id="编组-10" transform="translate(10.000000, 116.000000)">
|
||||
<g id="编组-7" transform="translate(5.000000, 0.000000)">
|
||||
<g id="电话" transform="translate(0.000000, 6.000000)">
|
||||
<g id="形状">
|
||||
<path class="st0" d="M18.1,18c-0.3,0.3-0.5,0.6-0.7,1c-0.9-0.5-1.8-1.2-2.5-1.9c-0.7-0.7-1.4-1.6-1.9-2.5
|
||||
c0.4-0.2,0.7-0.4,1-0.7c1.5-1.5,1.5-4,0-5.5s-4-1.5-5.5,0C7.8,9.1,7.4,10,7.4,11.1c-0.1,3.2,1.4,6.2,4.4,9.2
|
||||
c3,3,5.9,4.4,9,4.4h0.2c1-0.1,1.9-0.4,2.6-1.1c1.5-1.5,1.5-4,0-5.5C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||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="椭圆形_1_" class="st1">
|
||||
<circle class="st2" cx="16" cy="16" r="15.7"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:none;}
|
||||
.st1{fill:#333333;}
|
||||
.st2{fill:#FF4400;}
|
||||
</style>
|
||||
<title>待面试</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="工具" transform="translate(-46.000000, -266.000000)">
|
||||
<g id="编组-4" transform="translate(10.000000, 210.000000)">
|
||||
<g id="收藏-_x28_1_x29_" transform="translate(27.000000, 56.000000)">
|
||||
<g id="待面试" transform="translate(9.000000, 0.000000)">
|
||||
<g id="矩形">
|
||||
<rect class="st0" width="24" height="24"/>
|
||||
</g>
|
||||
<g id="编组-5" transform="translate(1.000000, 1.000000)">
|
||||
<g id="路径">
|
||||
<path class="st1" d="M20,4.8c-2-3-5.4-4.8-9-4.8C7.4,0,4,1.8,1.9,4.7L1.6,4C1.5,3.5,1,3.3,0.6,3.5s-0.7,0.6-0.5,1.1L1,7.2
|
||||
C1,7.4,1.2,7.6,1.4,7.7c0.1,0.1,0.2,0.1,0.4,0.1c0.1,0,0.2,0,0.3,0l2.9-1c0.3-0.1,0.5-0.3,0.6-0.6s0-0.6-0.3-0.8
|
||||
C5,5.2,4.7,5.1,4.4,5.2l-1,0.3C4,4.6,4.8,3.9,5.7,3.3c3.5-2.3,8-2.1,11.2,0.6s4.2,7.2,2.5,11c-1.7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>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#333333;}
|
||||
.st1{fill:#FF4400;}
|
||||
</style>
|
||||
<title>待入职</title>
|
||||
<g id="形状">
|
||||
<path class="st0" d="M9.5,0c-1.5,0-3,0.6-4,1.7C4.4,2.9,3.8,4.4,3.8,5.9c0,1.6,0.6,3.1,1.7,4.2c1,1.1,2.5,1.7,4,1.7
|
||||
c1.5,0,3-0.6,4-1.7c1.1-1.1,1.7-2.6,1.7-4.2c0-1.6-0.6-3.1-1.7-4.2C12.4,0.6,11,0,9.5,0L9.5,0z M5.8,5.9c0-0.5,0.1-1,0.3-1.5
|
||||
s0.5-0.9,0.8-1.2C7.2,2.8,7.6,2.6,8,2.4C8.9,2,10,2,10.9,2.4c0.4,0.2,0.9,0.5,1.2,0.8c0.3,0.4,0.6,0.8,0.8,1.2
|
||||
c0.2,0.5,0.3,1,0.3,1.5c0,1-0.4,2-1.1,2.7c-0.7,0.7-1.6,1.1-2.6,1.1c-1,0-1.9-0.4-2.6-1.1C6.2,7.9,5.8,6.9,5.8,5.9L5.8,5.9z
|
||||
M9.9,16.5c0.3,0,0.5-0.2,0.7-0.4c0.3-0.5,0.2-1.1-0.2-1.5c-0.2-0.2-0.5-0.2-0.7-0.2c-1.1,0.2-2.8,0.5-4.5,1.1
|
||||
c-1.7,0.6-3.4,1.5-4.6,2.9c-0.1,0.2-0.2,0.4-0.2,0.7c0,1.1,0.3,2.1,0.7,2.9c0.4,0.7,0.8,1.3,1.2,1.7C2.4,23.9,2.6,24,2.9,24h7.9
|
||||
c0.3,0,0.5-0.1,0.7-0.3c0.2-0.2,0.3-0.5,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7c-0.2-0.2-0.4-0.3-0.7-0.3H3.3c-0.2-0.2-0.4-0.5-0.5-0.8
|
||||
c-0.2-0.5-0.4-1-0.5-1.5c0.8-0.8,2-1.5,3.4-2C7.1,17.1,8.5,16.7,9.9,16.5L9.9,16.5z"/>
|
||||
</g>
|
||||
<path class="st1" d="M23.4,18.8c-0.1-0.2-0.4-0.2-0.6-0.2h-5.6l1.1-1.2c0.2-0.2,0.2-0.4,0.2-0.6c0-0.2-0.1-0.4-0.2-0.6
|
||||
c-0.1-0.2-0.4-0.2-0.6-0.2c0,0,0,0,0,0c-0.1,0-0.2,0-0.3,0.1c-0.1,0-0.2,0.1-0.3,0.2l-2.5,2.6c-0.1,0.1-0.2,0.3-0.2,0.6v0
|
||||
c0,0.2,0.1,0.4,0.2,0.6l2.5,2.6c0.1,0.2,0.3,0.2,0.5,0.2c0.1,0,0.2,0,0.3-0.1c0.1,0,0.2-0.1,0.3-0.2c0.2-0.2,0.2-0.4,0.2-0.6
|
||||
c0-0.2-0.1-0.4-0.2-0.6l-1.1-1.2h5.6c0.2,0,0.4-0.1,0.6-0.2s0.2-0.4,0.2-0.6C23.6,19.1,23.5,18.9,23.4,18.8z M18.3,21.5L18.3,21.5
|
||||
c0.1,0.1,0.1,0.2,0.2,0.3C18.4,21.6,18.4,21.5,18.3,21.5l-1.2-1.3h0L18.3,21.5z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="64px" height="64px" viewBox="0 0 64 64" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>职位云logo</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="我的-设置-版本" transform="translate(-156.000000, -208.000000)">
|
||||
<g id="编组-2" transform="translate(137.000000, 208.000000)">
|
||||
<g id="职位云logo" transform="translate(19.000000, 0.000000)">
|
||||
<rect id="矩形" fill="#FF4400" x="0" y="0" width="64" height="64" rx="13"></rect>
|
||||
<path d="M16.792,42.816 L16.792,34.872 L19,36.144 L19,32.712 L16.792,31.44 L16.792,29.568 L19.288,29.568 L19.288,26.64 L16.792,26.64 L16.792,24.264 C17.688,24.136 18.368,24.032 18.832,23.952 L18.832,23.952 L18.832,21 C15.728,21.464 12.976,21.696 10.576,21.696 L10.576,21.696 L10.576,24.624 C11.648,24.624 12.696,24.6 13.72,24.552 L13.72,24.552 L13.72,26.64 L10.264,26.64 L10.264,29.568 L13.888,29.568 L13.888,42.816 L16.792,42.816 Z M19.744,24.84 C21.744,24.856 23.792,24.784 25.888,24.624 C27.984,24.464 29.968,24.216 31.84,23.88 L31.84,23.88 L31.84,21 C29.888,21.32 27.868,21.56 25.78,21.72 C23.692,21.88 21.68,21.96 19.744,21.96 L19.744,21.96 L19.744,24.84 Z M31.456,29.016 L32.296,25.08 L29.536,25.08 L28.696,29.016 L31.456,29.016 Z M23.344,29.016 L22.6,25.56 L19.792,25.56 L20.536,29.016 L23.344,29.016 Z M27.736,29.016 L27.112,25.56 L24.304,25.56 L24.928,29.016 L27.736,29.016 Z M31.912,42.48 L31.912,29.904 L26.104,29.904 L26.104,32.472 L29.032,32.472 L29.032,34.704 L26.272,34.704 L26.272,37.272 L29.032,37.272 L29.032,39.912 L22.432,39.912 L22.432,37.272 L25.072,37.272 L25.072,34.704 L22.432,34.704 L22.432,32.592 C23.408,32.512 24.36,32.408 25.288,32.28 L25.288,32.28 L25.288,29.712 C23.032,30 21.12,30.144 19.552,30.144 L19.552,30.144 L19.552,42.48 L31.912,42.48 Z M12.376,41.88 C12.952,38.536 13.24,34.8 13.24,30.672 L13.24,30.672 L10.984,30.672 C10.984,34.528 10.656,38.264 10,41.88 L10,41.88 L12.376,41.88 Z M54.64,42.192 L54.64,21.84 L35.728,21.84 L35.728,42.192 L54.64,42.192 Z M43.648,30.36 L38.848,30.36 L38.848,24.984 L43.648,24.984 L43.648,30.36 Z M51.52,30.36 L46.72,30.36 L46.72,24.984 L51.52,24.984 L51.52,30.36 Z M43.648,39.048 L38.848,39.048 L38.848,33.432 L43.648,33.432 L43.648,39.048 Z M51.52,39.048 L46.72,39.048 L46.72,33.432 L51.52,33.432 L51.52,39.048 Z" id="职位云" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>地址本</title>
|
||||
<g id="一手单小程序" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="我的" transform="translate(-305.000000, -476.000000)">
|
||||
<g id="地址本" transform="translate(289.000000, 476.000000)">
|
||||
<g transform="translate(16.000000, 0.000000)">
|
||||
<g id="编组-6" transform="translate(1.790000, 0.770000)" fill-rule="nonzero">
|
||||
<path d="M17.868802,0 C19.2786292,0 20.421488,1.13145565 20.421488,2.52715717 L20.421488,19.9364796 C20.421488,21.3321812 19.2786292,22.4636368 17.868802,22.4636368 L2.552686,22.4636368 C1.14285879,22.4636368 0,21.3321812 0,19.9364796 L0,2.52715717 C0,1.13145565 1.14285879,0 2.552686,0 L17.868802,0 Z M3.5737604,1.5316116 L2.552686,1.5316116 C1.98876575,1.5316116 1.5316116,1.91484021 1.5316116,2.38753698 L1.5316116,20.0761266 C1.5316116,20.5488233 1.98876575,20.9320252 2.552686,20.9320252 L3.5737604,20.9320252 L3.5737604,1.5316116 L3.5737604,1.5316116 Z M5.105372,1.5316116 L5.105372,20.8736923 L17.9326192,20.8736923 C18.4001723,20.8736923 18.7800993,20.498139 18.787769,20.0319672 L18.787769,20.0177913 L18.787769,2.38753934 C18.787769,1.91484127 18.4049024,1.5316116 17.9326192,1.5316116 L5.105372,1.5316116 Z" id="形状" fill="#333333"></path>
|
||||
<path d="M11.7934001,5.89670005 C14.2746736,5.89670005 16.2861327,7.96480965 16.2861327,10.5159485 C16.2861327,11.7442522 15.8198196,12.8605975 15.0592769,13.6880572 L14.9702473,13.7822465 L12.5985629,16.2206899 C12.1888212,16.6419617 11.5290489,16.6729984 11.0826372,16.3073503 L10.9991883,16.2317989 L8.61655295,13.7822465 L8.52752331,13.6880572 C7.76700695,12.8605975 7.30066748,11.7442522 7.30066748,10.5159485 C7.30066748,7.96480965 9.31212664,5.89670005 11.7934001,5.89670005 Z M11.7934001,7.5814715 C10.2532294,7.5814715 8.98543893,8.88498443 8.98543893,10.5159485 C8.98543893,11.2355302 9.23244221,11.9091228 9.657847,12.4229518 L9.75172036,12.5305666 L9.82429716,12.6075659 L11.7934001,14.6316872 L13.7460239,12.6247295 L13.8188639,12.5479408 C14.3177932,12.0051285 14.6013613,11.286942 14.6013613,10.5159485 C14.6013613,8.88498443 13.3335708,7.5814715 11.7934001,7.5814715 Z" id="形状" fill="#FF4400"></path>
|
||||
</g>
|
||||
<rect id="矩形" x="0" y="0" width="24" height="24"></rect>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 19 KiB |
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="60px" height="32px" viewBox="0 0 60 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>简</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="简">
|
||||
<rect id="矩形" fill="#FFFFFF" x="0" y="0" width="60" height="32" rx="16"></rect>
|
||||
<g id="标/简" transform="translate(9.080000, 6.000000)" fill-rule="nonzero">
|
||||
<path d="M3.33584906,18.9811321 L4.12075472,11.9320755 C4.37232704,12.4352201 4.60377358,12.9333333 4.81509434,13.4264151 L4.81509434,13.4264151 L5.93207547,12.7471698 C5.27798742,11.6201258 4.73962264,10.7597484 4.31698113,10.1660377 L4.31698113,10.1660377 L4.34716981,9.78867925 L5.81132075,9.78867925 L5.97735849,8.4754717 L4.49811321,8.4754717 L4.76981132,6 L3.36603774,6 L3.09433962,8.4754717 L1.25283019,8.4754717 L1.08679245,9.78867925 L2.80754717,9.78867925 C2.09308176,11.3886792 1.1572327,13.0188679 0,14.6792453 L0,14.6792453 L1.13207547,15.3132075 C1.72578616,14.4075472 2.22389937,13.5471698 2.62641509,12.7320755 L2.62641509,12.7320755 L1.94716981,18.9660377 L3.33584906,18.9811321 Z M13.0716981,8.03773585 L13.2226415,6.70943396 L6.94339623,6.70943396 L6.79245283,8.03773585 L13.0716981,8.03773585 Z M8.61886792,18.9962264 C9.28301887,18.9962264 9.64528302,18.6591195 9.70566038,17.9849057 L9.70566038,17.9849057 L10.4301887,11.5245283 L13.3283019,11.5245283 L13.4792453,10.1962264 L6.05283019,10.1962264 L5.90188679,11.5245283 L8.99622642,11.5245283 L8.30188679,17.3962264 C8.28176101,17.5169811 8.22138365,17.5773585 8.12075472,17.5773585 L8.12075472,17.5773585 L8.04528302,17.5622642 C7.65283019,17.4918239 7.21006289,17.3710692 6.71698113,17.2 L6.71698113,17.2 L6.5509434,18.5433962 C7.08427673,18.754717 7.67295597,18.9006289 8.31698113,18.9811321 C8.38742138,18.991195 8.48805031,18.9962264 8.61886792,18.9962264 Z M6.35471698,16.9584906 C6.70691824,16.1031447 7.24528302,14.5937107 7.96981132,12.4301887 L7.96981132,12.4301887 L6.71698113,12.4301887 C6.09308176,14.1207547 5.49433962,15.6301887 4.92075472,16.9584906 L4.92075472,16.9584906 L6.35471698,16.9584906 Z M13.2226415,17.1698113 C12.9509434,15.6402516 12.6289308,14.090566 12.2566038,12.5207547 L12.2566038,12.5207547 L10.9584906,12.5207547 C11.3710692,14.3522013 11.6930818,15.9018868 11.9245283,17.1698113 L11.9245283,17.1698113 L13.2226415,17.1698113 Z M15.8943396,18.4528302 L21.0867925,7.11698113 L19.4264151,7.11698113 L14.2339623,18.4528302 L15.8943396,18.4528302 Z" id="标/" fill="#333333"></path>
|
||||
<path d="M25.109434,4.98113208 C25.6981132,4.18113208 26.1132075,3.59245283 26.354717,3.21509434 L26.354717,3.21509434 L28.0075472,3.21509434 L28.709434,4.91320755 L30.7698113,4.91320755 L30,3.21509434 L32.490566,3.21509434 L32.6943396,1.40377358 L27.4188679,1.40377358 L28.1660377,0 L25.8566038,0 C24.9962264,1.64528302 23.954717,3.30566038 22.7320755,4.98113208 L22.7320755,4.98113208 L25.109434,4.98113208 Z M34.1886792,5.13962264 C34.5962264,4.50566038 34.9811321,3.87169811 35.3433962,3.23773585 L35.3433962,3.23773585 L36.8603774,3.23773585 L37.6301887,5.09433962 L39.7584906,5.09433962 L38.9207547,3.23773585 L41.7962264,3.23773585 L42,1.42641509 L36.3169811,1.42641509 L36.6566038,0.769811321 L36.9962264,0.0452830189 L34.7320755,0.0452830189 C34.2037736,1.23773585 33.245283,2.93584906 31.8566038,5.13962264 L31.8566038,5.13962264 L34.1886792,5.13962264 Z M28.2792453,8.24150943 L28.5056604,6.33962264 L25.3132075,5.2754717 L25.0867925,7.04150943 L28.2792453,8.24150943 Z M37.1320755,19.5849057 C37.8566038,19.6301887 38.3924528,19.4943396 38.7396226,19.1773585 C39.0867925,18.8603774 39.3056604,18.2943396 39.3962264,17.4792453 L39.3962264,17.4792453 L40.4830189,8.01509434 C40.5132075,7.68301887 40.5283019,7.45660377 40.5283019,7.33584906 C40.5283019,6.74716981 40.3924528,6.34339623 40.1207547,6.1245283 C39.8490566,5.90566038 39.3735849,5.79622642 38.6943396,5.79622642 L38.6943396,5.79622642 L29.5924528,5.79622642 L29.3433962,7.60754717 L38.354717,7.60754717 L37.290566,17.1169811 C37.2754717,17.3132075 37.2226415,17.4566038 37.1320755,17.5471698 C37.0716981,17.5924528 36.9660377,17.6150943 36.8150943,17.6150943 C36.5886792,17.6150943 36.3396226,17.5773585 36.0679245,17.5018868 L36.0679245,17.5018868 L35.4792453,17.4113208 C35.1471698,17.3509434 34.7245283,17.2603774 34.2113208,17.1396226 L34.2113208,17.1396226 L34.0075472,19.0867925 C35.1396226,19.3584906 36.1811321,19.5245283 37.1320755,19.5849057 Z M24.8830189,19.5396226 L26.3320755,8.35471698 L24.2037736,8.35471698 L22.8226415,19.5396226 L24.8830189,19.5396226 Z M35.3207547,16.6641509 L35.9320755,10.754717 C35.9622642,10.4830189 35.9773585,10.3018868 35.9773585,10.2113208 C35.9773585,9.69811321 35.8415094,9.33207547 35.5698113,9.11320755 C35.2981132,8.89433962 34.845283,8.78490566 34.2113208,8.78490566 L34.2113208,8.78490566 L29.909434,8.78490566 C29.2301887,8.78490566 28.7509434,8.92075472 28.4716981,9.19245283 C28.1924528,9.46415094 28.0150943,9.96226415 27.9396226,10.6867925 L27.9396226,10.6867925 L27.2603774,16.6641509 L35.3207547,16.6641509 Z M33.9396226,11.9320755 L29.6377358,11.9320755 L29.7962264,10.4603774 L34.0981132,10.4603774 L33.9396226,11.9320755 Z M33.6,14.9886792 L29.3207547,14.9886792 L29.4792453,13.5169811 L33.7584906,13.5169811 L33.6,14.9886792 Z" id="简" fill="#FF4400"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.3 KiB |
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="39px" height="18px" viewBox="0 0 39 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>简</title>
|
||||
<g id="职位云1.0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="简" transform="translate(0.760000, 0.180000)" fill-rule="nonzero">
|
||||
<path d="M3.094,16.814 L3.822,10.276 C4.05533333,10.7426667 4.27,11.2046667 4.466,11.662 L4.466,11.662 L5.502,11.032 C4.89533333,9.98666667 4.396,9.18866667 4.004,8.638 L4.004,8.638 L4.032,8.288 L5.39,8.288 L5.544,7.07 L4.172,7.07 L4.424,4.774 L3.122,4.774 L2.87,7.07 L1.162,7.07 L1.008,8.288 L2.604,8.288 C1.94133333,9.772 1.07333333,11.284 0,12.824 L0,12.824 L1.05,13.412 C1.60066667,12.572 2.06266667,11.774 2.436,11.018 L2.436,11.018 L1.806,16.8 L3.094,16.814 Z M12.124,6.664 L12.264,5.432 L6.44,5.432 L6.3,6.664 L12.124,6.664 Z M7.994,16.828 C8.61,16.828 8.946,16.5153333 9.002,15.89 L9.002,15.89 L9.674,9.898 L12.362,9.898 L12.502,8.666 L5.614,8.666 L5.474,9.898 L8.344,9.898 L7.7,15.344 C7.68133333,15.456 7.62533333,15.512 7.532,15.512 L7.532,15.512 L7.462,15.498 C7.098,15.4326667 6.68733333,15.3206667 6.23,15.162 L6.23,15.162 L6.076,16.408 C6.57066667,16.604 7.11666667,16.7393333 7.714,16.814 C7.77933333,16.8233333 7.87266667,16.828 7.994,16.828 Z M5.894,14.938 C6.22066667,14.1446667 6.72,12.7446667 7.392,10.738 L7.392,10.738 L6.23,10.738 C5.65133333,12.306 5.096,13.706 4.564,14.938 L4.564,14.938 L5.894,14.938 Z M12.264,15.134 C12.012,13.7153333 11.7133333,12.278 11.368,10.822 L11.368,10.822 L10.164,10.822 C10.5466667,12.5206667 10.8453333,13.958 11.06,15.134 L11.06,15.134 L12.264,15.134 Z M14.742,16.324 L19.558,5.81 L18.018,5.81 L13.202,16.324 L14.742,16.324 Z" id="标/" fill="#333333"></path>
|
||||
<path d="M23.088,4.4 C23.608,3.69333333 23.9746667,3.17333333 24.188,2.84 L24.188,2.84 L25.648,2.84 L26.268,4.34 L28.088,4.34 L27.408,2.84 L29.608,2.84 L29.788,1.24 L25.128,1.24 L25.788,0 L23.748,0 C22.988,1.45333333 22.068,2.92 20.988,4.4 L20.988,4.4 L23.088,4.4 Z M31.108,4.54 C31.468,3.98 31.808,3.42 32.128,2.86 L32.128,2.86 L33.468,2.86 L34.148,4.5 L36.028,4.5 L35.288,2.86 L37.828,2.86 L38.008,1.26 L32.988,1.26 L33.288,0.68 L33.588,0.04 L31.588,0.04 C31.1213333,1.09333333 30.2746667,2.59333333 29.048,4.54 L29.048,4.54 L31.108,4.54 Z M25.888,7.28 L26.088,5.6 L23.268,4.66 L23.068,6.22 L25.888,7.28 Z M33.708,17.3 C34.348,17.34 34.8213333,17.22 35.128,16.94 C35.4346667,16.66 35.628,16.16 35.708,15.44 L35.708,15.44 L36.668,7.08 C36.6946667,6.78666667 36.708,6.58666667 36.708,6.48 C36.708,5.96 36.588,5.60333333 36.348,5.41 C36.108,5.21666667 35.688,5.12 35.088,5.12 L35.088,5.12 L27.048,5.12 L26.828,6.72 L34.788,6.72 L33.848,15.12 C33.8346667,15.2933333 33.788,15.42 33.708,15.5 C33.6546667,15.54 33.5613333,15.56 33.428,15.56 C33.228,15.56 33.008,15.5266667 32.768,15.46 L32.768,15.46 L32.248,15.38 C31.9546667,15.3266667 31.5813333,15.2466667 31.128,15.14 L31.128,15.14 L30.948,16.86 C31.948,17.1 32.868,17.2466667 33.708,17.3 Z M22.888,17.26 L24.168,7.38 L22.288,7.38 L21.068,17.26 L22.888,17.26 Z M32.108,14.72 L32.648,9.5 C32.6746667,9.26 32.688,9.1 32.688,9.02 C32.688,8.56666667 32.568,8.24333333 32.328,8.05 C32.088,7.85666667 31.688,7.76 31.128,7.76 L31.128,7.76 L27.328,7.76 C26.728,7.76 26.3046667,7.88 26.058,8.12 C25.8113333,8.36 25.6546667,8.8 25.588,9.44 L25.588,9.44 L24.988,14.72 L32.108,14.72 Z M30.888,10.54 L27.088,10.54 L27.228,9.24 L31.028,9.24 L30.888,10.54 Z M30.588,13.24 L26.808,13.24 L26.948,11.94 L30.728,11.94 L30.588,13.24 Z" fill="#FF4400"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.6 KiB |
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="60px" height="40px" viewBox="0 0 60 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>简</title>
|
||||
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="简">
|
||||
<rect id="矩形" fill="#F5F5F5" x="0" y="0" width="60" height="40" rx="20"></rect>
|
||||
<g id="标/简" transform="translate(9.000000, 10.000000)" fill-rule="nonzero">
|
||||
<path d="M3.33584906,18.9811321 L4.12075472,11.9320755 C4.37232704,12.4352201 4.60377358,12.9333333 4.81509434,13.4264151 L4.81509434,13.4264151 L5.93207547,12.7471698 C5.27798742,11.6201258 4.73962264,10.7597484 4.31698113,10.1660377 L4.31698113,10.1660377 L4.34716981,9.78867925 L5.81132075,9.78867925 L5.97735849,8.4754717 L4.49811321,8.4754717 L4.76981132,6 L3.36603774,6 L3.09433962,8.4754717 L1.25283019,8.4754717 L1.08679245,9.78867925 L2.80754717,9.78867925 C2.09308176,11.3886792 1.1572327,13.0188679 0,14.6792453 L0,14.6792453 L1.13207547,15.3132075 C1.72578616,14.4075472 2.22389937,13.5471698 2.62641509,12.7320755 L2.62641509,12.7320755 L1.94716981,18.9660377 L3.33584906,18.9811321 Z M13.0716981,8.03773585 L13.2226415,6.70943396 L6.94339623,6.70943396 L6.79245283,8.03773585 L13.0716981,8.03773585 Z M8.61886792,18.9962264 C9.28301887,18.9962264 9.64528302,18.6591195 9.70566038,17.9849057 L9.70566038,17.9849057 L10.4301887,11.5245283 L13.3283019,11.5245283 L13.4792453,10.1962264 L6.05283019,10.1962264 L5.90188679,11.5245283 L8.99622642,11.5245283 L8.30188679,17.3962264 C8.28176101,17.5169811 8.22138365,17.5773585 8.12075472,17.5773585 L8.12075472,17.5773585 L8.04528302,17.5622642 C7.65283019,17.4918239 7.21006289,17.3710692 6.71698113,17.2 L6.71698113,17.2 L6.5509434,18.5433962 C7.08427673,18.754717 7.67295597,18.9006289 8.31698113,18.9811321 C8.38742138,18.991195 8.48805031,18.9962264 8.61886792,18.9962264 Z M6.35471698,16.9584906 C6.70691824,16.1031447 7.24528302,14.5937107 7.96981132,12.4301887 L7.96981132,12.4301887 L6.71698113,12.4301887 C6.09308176,14.1207547 5.49433962,15.6301887 4.92075472,16.9584906 L4.92075472,16.9584906 L6.35471698,16.9584906 Z M13.2226415,17.1698113 C12.9509434,15.6402516 12.6289308,14.090566 12.2566038,12.5207547 L12.2566038,12.5207547 L10.9584906,12.5207547 C11.3710692,14.3522013 11.6930818,15.9018868 11.9245283,17.1698113 L11.9245283,17.1698113 L13.2226415,17.1698113 Z M15.8943396,18.4528302 L21.0867925,7.11698113 L19.4264151,7.11698113 L14.2339623,18.4528302 L15.8943396,18.4528302 Z" id="标/" fill="#333333"></path>
|
||||
<path d="M25.109434,4.98113208 C25.6981132,4.18113208 26.1132075,3.59245283 26.354717,3.21509434 L26.354717,3.21509434 L28.0075472,3.21509434 L28.709434,4.91320755 L30.7698113,4.91320755 L30,3.21509434 L32.490566,3.21509434 L32.6943396,1.40377358 L27.4188679,1.40377358 L28.1660377,0 L25.8566038,0 C24.9962264,1.64528302 23.954717,3.30566038 22.7320755,4.98113208 L22.7320755,4.98113208 L25.109434,4.98113208 Z M34.1886792,5.13962264 C34.5962264,4.50566038 34.9811321,3.87169811 35.3433962,3.23773585 L35.3433962,3.23773585 L36.8603774,3.23773585 L37.6301887,5.09433962 L39.7584906,5.09433962 L38.9207547,3.23773585 L41.7962264,3.23773585 L42,1.42641509 L36.3169811,1.42641509 L36.6566038,0.769811321 L36.9962264,0.0452830189 L34.7320755,0.0452830189 C34.2037736,1.23773585 33.245283,2.93584906 31.8566038,5.13962264 L31.8566038,5.13962264 L34.1886792,5.13962264 Z M28.2792453,8.24150943 L28.5056604,6.33962264 L25.3132075,5.2754717 L25.0867925,7.04150943 L28.2792453,8.24150943 Z M37.1320755,19.5849057 C37.8566038,19.6301887 38.3924528,19.4943396 38.7396226,19.1773585 C39.0867925,18.8603774 39.3056604,18.2943396 39.3962264,17.4792453 L39.3962264,17.4792453 L40.4830189,8.01509434 C40.5132075,7.68301887 40.5283019,7.45660377 40.5283019,7.33584906 C40.5283019,6.74716981 40.3924528,6.34339623 40.1207547,6.1245283 C39.8490566,5.90566038 39.3735849,5.79622642 38.6943396,5.79622642 L38.6943396,5.79622642 L29.5924528,5.79622642 L29.3433962,7.60754717 L38.354717,7.60754717 L37.290566,17.1169811 C37.2754717,17.3132075 37.2226415,17.4566038 37.1320755,17.5471698 C37.0716981,17.5924528 36.9660377,17.6150943 36.8150943,17.6150943 C36.5886792,17.6150943 36.3396226,17.5773585 36.0679245,17.5018868 L36.0679245,17.5018868 L35.4792453,17.4113208 C35.1471698,17.3509434 34.7245283,17.2603774 34.2113208,17.1396226 L34.2113208,17.1396226 L34.0075472,19.0867925 C35.1396226,19.3584906 36.1811321,19.5245283 37.1320755,19.5849057 Z M24.8830189,19.5396226 L26.3320755,8.35471698 L24.2037736,8.35471698 L22.8226415,19.5396226 L24.8830189,19.5396226 Z M35.3207547,16.6641509 L35.9320755,10.754717 C35.9622642,10.4830189 35.9773585,10.3018868 35.9773585,10.2113208 C35.9773585,9.69811321 35.8415094,9.33207547 35.5698113,9.11320755 C35.2981132,8.89433962 34.845283,8.78490566 34.2113208,8.78490566 L34.2113208,8.78490566 L29.909434,8.78490566 C29.2301887,8.78490566 28.7509434,8.92075472 28.4716981,9.19245283 C28.1924528,9.46415094 28.0150943,9.96226415 27.9396226,10.6867925 L27.9396226,10.6867925 L27.2603774,16.6641509 L35.3207547,16.6641509 Z M33.9396226,11.9320755 L29.6377358,11.9320755 L29.7962264,10.4603774 L34.0981132,10.4603774 L33.9396226,11.9320755 Z M33.6,14.9886792 L29.3207547,14.9886792 L29.4792453,13.5169811 L33.7584906,13.5169811 L33.6,14.9886792 Z" id="简" fill="#FF4400"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.3 KiB |
@ -0,0 +1,113 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:none;}
|
||||
.st1{fill:#333333;}
|
||||
.st2{fill:#FF4400;}
|
||||
</style>
|
||||
<title>空闲中</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="工具" transform="translate(-46.000000, -406.000000)">
|
||||
<g id="编组-4" transform="translate(10.000000, 348.000000)">
|
||||
<g id="收藏-_x28_1_x29_" transform="translate(27.000000, 58.000000)">
|
||||
<g id="收藏-_x28_11_x29_" transform="translate(9.000000, 0.000000)">
|
||||
<g id="矩形">
|
||||
<rect x="10.1" y="11.1" class="st0" width="4.9" height="4.9"/>
|
||||
</g>
|
||||
<g id="空闲">
|
||||
<g id="矩形_1_">
|
||||
<rect class="st0" width="24" height="24"/>
|
||||
</g>
|
||||
<g id="形状">
|
||||
<path class="st1" d="M20,22.8H4c-1.5,0-2.8-1.3-2.8-2.8V4c0-1.5,1.3-2.8,2.8-2.8h16c1.5,0,2.8,1.3,2.8,2.8v16
|
||||
C22.8,21.5,21.5,22.8,20,22.8z M4,2.6C3.2,2.6,2.6,3.2,2.6,4v16c0,0.8,0.6,1.4,1.4,1.4h16c0.8,0,1.4-0.6,1.4-1.4V4
|
||||
c0-0.8-0.6-1.4-1.4-1.4H4z"/>
|
||||
<path class="st1" d="M20,23H4c-1.6,0-3-1.3-3-3V4c0-1.6,1.3-3,3-3h16c1.6,0,3,1.3,3,3v16C23,21.7,21.7,23,20,23z M4,1.4
|
||||
C2.6,1.4,1.4,2.6,1.4,4v16c0,1.4,1.2,2.6,2.6,2.6h16c1.4,0,2.6-1.2,2.6-2.6V4c0-1.4-1.2-2.6-2.6-2.6H4z M20,21.6H4
|
||||
c-0.9,0-1.6-0.7-1.6-1.6V4c0-0.9,0.7-1.6,1.6-1.6h16c0.9,0,1.6,0.7,1.6,1.6v16C21.6,20.9,20.9,21.6,20,21.6z M4,2.8
|
||||
C3.3,2.8,2.8,3.3,2.8,4v16c0,0.7,0.5,1.2,1.2,1.2h16c0.7,0,1.2-0.5,1.2-1.2V4c0-0.7-0.5-1.2-1.2-1.2H4z"/>
|
||||
</g>
|
||||
<g id="编组-7" transform="translate(5.000000, 5.000000)">
|
||||
<g id="路径">
|
||||
<path class="st2" d="M14,7c0-0.4-0.3-0.7-0.7-0.7h-0.9c-0.4,0-0.7,0.3-0.7,0.7c0,0.4,0.3,0.7,0.7,0.7h0.9
|
||||
C13.7,7.8,14,7.4,14,7z"/>
|
||||
<path class="st2" d="M13.3,8.1h-0.9c-0.6,0-1-0.5-1-1s0.5-1,1-1h0.9c0.6,0,1,0.5,1,1S13.8,8.1,13.3,8.1z M12.4,6.6
|
||||
c-0.2,0-0.4,0.2-0.4,0.4c0,0.2,0.2,0.4,0.4,0.4h0.9c0.2,0,0.4-0.2,0.4-0.4c0-0.2-0.2-0.4-0.4-0.4H12.4z"/>
|
||||
</g>
|
||||
<g id="路径_1_">
|
||||
<path class="st2" d="M10.3,2.7L10.8,2c0.2-0.4,0.1-0.8-0.3-1c-0.4-0.2-0.8-0.1-1,0.3L9.1,2C8.9,2.4,9,2.8,9.3,3
|
||||
c0.1,0.1,0.2,0.1,0.4,0.1C10,3.1,10.2,3,10.3,2.7z"/>
|
||||
<path class="st2" d="M9.7,3.4c-0.2,0-0.4,0-0.5-0.1C8.7,3,8.5,2.3,8.8,1.9l0.5-0.8c0.3-0.5,0.9-0.7,1.4-0.4
|
||||
c0.5,0.3,0.7,0.9,0.4,1.4l-0.5,0.8C10.4,3.2,10.1,3.4,9.7,3.4z M10.2,1.1c-0.2,0-0.3,0.1-0.4,0.2L9.3,2.1
|
||||
C9.2,2.4,9.3,2.6,9.5,2.7c0.2,0.1,0.5,0,0.6-0.2l0,0l0.5-0.8c0.1-0.2,0-0.5-0.2-0.6C10.3,1.2,10.2,1.1,10.2,1.1z"/>
|
||||
</g>
|
||||
<g id="路径_2_">
|
||||
<path class="st2" d="M7.8,1.6V0.7C7.8,0.3,7.4,0,7,0S6.3,0.3,6.3,0.7v0.9C6.3,2,6.6,2.4,7,2.4S7.8,2,7.8,1.6z"/>
|
||||
<path class="st2" d="M7,2.7c-0.6,0-1-0.5-1-1V0.7c0-0.6,0.5-1,1-1s1,0.5,1,1v0.9C8.1,2.2,7.6,2.7,7,2.7z M7,0.3
|
||||
c-0.2,0-0.4,0.2-0.4,0.4v0.9c0,0.2,0.2,0.4,0.4,0.4s0.4-0.2,0.4-0.4V0.7C7.5,0.5,7.3,0.3,7,0.3z"/>
|
||||
</g>
|
||||
<g id="路径_3_">
|
||||
<path class="st2" d="M4.7,3C5.1,2.8,5.2,2.3,5,2L4.5,1.2c-0.2-0.4-0.7-0.5-1-0.3s-0.5,0.7-0.3,1l0.5,0.8
|
||||
c0.1,0.2,0.4,0.4,0.6,0.4C4.5,3.1,4.6,3.1,4.7,3z"/>
|
||||
<path class="st2" d="M4.3,3.4C4,3.4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,1,1S2.2,8,1.6,8z M0.7,6.5
|
||||
C0.5,6.5,0.3,6.7,0.3,7c0,0.2,0.2,0.4,0.4,0.4h0.9c0.2,0,0.4-0.2,0.4-0.4c0-0.2-0.2-0.4-0.4-0.4H0.7z"/>
|
||||
</g>
|
||||
<g id="路径_6_">
|
||||
<path class="st2" d="M1.9,10.8l0.8-0.5c0.4-0.2,0.5-0.7,0.3-1C2.8,8.9,2.3,8.8,2,9L1.2,9.5c-0.4,0.2-0.5,0.7-0.3,1
|
||||
c0.1,0.2,0.4,0.4,0.6,0.4C1.7,10.8,1.8,10.8,1.9,10.8z"/>
|
||||
<path class="st2" d="M1.6,11.1c-0.4,0-0.7-0.2-0.9-0.5C0.4,10.1,0.6,9.5,1,9.2l0.8-0.5C2.3,8.5,3,8.6,3.2,9.1
|
||||
c0.3,0.5,0.1,1.1-0.4,1.4L2.1,11C1.9,11.1,1.8,11.1,1.6,11.1z M2.3,9.2c-0.1,0-0.2,0-0.2,0.1L1.3,9.7
|
||||
c-0.2,0.1-0.3,0.4-0.2,0.6c0.1,0.2,0.4,0.3,0.6,0.2L2.6,10c0.2-0.1,0.3-0.4,0.2-0.6C2.6,9.3,2.5,9.2,2.3,9.2z"/>
|
||||
</g>
|
||||
<g id="路径_7_">
|
||||
<path class="st2" d="M4.5,12.8L4.9,12c0.2-0.4,0.1-0.8-0.3-1c-0.4-0.2-0.8-0.1-1,0.3L3.2,12c-0.2,0.4-0.1,0.8,0.3,1
|
||||
c0.1,0.1,0.2,0.1,0.4,0.1C4.1,13.2,4.3,13,4.5,12.8z"/>
|
||||
<path class="st2" d="M3.8,13.5c-0.2,0-0.4,0-0.5-0.1c-0.5-0.3-0.7-0.9-0.4-1.4l0.5-0.8c0.3-0.5,0.9-0.7,1.4-0.4
|
||||
c0.5,0.3,0.7,0.9,0.4,1.4l-0.5,0.8C4.6,13.3,4.2,13.5,3.8,13.5z M4.3,11.2c-0.2,0-0.3,0.1-0.4,0.2l-0.5,0.8
|
||||
c-0.1,0.2,0,0.5,0.2,0.6c0.2,0.1,0.5,0,0.6-0.2l0.5-0.8c0.1-0.2,0-0.5-0.2-0.6C4.4,11.2,4.4,11.2,4.3,11.2z"/>
|
||||
</g>
|
||||
<g id="路径_8_">
|
||||
<path class="st2" d="M7.7,13.3v-0.9c0-0.4-0.3-0.7-0.7-0.7S6.2,12,6.2,12.4v0.9C6.2,13.7,6.6,14,7,14S7.7,13.7,7.7,13.3z"/>
|
||||
<path class="st2" d="M7,14.3c-0.6,0-1-0.5-1-1v-0.9c0-0.6,0.5-1,1-1s1,0.5,1,1v0.9C8,13.8,7.5,14.3,7,14.3z M7,11.9
|
||||
c-0.2,0-0.4,0.2-0.4,0.4v0.9c0,0.2,0.2,0.4,0.4,0.4s0.4-0.2,0.4-0.4v-0.9C7.4,12.1,7.2,11.9,7,11.9z"/>
|
||||
</g>
|
||||
<g id="路径_9_">
|
||||
<path class="st2" d="M10.5,13.1c0.4-0.2,0.5-0.7,0.3-1l-0.5-0.8c-0.2-0.4-0.7-0.5-1-0.3c-0.4,0.2-0.5,0.7-0.3,1l0.5,0.8
|
||||
c0.1,0.2,0.4,0.4,0.6,0.4C10.2,13.2,10.4,13.1,10.5,13.1z"/>
|
||||
<path class="st2" d="M10.1,13.5c-0.4,0-0.7-0.2-0.9-0.5l-0.5-0.8c-0.3-0.5-0.1-1.1,0.4-1.4c0.5-0.3,1.1-0.1,1.4,0.4l0.5,0.8
|
||||
c0.1,0.2,0.2,0.5,0.1,0.8c-0.1,0.3-0.2,0.5-0.5,0.6l0,0C10.5,13.4,10.3,13.5,10.1,13.5z M9.7,11.2c-0.1,0-0.2,0-0.2,0.1
|
||||
c-0.2,0.1-0.3,0.4-0.2,0.6l0.5,0.8c0.1,0.2,0.4,0.3,0.6,0.2l0,0c0.1-0.1,0.2-0.1,0.2-0.3c0-0.1,0-0.2,0-0.3L10,11.4
|
||||
c-0.1-0.1-0.2-0.2-0.3-0.2C9.7,11.2,9.7,11.2,9.7,11.2z"/>
|
||||
</g>
|
||||
<g id="路径_10_">
|
||||
<path class="st2" d="M13.1,10.5c0.2-0.4,0.1-0.8-0.3-1L12,9.1c-0.4-0.2-0.8-0.1-1,0.3c-0.2,0.4-0.1,0.8,0.3,1l0.8,0.5
|
||||
c0.1,0.1,0.2,0.1,0.4,0.1C12.7,10.9,12.9,10.8,13.1,10.5z"/>
|
||||
<path class="st2" d="M12.4,11.2c-0.2,0-0.4,0-0.5-0.1l-0.8-0.5c-0.5-0.3-0.7-0.9-0.4-1.4c0.3-0.5,0.9-0.7,1.4-0.4l0.8,0.5
|
||||
c0.5,0.3,0.7,0.9,0.4,1.4l0,0C13.1,11,12.8,11.2,12.4,11.2z M11.6,9.3c-0.2,0-0.3,0.1-0.4,0.2c-0.1,0.2,0,0.5,0.2,0.6
|
||||
l0.8,0.5c0.2,0.1,0.5,0,0.6-0.2c0.1-0.2,0-0.5-0.2-0.6l-0.8-0.5C11.8,9.3,11.7,9.3,11.6,9.3z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 17 KiB |
@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="85px" height="87px" viewBox="0 0 85 87" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>logo-竖排</title>
|
||||
<defs>
|
||||
<polygon id="path-1" points="0 0 4.22386174 0 4.22386174 7.08584545 0 7.08584545"></polygon>
|
||||
<polygon id="path-3" points="0 36.141542 85 36.141542 85 0 0 0"></polygon>
|
||||
</defs>
|
||||
<g id="一手单小程序" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="登录" transform="translate(-145.000000, -130.000000)">
|
||||
<g id="编组-8" transform="translate(145.000000, 130.000000)">
|
||||
<g id="编组" transform="translate(8.000000, 0.000000)" fill="#FF4400">
|
||||
<polygon id="Fill-1" points="20.9199627 0 41.2039719 23.5441974 50.3158727 12.1046234 40.4738632 0"></polygon>
|
||||
<polygon id="Fill-2" points="19.893654 0 0 24.2096083 19.1631839 24.2096083 29.5910875 11.2516252"></polygon>
|
||||
<polygon id="Fill-3" points="19.6838382 29.4971854 29.5258476 41.6018089 49.0797481 41.6018089 28.7957389 18.0576115"></polygon>
|
||||
<polygon id="Fill-4" points="50.8364546 17.3925981 40.4125269 30.3502198 50.106346 41.601845 70 17.3925981"></polygon>
|
||||
</g>
|
||||
<g id="编组" transform="translate(0.000000, 50.858458)">
|
||||
<path d="M0.450225003,31.2984613 L1.20177836,31.2984613 L1.97091192,34.1094181 C2.07859062,34.5562773 2.17088664,34.9754737 2.26977524,35.4138212 L2.30493563,35.4138212 C2.42140443,34.9754737 2.52249055,34.5562773 2.64774945,34.1094181 L3.4344632,31.2984613 L4.17502894,31.2984613 L4.97053279,34.1094181 C5.08700158,34.5562773 5.1968778,34.9754737 5.3133466,35.4138212 L5.35070451,35.4138212 C5.45838321,34.9754737 5.55067924,34.5562773 5.66714804,34.1094181 L6.4187014,31.2984613 L7.12410674,31.2984613 L5.78581436,36.0266566 L4.89142191,36.0266566 L4.15085617,33.3901877 C4.01460965,32.9346042 3.92451115,32.504981 3.80804235,32.0240755 L3.76189434,32.0240755 C3.65421564,32.504981 3.55312952,32.9518402 3.41029043,33.3986993 L2.69609499,36.0266566 L1.82807283,36.0266566 L0.450225003,31.2984613 Z" id="Fill-5" fill="#FF4400"></path>
|
||||
<path d="M7.603233,31.2984613 L8.35478636,31.2984613 L9.12391991,34.1094181 C9.23159861,34.5562773 9.32389464,34.9754737 9.42278324,35.4138212 L9.45794363,35.4138212 C9.57441242,34.9754737 9.67549855,34.5562773 9.80075744,34.1094181 L10.5874712,31.2984613 L11.3280369,31.2984613 L12.1235408,34.1094181 C12.2400096,34.5562773 12.3498858,34.9754737 12.4663546,35.4138212 L12.5037125,35.4138212 C12.6113912,34.9754737 12.7036872,34.5562773 12.820156,34.1094181 L13.5717094,31.2984613 L14.2771147,31.2984613 L12.9388223,36.0266566 L12.0444299,36.0266566 L11.3038642,33.3901877 C11.1676176,32.9346042 11.0775191,32.504981 10.9610503,32.0240755 L10.9149023,32.0240755 C10.8072236,32.504981 10.7061375,32.9518402 10.5632984,33.3986993 L9.84910298,36.0266566 L8.98108082,36.0266566 L7.603233,31.2984613 Z" id="Fill-7" fill="#FF4400"></path>
|
||||
<path d="M14.7561311,31.2984613 L15.5076845,31.2984613 L16.276818,34.1094181 C16.3844967,34.5562773 16.4767928,34.9754737 16.5756814,35.4138212 L16.6108417,35.4138212 C16.7273105,34.9754737 16.8283967,34.5562773 16.9536556,34.1094181 L17.7403693,31.2984613 L18.480935,31.2984613 L19.2764389,34.1094181 C19.3929077,34.5562773 19.5027839,34.9754737 19.6192527,35.4138212 L19.6566106,35.4138212 C19.7642893,34.9754737 19.8565854,34.5562773 19.9730541,34.1094181 L20.7246075,31.2984613 L21.4300129,31.2984613 L20.0917205,36.0266566 L19.197328,36.0266566 L18.4567623,33.3901877 C18.3205158,32.9346042 18.2304173,32.504981 18.1139485,32.0240755 L18.0678005,32.0240755 C17.9601218,32.504981 17.8590356,32.9518402 17.7161965,33.3986993 L17.0020011,36.0266566 L16.1339789,36.0266566 L14.7561311,31.2984613 Z" id="Fill-9" fill="#FF4400"></path>
|
||||
<path d="M21.9727574,35.5798188 C21.9727574,35.2287152 22.2254728,35.0010298 22.5243361,35.0010298 C22.8319895,35.0010298 23.0849246,35.2287152 23.0849246,35.5798188 C23.0849246,35.9117713 22.8319895,36.1394567 22.5243361,36.1394567 C22.2276703,36.1394567 21.9727574,35.9117713 21.9727574,35.5798188" id="Fill-11" fill="#FF4400"></path>
|
||||
<path d="M24.5593756,35.4308232 L26.0427046,35.4308232 L26.0427046,30.5175005 L24.8755993,30.5175005 L24.8755993,30.0536181 C25.4447582,29.9578626 25.8712977,29.8174212 26.2138917,29.6152706 L26.7744802,29.6152706 L26.7744802,35.4308232 L28.1215627,35.4308232 L28.1215627,36.0266354 L24.5593756,36.0266354 L24.5593756,35.4308232 Z" id="Fill-13" fill="#FF4400"></path>
|
||||
<path d="M29.0093626,35.4925323 L29.3805244,35.0116267 C29.8048664,35.3520908 30.2399763,35.5797762 30.8550633,35.5797762 C31.5340984,35.5797762 31.8683419,35.2286726 31.8683419,34.792453 C31.8683419,34.2838847 31.2794053,34.0561993 30.7276069,33.8646883 C30.0309917,33.6199797 29.253068,33.3050504 29.253068,32.498576 C29.253068,31.7623224 29.8598045,31.1771497 30.9080237,31.1771497 C31.4859726,31.1771497 32.0197513,31.4133467 32.3913527,31.7027412 L32.0397488,32.1666235 C31.7057251,31.9304265 31.3517039,31.7452992 30.9100015,31.7452992 C30.2595342,31.7452992 29.9606709,32.0772517 29.9606709,32.4624017 C29.9606709,32.9345829 30.5036792,33.119923 31.0640479,33.3114341 C31.7782434,33.5838054 32.5737472,33.8540488 32.5737472,34.7562787 C32.5737472,35.5095555 31.9584404,36.1394141 30.8286931,36.1394141 C30.1301,36.1394141 29.4708427,35.8604463 29.0093626,35.4925323" id="Fill-15" fill="#FF4400"></path>
|
||||
<path d="M33.7668711,29.0556327 L34.4986468,29.0556327 L34.4986468,30.9898944 L34.4722765,31.9793683 C34.9427665,31.5410207 35.4391872,31.1728939 36.1094322,31.1728939 C37.1315008,31.1728939 37.6015513,31.8112641 37.6015513,33.0199117 L37.6015513,36.0245075 L36.8609856,36.0245075 L36.8609856,33.1092835 C36.8609856,32.198542 36.5709123,31.7963688 35.8942946,31.7963688 C35.3776566,31.7963688 35.0084724,32.0581006 34.5008443,32.5666688 L34.5008443,36.0266354 L33.7692884,36.0266354 L33.7692884,29.0556327 L33.7668711,29.0556327 Z" id="Fill-17" fill="#FF4400"></path>
|
||||
<path d="M42.565759,33.6711557 C42.565759,32.5410276 41.9504522,31.7792392 41.0736399,31.7792392 C40.1968277,31.7792392 39.5903109,32.5410276 39.5903109,33.6711557 C39.5903109,34.7925594 40.1968277,35.5458362 41.0736399,35.5458362 C41.9504522,35.5458362 42.565759,34.7925594 42.565759,33.6711557 M38.8299675,33.6711557 C38.8299675,32.0858697 39.8784064,31.1751282 41.0736399,31.1751282 C42.2690932,31.1751282 43.3261025,32.0858697 43.3261025,33.6711557 C43.3261025,35.2285662 42.2671154,36.1414356 41.0736399,36.1414356 C39.8803841,36.1414356 38.8299675,35.2285662 38.8299675,33.6711557" id="Fill-19" fill="#FF4400"></path>
|
||||
<path d="M44.5832403,34.300993 L44.5832403,31.2963973 L45.3147962,31.2963973 L45.3147962,34.2114084 C45.3147962,35.1221499 45.5960793,35.5160243 46.2817069,35.5160243 C46.7981252,35.5160243 47.167529,35.2628041 47.6573572,34.6840151 L47.6573572,31.2940566 L48.3891329,31.2940566 L48.3891329,36.0224647 L47.7828359,36.0224647 L47.7191077,35.2691878 L47.6925176,35.2691878 C47.2312572,35.7860549 46.7431871,36.1350542 46.064152,36.1350542 C45.0447204,36.1394992 44.5832403,35.5096406 44.5832403,34.300993" id="Fill-21" fill="#FF4400"></path>
|
||||
<g transform="translate(49.727381, 29.055697)">
|
||||
<mask id="mask-2" fill="white">
|
||||
<use xlink:href="#path-1"></use>
|
||||
</mask>
|
||||
<g id="Clip-24"></g>
|
||||
<path d="M3.4920861,5.80491307 L3.4920861,3.24696366 C3.04796641,2.87053803 2.67021195,2.72158498 2.24367246,2.72158498 C1.41081069,2.72158498 0.769133556,3.50039663 0.769133556,4.6045643 C0.769133556,5.76873876 1.27478393,6.47945759 2.1713739,6.47945759 C2.64164414,6.47945759 3.05697626,6.25177222 3.4920861,5.80491307 M0,4.61541659 C0,3.08332809 1.00448842,2.11938908 2.12500614,2.11938908 C2.70317482,2.11938908 3.08334655,2.33005125 3.52724649,2.67902696 L3.4920861,1.85531661 L3.4920861,0 L4.22386174,0 L4.22386174,6.97078986 L3.61712524,6.97078986 L3.54460693,6.40285317 L3.52724649,6.40285317 C3.13828466,6.77949159 2.61307632,7.08590929 2.01754719,7.08590929 C0.789131028,7.08378139 0,6.19197821 0,4.61541659" id="Fill-23" fill="#FF6A00" mask="url(#mask-2)"></path>
|
||||
</g>
|
||||
<path d="M58.3748378,34.9052955 L58.3748378,33.5221601 C56.6475836,33.7157991 56.058647,34.1179723 56.058647,34.7648541 C56.058647,35.3330036 56.465189,35.560689 56.9640271,35.560689 C57.4628651,35.560689 57.87578,35.3351315 58.3748378,34.9052955 M55.3444516,34.80954 C55.3444516,33.7751675 56.2762019,33.2689399 58.3748378,33.0410417 C58.3836279,32.4026715 58.1748631,31.7708978 57.3354087,31.7708978 C56.7464722,31.7708978 56.2234613,32.0432691 55.8520797,32.2962765 L55.5532164,31.7964326 C55.9773386,31.5238486 56.6651638,31.1750856 57.4518775,31.1750856 C58.6361234,31.1750856 59.1066134,31.9538973 59.1066134,33.0921114 L59.1066134,36.0266992 L58.5000967,36.0266992 L58.4363685,35.4479102 L58.4099982,35.4479102 C57.9397279,35.8328474 57.3793592,36.1394779 56.7640524,36.1394779 C55.9597584,36.1394779 55.3444516,35.667084 55.3444516,34.80954" id="Fill-25" fill="#FF4400"></path>
|
||||
<path d="M60.7174428,31.2984613 L61.3151694,31.2984613 L61.3876877,31.990029 L61.414058,31.990029 C61.8843283,31.5431699 62.3895391,31.1750431 63.0597841,31.1750431 C64.0818527,31.1750431 64.5519032,31.8134133 64.5519032,33.0220609 L64.5519032,36.0266566 L63.8115572,36.0266566 L63.8115572,33.1114327 C63.8115572,32.2006912 63.521484,31.798518 62.8446464,31.798518 C62.3282282,31.798518 61.9588243,32.0602498 61.4514159,32.568818 L61.4514159,36.0285718 L60.7196403,36.0285718 L60.7196403,31.2984613 L60.7174428,31.2984613 Z" id="Fill-27" fill="#FF4400"></path>
|
||||
<path d="M65.9891281,35.5798188 C65.9891281,35.2287152 66.2418434,35.0010298 66.5409265,35.0010298 C66.8483602,35.0010298 67.1012952,35.2287152 67.1012952,35.5798188 C67.1012952,35.9117713 66.8483602,36.1394567 66.5409265,36.1394567 C66.2418434,36.1394567 65.9891281,35.9117713 65.9891281,35.5798188" id="Fill-29" fill="#FF4400"></path>
|
||||
<path d="M68.1317145,33.6711557 C68.1317145,32.0858697 69.2172915,31.1751282 70.4566953,31.1751282 C71.0983725,31.1751282 71.5424922,31.43686 71.8850862,31.7430649 L71.4963441,32.2154588 C71.2060512,31.9539398 70.8898274,31.7773241 70.4830656,31.7773241 C69.5688954,31.7773241 68.8920579,32.5391125 68.8920579,33.668815 C68.8920579,34.7904315 69.5251647,35.5437083 70.4654854,35.5437083 C70.9271853,35.5437083 71.3422977,35.3245345 71.6501708,35.06259 L71.9751847,35.5351967 C71.5402946,35.9116223 70.9997036,36.1395205 70.4017572,36.1395205 C69.1184029,36.1395205 68.1317145,35.2285662 68.1317145,33.6711557" id="Fill-31" fill="#FF4400"></path>
|
||||
<path d="M76.2361626,33.6711557 C76.2361626,32.5410276 75.6208558,31.7792392 74.7442633,31.7792392 C73.867451,31.7792392 73.2609343,32.5410276 73.2609343,33.6711557 C73.2609343,34.7925594 73.867451,35.5458362 74.7442633,35.5458362 C75.6208558,35.5458362 76.2361626,34.7925594 76.2361626,33.6711557 M72.5003711,33.6711557 C72.5003711,32.0858697 73.54881,31.1751282 74.7442633,31.1751282 C75.9375191,31.1751282 76.9967258,32.0858697 76.9967258,33.6711557 C76.9967258,35.2285662 75.9375191,36.1414356 74.7442633,36.1414356 C73.54881,36.1395205 72.5003711,35.2285662 72.5003711,33.6711557" id="Fill-33" fill="#FF4400"></path>
|
||||
<path d="M78.3238109,31.2984613 L78.9217573,31.2984613 L78.9942756,31.9985406 L79.0206459,31.9985406 C79.4447681,31.5431699 79.9697567,31.1750431 80.5389155,31.1750431 C81.299259,31.1750431 81.6972306,31.5346583 81.8862177,32.0942962 C82.4114261,31.5514687 82.925427,31.1750431 83.5143636,31.1750431 C84.5098422,31.1750431 84.9976926,31.8134133 84.9976926,33.0220609 L84.9976926,36.0266566 L84.2571269,36.0266566 L84.2571269,33.1114327 C84.2571269,32.2006912 83.9584833,31.798518 83.3080161,31.798518 C82.9100444,31.798518 82.4947123,32.0517382 82.0246618,32.568818 L82.0246618,36.0285718 L81.2928861,36.0285718 L81.2928861,33.1135606 C81.2928861,32.2028191 80.9938031,31.8006459 80.3345457,31.8006459 C79.954374,31.8006459 79.5214617,32.0538661 79.0602013,32.5707331 L79.0602013,36.0309124 L78.3284257,36.0309124 L78.3284257,31.2984613 L78.3238109,31.2984613 Z" id="Fill-35" fill="#FF4400"></path>
|
||||
<path d="M39.201437,22.1399555 L39.3091157,22.086758 C40.3815076,21.5632944 40.9484689,20.3057051 40.9440739,18.4523036 L40.9440739,2.10577052 L44.5963595,2.10577052 L44.5963595,19.1779177 C44.5963595,23.2188011 41.9349376,25.0807142 39.4451425,25.4786317 L39.1992395,25.5169339 L39.1992395,22.1399555 L39.201437,22.1399555 Z" id="Fill-37" fill="#FF4400"></path>
|
||||
<mask id="mask-4" fill="white">
|
||||
<use xlink:href="#path-3"></use>
|
||||
</mask>
|
||||
<g id="Clip-40"></g>
|
||||
<polygon id="Fill-39" fill="#FF4400" mask="url(#mask-4)" points="34.5865917 10.9174073 50.8856305 10.9174073 50.8856305 7.49574296 34.5865917 7.49574296"></polygon>
|
||||
<path d="M32.1956851,4.80820439 L32.1956851,1.38654009 L47.4288586,1.38654009 C48.7146302,1.38654009 49.8659132,0.850309114 50.6702072,0.00127674041 L50.6702072,0.00127674041 L53.2764712,2.31643269 C51.8263248,3.84852118 49.7450494,4.80820439 47.4288586,4.80820439 L47.4288586,4.80820439 L32.1956851,4.80820439 Z" id="形状结合" fill="#FF4400" mask="url(#mask-4)"></path>
|
||||
<path d="M30.2992215,17.028738 L30.2992215,13.6070737 L49.3100714,13.6071163 C50.597601,13.6071163 51.7537186,13.0708853 52.5602101,12.2218529 L52.5602101,12.2218529 L55.1750444,14.5370089 C53.7202832,16.0690974 51.6306572,17.0287806 49.3100714,17.0287806 L49.312203,17.028738 L30.2992215,17.028738 Z" id="形状结合" fill="#FF4400" mask="url(#mask-4)"></path>
|
||||
<path d="M60.189949,20.1759032 L60.189949,17.028738 L79.6203503,17.0286955 C80.8006407,17.0286955 81.8598474,16.5350225 82.6004132,15.754083 L82.6004132,15.754083 L85.0001099,17.8841116 C83.6662125,19.2927818 81.7499712,20.1758606 79.6203503,20.1758606 L79.6203503,20.1758606 L60.189949,20.1759032 Z" id="形状结合" fill="#FF4400" mask="url(#mask-4)"></path>
|
||||
<polygon id="Fill-47" fill="#FF4400" mask="url(#mask-4)" points="66.6770412 10.9812443 78.5129078 10.9812443 78.5129078 7.83407917 66.6770412 7.83407917"></polygon>
|
||||
<path d="M0.399703916,14.5071757 L0.399703916,11.0855114 L19.456548,11.0855327 C20.7423196,11.0855327 21.8938224,10.5493017 22.6978966,9.70026935 L22.6978966,9.70026935 L25.3041605,12.0154253 C23.8540142,13.5475138 21.7727388,14.507197 19.456548,14.507197 L19.456548,14.507197 L0.399703916,14.5071757 Z" id="形状结合" fill="#FF4400" mask="url(#mask-4)"></path>
|
||||
<path d="M70.7644586,3.84854246 L74.4255343,3.84854246 L74.4255343,24.169994 C74.4255343,25.0722239 73.966032,25.5169552 73.3968732,25.5169552 L70.7622611,25.5169552 L70.7622611,3.84854246 L70.7644586,3.84854246 Z" id="Fill-50" fill="#FF4400" mask="url(#mask-4)"></path>
|
||||
<path d="M76.363641,0.0842861462 C76.363641,2.0994081 74.6759423,3.73363582 72.5951064,3.73363582 L72.5951064,6.66375507 C76.3484781,6.66375507 79.3918297,3.71661262 79.3918297,0.0821582455 L76.363641,0.0821582455 L76.363641,0.0842861462 Z" id="Fill-51" fill="#FF4400" mask="url(#mask-4)"></path>
|
||||
<polygon id="Fill-52" fill="#FF4400" mask="url(#mask-4)" points="70.7655354 3.71501669 68.6258059 5.78695359 64.7893677 2.07185178 66.9288775 0.000127674041"></polygon>
|
||||
<path d="M78.8931675,12.845264 L64.7235298,12.845264 L64.7235298,7.11057166 C64.7235298,6.80628186 64.9784427,6.56157328 65.2904912,6.56157328 L80.4663752,6.56157328 L80.4663752,11.323815 C80.4663752,12.1643358 79.7609699,12.845264 78.8931675,12.845264 M61.4731714,5.56997156 L61.4731714,15.6923951 L79.0819348,15.6923951 C81.640073,15.6923951 83.7143163,13.6836569 83.7143163,11.2067805 L83.7143163,3.71656598 L63.3872152,3.71656598 C62.3304257,3.71444216 61.4731714,4.54432343 61.4731714,5.56997156" id="Fill-53" fill="#FF4400" mask="url(#mask-4)"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 82 KiB |
@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 16 14" style="enable-background:new 0 0 16 14;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#333333;}
|
||||
.st1{fill:#FF4400;}
|
||||
</style>
|
||||
<title>拍照</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="工具" transform="translate(-33.000000, -169.000000)">
|
||||
<g id="编组-37" transform="translate(22.000000, 162.000000)">
|
||||
<g id="拍照-" transform="translate(12.000000, 8.000000)">
|
||||
<g id="形状">
|
||||
<path class="st0" d="M12.4,1.8c-0.6,0-1-0.1-1.3-0.3S10.6,1,10.5,0.7C10.2,0.2,10.1,0,9.6,0H4.4C3.9,0,3.7,0.2,3.5,0.7
|
||||
C3.4,1,3.2,1.3,2.9,1.5C2.4,1.8,2.4,1.8,1.6,1.8S0,2.4,0,3.4v6.9c0,1,0.8,1.7,1.8,1.7h10.5c1,0,1.7-0.8,1.7-1.7V3.4
|
||||
C14,2.4,13.3,1.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||||
C4.6,5.3,4.4,5.9,4.4,6.6S4.6,8,5.1,8.5C5.6,9,6.3,9.2,7,9.2S8.4,9,8.9,8.5C9.4,8,9.6,7.3,9.6,6.6S9.4,5.3,8.9,4.8
|
||||
C8.4,4.3,7.7,4,7,4z M7,8.6C6.5,8.6,6,8.4,5.6,8C5.2,7.6,5,7.1,5,6.6c0-0.5,0.2-1,0.6-1.4S6.5,4.7,7,4.7s1,0.2,1.4,0.6
|
||||
C8.8,5.6,9,6.1,9,6.6c0,0.5-0.2,1-0.6,1.4C8,8.4,7.5,8.6,7,8.6z M7,5C6.6,5,6.1,5.1,5.8,5.4C5.5,5.8,5.3,6.2,5.3,6.6
|
||||
c0,0.4,0.2,0.9,0.5,1.2C6.1,8.1,6.6,8.3,7,8.3s0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.7,0.5-1.2c0-0.4-0.2-0.9-0.5-1.2
|
||||
C7.9,5.1,7.4,5,7,5z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 73 KiB |
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>收藏</title>
|
||||
<g id="一手单小程序" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="我的" transform="translate(-46.000000, -476.000000)">
|
||||
<g id="编组-19" transform="translate(10.000000, 418.000000)">
|
||||
<g id="收藏-(1)" transform="translate(20.000000, 57.999922)">
|
||||
<g id="编组-14" transform="translate(0.000000, -0.000000)">
|
||||
<g id="收藏" transform="translate(16.000000, 0.000000)">
|
||||
<g id="收藏-(11)">
|
||||
<rect id="矩形" x="0" y="7.82712469e-05" width="24" height="24"></rect>
|
||||
<path d="M18.2303794,13.502687 C17.4599575,14.2925901 17.1084713,15.4305079 17.2904462,16.5456709 L18.1803238,22.0000391 L13.5214436,19.4249067 C13.0520847,19.1659403 12.5300502,19.0303832 12,19.0298322 C11.4716351,19.0298322 10.9463602,19.1662888 10.4785564,19.4249067 L5.8196762,22.0000391 L6.70955383,16.5456709 C6.8915287,15.4305079 6.54004252,14.2925901 5.76962058,13.502687 L2,9.63966354 L7.20949203,8.84366626 C8.27407816,8.68131505 9.19440309,7.97824913 9.67025089,6.96381312 L12,2.00003914 L14.3297491,6.96381312 C14.8057171,7.97842107 15.7263103,8.6815154 16.791126,8.84366626 L22,9.63966354 L18.2303794,13.502687 Z M22.8222236,8.08388663 L16.9104107,7.18575546 C16.4628198,7.11790692 16.0759168,6.82396574 15.8760084,6.39989071 L13.2324027,0.800369093 C13.0036968,0.307422522 12.5240979,-0.00401644968 12,3.91356235e-05 C11.5103989,3.91356235e-05 11.0195979,0.266633327 10.7675973,0.800369093 L8.12399155,6.39989071 C7.92391948,6.82382154 7.53709954,7.11769962 7.08958929,7.18575546 L1.1777764,8.08388663 C0.0509739334,8.25510858 -0.399027036,9.70265515 0.416374733,10.5336773 L4.69438408,14.8919967 C5.01778478,15.2218969 5.16538511,15.6979315 5.08918492,16.1633039 L4.07938272,22.3178856 C3.92698238,23.2467489 4.63318392,24 5.43358569,24 C5.64418614,24 5.86198661,23.9479435 6.07258707,23.831914 L11.3609986,20.9261586 C11.7610763,20.7064616 12.2389237,20.7064616 12.6390014,20.9261586 L17.9274129,23.831914 C18.1374134,23.9479435 18.3552139,24 18.5664143,24 C19.3668161,24 20.0730176,23.246749 19.9206173,22.3178856 L18.9108151,16.1633039 C18.834693,15.6974758 18.9822657,15.2222736 19.3056159,14.8919967 L23.5836253,10.5336773 C24.399027,9.70265512 23.9490261,8.25510855 22.8222236,8.08388663 Z" id="形状" fill="#333333" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
<path d="M9.87902171,16.8766471 C9.54859617,16.8766471 9.25947384,16.5875247 9.25947384,16.2570992 C9.25947384,13.0767534 7.64864936,12.333296 7.56604297,12.2919928 C7.23561743,12.1680832 7.11170786,11.7963545 7.23561745,11.465929 C7.35952703,11.1355034 7.73125575,11.0115938 8.02037809,11.1355034 C8.10298448,11.1768066 10.4572664,12.1680832 10.4572664,16.2570992 C10.4985696,16.5875247 10.2094472,16.8766471 9.87902171,16.8766471 Z" id="路径" stroke="#FF4400" stroke-width="0.6" fill="#FF4400" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#333333;}
|
||||
.st1{fill:#FF4400;}
|
||||
.st2{fill:none;}
|
||||
</style>
|
||||
<title>设置</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="我的" transform="translate(-30.000000, -676.000000)">
|
||||
<g id="编组-12" transform="translate(10.000000, 658.000000)">
|
||||
<g id="设置-" transform="translate(20.000000, 18.000000)">
|
||||
<g id="形状">
|
||||
<path class="st0" d="M23.3,9.9c-0.1-0.4-0.3-0.7-0.6-0.8l-1.3-0.6c-1.1-0.5-1.8-1.7-1.7-2.9l0.2-1.4c0-0.4-0.1-0.7-0.4-0.9
|
||||
c-1-0.9-2.2-1.6-3.6-2.1c-0.3-0.1-0.7-0.1-1,0.2l-1.3,0.9c-0.5,0.4-1.1,0.5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.1,1.3-0.2,1.9l0,0.2L21,14.7c-1.5,0.6-2.3,2.2-2.2,3.8l0.2,1.6l-0.1,0.1c-1,0.8-2.1,1.5-3.3,1.9l-0.2,0.1l-1.3-0.9
|
||||
c-0.6-0.4-1.2-0.7-1.8-0.8c-0.9-0.1-1.8,0.1-2.5,0.7L8.5,22.2z M12,19.9c0.2,0,0.3,0,0.5,0c0.7,0.1,1.4,0.4,2.1,0.9l1,0.8
|
||||
c1-0.4,2-1,2.8-1.7l-0.1-1.3c-0.2-1.9,0.8-3.6,2.5-4.4l1.2-0.5c0.1-0.6,0.1-1.1,0.1-1.7c0-0.5,0-1.1-0.1-1.7l-1.2-0.5
|
||||
c-1.7-0.8-2.7-2.5-2.5-4.4l0.1-1.3c-0.9-0.7-1.8-1.3-2.8-1.7l-1.1,0.8c-0.9,0.6-1.9,0.9-3,0.8C10.8,4,10.1,3.7,9.4,3.2l-1-0.8
|
||||
c-1,0.4-2,1-2.8,1.7l0.1,1.3c0.2,1.9-0.8,3.6-2.5,4.4L2,10.3c-0.1,0.6-0.1,1.1-0.1,1.7s0,1.1,0.1,1.7l1.2,0.5
|
||||
c1.7,0.8,2.7,2.5,2.5,4.4l-0.1,1.3c0.8,0.7,1.8,1.3,2.8,1.7l1.1-0.8C10.2,20.1,11.1,19.9,12,19.9z"/>
|
||||
</g>
|
||||
<g id="椭圆形">
|
||||
<path class="st1" d="M12,16.9c-2.7,0-4.8-2.2-4.8-4.8c0-2.7,2.2-4.8,4.8-4.8c2.7,0,4.8,2.2,4.8,4.8
|
||||
C16.8,14.7,14.7,16.9,12,16.9z M12,9.1c-1.7,0-3,1.4-3,3s1.4,3,3,3s3-1.3,3-3S13.7,9.1,12,9.1z"/>
|
||||
</g>
|
||||
<g id="矩形">
|
||||
<rect class="st2" width="24" height="24"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 25 24" style="enable-background:new 0 0 25 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:none;}
|
||||
.st1{fill:#FF4400;}
|
||||
.st2{fill:#333333;}
|
||||
.st3{fill:#343333;}
|
||||
</style>
|
||||
<title>我的报名</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="我的" transform="translate(-132.000000, -476.000000)">
|
||||
<g id="编组-19" transform="translate(10.000000, 418.000000)">
|
||||
<g id="编组-16" transform="translate(106.333333, 58.000000)">
|
||||
<g id="我的报名" transform="translate(16.000000, 0.000000)">
|
||||
<g id="矩形">
|
||||
<rect x="0" class="st0" width="24" height="24"/>
|
||||
</g>
|
||||
<g transform="translate(0.509091, 0.545455)">
|
||||
<g id="形状">
|
||||
<path class="st1" d="M22.2,18.1h-2.8v-2.7c0-0.4-0.3-0.7-0.7-0.7s-0.7,0.3-0.7,0.7v2.7h-2.8c-0.4,0-0.7,0.3-0.7,0.7
|
||||
c0,0.4,0.3,0.7,0.7,0.7h2.8v2.7c0,0.4,0.3,0.7,0.7,0.7c0.4,0,0.7-0.3,0.7-0.7v-2.7h2.8c0.4,0,0.7-0.3,0.7-0.7
|
||||
C22.9,18.4,22.6,18.1,22.2,18.1z"/>
|
||||
<path class="st1" d="M18.7,23c-0.4,0-0.8-0.4-0.8-0.8v-2.6h-2.7c-0.4,0-0.8-0.4-0.8-0.8c0-0.4,0.4-0.8,0.8-0.8H18v-2.6
|
||||
c0-0.4,0.4-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8V18h2.7c0.4,0,0.8,0.4,0.8,0.8c0,0.4-0.4,0.8-0.8,0.8h-2.7v2.6
|
||||
C19.5,22.7,19.2,23,18.7,23z M15.3,18.2c-0.3,0-0.6,0.3-0.6,0.6s0.3,0.6,0.6,0.6h2.9v2.8c0,0.3,0.3,0.6,0.6,0.6
|
||||
c0.3,0,0.6-0.3,0.6-0.6v-2.8h2.9c0.3,0,0.6-0.3,0.6-0.6s-0.3-0.6-0.6-0.6h-2.9v-2.8c0-0.3-0.3-0.6-0.6-0.6
|
||||
c-0.3,0-0.6,0.3-0.6,0.6v2.8H15.3z"/>
|
||||
</g>
|
||||
<g id="编组-10">
|
||||
<g id="形状_1_">
|
||||
<path class="st2" d="M11.3,11.9c-3.5,0-6.4-2.6-6.4-6c0.1-3.4,2.9-6,6.4-6s6.4,2.6,6.4,6C17.7,9.2,14.9,11.9,11.3,11.9z
|
||||
M11.3,1.4C8.7,1.4,6.4,3.5,6.4,6s2.3,4.6,4.9,4.6s4.9-2.1,4.9-4.6S14.1,1.4,11.3,1.4z"/>
|
||||
<path class="st3" d="M11.3,12.2c-3.7,0-6.6-2.8-6.6-6.2c0.1-3.5,3-6.2,6.6-6.2c3.7,0,6.6,2.8,6.6,6.2
|
||||
C17.9,9.4,15,12.2,11.3,12.2z M11.3,0.2C8,0.2,5.3,2.8,5.2,6c0,3.1,2.7,5.7,6.1,5.7c3.4,0,6.1-2.6,6.1-5.7
|
||||
C17.4,2.8,14.7,0.2,11.3,0.2z M11.3,10.8c-2.8,0-5.2-2.2-5.2-4.9s2.4-4.8,5.2-4.8c2.8,0,5.2,2.2,5.2,4.8
|
||||
C16.5,8.6,14.1,10.8,11.3,10.8z M11.3,1.6c-2.5,0-4.7,2-4.7,4.3s2.1,4.4,4.7,4.4S16,8.3,16,6C16,3.6,13.9,1.6,11.3,1.6z"/>
|
||||
</g>
|
||||
<g id="路径">
|
||||
<path class="st2" d="M0.6,22.9c-0.4,0-0.6-0.2-0.6-0.5c0-5.8,5.3-10.5,11.9-10.5c2.8,0,3.8,0.5,5.5,1.5
|
||||
c0.2,0.2,0.6,0.6,0.3,0.9c-0.2,0.3-0.6,0.3-1.2,0c-1.4-0.8-2.9-1.2-4.6-1.2C6,13,1.3,17.2,1.3,22.4
|
||||
C1.2,22.7,0.9,22.9,0.6,22.9z"/>
|
||||
<path class="st2" d="M0.6,23.2c-0.5,0-0.8-0.3-0.8-0.8c0-6,5.4-10.8,12.1-10.8c2.8,0,3.8,0.5,5.5,1.5l0.1,0.1
|
||||
c0.5,0.5,0.6,0.9,0.4,1.2c-0.2,0.3-0.6,0.5-1.5,0.1c-1.3-0.8-2.8-1.1-4.5-1.1c-5.7,0-10.3,4.1-10.3,9.1l0,0.1
|
||||
C1.4,22.9,1,23.2,0.6,23.2z M11.9,12.1c-6.4,0-11.6,4.6-11.6,10.3c0,0.3,0.2,0.3,0.3,0.3c0.2,0,0.4-0.1,0.5-0.3
|
||||
c0-5.3,4.9-9.5,10.8-9.5c1.8,0,3.4,0.4,4.8,1.2c0.4,0.2,0.7,0.3,0.9,0.1c0,0,0.1-0.2-0.3-0.6l-0.1,0
|
||||
C15.5,12.6,14.6,12.1,11.9,12.1z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 25 24" style="enable-background:new 0 0 25 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:none;}
|
||||
.st1{fill:#333333;}
|
||||
.st2{fill:#FF4400;}
|
||||
</style>
|
||||
<title>我的老乡</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="我的" transform="translate(-218.000000, -476.000000)">
|
||||
<g id="地址本" transform="translate(202.666667, 476.000000)">
|
||||
<g id="我的老乡" transform="translate(16.000000, 0.000000)">
|
||||
<g id="矩形">
|
||||
<rect x="0" class="st0" width="24" height="24"/>
|
||||
</g>
|
||||
<g id="编组-24" transform="translate(0.333333, 0.900000)">
|
||||
<g id="编组-2">
|
||||
<g id="形状">
|
||||
<path class="st1" d="M0,22.4h1.7c0-1.3,0.2-2.6,0.7-3.8c0.4-1.2,1-2.2,1.8-3.1c1.5-1.7,3.5-2.7,5.5-2.7s4,1,5.5,2.7
|
||||
c0.8,0.9,1.4,1.9,1.8,3.1c0.4,1.2,0.7,2.5,0.7,3.8h1.7c0-4.7-2.5-8.7-6-10.4c2.2-1.1,3.5-3.3,3.5-5.6c0-3.5-3-6.4-6.7-6.4
|
||||
S3.4,2.9,3.4,6.4c0,2.2,1.2,4.2,3.1,5.4C2.7,13.4,0,17.5,0,22.4z M5,6.4c0-2.3,1.7-4.3,4.1-4.7s4.7,0.8,5.6,2.9
|
||||
c0.9,2.1,0.1,4.6-1.9,5.8s-4.7,1-6.4-0.6C5.6,8.9,5,7.7,5,6.4z"/>
|
||||
<path class="st1" d="M19.4,22.5h-1.8v0c0-1.3-0.2-2.6-0.7-3.8c-0.4-1.2-1-2.2-1.8-3.1c-1.5-1.7-3.4-2.7-5.5-2.7s-4,1-5.5,2.7
|
||||
c-0.8,0.9-1.4,1.9-1.8,3.1c-0.4,1.2-0.7,2.5-0.7,3.8v0H0v0c0-4.8,2.6-9,6.4-10.6c-1.9-1.2-3.1-3.2-3.1-5.4
|
||||
c0-3.6,3-6.5,6.8-6.5c3.7,0,6.8,2.9,6.8,6.5c0,2.3-1.3,4.5-3.4,5.6C17,13.8,19.4,17.9,19.4,22.5L19.4,22.5z M17.7,22.4h1.6
|
||||
c0-4.5-2.4-8.6-6-10.3l-0.1,0l0.1,0c2.1-1.1,3.5-3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-2.3l-0.1,0l0.1-0.1l0,0c0.1,0,0.2,0,0.3,0c1.7,0,3.2-1,3.8-2.4C19.6,8,19.2,6.3,18,5.2
|
||||
c-0.2-0.2-0.4-0.4-0.7-0.5l0,0l0,0c-0.2-0.7-0.5-1.4-0.9-2.1l-0.1-0.1l0.1,0C19.2,3.1,21,5.4,21,8c0,2-1.1,3.9-2.9,4.9
|
||||
C21.4,14.6,23.5,18.3,23.5,22.5L23.5,22.5z M21.9,22.4h1.6c0-4.1-2.2-7.8-5.5-9.4l-0.1,0l0.1,0c1.8-1,3-2.8,3-4.8
|
||||
c0-2.6-1.8-4.8-4.4-5.4c0.4,0.6,0.7,1.3,0.9,2c0.2,0.2,0.5,0.3,0.7,0.5C19.3,6.3,19.7,8,19,9.6c-0.7,1.5-2.2,2.5-3.9,2.5
|
||||
c0,0-0.1,0-0.1,0c0.9,0.6,1.7,1.4,2.4,2.3c0.8,0.4,1.6,1,2.2,1.7c0.7,0.8,1.3,1.8,1.7,2.8C21.7,20,21.9,21.2,21.9,22.4z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="银行卡">
|
||||
<polygon class="st2" points="9.8,18.2 13.8,18.2 13.8,17.1 9.8,17.1 "/>
|
||||
<path class="st2" d="M13.8,18.5h-4c-0.2,0-0.3-0.1-0.3-0.3v-1.1c0-0.2,0.1-0.3,0.3-0.3h4c0.2,0,0.3,0.1,0.3,0.3v1.1
|
||||
C14.1,18.4,13.9,18.5,13.8,18.5z M10.1,17.9h3.4v-0.5h-3.4V17.9z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 25 24" style="enable-background:new 0 0 25 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:none;}
|
||||
.st1{fill:#333333;}
|
||||
.st2{fill:#FF4400;}
|
||||
</style>
|
||||
<title>银行卡</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="我的" transform="translate(-132.000000, -337.000000)">
|
||||
<g id="编组-18" transform="translate(119.330000, 337.000000)">
|
||||
<g id="银行卡" transform="translate(13.000000, 0.000000)">
|
||||
<g id="矩形">
|
||||
<rect x="0" class="st0" width="24" height="24"/>
|
||||
</g>
|
||||
<g>
|
||||
<path class="st1" d="M20.2,1H3.7C2.2,1,1,2.4,1,4.2v15.5C1,21.6,2.2,23,3.7,23h16.5c1.5,0,2.8-1.4,2.8-3.2V4.2
|
||||
C23,2.4,21.8,1,20.2,1z M21.9,19.8c0,1.1-0.7,1.9-1.6,1.9H3.7c-0.9,0-1.7-0.9-1.7-1.9V4.2c0-1.1,0.7-1.9,1.7-1.9h16.5
|
||||
c0.9,0,1.6,0.9,1.6,1.9V19.8z M1.3,9.1h21.1V7.8H1.3V9.1z"/>
|
||||
<path class="st1" d="M20.3,23.2H3.8c-1.7,0-3-1.6-3-3.5V4.2c0-1.9,1.3-3.5,3-3.5h16.5c1.7,0,3,1.6,3,3.5v15.5
|
||||
C23.3,21.7,21.9,23.2,20.3,23.2z M1.3,9.4v10.4c0,1.6,1.1,3,2.5,3h16.5c1.4,0,2.5-1.3,2.5-3V4.2c0-1.6-1.1-3-2.5-3H3.8
|
||||
c-1.4,0-2.5,1.3-2.5,3v3.3h0.6V4.2C1.9,3,2.7,2,3.8,2h16.5c1,0,1.9,1,1.9,2.2v3.3h0.4v1.8h-0.4v10.4c0,1.2-0.9,2.2-1.9,2.2H3.8
|
||||
c-1,0-1.9-1-1.9-2.2V9.4H1.3z M2.4,9.4v10.4c0,0.9,0.6,1.7,1.4,1.7h16.5c0.8,0,1.4-0.8,1.4-1.7V9.4H2.4z M2.4,8.9h19.3V8.1H2.4
|
||||
V8.9z M1.5,8.9h0.3V8.1H1.5V8.9z M2.4,7.6h19.3V4.2c0-0.9-0.6-1.7-1.4-1.7H3.8C3,2.5,2.4,3.3,2.4,4.2V7.6z"/>
|
||||
</g>
|
||||
<g>
|
||||
<polygon class="st2" points="13.3,16 19.4,16 19.4,14.9 13.3,14.9 "/>
|
||||
<path class="st2" d="M19.3,16.3h-6c-0.2,0-0.3-0.1-0.3-0.3v-1.1c0-0.2,0.1-0.3,0.3-0.3h6c0.2,0,0.3,0.1,0.3,0.3V16
|
||||
C19.6,16.1,19.5,16.3,19.3,16.3z M13.6,15.7H19v-0.5h-5.5V15.7z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 25 24" style="enable-background:new 0 0 25 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:none;}
|
||||
.st1{fill:#333333;}
|
||||
.st2{fill:#FF4400;}
|
||||
</style>
|
||||
<title>已完成</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="工具" transform="translate(-305.000000, -266.000000)">
|
||||
<g id="编组-4" transform="translate(10.000000, 210.000000)">
|
||||
<g id="地址本" transform="translate(286.000000, 56.000000)">
|
||||
<g id="已完成" transform="translate(9.000000, 0.000000)">
|
||||
<g id="矩形">
|
||||
<rect class="st0" width="24" height="24"/>
|
||||
</g>
|
||||
<g id="已完成-_x28_3_x29_" transform="translate(1.750000, 2.000000)">
|
||||
<g id="形状">
|
||||
<path class="st1" d="M11.8,6.5H5.7C5.5,6.5,5.2,6.3,5.2,6v0c0-0.3,0.2-0.5,0.5-0.5h6.1c0.3,0,0.5,0.2,0.5,0.5v0
|
||||
C12.2,6.3,12,6.5,11.8,6.5z M11.8,10.5H5.7c-0.3,0-0.5-0.2-0.5-0.5v0c0-0.3,0.2-0.5,0.5-0.5h6.1c0.3,0,0.5,0.2,0.5,0.5v0
|
||||
C12.2,10.3,12,10.5,11.8,10.5z"/>
|
||||
<path class="st1" d="M11.8,10.9H5.7c-0.5,0-0.8-0.4-0.8-0.8c0-0.5,0.4-0.9,0.8-0.9h6.1c0.5,0,0.8,0.4,0.8,0.8
|
||||
C12.6,10.5,12.2,10.9,11.8,10.9z M5.7,9.9c-0.1,0-0.1,0.1-0.1,0.1c0,0.1,0.1,0.2,0.1,0.2h6.1c0.1,0,0.1-0.1,0.1-0.1
|
||||
c0-0.1-0.1-0.2-0.1-0.2H5.7z M11.8,6.9H5.7C5.3,6.9,4.9,6.5,4.9,6c0-0.5,0.4-0.9,0.8-0.9h6.1c0.5,0,0.8,0.4,0.8,0.8
|
||||
C12.6,6.5,12.2,6.9,11.8,6.9z M5.7,5.9C5.7,5.9,5.6,5.9,5.6,6c0,0.1,0.1,0.2,0.1,0.2h6.1c0.1,0,0.1-0.1,0.1-0.1
|
||||
c0-0.1-0.1-0.2-0.1-0.2H5.7z"/>
|
||||
</g>
|
||||
<g id="路径">
|
||||
<path class="st1" d="M9.8,15H5.7c-0.2,0-0.4-0.2-0.4-0.5v0c0-0.3,0.2-0.5,0.4-0.5c0.6,0,1,0,1.2,0c0.4,0,1.4,0,2.9,0
|
||||
c0.2,0,0.4,0.2,0.4,0.5v0C10.2,14.8,10.1,15,9.8,15z"/>
|
||||
<path class="st1" d="M9.8,15.3H5.7c-0.4,0-0.8-0.4-0.8-0.8c0-0.5,0.3-0.9,0.8-0.9h4.1c0.4,0,0.8,0.4,0.8,0.8
|
||||
C10.6,15,10.3,15.3,9.8,15.3z M5.7,14.3c0,0-0.1,0.1-0.1,0.1c0,0.1,0.1,0.2,0.1,0.2h4.1c0,0,0.1-0.1,0.1-0.1
|
||||
c0-0.1-0.1-0.2-0.1-0.2H5.7z"/>
|
||||
</g>
|
||||
<g id="形状_1_">
|
||||
<path class="st1" d="M8.5,21H3c-1.6,0-3-1.3-3-3V3c0-1.6,1.3-3,3-3h11.8c1.6,0,3,1.3,3,3v9.3c0,0.3-0.3,0.6-0.6,0.6
|
||||
s-0.6-0.3-0.6-0.6V3c0-0.9-0.8-1.7-1.7-1.7H3C2,1.2,1.2,2,1.2,3V18C1.2,19,2,19.8,3,19.8h5.6c0.3,0,0.6,0.3,0.6,0.6
|
||||
S8.9,21,8.5,21z"/>
|
||||
<path class="st1" d="M8.5,21.2H3c-1.8,0-3.2-1.4-3.2-3.2V3c0-1.8,1.4-3.2,3.2-3.2h11.8C16.6-0.2,18,1.2,18,3v9.3
|
||||
c0,0.5-0.4,0.9-0.9,0.9s-0.9-0.4-0.9-0.9V3c0-0.8-0.7-1.5-1.5-1.5H3C2.2,1.5,1.5,2.2,1.5,3V18c0,0.8,0.7,1.5,1.5,1.5h5.6
|
||||
c0.5,0,0.9,0.4,0.9,0.9S9,21.2,8.5,21.2z M3,0.2C1.5,0.2,0.2,1.5,0.2,3V18c0,1.5,1.2,2.7,2.7,2.7h5.6c0.2,0,0.4-0.2,0.4-0.4
|
||||
S8.7,20,8.5,20H3c-1.1,0-2-0.9-2-2V3c0-1.1,0.9-2,2-2h11.8c1.1,0,2,0.9,2,2v9.3c0,0.2,0.2,0.4,0.4,0.4s0.4-0.2,0.4-0.4V3
|
||||
c0-1.5-1.2-2.7-2.7-2.7H3z"/>
|
||||
</g>
|
||||
<g id="路径-2">
|
||||
<path class="st2" d="M21.9,14.3L21.9,14.3c0.3,0.3,0.3,0.7,0.1,1l-4.7,5c-0.1,0.1-0.2,0.2-0.3,0.2c-0.2,0.1-0.5,0-0.6-0.1
|
||||
l-1.9-1.7c-0.3-0.2-0.3-0.7-0.1-0.9l0,0c0.2-0.3,0.7-0.3,0.9-0.1l1.4,1.3l4.3-4.5C21.2,14.1,21.6,14.1,21.9,14.3z"/>
|
||||
<path class="st2" d="M16.7,20.8c-0.2,0-0.5-0.1-0.7-0.2l-1.9-1.7c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.2-0.7
|
||||
c0.4-0.4,1-0.5,1.4-0.1l1.2,1.1l4.1-4.3c0.4-0.4,1-0.4,1.4,0l0,0c0.4,0.4,0.4,1,0,1.4l-4.8,5c-0.1,0.1-0.3,0.2-0.4,0.3
|
||||
C16.9,20.8,16.8,20.8,16.7,20.8z M14.8,17.8c-0.1,0-0.2,0-0.3,0.1c-0.1,0.1-0.1,0.2-0.1,0.3c0,0.1,0,0.2,0.1,0.3l1.9,1.7
|
||||
c0.1,0.1,0.2,0.1,0.4,0.1c0.1,0,0.1-0.1,0.2-0.1l4.8-5c0.1-0.1,0.1-0.4,0-0.5l0.2-0.2l-0.2,0.2c-0.1-0.1-0.4-0.1-0.5,0
|
||||
l-4.5,4.7l-1.6-1.4C15,17.8,14.9,17.8,14.8,17.8z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#333333;}
|
||||
.st1{fill:#FF4400;}
|
||||
.st2{fill:none;}
|
||||
</style>
|
||||
<title>证件</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="我的" transform="translate(-46.000000, -337.000000)">
|
||||
<g id="证件_1_" transform="translate(30.000000, 337.000000)">
|
||||
<g id="编组-5" transform="translate(14.000000, 0.000000)">
|
||||
<g id="证件" transform="translate(2.000000, 0.000000)">
|
||||
<g id="形状" transform="translate(1.000000, 1.000000)">
|
||||
<g>
|
||||
<path class="st0" d="M19.2,0H2.8C1.2,0,0,1.4,0,3.2v15.5C0,20.6,1.2,22,2.8,22h16.5c1.5,0,2.8-1.4,2.8-3.2V3.2
|
||||
C22,1.4,20.8,0,19.2,0z M20.9,18.8c0,1.1-0.7,1.9-1.6,1.9H2.8c-0.9,0-1.6-0.9-1.6-1.9V3.2c0-1.1,0.7-1.9,1.6-1.9h16.5
|
||||
c0.9,0,1.6,0.9,1.6,1.9V18.8z M3.5,16.2h5.1v-1.3H3.4L3.5,16.2z M3.4,11.6h5.2v-1.3H3.4V11.6z M3.4,7.1h5.2V5.8H3.4V7.1z"/>
|
||||
<path class="st0" d="M19.2,22.2H2.8c-1.7,0-3-1.6-3-3.5V3.2c0-1.9,1.3-3.5,3-3.5h16.5c1.7,0,3,1.6,3,3.5v15.5
|
||||
C22.2,20.7,20.9,22.2,19.2,22.2z M2.8,0.2c-1.4,0-2.5,1.3-2.5,3v15.5c0,1.6,1.1,3,2.5,3h16.5c1.4,0,2.5-1.3,2.5-3V3.2
|
||||
c0-1.6-1.1-3-2.5-3H2.8z M19.2,21H2.8c-1,0-1.9-1-1.9-2.2V3.2C0.9,2,1.7,1,2.8,1h16.5c1,0,1.9,1,1.9,2.2v15.5
|
||||
C21.2,20,20.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0.4,0.4,0.4S19,17.2,19,17c0-1.6-0.9-3-2.3-3.7l-0.3-0.1l0.2-0.2c0.7-0.6,1-1.4,1-2.3c0-1.6-1.3-3-2.9-3
|
||||
c-1.6,0-2.9,1.3-2.9,3c0,0.9,0.4,1.7,1,2.3l0.2,0.2L13,13.2c-1.4,0.7-2.3,2.2-2.3,3.7c0,0.2,0.2,0.4,0.4,0.4s0.4-0.2,0.4-0.4
|
||||
C11.5,15.1,13,13.6,14.8,13.6z M14.8,12.8c-1.1,0-2.1-0.9-2.1-2.1c0-1.2,0.9-2.1,2.1-2.1s2.1,0.9,2.1,2.1
|
||||
C16.9,11.8,16,12.8,14.8,12.8z M14.8,9c-0.9,0-1.7,0.8-1.7,1.7c0,0.9,0.7,1.7,1.7,1.7s1.7-0.8,1.7-1.7
|
||||
C16.5,9.7,15.8,9,14.8,9z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="矩形">
|
||||
<rect class="st2" width="24" height="24"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 25 24" style="enable-background:new 0 0 25 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:none;}
|
||||
.st1{fill:#333333;}
|
||||
.st2{fill:#FF4400;}
|
||||
</style>
|
||||
<title>在职</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="工具" transform="translate(-218.000000, -406.000000)">
|
||||
<g id="编组-4" transform="translate(10.000000, 348.000000)">
|
||||
<g id="地址本" transform="translate(199.666667, 58.000000)">
|
||||
<g id="在职" transform="translate(9.000000, 0.000000)">
|
||||
<g id="我的老乡">
|
||||
<g id="矩形">
|
||||
<rect x="0" class="st0" width="24" height="24"/>
|
||||
</g>
|
||||
<g id="编组-24" transform="translate(0.633333, 2.000000)">
|
||||
<g id="编组-2">
|
||||
<g id="形状">
|
||||
<path class="st1" d="M0,20h1.5c0-1.2,0.2-2.3,0.6-3.4c0.4-1,0.9-2,1.6-2.7c1.3-1.6,3.1-2.4,4.9-2.4s3.6,0.9,4.9,2.4
|
||||
c0.7,0.8,1.2,1.7,1.6,2.7c0.4,1.1,0.6,2.2,0.6,3.4h1.5c0-4.2-2.2-7.8-5.4-9.3c1.9-1,3.1-2.9,3.1-5C15,2.6,12.3,0,9,0
|
||||
S3,2.6,3,5.7c0,2,1.1,3.8,2.8,4.8C2.4,11.9,0,15.6,0,20z M4.5,5.7c0-2,1.5-3.8,3.6-4.2s4.2,0.7,5,2.6s0.1,4.1-1.7,5.2
|
||||
s-4.2,0.9-5.7-0.5C5,7.9,4.5,6.9,4.5,5.7z"/>
|
||||
<path class="st1" d="M17.4,20.2h-1.8V20c0-1.2-0.2-2.3-0.6-3.4c-0.4-1-0.9-1.9-1.6-2.7c-1.3-1.5-3-2.4-4.8-2.4
|
||||
s-3.5,0.8-4.8,2.4c-0.7,0.8-1.2,1.7-1.6,2.7c-0.4,1.1-0.6,2.2-0.6,3.4v0.2h-1.8V20c0-4.2,2.2-8,5.6-9.5
|
||||
C3.8,9.4,2.8,7.6,2.8,5.7c0-3.2,2.8-5.9,6.1-5.9c3.4,0,6.1,2.6,6.1,5.9c0,2.1-1.1,4-2.9,5c3.2,1.6,5.2,5.2,5.2,9.3V20.2z
|
||||
M15.9,19.8h1.2c0-4-2.1-7.5-5.3-9l-0.3-0.1l0.3-0.1c1.9-1,3-2.8,3-4.9c0-3.1-2.6-5.6-5.8-5.6S3.1,2.6,3.1,5.7
|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2.7-0.8,3.3-2.1c0.5-1.3,0.2-2.7-0.8-3.7
|
||||
C17.7,2.6,17.2,2.2,17,2L17,2l0-0.1c-0.2-0.6-0.3-1-0.5-1.6l-0.1-0.3l0.3,0.1c2.4,0.5,4.1,2.6,4.1,5c0,1.8-0.9,3.4-2.5,4.4
|
||||
c2.8,1.6,4.7,4.9,4.7,8.5V18.2z M21.5,17.9h1.2c-0.1-3.6-1.9-6.8-4.8-8.2l-0.3-0.1l0.2-0.1c1.6-0.9,2.5-2.5,2.5-4.2
|
||||
c0-2.2-1.5-4-3.6-4.7C17,1,17.1,1.3,17.2,1.8C17.5,2,18,2.4,18.1,2.6c1.1,1.1,1.4,2.7,0.8,4.1c-0.6,1.3-1.9,2.2-3.3,2.3
|
||||
c0.7,0.5,1.3,1.1,1.8,1.8c0.7,0.4,1.4,0.9,1.9,1.6c0.6,0.7,1.1,1.6,1.5,2.6C21.3,15.8,21.4,16.9,21.5,17.9z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="矩形_1_">
|
||||
<path class="st2" d="M8.9,16.3h2.9c0.3,0,0.6,0.2,0.6,0.5v0c0,0.3-0.2,0.5-0.6,0.5H8.9c-0.3,0-0.6-0.2-0.6-0.5v0
|
||||
C8.4,16.5,8.6,16.3,8.9,16.3z"/>
|
||||
<path class="st2" d="M11.8,17.7H8.9c-0.5,0-0.9-0.4-0.9-0.9s0.4-0.9,0.9-0.9h2.9c0.5,0,0.9,0.4,0.9,0.9S12.3,17.7,11.8,17.7
|
||||
z M8.9,16.6c-0.1,0-0.2,0.1-0.2,0.2S8.8,17,8.9,17h2.9c0.1,0,0.2-0.1,0.2-0.2s-0.1-0.2-0.2-0.2H8.9z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g id="人员组管理" transform="translate(0.000000, 1.500000)">
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.1 KiB |
@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 26 24" style="enable-background:new 0 0 26 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#333333;}
|
||||
.st1{fill:#FF4400;}
|
||||
</style>
|
||||
<title>在职中</title>
|
||||
<g id="一手单小程序">
|
||||
<g id="工具" transform="translate(-219.000000, -266.000000)">
|
||||
<g id="编组-4" transform="translate(10.000000, 210.000000)">
|
||||
<g id="地址本" transform="translate(199.666667, 56.000000)">
|
||||
<g id="在职中" transform="translate(10.000000, 0.000000)">
|
||||
<g id="形状">
|
||||
<path class="st0" d="M9.1,0c-1.5,0-3,0.6-4,1.7C4,2.9,3.5,4.4,3.5,5.9c0,1.6,0.6,3.1,1.7,4.2c1,1.1,2.5,1.7,4,1.7
|
||||
c1.5,0,3-0.6,4-1.7c1.1-1.1,1.7-2.6,1.7-4.2c0-1.6-0.6-3.1-1.7-4.2C12.1,0.6,10.6,0,9.1,0L9.1,0z M5.4,5.9
|
||||
c0-0.5,0.1-1,0.3-1.5s0.5-0.9,0.8-1.2c0.3-0.4,0.7-0.6,1.2-0.8C8.6,2,9.6,2,10.5,2.4c0.4,0.2,0.9,0.5,1.2,0.8
|
||||
c0.3,0.4,0.6,0.8,0.8,1.2c0.2,0.5,0.3,1,0.3,1.5c0,1-0.4,2-1.1,2.7C11,9.4,10.1,9.8,9.1,9.8c-1,0-1.9-0.4-2.6-1.1
|
||||
C5.8,7.9,5.4,6.9,5.4,5.9L5.4,5.9z M9.5,16.5c0.3,0,0.5-0.2,0.7-0.4c0.3-0.5,0.2-1.1-0.2-1.5c-0.2-0.2-0.5-0.2-0.7-0.2
|
||||
c-1.1,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2.2-2.2C15.7,17.8,15.6,17.8,15.6,17.8z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
@ -0,0 +1,402 @@
|
||||
var formatDateYYYYMMDDHHMM = function (time) {
|
||||
var date = getDate(time);
|
||||
var m = date.getMonth() + 1;
|
||||
if(m < 10) {
|
||||
m = "0" + m;
|
||||
}
|
||||
var d = date.getDate();
|
||||
if(d < 10) {
|
||||
d = "0" + d;
|
||||
}
|
||||
var h = date.getHours();
|
||||
if(h < 10) {
|
||||
h = "0" + h;
|
||||
}
|
||||
var mm = date.getMinutes();
|
||||
if(mm < 10) {
|
||||
mm = "0" + mm;
|
||||
}
|
||||
return date.getFullYear() + '-' + m + '-' + d + ' ' + h + ':' + mm;
|
||||
}
|
||||
var formatDateYYYYMMDD = function (time) {
|
||||
var date = getDate(time);
|
||||
var m = date.getMonth() + 1;
|
||||
if(m < 10) {
|
||||
m = "0" + m;
|
||||
}
|
||||
var d = date.getDate();
|
||||
if(d < 10) {
|
||||
d = "0" + d;
|
||||
}
|
||||
return date.getFullYear() + '-' + m + '-' + d;
|
||||
}
|
||||
var formatDateYYYYMMDD2 = function (time) {
|
||||
var date = getDate(time);
|
||||
var m = date.getMonth() + 1;
|
||||
if(m < 10) {
|
||||
m = "0" + m;
|
||||
}
|
||||
var d = date.getDate();
|
||||
if(d < 10) {
|
||||
d = "0" + d;
|
||||
}
|
||||
return date.getFullYear() + '/' + m + '/' + d;
|
||||
}
|
||||
var formatDateMMSS = function (time) {
|
||||
return (getDate(time).getHours() > 9 ? getDate(time).getHours() : '0' + getDate(time).getHours()) + ':' + (getDate(time).getMinutes() > 9 ? getDate(time).getMinutes() : '0' + getDate(time).getMinutes());
|
||||
}
|
||||
|
||||
var showClockResult = function (confirmStatus, confirmReason) {
|
||||
temp = "";
|
||||
if (confirmStatus == 0) {
|
||||
temp = "未出勤";
|
||||
} else if (confirmStatus == 1) {
|
||||
temp = "出勤半天";
|
||||
} else if (confirmStatus == 2) {
|
||||
temp = "出勤一天";
|
||||
}
|
||||
if (confirmReason == 0) {
|
||||
temp = temp + " 休息";
|
||||
} else if (confirmReason == 1) {
|
||||
temp = temp + " 请假";
|
||||
}
|
||||
return temp;
|
||||
}
|
||||
|
||||
var showClockResult2 = function (reason) {
|
||||
temp = "未出勤 ";
|
||||
if (reason == 0) {
|
||||
temp += "休息";
|
||||
} else if (reason == 1) {
|
||||
temp += "请假";
|
||||
}
|
||||
return temp;
|
||||
}
|
||||
|
||||
|
||||
var showWorkState = function(followNewState, appraiserState) {
|
||||
var res = "";
|
||||
if (appraiserState === 0) {
|
||||
res = "未鉴定";
|
||||
} else if (appraiserState == 1) {
|
||||
res = "待鉴定";
|
||||
} else if (appraiserState == 2) {
|
||||
res = "已鉴定";
|
||||
}
|
||||
|
||||
var temp = "";
|
||||
switch(followNewState) {
|
||||
case 10 :
|
||||
temp = "已预约";
|
||||
break;
|
||||
case 20 :
|
||||
temp = "待面试";
|
||||
break ;
|
||||
case 30 :
|
||||
temp = "待入职";
|
||||
break ;
|
||||
case 40 :
|
||||
temp = "在职中";
|
||||
break ;
|
||||
case 50 :
|
||||
temp = "已离职";
|
||||
break ;
|
||||
case 60 :
|
||||
temp = "关闭期望";
|
||||
break ;
|
||||
default :
|
||||
temp = res;
|
||||
}
|
||||
return temp;
|
||||
}
|
||||
|
||||
showSourceName = function (intervieweeSource) {
|
||||
var result = '';
|
||||
switch (intervieweeSource) {
|
||||
case 0 :
|
||||
result = '58';
|
||||
break;
|
||||
case 5 :
|
||||
result = '赶集';
|
||||
break;
|
||||
case 6 :
|
||||
result = '打勾网预约';
|
||||
break;
|
||||
case 1 :
|
||||
result = '推广军推荐';
|
||||
break;
|
||||
case 2 :
|
||||
result = '御林军推荐';
|
||||
break;
|
||||
case 3 :
|
||||
result = '会员推荐';
|
||||
break;
|
||||
case 4 :
|
||||
result = '其它';
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
initHopePositionType = function(type) {
|
||||
var res = '';
|
||||
if(isNotEmptyCheck(type)) {
|
||||
switch (type) {
|
||||
case 1 :
|
||||
res = '全职';
|
||||
break;
|
||||
case 2 :
|
||||
res = '兼职';
|
||||
break;
|
||||
case 3 :
|
||||
res = '小时工';
|
||||
break;
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
/**
|
||||
* 如果是null '' 'null' 'undefined'
|
||||
* @param item
|
||||
* @returns
|
||||
*/
|
||||
function isEmptyCheck(value) {
|
||||
if(value == null || value === '' || value == 'null' || typeof(value)=="undefined") {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/**
|
||||
* 如果不是是null '' 'null' 'undefined'
|
||||
* @param item
|
||||
* @returns
|
||||
*/
|
||||
function isNotEmptyCheck(value) {
|
||||
return !isEmptyCheck(value);
|
||||
}
|
||||
|
||||
function showNotNullStr(value) {
|
||||
return value == null ? '' : value;
|
||||
}
|
||||
|
||||
function showNotNullNum(value) {
|
||||
return value == null || value == '' ? 0 : value;
|
||||
}
|
||||
|
||||
function showStoreAddress(township, distance) {
|
||||
|
||||
result = '';
|
||||
if (!isEmptyCheck(township) && !isEmptyCheck(distance)) {
|
||||
if (distance >= 1000) {
|
||||
distance = distance / 1000;
|
||||
return township + '·' + parseInt(distance) + '千米';
|
||||
} else {
|
||||
return township + '·' + distance + '米';
|
||||
}
|
||||
} else if (!isEmptyCheck(township) && isEmptyCheck(distance)) {
|
||||
result = township;
|
||||
} else if (isEmptyCheck(township) && !isEmptyCheck(distance)) {
|
||||
if (distance >= 1000) {
|
||||
distance = distance / 1000;
|
||||
result = parseInt(distance) + '千米';
|
||||
} else {
|
||||
result = distance + '米';
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
function initDormType(_type) {
|
||||
var temp = "";
|
||||
switch (_type) {
|
||||
case 0:
|
||||
temp = "有宿舍";
|
||||
break;
|
||||
case 1:
|
||||
temp = "男有宿舍";
|
||||
break;
|
||||
case 2:
|
||||
temp = "女有宿舍";
|
||||
break;
|
||||
case 3:
|
||||
temp = "无宿舍";
|
||||
break;
|
||||
}
|
||||
return temp;
|
||||
}
|
||||
|
||||
function timeago(timestamp) {
|
||||
var mistiming = Math.round((getDate().getTime() - timestamp) / 1000);
|
||||
|
||||
var arrr = ['年', '个月', '天', '小时', '分钟', '秒'];
|
||||
var arrn = [31536000, 2592000, 86400, 3600, 60, 1];
|
||||
var str = "";
|
||||
for (var i = 0; i < 6; ++i) {
|
||||
var inm = Math.floor(mistiming / arrn[i]);
|
||||
if(inm > 0) {
|
||||
str = inm + arrr[i] + '前';
|
||||
break;
|
||||
} else if (inm < 0) {
|
||||
str = '1秒前';
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(str == "") {
|
||||
str = '1秒前';
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
||||
|
||||
function timeafter(timestamp) {
|
||||
var mistiming = Math.round((timestamp - getDate().getTime()) / 1000);
|
||||
|
||||
var arrr = ['年', '个月', '天', '小时', '分钟', '秒'];
|
||||
var arrn = [31536000, 2592000, 86400, 3600, 60, 1];
|
||||
var str = "";
|
||||
for (var i = 0; i < 6; ++i) {
|
||||
var inm = Math.floor(mistiming / arrn[i]);
|
||||
if(inm > 0) {
|
||||
str = inm + arrr[i] + '后';
|
||||
break;
|
||||
} else if (inm < 0) {
|
||||
str = '1秒后';
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(str == "") {
|
||||
str = '1秒后';
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
||||
function timeago4str(date) {
|
||||
var reg = getRegExp("-", "g");
|
||||
return timeago(getDate(date.replace(reg, "/")).getTime());
|
||||
}
|
||||
|
||||
function showNum (_money, num) {
|
||||
if (_money == null || _money == '' || typeof _money == 'undefined') {
|
||||
return 0;
|
||||
} else {
|
||||
if (parseInt(_money) - _money != 0) {
|
||||
if (num == 1) {
|
||||
return parseInt(_money * 10) / 10.0;
|
||||
} else if (num == 2) {
|
||||
return parseInt(_money * 100) / 100.0;
|
||||
} else {
|
||||
return parseInt(_money);
|
||||
}
|
||||
|
||||
} else {
|
||||
return parseInt(_money);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取几天前、几小时前等格式(剩余|超时)
|
||||
*/
|
||||
function timeagoLater(timestamp) {
|
||||
|
||||
if(timestamp == '' || timestamp == null || timestamp == undefined) {
|
||||
return '';
|
||||
}
|
||||
var str = "";
|
||||
var arrr = ['年', '个月', '天', '小时', '分钟', '秒'];
|
||||
var arrn = [31536000, 2592000, 86400, 3600, 60, 1];
|
||||
if(getDate().getTime() - timestamp > 0) {
|
||||
var mistiming = Math.round((getDate().getTime() - timestamp) / 1000);
|
||||
|
||||
for (var i = 0; i < 6; ++i) {
|
||||
var inm = Math.floor(mistiming / arrn[i]);
|
||||
if(inm > 0) {
|
||||
// str = '超时' + (inm + arrr[i]);
|
||||
// str = '已处理' + (inm + arrr[i]);
|
||||
str = (inm + arrr[i]) + '前';
|
||||
break;
|
||||
} else if (inm < 0) {
|
||||
str = '剩余' + (-inm + arrr[5 - i]);
|
||||
//str = '1秒前';
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(str == "") {
|
||||
// str = '超时1秒';
|
||||
// str = '已处理1秒';
|
||||
str = '1秒前';
|
||||
}
|
||||
} else {
|
||||
var mistiming = Math.round((timestamp - getDate().getTime()) / 1000);
|
||||
|
||||
for (var i = 0; i < 6; ++i) {
|
||||
var inm = Math.floor(mistiming / arrn[i]);
|
||||
if(inm > 0) {
|
||||
str = '剩余' + (inm + arrr[i]);
|
||||
break;
|
||||
} else if (inm < 0) {
|
||||
// str = '超时1秒';
|
||||
// str = '已处理1秒';
|
||||
str = '1秒前';
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(str == "") {
|
||||
// str = '超时1秒';
|
||||
// str = '已处理1秒';
|
||||
str = '1秒前';
|
||||
}
|
||||
}
|
||||
|
||||
return str;
|
||||
}
|
||||
/**
|
||||
* 格式化距离
|
||||
*/
|
||||
function getDistanceNum(distance) {
|
||||
if(distance == null || distance === '' || distance == 'null' || typeof(distance)=="undefined") {
|
||||
return '';
|
||||
}
|
||||
if(distance < 1000) {
|
||||
return distance + 'm';
|
||||
} else if(distance == 99999999) {
|
||||
return '';
|
||||
} else {
|
||||
var num = distance / 1000;
|
||||
return num.toFixed(2) + 'km'
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* endwith
|
||||
*/
|
||||
function spliceStr(str) {
|
||||
return str.split('_')[1]
|
||||
}
|
||||
module.exports.spliceStr = spliceStr;
|
||||
module.exports.timeagoLater = timeagoLater;
|
||||
module.exports.timeago = timeago;
|
||||
module.exports.timeago4str = timeago4str;
|
||||
module.exports.formatDateYYYYMMDDHHMM = formatDateYYYYMMDDHHMM;
|
||||
module.exports.formatDateYYYYMMDD = formatDateYYYYMMDD;
|
||||
module.exports.formatDateYYYYMMDD2 = formatDateYYYYMMDD2;
|
||||
module.exports.formatDateMMSS = formatDateMMSS;
|
||||
module.exports.showClockResult = showClockResult;
|
||||
module.exports.showClockResult2 = showClockResult2;
|
||||
module.exports.showWorkState = showWorkState;
|
||||
module.exports.showSourceName = showSourceName;
|
||||
module.exports.initHopePositionType = initHopePositionType;
|
||||
module.exports.isEmptyCheck = isEmptyCheck;
|
||||
module.exports.isNotEmptyCheck = isNotEmptyCheck;
|
||||
module.exports.showStoreAddress = showStoreAddress;
|
||||
module.exports.showNotNullStr = showNotNullStr;
|
||||
module.exports.showNotNullNum = showNotNullNum;
|
||||
module.exports.initDormType = initDormType;
|
||||
module.exports.showNum = showNum;
|
||||
module.exports.getDistanceNum = getDistanceNum;
|
||||
@ -0,0 +1,148 @@
|
||||
module.exports =
|
||||
/******/ (function(modules) { // webpackBootstrap
|
||||
/******/ // The module cache
|
||||
/******/ var installedModules = {};
|
||||
/******/
|
||||
/******/ // The require function
|
||||
/******/ function __webpack_require__(moduleId) {
|
||||
/******/
|
||||
/******/ // Check if module is in cache
|
||||
/******/ if(installedModules[moduleId]) {
|
||||
/******/ return installedModules[moduleId].exports;
|
||||
/******/ }
|
||||
/******/ // Create a new module (and put it into the cache)
|
||||
/******/ var module = installedModules[moduleId] = {
|
||||
/******/ i: moduleId,
|
||||
/******/ l: false,
|
||||
/******/ exports: {}
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/
|
||||
/******/ // Flag the module as loaded
|
||||
/******/ module.l = true;
|
||||
/******/
|
||||
/******/ // Return the exports of the module
|
||||
/******/ return module.exports;
|
||||
/******/ }
|
||||
/******/
|
||||
/******/
|
||||
/******/ // expose the modules object (__webpack_modules__)
|
||||
/******/ __webpack_require__.m = modules;
|
||||
/******/
|
||||
/******/ // expose the module cache
|
||||
/******/ __webpack_require__.c = installedModules;
|
||||
/******/
|
||||
/******/ // define getter function for harmony exports
|
||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
||||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // define __esModule on exports
|
||||
/******/ __webpack_require__.r = function(exports) {
|
||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||
/******/ }
|
||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // create a fake namespace object
|
||||
/******/ // mode & 1: value is a module id, require it
|
||||
/******/ // mode & 2: merge all properties of value into the ns
|
||||
/******/ // mode & 4: return value when already ns object
|
||||
/******/ // mode & 8|1: behave like require
|
||||
/******/ __webpack_require__.t = function(value, mode) {
|
||||
/******/ if(mode & 1) value = __webpack_require__(value);
|
||||
/******/ if(mode & 8) return value;
|
||||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
||||
/******/ var ns = Object.create(null);
|
||||
/******/ __webpack_require__.r(ns);
|
||||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
||||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
||||
/******/ return ns;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||
/******/ __webpack_require__.n = function(module) {
|
||||
/******/ var getter = module && module.__esModule ?
|
||||
/******/ function getDefault() { return module['default']; } :
|
||||
/******/ function getModuleExports() { return module; };
|
||||
/******/ __webpack_require__.d(getter, 'a', getter);
|
||||
/******/ return getter;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Object.prototype.hasOwnProperty.call
|
||||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
||||
/******/
|
||||
/******/ // __webpack_public_path__
|
||||
/******/ __webpack_require__.p = "";
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 5);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 5:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
Component({
|
||||
options: {
|
||||
addGlobalClass: true,
|
||||
pureDataPattern: /^_/,
|
||||
multipleSlots: true
|
||||
},
|
||||
properties: {
|
||||
tabs: { type: Array, value: [] },
|
||||
tabClass: { type: String, value: '' },
|
||||
swiperClass: { type: String, value: '' },
|
||||
activeClass: { type: String, value: '' },
|
||||
tabUnderlineColor: { type: String, value: '#07c160' },
|
||||
tabActiveTextColor: { type: String, value: '#000000' },
|
||||
tabInactiveTextColor: { type: String, value: '#000000' },
|
||||
tabBackgroundColor: { type: String, value: '#ffffff' },
|
||||
activeTab: { type: Number, value: 0 },
|
||||
swipeable: { type: Boolean, value: true },
|
||||
animation: { type: Boolean, value: true },
|
||||
duration: { type: Number, value: 500 }
|
||||
},
|
||||
data: {
|
||||
currentView: 0
|
||||
},
|
||||
observers: {
|
||||
activeTab: function activeTab(_activeTab) {
|
||||
var len = this.data.tabs.length;
|
||||
if (len === 0) return;
|
||||
var currentView = _activeTab - 1;
|
||||
if (currentView < 0) currentView = 0;
|
||||
if (currentView > len - 1) currentView = len - 1;
|
||||
this.setData({ currentView: currentView });
|
||||
}
|
||||
},
|
||||
lifetimes: {
|
||||
created: function created() {}
|
||||
},
|
||||
methods: {
|
||||
handleTabClick: function handleTabClick(e) {
|
||||
var index = e.currentTarget.dataset.index;
|
||||
this.setData({ activeTab: index });
|
||||
this.triggerEvent('tabclick', { index: index });
|
||||
},
|
||||
handleSwiperChange: function handleSwiperChange(e) {
|
||||
var index = e.detail.current;
|
||||
this.setData({ activeTab: index });
|
||||
this.triggerEvent('change', { index: index });
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
<view class="weui-tabs">
|
||||
<view class="weui-tabs-bar__wrp">
|
||||
<scroll-view scroll-x scroll-into-view="item_{{currentView}}" scroll-with-animation="{{animation}}">
|
||||
<view class="weui-tabs-bar__content">
|
||||
<block wx:for="{{tabs}}" wx:key="title">
|
||||
<view id="item_{{index}}" class="weui-tabs-bar__item" style="background-color: {{tabBackgroundColor}}; color: {{activeTab === index ? tabActiveTextColor : tabInactiveTextColor}};" bindtap="handleTabClick" data-index="{{index}}">
|
||||
<view class="weui-tabs-bar__title {{tabClass}} {{activeTab === index ? activeClass : ''}}" style="border-bottom-color: {{activeTab === index ? tabUnderlineColor : 'transparent'}}">
|
||||
<text class="">{{item.title}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<swiper class="{{swiperClass}}" current="{{activeTab}}" duration="{{duration}}" bindchange="handleSwiperChange">
|
||||
<swiper-item wx:for="{{tabs}}" wx:key="title">
|
||||
<slot name="tab-content-{{index}}"></slot>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
</view>
|
||||
@ -0,0 +1 @@
|
||||
.weui-tabs{width:100%}.weui-tabs-bar__wrp{width:100%;background:#fff}.weui-tabs-bar__content{width:100%;white-space:nowrap}.weui-tabs-bar__item{display:inline-block}.weui-tabs-bar__title{display:inline-block;border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:transparent}
|
||||
@ -0,0 +1,779 @@
|
||||
(function webpackUniversalModuleDefinition(root, factory) {
|
||||
if(typeof exports === 'object' && typeof module === 'object')
|
||||
module.exports = factory();
|
||||
else if(typeof define === 'function' && define.amd)
|
||||
define([], factory);
|
||||
else {
|
||||
var a = factory();
|
||||
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
||||
}
|
||||
})(window, function() {
|
||||
return /******/ (function(modules) { // webpackBootstrap
|
||||
/******/ // The module cache
|
||||
/******/ var installedModules = {};
|
||||
/******/
|
||||
/******/ // The require function
|
||||
/******/ function __webpack_require__(moduleId) {
|
||||
/******/
|
||||
/******/ // Check if module is in cache
|
||||
/******/ if(installedModules[moduleId]) {
|
||||
/******/ return installedModules[moduleId].exports;
|
||||
/******/ }
|
||||
/******/ // Create a new module (and put it into the cache)
|
||||
/******/ var module = installedModules[moduleId] = {
|
||||
/******/ i: moduleId,
|
||||
/******/ l: false,
|
||||
/******/ exports: {}
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/
|
||||
/******/ // Flag the module as loaded
|
||||
/******/ module.l = true;
|
||||
/******/
|
||||
/******/ // Return the exports of the module
|
||||
/******/ return module.exports;
|
||||
/******/ }
|
||||
/******/
|
||||
/******/
|
||||
/******/ // expose the modules object (__webpack_modules__)
|
||||
/******/ __webpack_require__.m = modules;
|
||||
/******/
|
||||
/******/ // expose the module cache
|
||||
/******/ __webpack_require__.c = installedModules;
|
||||
/******/
|
||||
/******/ // define getter function for harmony exports
|
||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
||||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // define __esModule on exports
|
||||
/******/ __webpack_require__.r = function(exports) {
|
||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||
/******/ }
|
||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // create a fake namespace object
|
||||
/******/ // mode & 1: value is a module id, require it
|
||||
/******/ // mode & 2: merge all properties of value into the ns
|
||||
/******/ // mode & 4: return value when already ns object
|
||||
/******/ // mode & 8|1: behave like require
|
||||
/******/ __webpack_require__.t = function(value, mode) {
|
||||
/******/ if(mode & 1) value = __webpack_require__(value);
|
||||
/******/ if(mode & 8) return value;
|
||||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
||||
/******/ var ns = Object.create(null);
|
||||
/******/ __webpack_require__.r(ns);
|
||||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
||||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
||||
/******/ return ns;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||
/******/ __webpack_require__.n = function(module) {
|
||||
/******/ var getter = module && module.__esModule ?
|
||||
/******/ function getDefault() { return module['default']; } :
|
||||
/******/ function getModuleExports() { return module; };
|
||||
/******/ __webpack_require__.d(getter, 'a', getter);
|
||||
/******/ return getter;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Object.prototype.hasOwnProperty.call
|
||||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
||||
/******/
|
||||
/******/ // __webpack_public_path__
|
||||
/******/ __webpack_require__.p = "";
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 1);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ([
|
||||
/* 0 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
const hex = (color) => {
|
||||
let result = null
|
||||
|
||||
if (/^#/.test(color) && (color.length === 7 || color.length === 9)) {
|
||||
return color
|
||||
// eslint-disable-next-line no-cond-assign
|
||||
} else if ((result = /^(rgb|rgba)\((.+)\)/.exec(color)) !== null) {
|
||||
return '#' + result[2].split(',').map((part, index) => {
|
||||
part = part.trim()
|
||||
part = index === 3 ? Math.floor(parseFloat(part) * 255) : parseInt(part, 10)
|
||||
part = part.toString(16)
|
||||
if (part.length === 1) {
|
||||
part = '0' + part
|
||||
}
|
||||
return part
|
||||
}).join('')
|
||||
} else {
|
||||
return '#00000000'
|
||||
}
|
||||
}
|
||||
|
||||
const splitLineToCamelCase = (str) => str.split('-').map((part, index) => {
|
||||
if (index === 0) {
|
||||
return part
|
||||
}
|
||||
return part[0].toUpperCase() + part.slice(1)
|
||||
}).join('')
|
||||
|
||||
const compareVersion = (v1, v2) => {
|
||||
v1 = v1.split('.')
|
||||
v2 = v2.split('.')
|
||||
const len = Math.max(v1.length, v2.length)
|
||||
while (v1.length < len) {
|
||||
v1.push('0')
|
||||
}
|
||||
while (v2.length < len) {
|
||||
v2.push('0')
|
||||
}
|
||||
for (let i = 0; i < len; i++) {
|
||||
const num1 = parseInt(v1[i], 10)
|
||||
const num2 = parseInt(v2[i], 10)
|
||||
|
||||
if (num1 > num2) {
|
||||
return 1
|
||||
} else if (num1 < num2) {
|
||||
return -1
|
||||
}
|
||||
}
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
hex,
|
||||
splitLineToCamelCase,
|
||||
compareVersion
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 1 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
|
||||
const xmlParse = __webpack_require__(2)
|
||||
const {Widget} = __webpack_require__(3)
|
||||
const {Draw} = __webpack_require__(5)
|
||||
const {compareVersion} = __webpack_require__(0)
|
||||
|
||||
const canvasId = 'weui-canvas'
|
||||
|
||||
Component({
|
||||
properties: {
|
||||
width: {
|
||||
type: Number,
|
||||
value: 400
|
||||
},
|
||||
height: {
|
||||
type: Number,
|
||||
value: 300
|
||||
}
|
||||
},
|
||||
data: {
|
||||
use2dCanvas: false, // 2.9.2 后可用canvas 2d 接口
|
||||
},
|
||||
lifetimes: {
|
||||
attached() {
|
||||
const {SDKVersion, pixelRatio: dpr} = wx.getSystemInfoSync()
|
||||
const use2dCanvas = compareVersion(SDKVersion, '2.9.2') >= 0
|
||||
this.dpr = dpr
|
||||
this.setData({use2dCanvas}, () => {
|
||||
if (use2dCanvas) {
|
||||
const query = this.createSelectorQuery()
|
||||
query.select(`#${canvasId}`)
|
||||
.fields({node: true, size: true})
|
||||
.exec(res => {
|
||||
const canvas = res[0].node
|
||||
const ctx = canvas.getContext('2d')
|
||||
canvas.width = res[0].width * dpr
|
||||
canvas.height = res[0].height * dpr
|
||||
ctx.scale(dpr, dpr)
|
||||
this.ctx = ctx
|
||||
this.canvas = canvas
|
||||
})
|
||||
} else {
|
||||
this.ctx = wx.createCanvasContext(canvasId, this)
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async renderToCanvas(args) {
|
||||
const {wxml, style} = args
|
||||
const ctx = this.ctx
|
||||
const canvas = this.canvas
|
||||
const use2dCanvas = this.data.use2dCanvas
|
||||
|
||||
if (use2dCanvas && !canvas) {
|
||||
return Promise.reject(new Error('renderToCanvas: fail canvas has not been created'))
|
||||
}
|
||||
|
||||
ctx.clearRect(0, 0, this.data.width, this.data.height)
|
||||
const {root: xom} = xmlParse(wxml)
|
||||
|
||||
const widget = new Widget(xom, style)
|
||||
const container = widget.init()
|
||||
this.boundary = {
|
||||
top: container.layoutBox.top,
|
||||
left: container.layoutBox.left,
|
||||
width: container.computedStyle.width,
|
||||
height: container.computedStyle.height,
|
||||
}
|
||||
const draw = new Draw(ctx, canvas, use2dCanvas)
|
||||
await draw.drawNode(container)
|
||||
|
||||
if (!use2dCanvas) {
|
||||
await this.canvasDraw(ctx)
|
||||
}
|
||||
return Promise.resolve(container)
|
||||
},
|
||||
|
||||
canvasDraw(ctx, reserve) {
|
||||
return new Promise(resolve => {
|
||||
ctx.draw(reserve, () => {
|
||||
resolve()
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
canvasToTempFilePath(args = {}) {
|
||||
const use2dCanvas = this.data.use2dCanvas
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
const {
|
||||
top, left, width, height
|
||||
} = this.boundary
|
||||
|
||||
const copyArgs = {
|
||||
x: left,
|
||||
y: top,
|
||||
width,
|
||||
height,
|
||||
destWidth: width * this.dpr,
|
||||
destHeight: height * this.dpr,
|
||||
canvasId,
|
||||
fileType: args.fileType || 'png',
|
||||
quality: args.quality || 1,
|
||||
success: resolve,
|
||||
fail: reject
|
||||
}
|
||||
|
||||
if (use2dCanvas) {
|
||||
delete copyArgs.canvasId
|
||||
copyArgs.canvas = this.canvas
|
||||
}
|
||||
wx.canvasToTempFilePath(copyArgs, this)
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 2 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Module dependencies.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Expose `parse`.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Parse the given string of `xml`.
|
||||
*
|
||||
* @param {String} xml
|
||||
* @return {Object}
|
||||
* @api public
|
||||
*/
|
||||
|
||||
function parse(xml) {
|
||||
xml = xml.trim()
|
||||
|
||||
// strip comments
|
||||
xml = xml.replace(/<!--[\s\S]*?-->/g, '')
|
||||
|
||||
return document()
|
||||
|
||||
/**
|
||||
* XML document.
|
||||
*/
|
||||
|
||||
function document() {
|
||||
return {
|
||||
declaration: declaration(),
|
||||
root: tag()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Declaration.
|
||||
*/
|
||||
|
||||
function declaration() {
|
||||
const m = match(/^<\?xml\s*/)
|
||||
if (!m) return
|
||||
|
||||
// tag
|
||||
const node = {
|
||||
attributes: {}
|
||||
}
|
||||
|
||||
// attributes
|
||||
while (!(eos() || is('?>'))) {
|
||||
const attr = attribute()
|
||||
if (!attr) return node
|
||||
node.attributes[attr.name] = attr.value
|
||||
}
|
||||
|
||||
match(/\?>\s*/)
|
||||
|
||||
return node
|
||||
}
|
||||
|
||||
/**
|
||||
* Tag.
|
||||
*/
|
||||
|
||||
function tag() {
|
||||
const m = match(/^<([\w-:.]+)\s*/)
|
||||
if (!m) return
|
||||
|
||||
// name
|
||||
const node = {
|
||||
name: m[1],
|
||||
attributes: {},
|
||||
children: []
|
||||
}
|
||||
|
||||
// attributes
|
||||
while (!(eos() || is('>') || is('?>') || is('/>'))) {
|
||||
const attr = attribute()
|
||||
if (!attr) return node
|
||||
node.attributes[attr.name] = attr.value
|
||||
}
|
||||
|
||||
// self closing tag
|
||||
if (match(/^\s*\/>\s*/)) {
|
||||
return node
|
||||
}
|
||||
|
||||
match(/\??>\s*/)
|
||||
|
||||
// content
|
||||
node.content = content()
|
||||
|
||||
// children
|
||||
let child
|
||||
while (child = tag()) {
|
||||
node.children.push(child)
|
||||
}
|
||||
|
||||
// closing
|
||||
match(/^<\/[\w-:.]+>\s*/)
|
||||
|
||||
return node
|
||||
}
|
||||
|
||||
/**
|
||||
* Text content.
|
||||
*/
|
||||
|
||||
function content() {
|
||||
const m = match(/^([^<]*)/)
|
||||
if (m) return m[1]
|
||||
return ''
|
||||
}
|
||||
|
||||
/**
|
||||
* Attribute.
|
||||
*/
|
||||
|
||||
function attribute() {
|
||||
const m = match(/([\w:-]+)\s*=\s*("[^"]*"|'[^']*'|\w+)\s*/)
|
||||
if (!m) return
|
||||
return {name: m[1], value: strip(m[2])}
|
||||
}
|
||||
|
||||
/**
|
||||
* Strip quotes from `val`.
|
||||
*/
|
||||
|
||||
function strip(val) {
|
||||
return val.replace(/^['"]|['"]$/g, '')
|
||||
}
|
||||
|
||||
/**
|
||||
* Match `re` and advance the string.
|
||||
*/
|
||||
|
||||
function match(re) {
|
||||
const m = xml.match(re)
|
||||
if (!m) return
|
||||
xml = xml.slice(m[0].length)
|
||||
return m
|
||||
}
|
||||
|
||||
/**
|
||||
* End-of-source.
|
||||
*/
|
||||
|
||||
function eos() {
|
||||
return xml.length == 0
|
||||
}
|
||||
|
||||
/**
|
||||
* Check for `prefix`.
|
||||
*/
|
||||
|
||||
function is(prefix) {
|
||||
return xml.indexOf(prefix) == 0
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = parse
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 3 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
const Block = __webpack_require__(4)
|
||||
const {splitLineToCamelCase} = __webpack_require__(0)
|
||||
|
||||
class Element extends Block {
|
||||
constructor(prop) {
|
||||
super(prop.style)
|
||||
this.name = prop.name
|
||||
this.attributes = prop.attributes
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class Widget {
|
||||
constructor(xom, style) {
|
||||
this.xom = xom
|
||||
this.style = style
|
||||
|
||||
this.inheritProps = ['fontSize', 'lineHeight', 'textAlign', 'verticalAlign', 'color']
|
||||
}
|
||||
|
||||
init() {
|
||||
this.container = this.create(this.xom)
|
||||
this.container.layout()
|
||||
|
||||
this.inheritStyle(this.container)
|
||||
return this.container
|
||||
}
|
||||
|
||||
// 继承父节点的样式
|
||||
inheritStyle(node) {
|
||||
const parent = node.parent || null
|
||||
const children = node.children || {}
|
||||
const computedStyle = node.computedStyle
|
||||
|
||||
if (parent) {
|
||||
this.inheritProps.forEach(prop => {
|
||||
computedStyle[prop] = computedStyle[prop] || parent.computedStyle[prop]
|
||||
})
|
||||
}
|
||||
|
||||
Object.values(children).forEach(child => {
|
||||
this.inheritStyle(child)
|
||||
})
|
||||
}
|
||||
|
||||
create(node) {
|
||||
let classNames = (node.attributes.class || '').split(' ')
|
||||
classNames = classNames.map(item => splitLineToCamelCase(item.trim()))
|
||||
const style = {}
|
||||
classNames.forEach(item => {
|
||||
Object.assign(style, this.style[item] || {})
|
||||
})
|
||||
|
||||
const args = {name: node.name, style}
|
||||
|
||||
const attrs = Object.keys(node.attributes)
|
||||
const attributes = {}
|
||||
for (const attr of attrs) {
|
||||
const value = node.attributes[attr]
|
||||
const CamelAttr = splitLineToCamelCase(attr)
|
||||
|
||||
if (value === '' || value === 'true') {
|
||||
attributes[CamelAttr] = true
|
||||
} else if (value === 'false') {
|
||||
attributes[CamelAttr] = false
|
||||
} else {
|
||||
attributes[CamelAttr] = value
|
||||
}
|
||||
}
|
||||
attributes.text = node.content
|
||||
args.attributes = attributes
|
||||
const element = new Element(args)
|
||||
node.children.forEach(childNode => {
|
||||
const childElement = this.create(childNode)
|
||||
element.add(childElement)
|
||||
})
|
||||
return element
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {Widget}
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 4 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = require("widget-ui");
|
||||
|
||||
/***/ }),
|
||||
/* 5 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
class Draw {
|
||||
constructor(context, canvas, use2dCanvas = false) {
|
||||
this.ctx = context
|
||||
this.canvas = canvas || null
|
||||
this.use2dCanvas = use2dCanvas
|
||||
}
|
||||
|
||||
roundRect(x, y, w, h, r, fill = true, stroke = false) {
|
||||
if (r < 0) return
|
||||
const ctx = this.ctx
|
||||
|
||||
ctx.beginPath()
|
||||
ctx.arc(x + r, y + r, r, Math.PI, Math.PI * 3 / 2)
|
||||
ctx.arc(x + w - r, y + r, r, Math.PI * 3 / 2, 0)
|
||||
ctx.arc(x + w - r, y + h - r, r, 0, Math.PI / 2)
|
||||
ctx.arc(x + r, y + h - r, r, Math.PI / 2, Math.PI)
|
||||
ctx.lineTo(x, y + r)
|
||||
if (stroke) ctx.stroke()
|
||||
if (fill) ctx.fill()
|
||||
}
|
||||
|
||||
drawView(box, style) {
|
||||
const ctx = this.ctx
|
||||
const {
|
||||
left: x, top: y, width: w, height: h
|
||||
} = box
|
||||
const {
|
||||
borderRadius = 0,
|
||||
borderWidth = 0,
|
||||
borderColor,
|
||||
color = '#000',
|
||||
backgroundColor = 'transparent',
|
||||
} = style
|
||||
ctx.save()
|
||||
// 外环
|
||||
if (borderWidth > 0) {
|
||||
ctx.fillStyle = borderColor || color
|
||||
this.roundRect(x, y, w, h, borderRadius)
|
||||
}
|
||||
|
||||
// 内环
|
||||
ctx.fillStyle = backgroundColor
|
||||
const innerWidth = w - 2 * borderWidth
|
||||
const innerHeight = h - 2 * borderWidth
|
||||
const innerRadius = borderRadius - borderWidth >= 0 ? borderRadius - borderWidth : 0
|
||||
this.roundRect(x + borderWidth, y + borderWidth, innerWidth, innerHeight, innerRadius)
|
||||
ctx.restore()
|
||||
}
|
||||
|
||||
async drawImage(img, box, style) {
|
||||
await new Promise((resolve, reject) => {
|
||||
const ctx = this.ctx
|
||||
const canvas = this.canvas
|
||||
|
||||
const {
|
||||
borderRadius = 0
|
||||
} = style
|
||||
const {
|
||||
left: x, top: y, width: w, height: h
|
||||
} = box
|
||||
ctx.save()
|
||||
this.roundRect(x, y, w, h, borderRadius, false, false)
|
||||
ctx.clip()
|
||||
|
||||
const _drawImage = (img) => {
|
||||
if (this.use2dCanvas) {
|
||||
const Image = canvas.createImage()
|
||||
Image.onload = () => {
|
||||
ctx.drawImage(Image, x, y, w, h)
|
||||
ctx.restore()
|
||||
resolve()
|
||||
}
|
||||
Image.onerror = () => { reject(new Error(`createImage fail: ${img}`)) }
|
||||
Image.src = img
|
||||
} else {
|
||||
ctx.drawImage(img, x, y, w, h)
|
||||
ctx.restore()
|
||||
resolve()
|
||||
}
|
||||
}
|
||||
|
||||
const isTempFile = /^wxfile:\/\//.test(img)
|
||||
const isNetworkFile = /^https?:\/\//.test(img)
|
||||
|
||||
if (isTempFile) {
|
||||
_drawImage(img)
|
||||
} else if (isNetworkFile) {
|
||||
wx.downloadFile({
|
||||
url: img,
|
||||
success(res) {
|
||||
if (res.statusCode === 200) {
|
||||
_drawImage(res.tempFilePath)
|
||||
} else {
|
||||
reject(new Error(`downloadFile:fail ${img}`))
|
||||
}
|
||||
},
|
||||
fail() {
|
||||
reject(new Error(`downloadFile:fail ${img}`))
|
||||
}
|
||||
})
|
||||
} else {
|
||||
reject(new Error(`image format error: ${img}`))
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// eslint-disable-next-line complexity
|
||||
drawText(text, box, style) {
|
||||
const ctx = this.ctx
|
||||
let {
|
||||
left: x, top: y, width: w, height: h
|
||||
} = box
|
||||
let {
|
||||
color = '#000',
|
||||
lineHeight = '1.4em',
|
||||
fontSize = 14,
|
||||
textAlign = 'left',
|
||||
verticalAlign = 'top',
|
||||
backgroundColor = 'transparent'
|
||||
} = style
|
||||
|
||||
if (typeof lineHeight === 'string') { // 2em
|
||||
lineHeight = Math.ceil(parseFloat(lineHeight.replace('em')) * fontSize)
|
||||
}
|
||||
if (!text || (lineHeight > h)) return
|
||||
|
||||
ctx.save()
|
||||
ctx.textBaseline = 'top'
|
||||
ctx.font = `${fontSize}px sans-serif`
|
||||
ctx.textAlign = textAlign
|
||||
|
||||
// 背景色
|
||||
ctx.fillStyle = backgroundColor
|
||||
this.roundRect(x, y, w, h, 0)
|
||||
|
||||
// 文字颜色
|
||||
ctx.fillStyle = color
|
||||
|
||||
// 水平布局
|
||||
switch (textAlign) {
|
||||
case 'left':
|
||||
break
|
||||
case 'center':
|
||||
x += 0.5 * w
|
||||
break
|
||||
case 'right':
|
||||
x += w
|
||||
break
|
||||
default: break
|
||||
}
|
||||
|
||||
const textWidth = ctx.measureText(text).width
|
||||
const actualHeight = Math.ceil(textWidth / w) * lineHeight
|
||||
let paddingTop = Math.ceil((h - actualHeight) / 2)
|
||||
if (paddingTop < 0) paddingTop = 0
|
||||
|
||||
// 垂直布局
|
||||
switch (verticalAlign) {
|
||||
case 'top':
|
||||
break
|
||||
case 'middle':
|
||||
y += paddingTop
|
||||
break
|
||||
case 'bottom':
|
||||
y += 2 * paddingTop
|
||||
break
|
||||
default: break
|
||||
}
|
||||
|
||||
const inlinePaddingTop = Math.ceil((lineHeight - fontSize) / 2)
|
||||
|
||||
// 不超过一行
|
||||
if (textWidth <= w) {
|
||||
ctx.fillText(text, x, y + inlinePaddingTop)
|
||||
return
|
||||
}
|
||||
|
||||
// 多行文本
|
||||
const chars = text.split('')
|
||||
const _y = y
|
||||
|
||||
// 逐行绘制
|
||||
let line = ''
|
||||
for (const ch of chars) {
|
||||
const testLine = line + ch
|
||||
const testWidth = ctx.measureText(testLine).width
|
||||
|
||||
if (testWidth > w) {
|
||||
ctx.fillText(line, x, y + inlinePaddingTop)
|
||||
y += lineHeight
|
||||
line = ch
|
||||
if ((y + lineHeight) > (_y + h)) break
|
||||
} else {
|
||||
line = testLine
|
||||
}
|
||||
}
|
||||
|
||||
// 避免溢出
|
||||
if ((y + lineHeight) <= (_y + h)) {
|
||||
ctx.fillText(line, x, y + inlinePaddingTop)
|
||||
}
|
||||
ctx.restore()
|
||||
}
|
||||
|
||||
async drawNode(element) {
|
||||
const {layoutBox, computedStyle, name} = element
|
||||
const {src, text} = element.attributes
|
||||
if (name === 'view') {
|
||||
this.drawView(layoutBox, computedStyle)
|
||||
} else if (name === 'image') {
|
||||
await this.drawImage(src, layoutBox, computedStyle)
|
||||
} else if (name === 'text') {
|
||||
this.drawText(text, layoutBox, computedStyle)
|
||||
}
|
||||
const childs = Object.values(element.children)
|
||||
for (const child of childs) {
|
||||
await this.drawNode(child)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module.exports = {
|
||||
Draw
|
||||
}
|
||||
|
||||
|
||||
/***/ })
|
||||
/******/ ]);
|
||||
});
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1,2 @@
|
||||
<canvas wx:if="{{use2dCanvas}}" id="weui-canvas" type="2d" style="width: {{width}}px; height: {{height}}px;"></canvas>
|
||||
<canvas wx:else canvas-id="weui-canvas" style="width: {{width}}px; height: {{height}}px;"></canvas>
|
||||
@ -0,0 +1,349 @@
|
||||
module.exports = (function() {
|
||||
var __MODS__ = {};
|
||||
var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
|
||||
var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
|
||||
var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
|
||||
var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
|
||||
__DEFINE__(1702536291628, function(require, module, exports) {
|
||||
|
||||
|
||||
var has = Object.prototype.hasOwnProperty
|
||||
, prefix = '~';
|
||||
|
||||
/**
|
||||
* Constructor to create a storage for our `EE` objects.
|
||||
* An `Events` instance is a plain object whose properties are event names.
|
||||
*
|
||||
* @constructor
|
||||
* @private
|
||||
*/
|
||||
function Events() {}
|
||||
|
||||
//
|
||||
// We try to not inherit from `Object.prototype`. In some engines creating an
|
||||
// instance in this way is faster than calling `Object.create(null)` directly.
|
||||
// If `Object.create(null)` is not supported we prefix the event names with a
|
||||
// character to make sure that the built-in object properties are not
|
||||
// overridden or used as an attack vector.
|
||||
//
|
||||
if (Object.create) {
|
||||
Events.prototype = Object.create(null);
|
||||
|
||||
//
|
||||
// This hack is needed because the `__proto__` property is still inherited in
|
||||
// some old browsers like Android 4, iPhone 5.1, Opera 11 and Safari 5.
|
||||
//
|
||||
if (!new Events().__proto__) prefix = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Representation of a single event listener.
|
||||
*
|
||||
* @param {Function} fn The listener function.
|
||||
* @param {*} context The context to invoke the listener with.
|
||||
* @param {Boolean} [once=false] Specify if the listener is a one-time listener.
|
||||
* @constructor
|
||||
* @private
|
||||
*/
|
||||
function EE(fn, context, once) {
|
||||
this.fn = fn;
|
||||
this.context = context;
|
||||
this.once = once || false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a listener for a given event.
|
||||
*
|
||||
* @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @param {Function} fn The listener function.
|
||||
* @param {*} context The context to invoke the listener with.
|
||||
* @param {Boolean} once Specify if the listener is a one-time listener.
|
||||
* @returns {EventEmitter}
|
||||
* @private
|
||||
*/
|
||||
function addListener(emitter, event, fn, context, once) {
|
||||
if (typeof fn !== 'function') {
|
||||
throw new TypeError('The listener must be a function');
|
||||
}
|
||||
|
||||
var listener = new EE(fn, context || emitter, once)
|
||||
, evt = prefix ? prefix + event : event;
|
||||
|
||||
if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;
|
||||
else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);
|
||||
else emitter._events[evt] = [emitter._events[evt], listener];
|
||||
|
||||
return emitter;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear event by name.
|
||||
*
|
||||
* @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
|
||||
* @param {(String|Symbol)} evt The Event name.
|
||||
* @private
|
||||
*/
|
||||
function clearEvent(emitter, evt) {
|
||||
if (--emitter._eventsCount === 0) emitter._events = new Events();
|
||||
else delete emitter._events[evt];
|
||||
}
|
||||
|
||||
/**
|
||||
* Minimal `EventEmitter` interface that is molded against the Node.js
|
||||
* `EventEmitter` interface.
|
||||
*
|
||||
* @constructor
|
||||
* @public
|
||||
*/
|
||||
function EventEmitter() {
|
||||
this._events = new Events();
|
||||
this._eventsCount = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an array listing the events for which the emitter has registered
|
||||
* listeners.
|
||||
*
|
||||
* @returns {Array}
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.eventNames = function eventNames() {
|
||||
var names = []
|
||||
, events
|
||||
, name;
|
||||
|
||||
if (this._eventsCount === 0) return names;
|
||||
|
||||
for (name in (events = this._events)) {
|
||||
if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);
|
||||
}
|
||||
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
return names.concat(Object.getOwnPropertySymbols(events));
|
||||
}
|
||||
|
||||
return names;
|
||||
};
|
||||
|
||||
/**
|
||||
* Return the listeners registered for a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @returns {Array} The registered listeners.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.listeners = function listeners(event) {
|
||||
var evt = prefix ? prefix + event : event
|
||||
, handlers = this._events[evt];
|
||||
|
||||
if (!handlers) return [];
|
||||
if (handlers.fn) return [handlers.fn];
|
||||
|
||||
for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {
|
||||
ee[i] = handlers[i].fn;
|
||||
}
|
||||
|
||||
return ee;
|
||||
};
|
||||
|
||||
/**
|
||||
* Return the number of listeners listening to a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @returns {Number} The number of listeners.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.listenerCount = function listenerCount(event) {
|
||||
var evt = prefix ? prefix + event : event
|
||||
, listeners = this._events[evt];
|
||||
|
||||
if (!listeners) return 0;
|
||||
if (listeners.fn) return 1;
|
||||
return listeners.length;
|
||||
};
|
||||
|
||||
/**
|
||||
* Calls each of the listeners registered for a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @returns {Boolean} `true` if the event had listeners, else `false`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
|
||||
var evt = prefix ? prefix + event : event;
|
||||
|
||||
if (!this._events[evt]) return false;
|
||||
|
||||
var listeners = this._events[evt]
|
||||
, len = arguments.length
|
||||
, args
|
||||
, i;
|
||||
|
||||
if (listeners.fn) {
|
||||
if (listeners.once) this.removeListener(event, listeners.fn, undefined, true);
|
||||
|
||||
switch (len) {
|
||||
case 1: return listeners.fn.call(listeners.context), true;
|
||||
case 2: return listeners.fn.call(listeners.context, a1), true;
|
||||
case 3: return listeners.fn.call(listeners.context, a1, a2), true;
|
||||
case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;
|
||||
case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
|
||||
case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
|
||||
}
|
||||
|
||||
for (i = 1, args = new Array(len -1); i < len; i++) {
|
||||
args[i - 1] = arguments[i];
|
||||
}
|
||||
|
||||
listeners.fn.apply(listeners.context, args);
|
||||
} else {
|
||||
var length = listeners.length
|
||||
, j;
|
||||
|
||||
for (i = 0; i < length; i++) {
|
||||
if (listeners[i].once) this.removeListener(event, listeners[i].fn, undefined, true);
|
||||
|
||||
switch (len) {
|
||||
case 1: listeners[i].fn.call(listeners[i].context); break;
|
||||
case 2: listeners[i].fn.call(listeners[i].context, a1); break;
|
||||
case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;
|
||||
case 4: listeners[i].fn.call(listeners[i].context, a1, a2, a3); break;
|
||||
default:
|
||||
if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {
|
||||
args[j - 1] = arguments[j];
|
||||
}
|
||||
|
||||
listeners[i].fn.apply(listeners[i].context, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
/**
|
||||
* Add a listener for a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @param {Function} fn The listener function.
|
||||
* @param {*} [context=this] The context to invoke the listener with.
|
||||
* @returns {EventEmitter} `this`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.on = function on(event, fn, context) {
|
||||
return addListener(this, event, fn, context, false);
|
||||
};
|
||||
|
||||
/**
|
||||
* Add a one-time listener for a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @param {Function} fn The listener function.
|
||||
* @param {*} [context=this] The context to invoke the listener with.
|
||||
* @returns {EventEmitter} `this`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.once = function once(event, fn, context) {
|
||||
return addListener(this, event, fn, context, true);
|
||||
};
|
||||
|
||||
/**
|
||||
* Remove the listeners of a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @param {Function} fn Only remove the listeners that match this function.
|
||||
* @param {*} context Only remove the listeners that have this context.
|
||||
* @param {Boolean} once Only remove one-time listeners.
|
||||
* @returns {EventEmitter} `this`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {
|
||||
var evt = prefix ? prefix + event : event;
|
||||
|
||||
if (!this._events[evt]) return this;
|
||||
if (!fn) {
|
||||
clearEvent(this, evt);
|
||||
return this;
|
||||
}
|
||||
|
||||
var listeners = this._events[evt];
|
||||
|
||||
if (listeners.fn) {
|
||||
if (
|
||||
listeners.fn === fn &&
|
||||
(!once || listeners.once) &&
|
||||
(!context || listeners.context === context)
|
||||
) {
|
||||
clearEvent(this, evt);
|
||||
}
|
||||
} else {
|
||||
for (var i = 0, events = [], length = listeners.length; i < length; i++) {
|
||||
if (
|
||||
listeners[i].fn !== fn ||
|
||||
(once && !listeners[i].once) ||
|
||||
(context && listeners[i].context !== context)
|
||||
) {
|
||||
events.push(listeners[i]);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Reset the array, or remove it completely if we have no more listeners.
|
||||
//
|
||||
if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;
|
||||
else clearEvent(this, evt);
|
||||
}
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
/**
|
||||
* Remove all listeners, or those of the specified event.
|
||||
*
|
||||
* @param {(String|Symbol)} [event] The event name.
|
||||
* @returns {EventEmitter} `this`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {
|
||||
var evt;
|
||||
|
||||
if (event) {
|
||||
evt = prefix ? prefix + event : event;
|
||||
if (this._events[evt]) clearEvent(this, evt);
|
||||
} else {
|
||||
this._events = new Events();
|
||||
this._eventsCount = 0;
|
||||
}
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
//
|
||||
// Alias methods names because people roll like that.
|
||||
//
|
||||
EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
|
||||
EventEmitter.prototype.addListener = EventEmitter.prototype.on;
|
||||
|
||||
//
|
||||
// Expose the prefix.
|
||||
//
|
||||
EventEmitter.prefixed = prefix;
|
||||
|
||||
//
|
||||
// Allow `EventEmitter` to be imported as module namespace.
|
||||
//
|
||||
EventEmitter.EventEmitter = EventEmitter;
|
||||
|
||||
//
|
||||
// Expose the module.
|
||||
//
|
||||
if ('undefined' !== typeof module) {
|
||||
module.exports = EventEmitter;
|
||||
}
|
||||
|
||||
}, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
|
||||
return __REQUIRE__(1702536291628);
|
||||
})()
|
||||
//miniprogram-npm-outsideDeps=[]
|
||||
//# sourceMappingURL=index.js.map
|
||||
@ -0,0 +1,57 @@
|
||||
const hex = (color) => {
|
||||
let result = null
|
||||
|
||||
if (/^#/.test(color) && (color.length === 7 || color.length === 9)) {
|
||||
return color
|
||||
// eslint-disable-next-line no-cond-assign
|
||||
} else if ((result = /^(rgb|rgba)\((.+)\)/.exec(color)) !== null) {
|
||||
return '#' + result[2].split(',').map((part, index) => {
|
||||
part = part.trim()
|
||||
part = index === 3 ? Math.floor(parseFloat(part) * 255) : parseInt(part, 10)
|
||||
part = part.toString(16)
|
||||
if (part.length === 1) {
|
||||
part = '0' + part
|
||||
}
|
||||
return part
|
||||
}).join('')
|
||||
} else {
|
||||
return '#00000000'
|
||||
}
|
||||
}
|
||||
|
||||
const splitLineToCamelCase = (str) => str.split('-').map((part, index) => {
|
||||
if (index === 0) {
|
||||
return part
|
||||
}
|
||||
return part[0].toUpperCase() + part.slice(1)
|
||||
}).join('')
|
||||
|
||||
const compareVersion = (v1, v2) => {
|
||||
v1 = v1.split('.')
|
||||
v2 = v2.split('.')
|
||||
const len = Math.max(v1.length, v2.length)
|
||||
while (v1.length < len) {
|
||||
v1.push('0')
|
||||
}
|
||||
while (v2.length < len) {
|
||||
v2.push('0')
|
||||
}
|
||||
for (let i = 0; i < len; i++) {
|
||||
const num1 = parseInt(v1[i], 10)
|
||||
const num2 = parseInt(v2[i], 10)
|
||||
|
||||
if (num1 > num2) {
|
||||
return 1
|
||||
} else if (num1 < num2) {
|
||||
return -1
|
||||
}
|
||||
}
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
hex,
|
||||
splitLineToCamelCase,
|
||||
compareVersion
|
||||
}
|
||||
@ -0,0 +1,39 @@
|
||||
{
|
||||
"name": "yimini",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"node_modules/@miniprogram-component-plus/sticky": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmmirror.com/@miniprogram-component-plus/sticky/-/sticky-1.0.1.tgz",
|
||||
"integrity": "sha512-HYZ/PCm8KjUSQYwMLG61bhHBKU8s9aDx5Tl2BvruAku8bvEbyd8A3Povpb9V6lPPvsD/oXp2R7/GmgsCgDuI4g=="
|
||||
},
|
||||
"node_modules/@miniprogram-component-plus/tabs": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@miniprogram-component-plus/tabs/-/tabs-1.0.0.tgz",
|
||||
"integrity": "sha512-oV9dFpIoYAz0IbDECS9toS1GHivWoAd1cchxeZKCBV3PoPCEipHOeXQS3K2USr7EY8LDyfg3f0tDAacPfagYjg=="
|
||||
},
|
||||
"node_modules/wxml-to-canvas": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/wxml-to-canvas/-/wxml-to-canvas-1.1.1.tgz",
|
||||
"integrity": "sha512-3mDjHzujY/UgdCOXij/MnmwJYerVjwkyQHMBFBE8zh89DK7h7UTzoydWFqEBjIC0rfZM+AXl5kDh9hUcsNpSmg==",
|
||||
"dependencies": {
|
||||
"widget-ui": "^1.0.2"
|
||||
}
|
||||
},
|
||||
"node_modules/wxml-to-canvas/node_modules/eventemitter3": {
|
||||
"version": "4.0.7",
|
||||
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",
|
||||
"integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw=="
|
||||
},
|
||||
"node_modules/wxml-to-canvas/node_modules/widget-ui": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/widget-ui/-/widget-ui-1.0.2.tgz",
|
||||
"integrity": "sha512-gDXosr5mflJdMA1weU1A47aTsTFfMJhfA4EKgO5XFebY3eVklf80KD4GODfrjo8J2WQ+9YjL1Rd9UUmKIzhShw==",
|
||||
"dependencies": {
|
||||
"eventemitter3": "^4.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,148 @@
|
||||
module.exports =
|
||||
/******/ (function(modules) { // webpackBootstrap
|
||||
/******/ // The module cache
|
||||
/******/ var installedModules = {};
|
||||
/******/
|
||||
/******/ // The require function
|
||||
/******/ function __webpack_require__(moduleId) {
|
||||
/******/
|
||||
/******/ // Check if module is in cache
|
||||
/******/ if(installedModules[moduleId]) {
|
||||
/******/ return installedModules[moduleId].exports;
|
||||
/******/ }
|
||||
/******/ // Create a new module (and put it into the cache)
|
||||
/******/ var module = installedModules[moduleId] = {
|
||||
/******/ i: moduleId,
|
||||
/******/ l: false,
|
||||
/******/ exports: {}
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/
|
||||
/******/ // Flag the module as loaded
|
||||
/******/ module.l = true;
|
||||
/******/
|
||||
/******/ // Return the exports of the module
|
||||
/******/ return module.exports;
|
||||
/******/ }
|
||||
/******/
|
||||
/******/
|
||||
/******/ // expose the modules object (__webpack_modules__)
|
||||
/******/ __webpack_require__.m = modules;
|
||||
/******/
|
||||
/******/ // expose the module cache
|
||||
/******/ __webpack_require__.c = installedModules;
|
||||
/******/
|
||||
/******/ // define getter function for harmony exports
|
||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
||||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // define __esModule on exports
|
||||
/******/ __webpack_require__.r = function(exports) {
|
||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||
/******/ }
|
||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // create a fake namespace object
|
||||
/******/ // mode & 1: value is a module id, require it
|
||||
/******/ // mode & 2: merge all properties of value into the ns
|
||||
/******/ // mode & 4: return value when already ns object
|
||||
/******/ // mode & 8|1: behave like require
|
||||
/******/ __webpack_require__.t = function(value, mode) {
|
||||
/******/ if(mode & 1) value = __webpack_require__(value);
|
||||
/******/ if(mode & 8) return value;
|
||||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
||||
/******/ var ns = Object.create(null);
|
||||
/******/ __webpack_require__.r(ns);
|
||||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
||||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
||||
/******/ return ns;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||
/******/ __webpack_require__.n = function(module) {
|
||||
/******/ var getter = module && module.__esModule ?
|
||||
/******/ function getDefault() { return module['default']; } :
|
||||
/******/ function getModuleExports() { return module; };
|
||||
/******/ __webpack_require__.d(getter, 'a', getter);
|
||||
/******/ return getter;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Object.prototype.hasOwnProperty.call
|
||||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
||||
/******/
|
||||
/******/ // __webpack_public_path__
|
||||
/******/ __webpack_require__.p = "";
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 5);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 5:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
Component({
|
||||
options: {
|
||||
addGlobalClass: true,
|
||||
pureDataPattern: /^_/,
|
||||
multipleSlots: true
|
||||
},
|
||||
properties: {
|
||||
tabs: { type: Array, value: [] },
|
||||
tabClass: { type: String, value: '' },
|
||||
swiperClass: { type: String, value: '' },
|
||||
activeClass: { type: String, value: '' },
|
||||
tabUnderlineColor: { type: String, value: '#07c160' },
|
||||
tabActiveTextColor: { type: String, value: '#000000' },
|
||||
tabInactiveTextColor: { type: String, value: '#000000' },
|
||||
tabBackgroundColor: { type: String, value: '#ffffff' },
|
||||
activeTab: { type: Number, value: 0 },
|
||||
swipeable: { type: Boolean, value: true },
|
||||
animation: { type: Boolean, value: true },
|
||||
duration: { type: Number, value: 500 }
|
||||
},
|
||||
data: {
|
||||
currentView: 0
|
||||
},
|
||||
observers: {
|
||||
activeTab: function activeTab(_activeTab) {
|
||||
var len = this.data.tabs.length;
|
||||
if (len === 0) return;
|
||||
var currentView = _activeTab - 1;
|
||||
if (currentView < 0) currentView = 0;
|
||||
if (currentView > len - 1) currentView = len - 1;
|
||||
this.setData({ currentView: currentView });
|
||||
}
|
||||
},
|
||||
lifetimes: {
|
||||
created: function created() {}
|
||||
},
|
||||
methods: {
|
||||
handleTabClick: function handleTabClick(e) {
|
||||
var index = e.currentTarget.dataset.index;
|
||||
this.setData({ activeTab: index });
|
||||
this.triggerEvent('tabclick', { index: index });
|
||||
},
|
||||
handleSwiperChange: function handleSwiperChange(e) {
|
||||
var index = e.detail.current;
|
||||
this.setData({ activeTab: index });
|
||||
this.triggerEvent('change', { index: index });
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
<view class="weui-tabs">
|
||||
<view class="weui-tabs-bar__wrp">
|
||||
<scroll-view scroll-x scroll-into-view="item_{{currentView}}" scroll-with-animation="{{animation}}">
|
||||
<view class="weui-tabs-bar__content">
|
||||
<block wx:for="{{tabs}}" wx:key="title">
|
||||
<view id="item_{{index}}" class="weui-tabs-bar__item" style="background-color: {{tabBackgroundColor}}; color: {{activeTab === index ? tabActiveTextColor : tabInactiveTextColor}};" bindtap="handleTabClick" data-index="{{index}}">
|
||||
<view class="weui-tabs-bar__title {{tabClass}} {{activeTab === index ? activeClass : ''}}" style="border-bottom-color: {{activeTab === index ? tabUnderlineColor : 'transparent'}}">
|
||||
<text class="">{{item.title}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<swiper class="{{swiperClass}}" current="{{activeTab}}" duration="{{duration}}" bindchange="handleSwiperChange">
|
||||
<swiper-item wx:for="{{tabs}}" wx:key="title">
|
||||
<slot name="tab-content-{{index}}"></slot>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
</view>
|
||||
@ -0,0 +1 @@
|
||||
.weui-tabs{width:100%}.weui-tabs-bar__wrp{width:100%;background:#fff}.weui-tabs-bar__content{width:100%;white-space:nowrap}.weui-tabs-bar__item{display:inline-block}.weui-tabs-bar__title{display:inline-block;border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:transparent}
|
||||
@ -0,0 +1,44 @@
|
||||
{
|
||||
"_from": "@miniprogram-component-plus/tabs",
|
||||
"_id": "@miniprogram-component-plus/tabs@1.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-oV9dFpIoYAz0IbDECS9toS1GHivWoAd1cchxeZKCBV3PoPCEipHOeXQS3K2USr7EY8LDyfg3f0tDAacPfagYjg==",
|
||||
"_location": "/@miniprogram-component-plus/tabs",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "tag",
|
||||
"registry": true,
|
||||
"raw": "@miniprogram-component-plus/tabs",
|
||||
"name": "@miniprogram-component-plus/tabs",
|
||||
"escapedName": "@miniprogram-component-plus%2ftabs",
|
||||
"scope": "@miniprogram-component-plus",
|
||||
"rawSpec": "",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "latest"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"#USER",
|
||||
"/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@miniprogram-component-plus/tabs/-/tabs-1.0.0.tgz",
|
||||
"_shasum": "cbf6b4e3ce7c4ac8ad790a844b407155f07d9ed7",
|
||||
"_spec": "@miniprogram-component-plus/tabs",
|
||||
"_where": "/Users/zhangshaokang/Desktop/matripeGit/demo/yiMini",
|
||||
"author": {
|
||||
"name": "sanfordsun"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"tabs",
|
||||
"miniprogram"
|
||||
],
|
||||
"license": "ISC",
|
||||
"main": "miniprogram_dist/index.js",
|
||||
"name": "@miniprogram-component-plus/tabs",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"version": "1.0.0"
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
{
|
||||
"plugins": [
|
||||
["module-resolver", {
|
||||
"root": ["./src"],
|
||||
"alias": {}
|
||||
}],
|
||||
"@babel/transform-runtime"
|
||||
],
|
||||
"presets": ["@babel/preset-env"]
|
||||
}
|
||||
@ -0,0 +1,99 @@
|
||||
module.exports = {
|
||||
'extends': [
|
||||
'airbnb-base',
|
||||
'plugin:promise/recommended'
|
||||
],
|
||||
'parserOptions': {
|
||||
'ecmaVersion': 9,
|
||||
'ecmaFeatures': {
|
||||
'jsx': false
|
||||
},
|
||||
'sourceType': 'module'
|
||||
},
|
||||
'env': {
|
||||
'es6': true,
|
||||
'node': true,
|
||||
'jest': true
|
||||
},
|
||||
'plugins': [
|
||||
'import',
|
||||
'node',
|
||||
'promise'
|
||||
],
|
||||
'rules': {
|
||||
'arrow-parens': 'off',
|
||||
'comma-dangle': [
|
||||
'error',
|
||||
'only-multiline'
|
||||
],
|
||||
'complexity': ['error', 10],
|
||||
'func-names': 'off',
|
||||
'global-require': 'off',
|
||||
'handle-callback-err': [
|
||||
'error',
|
||||
'^(err|error)$'
|
||||
],
|
||||
'import/no-unresolved': [
|
||||
'error',
|
||||
{
|
||||
'caseSensitive': true,
|
||||
'commonjs': true,
|
||||
'ignore': ['^[^.]']
|
||||
}
|
||||
],
|
||||
'import/prefer-default-export': 'off',
|
||||
'linebreak-style': 'off',
|
||||
'no-catch-shadow': 'error',
|
||||
'no-continue': 'off',
|
||||
'no-div-regex': 'warn',
|
||||
'no-else-return': 'off',
|
||||
'no-param-reassign': 'off',
|
||||
'no-plusplus': 'off',
|
||||
'no-shadow': 'off',
|
||||
'no-multi-assign': 'off',
|
||||
'no-underscore-dangle': 'off',
|
||||
'node/no-deprecated-api': 'error',
|
||||
'node/process-exit-as-throw': 'error',
|
||||
'object-curly-spacing': [
|
||||
'error',
|
||||
'never'
|
||||
],
|
||||
'operator-linebreak': [
|
||||
'error',
|
||||
'after',
|
||||
{
|
||||
'overrides': {
|
||||
':': 'before',
|
||||
'?': 'before'
|
||||
}
|
||||
}
|
||||
],
|
||||
'prefer-arrow-callback': 'off',
|
||||
'prefer-destructuring': 'off',
|
||||
'prefer-template': 'off',
|
||||
'quote-props': [
|
||||
1,
|
||||
'as-needed',
|
||||
{
|
||||
'unnecessary': true
|
||||
}
|
||||
],
|
||||
'semi': [
|
||||
'error',
|
||||
'never'
|
||||
],
|
||||
'no-await-in-loop': 'off',
|
||||
'no-restricted-syntax': 'off',
|
||||
'promise/always-return': 'off',
|
||||
},
|
||||
'globals': {
|
||||
'window': true,
|
||||
'document': true,
|
||||
'App': true,
|
||||
'Page': true,
|
||||
'Component': true,
|
||||
'Behavior': true,
|
||||
'wx': true,
|
||||
'getCurrentPages': true,
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019 wechat-miniprogram
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@ -0,0 +1,26 @@
|
||||
const gulp = require('gulp')
|
||||
const clean = require('gulp-clean')
|
||||
|
||||
const config = require('./tools/config')
|
||||
const BuildTask = require('./tools/build')
|
||||
const id = require('./package.json').name || 'miniprogram-custom-component'
|
||||
|
||||
// 构建任务实例
|
||||
// eslint-disable-next-line no-new
|
||||
new BuildTask(id, config.entry)
|
||||
|
||||
// 清空生成目录和文件
|
||||
gulp.task('clean', gulp.series(() => gulp.src(config.distPath, {read: false, allowEmpty: true}).pipe(clean()), done => {
|
||||
if (config.isDev) {
|
||||
return gulp.src(config.demoDist, {read: false, allowEmpty: true})
|
||||
.pipe(clean())
|
||||
}
|
||||
|
||||
return done()
|
||||
}))
|
||||
// 监听文件变化并进行开发模式构建
|
||||
gulp.task('watch', gulp.series(`${id}-watch`))
|
||||
// 开发模式构建
|
||||
gulp.task('dev', gulp.series(`${id}-dev`))
|
||||
// 生产模式构建
|
||||
gulp.task('default', gulp.series(`${id}-default`))
|
||||
@ -0,0 +1,779 @@
|
||||
(function webpackUniversalModuleDefinition(root, factory) {
|
||||
if(typeof exports === 'object' && typeof module === 'object')
|
||||
module.exports = factory();
|
||||
else if(typeof define === 'function' && define.amd)
|
||||
define([], factory);
|
||||
else {
|
||||
var a = factory();
|
||||
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
||||
}
|
||||
})(window, function() {
|
||||
return /******/ (function(modules) { // webpackBootstrap
|
||||
/******/ // The module cache
|
||||
/******/ var installedModules = {};
|
||||
/******/
|
||||
/******/ // The require function
|
||||
/******/ function __webpack_require__(moduleId) {
|
||||
/******/
|
||||
/******/ // Check if module is in cache
|
||||
/******/ if(installedModules[moduleId]) {
|
||||
/******/ return installedModules[moduleId].exports;
|
||||
/******/ }
|
||||
/******/ // Create a new module (and put it into the cache)
|
||||
/******/ var module = installedModules[moduleId] = {
|
||||
/******/ i: moduleId,
|
||||
/******/ l: false,
|
||||
/******/ exports: {}
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/
|
||||
/******/ // Flag the module as loaded
|
||||
/******/ module.l = true;
|
||||
/******/
|
||||
/******/ // Return the exports of the module
|
||||
/******/ return module.exports;
|
||||
/******/ }
|
||||
/******/
|
||||
/******/
|
||||
/******/ // expose the modules object (__webpack_modules__)
|
||||
/******/ __webpack_require__.m = modules;
|
||||
/******/
|
||||
/******/ // expose the module cache
|
||||
/******/ __webpack_require__.c = installedModules;
|
||||
/******/
|
||||
/******/ // define getter function for harmony exports
|
||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
||||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // define __esModule on exports
|
||||
/******/ __webpack_require__.r = function(exports) {
|
||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||
/******/ }
|
||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // create a fake namespace object
|
||||
/******/ // mode & 1: value is a module id, require it
|
||||
/******/ // mode & 2: merge all properties of value into the ns
|
||||
/******/ // mode & 4: return value when already ns object
|
||||
/******/ // mode & 8|1: behave like require
|
||||
/******/ __webpack_require__.t = function(value, mode) {
|
||||
/******/ if(mode & 1) value = __webpack_require__(value);
|
||||
/******/ if(mode & 8) return value;
|
||||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
||||
/******/ var ns = Object.create(null);
|
||||
/******/ __webpack_require__.r(ns);
|
||||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
||||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
||||
/******/ return ns;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||
/******/ __webpack_require__.n = function(module) {
|
||||
/******/ var getter = module && module.__esModule ?
|
||||
/******/ function getDefault() { return module['default']; } :
|
||||
/******/ function getModuleExports() { return module; };
|
||||
/******/ __webpack_require__.d(getter, 'a', getter);
|
||||
/******/ return getter;
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Object.prototype.hasOwnProperty.call
|
||||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
||||
/******/
|
||||
/******/ // __webpack_public_path__
|
||||
/******/ __webpack_require__.p = "";
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 1);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ([
|
||||
/* 0 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
const hex = (color) => {
|
||||
let result = null
|
||||
|
||||
if (/^#/.test(color) && (color.length === 7 || color.length === 9)) {
|
||||
return color
|
||||
// eslint-disable-next-line no-cond-assign
|
||||
} else if ((result = /^(rgb|rgba)\((.+)\)/.exec(color)) !== null) {
|
||||
return '#' + result[2].split(',').map((part, index) => {
|
||||
part = part.trim()
|
||||
part = index === 3 ? Math.floor(parseFloat(part) * 255) : parseInt(part, 10)
|
||||
part = part.toString(16)
|
||||
if (part.length === 1) {
|
||||
part = '0' + part
|
||||
}
|
||||
return part
|
||||
}).join('')
|
||||
} else {
|
||||
return '#00000000'
|
||||
}
|
||||
}
|
||||
|
||||
const splitLineToCamelCase = (str) => str.split('-').map((part, index) => {
|
||||
if (index === 0) {
|
||||
return part
|
||||
}
|
||||
return part[0].toUpperCase() + part.slice(1)
|
||||
}).join('')
|
||||
|
||||
const compareVersion = (v1, v2) => {
|
||||
v1 = v1.split('.')
|
||||
v2 = v2.split('.')
|
||||
const len = Math.max(v1.length, v2.length)
|
||||
while (v1.length < len) {
|
||||
v1.push('0')
|
||||
}
|
||||
while (v2.length < len) {
|
||||
v2.push('0')
|
||||
}
|
||||
for (let i = 0; i < len; i++) {
|
||||
const num1 = parseInt(v1[i], 10)
|
||||
const num2 = parseInt(v2[i], 10)
|
||||
|
||||
if (num1 > num2) {
|
||||
return 1
|
||||
} else if (num1 < num2) {
|
||||
return -1
|
||||
}
|
||||
}
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
hex,
|
||||
splitLineToCamelCase,
|
||||
compareVersion
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 1 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
|
||||
const xmlParse = __webpack_require__(2)
|
||||
const {Widget} = __webpack_require__(3)
|
||||
const {Draw} = __webpack_require__(5)
|
||||
const {compareVersion} = __webpack_require__(0)
|
||||
|
||||
const canvasId = 'weui-canvas'
|
||||
|
||||
Component({
|
||||
properties: {
|
||||
width: {
|
||||
type: Number,
|
||||
value: 400
|
||||
},
|
||||
height: {
|
||||
type: Number,
|
||||
value: 300
|
||||
}
|
||||
},
|
||||
data: {
|
||||
use2dCanvas: false, // 2.9.2 后可用canvas 2d 接口
|
||||
},
|
||||
lifetimes: {
|
||||
attached() {
|
||||
const {SDKVersion, pixelRatio: dpr} = wx.getSystemInfoSync()
|
||||
const use2dCanvas = compareVersion(SDKVersion, '2.9.2') >= 0
|
||||
this.dpr = dpr
|
||||
this.setData({use2dCanvas}, () => {
|
||||
if (use2dCanvas) {
|
||||
const query = this.createSelectorQuery()
|
||||
query.select(`#${canvasId}`)
|
||||
.fields({node: true, size: true})
|
||||
.exec(res => {
|
||||
const canvas = res[0].node
|
||||
const ctx = canvas.getContext('2d')
|
||||
canvas.width = res[0].width * dpr
|
||||
canvas.height = res[0].height * dpr
|
||||
ctx.scale(dpr, dpr)
|
||||
this.ctx = ctx
|
||||
this.canvas = canvas
|
||||
})
|
||||
} else {
|
||||
this.ctx = wx.createCanvasContext(canvasId, this)
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async renderToCanvas(args) {
|
||||
const {wxml, style} = args
|
||||
const ctx = this.ctx
|
||||
const canvas = this.canvas
|
||||
const use2dCanvas = this.data.use2dCanvas
|
||||
|
||||
if (use2dCanvas && !canvas) {
|
||||
return Promise.reject(new Error('renderToCanvas: fail canvas has not been created'))
|
||||
}
|
||||
|
||||
ctx.clearRect(0, 0, this.data.width, this.data.height)
|
||||
const {root: xom} = xmlParse(wxml)
|
||||
|
||||
const widget = new Widget(xom, style)
|
||||
const container = widget.init()
|
||||
this.boundary = {
|
||||
top: container.layoutBox.top,
|
||||
left: container.layoutBox.left,
|
||||
width: container.computedStyle.width,
|
||||
height: container.computedStyle.height,
|
||||
}
|
||||
const draw = new Draw(ctx, canvas, use2dCanvas)
|
||||
await draw.drawNode(container)
|
||||
|
||||
if (!use2dCanvas) {
|
||||
await this.canvasDraw(ctx)
|
||||
}
|
||||
return Promise.resolve(container)
|
||||
},
|
||||
|
||||
canvasDraw(ctx, reserve) {
|
||||
return new Promise(resolve => {
|
||||
ctx.draw(reserve, () => {
|
||||
resolve()
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
canvasToTempFilePath(args = {}) {
|
||||
const use2dCanvas = this.data.use2dCanvas
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
const {
|
||||
top, left, width, height
|
||||
} = this.boundary
|
||||
|
||||
const copyArgs = {
|
||||
x: left,
|
||||
y: top,
|
||||
width,
|
||||
height,
|
||||
destWidth: width * this.dpr,
|
||||
destHeight: height * this.dpr,
|
||||
canvasId,
|
||||
fileType: args.fileType || 'png',
|
||||
quality: args.quality || 1,
|
||||
success: resolve,
|
||||
fail: reject
|
||||
}
|
||||
|
||||
if (use2dCanvas) {
|
||||
delete copyArgs.canvasId
|
||||
copyArgs.canvas = this.canvas
|
||||
}
|
||||
wx.canvasToTempFilePath(copyArgs, this)
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 2 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Module dependencies.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Expose `parse`.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Parse the given string of `xml`.
|
||||
*
|
||||
* @param {String} xml
|
||||
* @return {Object}
|
||||
* @api public
|
||||
*/
|
||||
|
||||
function parse(xml) {
|
||||
xml = xml.trim()
|
||||
|
||||
// strip comments
|
||||
xml = xml.replace(/<!--[\s\S]*?-->/g, '')
|
||||
|
||||
return document()
|
||||
|
||||
/**
|
||||
* XML document.
|
||||
*/
|
||||
|
||||
function document() {
|
||||
return {
|
||||
declaration: declaration(),
|
||||
root: tag()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Declaration.
|
||||
*/
|
||||
|
||||
function declaration() {
|
||||
const m = match(/^<\?xml\s*/)
|
||||
if (!m) return
|
||||
|
||||
// tag
|
||||
const node = {
|
||||
attributes: {}
|
||||
}
|
||||
|
||||
// attributes
|
||||
while (!(eos() || is('?>'))) {
|
||||
const attr = attribute()
|
||||
if (!attr) return node
|
||||
node.attributes[attr.name] = attr.value
|
||||
}
|
||||
|
||||
match(/\?>\s*/)
|
||||
|
||||
return node
|
||||
}
|
||||
|
||||
/**
|
||||
* Tag.
|
||||
*/
|
||||
|
||||
function tag() {
|
||||
const m = match(/^<([\w-:.]+)\s*/)
|
||||
if (!m) return
|
||||
|
||||
// name
|
||||
const node = {
|
||||
name: m[1],
|
||||
attributes: {},
|
||||
children: []
|
||||
}
|
||||
|
||||
// attributes
|
||||
while (!(eos() || is('>') || is('?>') || is('/>'))) {
|
||||
const attr = attribute()
|
||||
if (!attr) return node
|
||||
node.attributes[attr.name] = attr.value
|
||||
}
|
||||
|
||||
// self closing tag
|
||||
if (match(/^\s*\/>\s*/)) {
|
||||
return node
|
||||
}
|
||||
|
||||
match(/\??>\s*/)
|
||||
|
||||
// content
|
||||
node.content = content()
|
||||
|
||||
// children
|
||||
let child
|
||||
while (child = tag()) {
|
||||
node.children.push(child)
|
||||
}
|
||||
|
||||
// closing
|
||||
match(/^<\/[\w-:.]+>\s*/)
|
||||
|
||||
return node
|
||||
}
|
||||
|
||||
/**
|
||||
* Text content.
|
||||
*/
|
||||
|
||||
function content() {
|
||||
const m = match(/^([^<]*)/)
|
||||
if (m) return m[1]
|
||||
return ''
|
||||
}
|
||||
|
||||
/**
|
||||
* Attribute.
|
||||
*/
|
||||
|
||||
function attribute() {
|
||||
const m = match(/([\w:-]+)\s*=\s*("[^"]*"|'[^']*'|\w+)\s*/)
|
||||
if (!m) return
|
||||
return {name: m[1], value: strip(m[2])}
|
||||
}
|
||||
|
||||
/**
|
||||
* Strip quotes from `val`.
|
||||
*/
|
||||
|
||||
function strip(val) {
|
||||
return val.replace(/^['"]|['"]$/g, '')
|
||||
}
|
||||
|
||||
/**
|
||||
* Match `re` and advance the string.
|
||||
*/
|
||||
|
||||
function match(re) {
|
||||
const m = xml.match(re)
|
||||
if (!m) return
|
||||
xml = xml.slice(m[0].length)
|
||||
return m
|
||||
}
|
||||
|
||||
/**
|
||||
* End-of-source.
|
||||
*/
|
||||
|
||||
function eos() {
|
||||
return xml.length == 0
|
||||
}
|
||||
|
||||
/**
|
||||
* Check for `prefix`.
|
||||
*/
|
||||
|
||||
function is(prefix) {
|
||||
return xml.indexOf(prefix) == 0
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = parse
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 3 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
const Block = __webpack_require__(4)
|
||||
const {splitLineToCamelCase} = __webpack_require__(0)
|
||||
|
||||
class Element extends Block {
|
||||
constructor(prop) {
|
||||
super(prop.style)
|
||||
this.name = prop.name
|
||||
this.attributes = prop.attributes
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class Widget {
|
||||
constructor(xom, style) {
|
||||
this.xom = xom
|
||||
this.style = style
|
||||
|
||||
this.inheritProps = ['fontSize', 'lineHeight', 'textAlign', 'verticalAlign', 'color']
|
||||
}
|
||||
|
||||
init() {
|
||||
this.container = this.create(this.xom)
|
||||
this.container.layout()
|
||||
|
||||
this.inheritStyle(this.container)
|
||||
return this.container
|
||||
}
|
||||
|
||||
// 继承父节点的样式
|
||||
inheritStyle(node) {
|
||||
const parent = node.parent || null
|
||||
const children = node.children || {}
|
||||
const computedStyle = node.computedStyle
|
||||
|
||||
if (parent) {
|
||||
this.inheritProps.forEach(prop => {
|
||||
computedStyle[prop] = computedStyle[prop] || parent.computedStyle[prop]
|
||||
})
|
||||
}
|
||||
|
||||
Object.values(children).forEach(child => {
|
||||
this.inheritStyle(child)
|
||||
})
|
||||
}
|
||||
|
||||
create(node) {
|
||||
let classNames = (node.attributes.class || '').split(' ')
|
||||
classNames = classNames.map(item => splitLineToCamelCase(item.trim()))
|
||||
const style = {}
|
||||
classNames.forEach(item => {
|
||||
Object.assign(style, this.style[item] || {})
|
||||
})
|
||||
|
||||
const args = {name: node.name, style}
|
||||
|
||||
const attrs = Object.keys(node.attributes)
|
||||
const attributes = {}
|
||||
for (const attr of attrs) {
|
||||
const value = node.attributes[attr]
|
||||
const CamelAttr = splitLineToCamelCase(attr)
|
||||
|
||||
if (value === '' || value === 'true') {
|
||||
attributes[CamelAttr] = true
|
||||
} else if (value === 'false') {
|
||||
attributes[CamelAttr] = false
|
||||
} else {
|
||||
attributes[CamelAttr] = value
|
||||
}
|
||||
}
|
||||
attributes.text = node.content
|
||||
args.attributes = attributes
|
||||
const element = new Element(args)
|
||||
node.children.forEach(childNode => {
|
||||
const childElement = this.create(childNode)
|
||||
element.add(childElement)
|
||||
})
|
||||
return element
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {Widget}
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 4 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = require("widget-ui");
|
||||
|
||||
/***/ }),
|
||||
/* 5 */
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
class Draw {
|
||||
constructor(context, canvas, use2dCanvas = false) {
|
||||
this.ctx = context
|
||||
this.canvas = canvas || null
|
||||
this.use2dCanvas = use2dCanvas
|
||||
}
|
||||
|
||||
roundRect(x, y, w, h, r, fill = true, stroke = false) {
|
||||
if (r < 0) return
|
||||
const ctx = this.ctx
|
||||
|
||||
ctx.beginPath()
|
||||
ctx.arc(x + r, y + r, r, Math.PI, Math.PI * 3 / 2)
|
||||
ctx.arc(x + w - r, y + r, r, Math.PI * 3 / 2, 0)
|
||||
ctx.arc(x + w - r, y + h - r, r, 0, Math.PI / 2)
|
||||
ctx.arc(x + r, y + h - r, r, Math.PI / 2, Math.PI)
|
||||
ctx.lineTo(x, y + r)
|
||||
if (stroke) ctx.stroke()
|
||||
if (fill) ctx.fill()
|
||||
}
|
||||
|
||||
drawView(box, style) {
|
||||
const ctx = this.ctx
|
||||
const {
|
||||
left: x, top: y, width: w, height: h
|
||||
} = box
|
||||
const {
|
||||
borderRadius = 0,
|
||||
borderWidth = 0,
|
||||
borderColor,
|
||||
color = '#000',
|
||||
backgroundColor = 'transparent',
|
||||
} = style
|
||||
ctx.save()
|
||||
// 外环
|
||||
if (borderWidth > 0) {
|
||||
ctx.fillStyle = borderColor || color
|
||||
this.roundRect(x, y, w, h, borderRadius)
|
||||
}
|
||||
|
||||
// 内环
|
||||
ctx.fillStyle = backgroundColor
|
||||
const innerWidth = w - 2 * borderWidth
|
||||
const innerHeight = h - 2 * borderWidth
|
||||
const innerRadius = borderRadius - borderWidth >= 0 ? borderRadius - borderWidth : 0
|
||||
this.roundRect(x + borderWidth, y + borderWidth, innerWidth, innerHeight, innerRadius)
|
||||
ctx.restore()
|
||||
}
|
||||
|
||||
async drawImage(img, box, style) {
|
||||
await new Promise((resolve, reject) => {
|
||||
const ctx = this.ctx
|
||||
const canvas = this.canvas
|
||||
|
||||
const {
|
||||
borderRadius = 0
|
||||
} = style
|
||||
const {
|
||||
left: x, top: y, width: w, height: h
|
||||
} = box
|
||||
ctx.save()
|
||||
this.roundRect(x, y, w, h, borderRadius, false, false)
|
||||
ctx.clip()
|
||||
|
||||
const _drawImage = (img) => {
|
||||
if (this.use2dCanvas) {
|
||||
const Image = canvas.createImage()
|
||||
Image.onload = () => {
|
||||
ctx.drawImage(Image, x, y, w, h)
|
||||
ctx.restore()
|
||||
resolve()
|
||||
}
|
||||
Image.onerror = () => { reject(new Error(`createImage fail: ${img}`)) }
|
||||
Image.src = img
|
||||
} else {
|
||||
ctx.drawImage(img, x, y, w, h)
|
||||
ctx.restore()
|
||||
resolve()
|
||||
}
|
||||
}
|
||||
|
||||
const isTempFile = /^wxfile:\/\//.test(img)
|
||||
const isNetworkFile = /^https?:\/\//.test(img)
|
||||
|
||||
if (isTempFile) {
|
||||
_drawImage(img)
|
||||
} else if (isNetworkFile) {
|
||||
wx.downloadFile({
|
||||
url: img,
|
||||
success(res) {
|
||||
if (res.statusCode === 200) {
|
||||
_drawImage(res.tempFilePath)
|
||||
} else {
|
||||
reject(new Error(`downloadFile:fail ${img}`))
|
||||
}
|
||||
},
|
||||
fail() {
|
||||
reject(new Error(`downloadFile:fail ${img}`))
|
||||
}
|
||||
})
|
||||
} else {
|
||||
reject(new Error(`image format error: ${img}`))
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// eslint-disable-next-line complexity
|
||||
drawText(text, box, style) {
|
||||
const ctx = this.ctx
|
||||
let {
|
||||
left: x, top: y, width: w, height: h
|
||||
} = box
|
||||
let {
|
||||
color = '#000',
|
||||
lineHeight = '1.4em',
|
||||
fontSize = 14,
|
||||
textAlign = 'left',
|
||||
verticalAlign = 'top',
|
||||
backgroundColor = 'transparent'
|
||||
} = style
|
||||
|
||||
if (typeof lineHeight === 'string') { // 2em
|
||||
lineHeight = Math.ceil(parseFloat(lineHeight.replace('em')) * fontSize)
|
||||
}
|
||||
if (!text || (lineHeight > h)) return
|
||||
|
||||
ctx.save()
|
||||
ctx.textBaseline = 'top'
|
||||
ctx.font = `${fontSize}px sans-serif`
|
||||
ctx.textAlign = textAlign
|
||||
|
||||
// 背景色
|
||||
ctx.fillStyle = backgroundColor
|
||||
this.roundRect(x, y, w, h, 0)
|
||||
|
||||
// 文字颜色
|
||||
ctx.fillStyle = color
|
||||
|
||||
// 水平布局
|
||||
switch (textAlign) {
|
||||
case 'left':
|
||||
break
|
||||
case 'center':
|
||||
x += 0.5 * w
|
||||
break
|
||||
case 'right':
|
||||
x += w
|
||||
break
|
||||
default: break
|
||||
}
|
||||
|
||||
const textWidth = ctx.measureText(text).width
|
||||
const actualHeight = Math.ceil(textWidth / w) * lineHeight
|
||||
let paddingTop = Math.ceil((h - actualHeight) / 2)
|
||||
if (paddingTop < 0) paddingTop = 0
|
||||
|
||||
// 垂直布局
|
||||
switch (verticalAlign) {
|
||||
case 'top':
|
||||
break
|
||||
case 'middle':
|
||||
y += paddingTop
|
||||
break
|
||||
case 'bottom':
|
||||
y += 2 * paddingTop
|
||||
break
|
||||
default: break
|
||||
}
|
||||
|
||||
const inlinePaddingTop = Math.ceil((lineHeight - fontSize) / 2)
|
||||
|
||||
// 不超过一行
|
||||
if (textWidth <= w) {
|
||||
ctx.fillText(text, x, y + inlinePaddingTop)
|
||||
return
|
||||
}
|
||||
|
||||
// 多行文本
|
||||
const chars = text.split('')
|
||||
const _y = y
|
||||
|
||||
// 逐行绘制
|
||||
let line = ''
|
||||
for (const ch of chars) {
|
||||
const testLine = line + ch
|
||||
const testWidth = ctx.measureText(testLine).width
|
||||
|
||||
if (testWidth > w) {
|
||||
ctx.fillText(line, x, y + inlinePaddingTop)
|
||||
y += lineHeight
|
||||
line = ch
|
||||
if ((y + lineHeight) > (_y + h)) break
|
||||
} else {
|
||||
line = testLine
|
||||
}
|
||||
}
|
||||
|
||||
// 避免溢出
|
||||
if ((y + lineHeight) <= (_y + h)) {
|
||||
ctx.fillText(line, x, y + inlinePaddingTop)
|
||||
}
|
||||
ctx.restore()
|
||||
}
|
||||
|
||||
async drawNode(element) {
|
||||
const {layoutBox, computedStyle, name} = element
|
||||
const {src, text} = element.attributes
|
||||
if (name === 'view') {
|
||||
this.drawView(layoutBox, computedStyle)
|
||||
} else if (name === 'image') {
|
||||
await this.drawImage(src, layoutBox, computedStyle)
|
||||
} else if (name === 'text') {
|
||||
this.drawText(text, layoutBox, computedStyle)
|
||||
}
|
||||
const childs = Object.values(element.children)
|
||||
for (const child of childs) {
|
||||
await this.drawNode(child)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module.exports = {
|
||||
Draw
|
||||
}
|
||||
|
||||
|
||||
/***/ })
|
||||
/******/ ]);
|
||||
});
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1,2 @@
|
||||
<canvas wx:if="{{use2dCanvas}}" id="weui-canvas" type="2d" style="width: {{width}}px; height: {{height}}px;"></canvas>
|
||||
<canvas wx:else canvas-id="weui-canvas" style="width: {{width}}px; height: {{height}}px;"></canvas>
|
||||
@ -0,0 +1,57 @@
|
||||
const hex = (color) => {
|
||||
let result = null
|
||||
|
||||
if (/^#/.test(color) && (color.length === 7 || color.length === 9)) {
|
||||
return color
|
||||
// eslint-disable-next-line no-cond-assign
|
||||
} else if ((result = /^(rgb|rgba)\((.+)\)/.exec(color)) !== null) {
|
||||
return '#' + result[2].split(',').map((part, index) => {
|
||||
part = part.trim()
|
||||
part = index === 3 ? Math.floor(parseFloat(part) * 255) : parseInt(part, 10)
|
||||
part = part.toString(16)
|
||||
if (part.length === 1) {
|
||||
part = '0' + part
|
||||
}
|
||||
return part
|
||||
}).join('')
|
||||
} else {
|
||||
return '#00000000'
|
||||
}
|
||||
}
|
||||
|
||||
const splitLineToCamelCase = (str) => str.split('-').map((part, index) => {
|
||||
if (index === 0) {
|
||||
return part
|
||||
}
|
||||
return part[0].toUpperCase() + part.slice(1)
|
||||
}).join('')
|
||||
|
||||
const compareVersion = (v1, v2) => {
|
||||
v1 = v1.split('.')
|
||||
v2 = v2.split('.')
|
||||
const len = Math.max(v1.length, v2.length)
|
||||
while (v1.length < len) {
|
||||
v1.push('0')
|
||||
}
|
||||
while (v2.length < len) {
|
||||
v2.push('0')
|
||||
}
|
||||
for (let i = 0; i < len; i++) {
|
||||
const num1 = parseInt(v1[i], 10)
|
||||
const num2 = parseInt(v2[i], 10)
|
||||
|
||||
if (num1 > num2) {
|
||||
return 1
|
||||
} else if (num1 < num2) {
|
||||
return -1
|
||||
}
|
||||
}
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
hex,
|
||||
splitLineToCamelCase,
|
||||
compareVersion
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Arnout Kazemier
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@ -0,0 +1,94 @@
|
||||
# EventEmitter3
|
||||
|
||||
[](https://www.npmjs.com/package/eventemitter3)[](https://travis-ci.org/primus/eventemitter3)[](https://david-dm.org/primus/eventemitter3)[](https://coveralls.io/r/primus/eventemitter3?branch=master)[](https://webchat.freenode.net/?channels=primus)
|
||||
|
||||
[](https://saucelabs.com/u/eventemitter3)
|
||||
|
||||
EventEmitter3 is a high performance EventEmitter. It has been micro-optimized
|
||||
for various of code paths making this, one of, if not the fastest EventEmitter
|
||||
available for Node.js and browsers. The module is API compatible with the
|
||||
EventEmitter that ships by default with Node.js but there are some slight
|
||||
differences:
|
||||
|
||||
- Domain support has been removed.
|
||||
- We do not `throw` an error when you emit an `error` event and nobody is
|
||||
listening.
|
||||
- The `newListener` and `removeListener` events have been removed as they
|
||||
are useful only in some uncommon use-cases.
|
||||
- The `setMaxListeners`, `getMaxListeners`, `prependListener` and
|
||||
`prependOnceListener` methods are not available.
|
||||
- Support for custom context for events so there is no need to use `fn.bind`.
|
||||
- The `removeListener` method removes all matching listeners, not only the
|
||||
first.
|
||||
|
||||
It's a drop in replacement for existing EventEmitters, but just faster. Free
|
||||
performance, who wouldn't want that? The EventEmitter is written in EcmaScript 3
|
||||
so it will work in the oldest browsers and node versions that you need to
|
||||
support.
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
$ npm install --save eventemitter3
|
||||
```
|
||||
|
||||
## CDN
|
||||
|
||||
Recommended CDN:
|
||||
|
||||
```text
|
||||
https://unpkg.com/eventemitter3@latest/umd/eventemitter3.min.js
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
After installation the only thing you need to do is require the module:
|
||||
|
||||
```js
|
||||
var EventEmitter = require('eventemitter3');
|
||||
```
|
||||
|
||||
And you're ready to create your own EventEmitter instances. For the API
|
||||
documentation, please follow the official Node.js documentation:
|
||||
|
||||
http://nodejs.org/api/events.html
|
||||
|
||||
### Contextual emits
|
||||
|
||||
We've upgraded the API of the `EventEmitter.on`, `EventEmitter.once` and
|
||||
`EventEmitter.removeListener` to accept an extra argument which is the `context`
|
||||
or `this` value that should be set for the emitted events. This means you no
|
||||
longer have the overhead of an event that required `fn.bind` in order to get a
|
||||
custom `this` value.
|
||||
|
||||
```js
|
||||
var EE = new EventEmitter()
|
||||
, context = { foo: 'bar' };
|
||||
|
||||
function emitted() {
|
||||
console.log(this === context); // true
|
||||
}
|
||||
|
||||
EE.once('event-name', emitted, context);
|
||||
EE.on('another-event', emitted, context);
|
||||
EE.removeListener('another-event', emitted, context);
|
||||
```
|
||||
|
||||
### Tests and benchmarks
|
||||
|
||||
This module is well tested. You can run:
|
||||
|
||||
- `npm test` to run the tests under Node.js.
|
||||
- `npm run test-browser` to run the tests in real browsers via Sauce Labs.
|
||||
|
||||
We also have a set of benchmarks to compare EventEmitter3 with some available
|
||||
alternatives. To run the benchmarks run `npm run benchmark`.
|
||||
|
||||
Tests and benchmarks are not included in the npm package. If you want to play
|
||||
with them you have to clone the GitHub repository.
|
||||
Note that you will have to run an additional `npm i` in the benchmarks folder
|
||||
before `npm run benchmark`.
|
||||
|
||||
## License
|
||||
|
||||
[MIT](LICENSE)
|
||||
@ -0,0 +1,134 @@
|
||||
/**
|
||||
* Minimal `EventEmitter` interface that is molded against the Node.js
|
||||
* `EventEmitter` interface.
|
||||
*/
|
||||
declare class EventEmitter<
|
||||
EventTypes extends EventEmitter.ValidEventTypes = string | symbol,
|
||||
Context extends any = any
|
||||
> {
|
||||
static prefixed: string | boolean;
|
||||
|
||||
/**
|
||||
* Return an array listing the events for which the emitter has registered
|
||||
* listeners.
|
||||
*/
|
||||
eventNames(): Array<EventEmitter.EventNames<EventTypes>>;
|
||||
|
||||
/**
|
||||
* Return the listeners registered for a given event.
|
||||
*/
|
||||
listeners<T extends EventEmitter.EventNames<EventTypes>>(
|
||||
event: T
|
||||
): Array<EventEmitter.EventListener<EventTypes, T>>;
|
||||
|
||||
/**
|
||||
* Return the number of listeners listening to a given event.
|
||||
*/
|
||||
listenerCount(event: EventEmitter.EventNames<EventTypes>): number;
|
||||
|
||||
/**
|
||||
* Calls each of the listeners registered for a given event.
|
||||
*/
|
||||
emit<T extends EventEmitter.EventNames<EventTypes>>(
|
||||
event: T,
|
||||
...args: EventEmitter.EventArgs<EventTypes, T>
|
||||
): boolean;
|
||||
|
||||
/**
|
||||
* Add a listener for a given event.
|
||||
*/
|
||||
on<T extends EventEmitter.EventNames<EventTypes>>(
|
||||
event: T,
|
||||
fn: EventEmitter.EventListener<EventTypes, T>,
|
||||
context?: Context
|
||||
): this;
|
||||
addListener<T extends EventEmitter.EventNames<EventTypes>>(
|
||||
event: T,
|
||||
fn: EventEmitter.EventListener<EventTypes, T>,
|
||||
context?: Context
|
||||
): this;
|
||||
|
||||
/**
|
||||
* Add a one-time listener for a given event.
|
||||
*/
|
||||
once<T extends EventEmitter.EventNames<EventTypes>>(
|
||||
event: T,
|
||||
fn: EventEmitter.EventListener<EventTypes, T>,
|
||||
context?: Context
|
||||
): this;
|
||||
|
||||
/**
|
||||
* Remove the listeners of a given event.
|
||||
*/
|
||||
removeListener<T extends EventEmitter.EventNames<EventTypes>>(
|
||||
event: T,
|
||||
fn?: EventEmitter.EventListener<EventTypes, T>,
|
||||
context?: Context,
|
||||
once?: boolean
|
||||
): this;
|
||||
off<T extends EventEmitter.EventNames<EventTypes>>(
|
||||
event: T,
|
||||
fn?: EventEmitter.EventListener<EventTypes, T>,
|
||||
context?: Context,
|
||||
once?: boolean
|
||||
): this;
|
||||
|
||||
/**
|
||||
* Remove all listeners, or those of the specified event.
|
||||
*/
|
||||
removeAllListeners(event?: EventEmitter.EventNames<EventTypes>): this;
|
||||
}
|
||||
|
||||
declare namespace EventEmitter {
|
||||
export interface ListenerFn<Args extends any[] = any[]> {
|
||||
(...args: Args): void;
|
||||
}
|
||||
|
||||
export interface EventEmitterStatic {
|
||||
new <
|
||||
EventTypes extends ValidEventTypes = string | symbol,
|
||||
Context = any
|
||||
>(): EventEmitter<EventTypes, Context>;
|
||||
}
|
||||
|
||||
/**
|
||||
* `object` should be in either of the following forms:
|
||||
* ```
|
||||
* interface EventTypes {
|
||||
* 'event-with-parameters': any[]
|
||||
* 'event-with-example-handler': (...args: any[]) => void
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
export type ValidEventTypes = string | symbol | object;
|
||||
|
||||
export type EventNames<T extends ValidEventTypes> = T extends string | symbol
|
||||
? T
|
||||
: keyof T;
|
||||
|
||||
export type ArgumentMap<T extends object> = {
|
||||
[K in keyof T]: T[K] extends (...args: any[]) => void
|
||||
? Parameters<T[K]>
|
||||
: T[K] extends any[]
|
||||
? T[K]
|
||||
: any[];
|
||||
};
|
||||
|
||||
export type EventListener<
|
||||
T extends ValidEventTypes,
|
||||
K extends EventNames<T>
|
||||
> = T extends string | symbol
|
||||
? (...args: any[]) => void
|
||||
: (
|
||||
...args: ArgumentMap<Exclude<T, string | symbol>>[Extract<K, keyof T>]
|
||||
) => void;
|
||||
|
||||
export type EventArgs<
|
||||
T extends ValidEventTypes,
|
||||
K extends EventNames<T>
|
||||
> = Parameters<EventListener<T, K>>;
|
||||
|
||||
export const EventEmitter: EventEmitterStatic;
|
||||
}
|
||||
|
||||
export = EventEmitter;
|
||||
@ -0,0 +1,336 @@
|
||||
'use strict';
|
||||
|
||||
var has = Object.prototype.hasOwnProperty
|
||||
, prefix = '~';
|
||||
|
||||
/**
|
||||
* Constructor to create a storage for our `EE` objects.
|
||||
* An `Events` instance is a plain object whose properties are event names.
|
||||
*
|
||||
* @constructor
|
||||
* @private
|
||||
*/
|
||||
function Events() {}
|
||||
|
||||
//
|
||||
// We try to not inherit from `Object.prototype`. In some engines creating an
|
||||
// instance in this way is faster than calling `Object.create(null)` directly.
|
||||
// If `Object.create(null)` is not supported we prefix the event names with a
|
||||
// character to make sure that the built-in object properties are not
|
||||
// overridden or used as an attack vector.
|
||||
//
|
||||
if (Object.create) {
|
||||
Events.prototype = Object.create(null);
|
||||
|
||||
//
|
||||
// This hack is needed because the `__proto__` property is still inherited in
|
||||
// some old browsers like Android 4, iPhone 5.1, Opera 11 and Safari 5.
|
||||
//
|
||||
if (!new Events().__proto__) prefix = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Representation of a single event listener.
|
||||
*
|
||||
* @param {Function} fn The listener function.
|
||||
* @param {*} context The context to invoke the listener with.
|
||||
* @param {Boolean} [once=false] Specify if the listener is a one-time listener.
|
||||
* @constructor
|
||||
* @private
|
||||
*/
|
||||
function EE(fn, context, once) {
|
||||
this.fn = fn;
|
||||
this.context = context;
|
||||
this.once = once || false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a listener for a given event.
|
||||
*
|
||||
* @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @param {Function} fn The listener function.
|
||||
* @param {*} context The context to invoke the listener with.
|
||||
* @param {Boolean} once Specify if the listener is a one-time listener.
|
||||
* @returns {EventEmitter}
|
||||
* @private
|
||||
*/
|
||||
function addListener(emitter, event, fn, context, once) {
|
||||
if (typeof fn !== 'function') {
|
||||
throw new TypeError('The listener must be a function');
|
||||
}
|
||||
|
||||
var listener = new EE(fn, context || emitter, once)
|
||||
, evt = prefix ? prefix + event : event;
|
||||
|
||||
if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;
|
||||
else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);
|
||||
else emitter._events[evt] = [emitter._events[evt], listener];
|
||||
|
||||
return emitter;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear event by name.
|
||||
*
|
||||
* @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
|
||||
* @param {(String|Symbol)} evt The Event name.
|
||||
* @private
|
||||
*/
|
||||
function clearEvent(emitter, evt) {
|
||||
if (--emitter._eventsCount === 0) emitter._events = new Events();
|
||||
else delete emitter._events[evt];
|
||||
}
|
||||
|
||||
/**
|
||||
* Minimal `EventEmitter` interface that is molded against the Node.js
|
||||
* `EventEmitter` interface.
|
||||
*
|
||||
* @constructor
|
||||
* @public
|
||||
*/
|
||||
function EventEmitter() {
|
||||
this._events = new Events();
|
||||
this._eventsCount = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an array listing the events for which the emitter has registered
|
||||
* listeners.
|
||||
*
|
||||
* @returns {Array}
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.eventNames = function eventNames() {
|
||||
var names = []
|
||||
, events
|
||||
, name;
|
||||
|
||||
if (this._eventsCount === 0) return names;
|
||||
|
||||
for (name in (events = this._events)) {
|
||||
if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);
|
||||
}
|
||||
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
return names.concat(Object.getOwnPropertySymbols(events));
|
||||
}
|
||||
|
||||
return names;
|
||||
};
|
||||
|
||||
/**
|
||||
* Return the listeners registered for a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @returns {Array} The registered listeners.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.listeners = function listeners(event) {
|
||||
var evt = prefix ? prefix + event : event
|
||||
, handlers = this._events[evt];
|
||||
|
||||
if (!handlers) return [];
|
||||
if (handlers.fn) return [handlers.fn];
|
||||
|
||||
for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {
|
||||
ee[i] = handlers[i].fn;
|
||||
}
|
||||
|
||||
return ee;
|
||||
};
|
||||
|
||||
/**
|
||||
* Return the number of listeners listening to a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @returns {Number} The number of listeners.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.listenerCount = function listenerCount(event) {
|
||||
var evt = prefix ? prefix + event : event
|
||||
, listeners = this._events[evt];
|
||||
|
||||
if (!listeners) return 0;
|
||||
if (listeners.fn) return 1;
|
||||
return listeners.length;
|
||||
};
|
||||
|
||||
/**
|
||||
* Calls each of the listeners registered for a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @returns {Boolean} `true` if the event had listeners, else `false`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
|
||||
var evt = prefix ? prefix + event : event;
|
||||
|
||||
if (!this._events[evt]) return false;
|
||||
|
||||
var listeners = this._events[evt]
|
||||
, len = arguments.length
|
||||
, args
|
||||
, i;
|
||||
|
||||
if (listeners.fn) {
|
||||
if (listeners.once) this.removeListener(event, listeners.fn, undefined, true);
|
||||
|
||||
switch (len) {
|
||||
case 1: return listeners.fn.call(listeners.context), true;
|
||||
case 2: return listeners.fn.call(listeners.context, a1), true;
|
||||
case 3: return listeners.fn.call(listeners.context, a1, a2), true;
|
||||
case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;
|
||||
case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
|
||||
case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
|
||||
}
|
||||
|
||||
for (i = 1, args = new Array(len -1); i < len; i++) {
|
||||
args[i - 1] = arguments[i];
|
||||
}
|
||||
|
||||
listeners.fn.apply(listeners.context, args);
|
||||
} else {
|
||||
var length = listeners.length
|
||||
, j;
|
||||
|
||||
for (i = 0; i < length; i++) {
|
||||
if (listeners[i].once) this.removeListener(event, listeners[i].fn, undefined, true);
|
||||
|
||||
switch (len) {
|
||||
case 1: listeners[i].fn.call(listeners[i].context); break;
|
||||
case 2: listeners[i].fn.call(listeners[i].context, a1); break;
|
||||
case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;
|
||||
case 4: listeners[i].fn.call(listeners[i].context, a1, a2, a3); break;
|
||||
default:
|
||||
if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {
|
||||
args[j - 1] = arguments[j];
|
||||
}
|
||||
|
||||
listeners[i].fn.apply(listeners[i].context, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
/**
|
||||
* Add a listener for a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @param {Function} fn The listener function.
|
||||
* @param {*} [context=this] The context to invoke the listener with.
|
||||
* @returns {EventEmitter} `this`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.on = function on(event, fn, context) {
|
||||
return addListener(this, event, fn, context, false);
|
||||
};
|
||||
|
||||
/**
|
||||
* Add a one-time listener for a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @param {Function} fn The listener function.
|
||||
* @param {*} [context=this] The context to invoke the listener with.
|
||||
* @returns {EventEmitter} `this`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.once = function once(event, fn, context) {
|
||||
return addListener(this, event, fn, context, true);
|
||||
};
|
||||
|
||||
/**
|
||||
* Remove the listeners of a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @param {Function} fn Only remove the listeners that match this function.
|
||||
* @param {*} context Only remove the listeners that have this context.
|
||||
* @param {Boolean} once Only remove one-time listeners.
|
||||
* @returns {EventEmitter} `this`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {
|
||||
var evt = prefix ? prefix + event : event;
|
||||
|
||||
if (!this._events[evt]) return this;
|
||||
if (!fn) {
|
||||
clearEvent(this, evt);
|
||||
return this;
|
||||
}
|
||||
|
||||
var listeners = this._events[evt];
|
||||
|
||||
if (listeners.fn) {
|
||||
if (
|
||||
listeners.fn === fn &&
|
||||
(!once || listeners.once) &&
|
||||
(!context || listeners.context === context)
|
||||
) {
|
||||
clearEvent(this, evt);
|
||||
}
|
||||
} else {
|
||||
for (var i = 0, events = [], length = listeners.length; i < length; i++) {
|
||||
if (
|
||||
listeners[i].fn !== fn ||
|
||||
(once && !listeners[i].once) ||
|
||||
(context && listeners[i].context !== context)
|
||||
) {
|
||||
events.push(listeners[i]);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Reset the array, or remove it completely if we have no more listeners.
|
||||
//
|
||||
if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;
|
||||
else clearEvent(this, evt);
|
||||
}
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
/**
|
||||
* Remove all listeners, or those of the specified event.
|
||||
*
|
||||
* @param {(String|Symbol)} [event] The event name.
|
||||
* @returns {EventEmitter} `this`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {
|
||||
var evt;
|
||||
|
||||
if (event) {
|
||||
evt = prefix ? prefix + event : event;
|
||||
if (this._events[evt]) clearEvent(this, evt);
|
||||
} else {
|
||||
this._events = new Events();
|
||||
this._eventsCount = 0;
|
||||
}
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
//
|
||||
// Alias methods names because people roll like that.
|
||||
//
|
||||
EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
|
||||
EventEmitter.prototype.addListener = EventEmitter.prototype.on;
|
||||
|
||||
//
|
||||
// Expose the prefix.
|
||||
//
|
||||
EventEmitter.prefixed = prefix;
|
||||
|
||||
//
|
||||
// Allow `EventEmitter` to be imported as module namespace.
|
||||
//
|
||||
EventEmitter.EventEmitter = EventEmitter;
|
||||
|
||||
//
|
||||
// Expose the module.
|
||||
//
|
||||
if ('undefined' !== typeof module) {
|
||||
module.exports = EventEmitter;
|
||||
}
|
||||
@ -0,0 +1,84 @@
|
||||
{
|
||||
"_from": "eventemitter3@^4.0.0",
|
||||
"_id": "eventemitter3@4.0.7",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==",
|
||||
"_location": "/wxml-to-canvas/eventemitter3",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "eventemitter3@^4.0.0",
|
||||
"name": "eventemitter3",
|
||||
"escapedName": "eventemitter3",
|
||||
"rawSpec": "^4.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^4.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/wxml-to-canvas/widget-ui"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",
|
||||
"_shasum": "2de9b68f6528d5644ef5c59526a1b4a07306169f",
|
||||
"_spec": "eventemitter3@^4.0.0",
|
||||
"_where": "/Users/zhangshaokang/Desktop/matripeGit/demo/yiMini/node_modules/wxml-to-canvas/node_modules/widget-ui",
|
||||
"author": {
|
||||
"name": "Arnout Kazemier"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/primus/eventemitter3/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "EventEmitter3 focuses on performance while maintaining a Node.js AND browser compatible interface.",
|
||||
"devDependencies": {
|
||||
"assume": "^2.2.0",
|
||||
"browserify": "^16.5.0",
|
||||
"mocha": "^8.0.1",
|
||||
"nyc": "^15.1.0",
|
||||
"pre-commit": "^1.2.0",
|
||||
"sauce-browsers": "^2.0.0",
|
||||
"sauce-test": "^1.3.3",
|
||||
"uglify-js": "^3.9.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts",
|
||||
"umd"
|
||||
],
|
||||
"homepage": "https://github.com/primus/eventemitter3#readme",
|
||||
"keywords": [
|
||||
"EventEmitter",
|
||||
"EventEmitter2",
|
||||
"EventEmitter3",
|
||||
"Events",
|
||||
"addEventListener",
|
||||
"addListener",
|
||||
"emit",
|
||||
"emits",
|
||||
"emitter",
|
||||
"event",
|
||||
"once",
|
||||
"pub/sub",
|
||||
"publish",
|
||||
"reactor",
|
||||
"subscribe"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "eventemitter3",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/primus/eventemitter3.git"
|
||||
},
|
||||
"scripts": {
|
||||
"benchmark": "find benchmarks/run -name '*.js' -exec benchmarks/start.sh {} \\;",
|
||||
"browserify": "rm -rf umd && mkdir umd && browserify index.js -s EventEmitter3 -o umd/eventemitter3.js",
|
||||
"minify": "uglifyjs umd/eventemitter3.js --source-map -cm -o umd/eventemitter3.min.js",
|
||||
"prepublishOnly": "npm run browserify && npm run minify",
|
||||
"test": "nyc --reporter=html --reporter=text mocha test/test.js",
|
||||
"test-browser": "node test/browser.js"
|
||||
},
|
||||
"typings": "index.d.ts",
|
||||
"version": "4.0.7"
|
||||
}
|
||||
@ -0,0 +1,340 @@
|
||||
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.EventEmitter3 = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
|
||||
'use strict';
|
||||
|
||||
var has = Object.prototype.hasOwnProperty
|
||||
, prefix = '~';
|
||||
|
||||
/**
|
||||
* Constructor to create a storage for our `EE` objects.
|
||||
* An `Events` instance is a plain object whose properties are event names.
|
||||
*
|
||||
* @constructor
|
||||
* @private
|
||||
*/
|
||||
function Events() {}
|
||||
|
||||
//
|
||||
// We try to not inherit from `Object.prototype`. In some engines creating an
|
||||
// instance in this way is faster than calling `Object.create(null)` directly.
|
||||
// If `Object.create(null)` is not supported we prefix the event names with a
|
||||
// character to make sure that the built-in object properties are not
|
||||
// overridden or used as an attack vector.
|
||||
//
|
||||
if (Object.create) {
|
||||
Events.prototype = Object.create(null);
|
||||
|
||||
//
|
||||
// This hack is needed because the `__proto__` property is still inherited in
|
||||
// some old browsers like Android 4, iPhone 5.1, Opera 11 and Safari 5.
|
||||
//
|
||||
if (!new Events().__proto__) prefix = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Representation of a single event listener.
|
||||
*
|
||||
* @param {Function} fn The listener function.
|
||||
* @param {*} context The context to invoke the listener with.
|
||||
* @param {Boolean} [once=false] Specify if the listener is a one-time listener.
|
||||
* @constructor
|
||||
* @private
|
||||
*/
|
||||
function EE(fn, context, once) {
|
||||
this.fn = fn;
|
||||
this.context = context;
|
||||
this.once = once || false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a listener for a given event.
|
||||
*
|
||||
* @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @param {Function} fn The listener function.
|
||||
* @param {*} context The context to invoke the listener with.
|
||||
* @param {Boolean} once Specify if the listener is a one-time listener.
|
||||
* @returns {EventEmitter}
|
||||
* @private
|
||||
*/
|
||||
function addListener(emitter, event, fn, context, once) {
|
||||
if (typeof fn !== 'function') {
|
||||
throw new TypeError('The listener must be a function');
|
||||
}
|
||||
|
||||
var listener = new EE(fn, context || emitter, once)
|
||||
, evt = prefix ? prefix + event : event;
|
||||
|
||||
if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;
|
||||
else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);
|
||||
else emitter._events[evt] = [emitter._events[evt], listener];
|
||||
|
||||
return emitter;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear event by name.
|
||||
*
|
||||
* @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
|
||||
* @param {(String|Symbol)} evt The Event name.
|
||||
* @private
|
||||
*/
|
||||
function clearEvent(emitter, evt) {
|
||||
if (--emitter._eventsCount === 0) emitter._events = new Events();
|
||||
else delete emitter._events[evt];
|
||||
}
|
||||
|
||||
/**
|
||||
* Minimal `EventEmitter` interface that is molded against the Node.js
|
||||
* `EventEmitter` interface.
|
||||
*
|
||||
* @constructor
|
||||
* @public
|
||||
*/
|
||||
function EventEmitter() {
|
||||
this._events = new Events();
|
||||
this._eventsCount = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an array listing the events for which the emitter has registered
|
||||
* listeners.
|
||||
*
|
||||
* @returns {Array}
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.eventNames = function eventNames() {
|
||||
var names = []
|
||||
, events
|
||||
, name;
|
||||
|
||||
if (this._eventsCount === 0) return names;
|
||||
|
||||
for (name in (events = this._events)) {
|
||||
if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);
|
||||
}
|
||||
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
return names.concat(Object.getOwnPropertySymbols(events));
|
||||
}
|
||||
|
||||
return names;
|
||||
};
|
||||
|
||||
/**
|
||||
* Return the listeners registered for a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @returns {Array} The registered listeners.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.listeners = function listeners(event) {
|
||||
var evt = prefix ? prefix + event : event
|
||||
, handlers = this._events[evt];
|
||||
|
||||
if (!handlers) return [];
|
||||
if (handlers.fn) return [handlers.fn];
|
||||
|
||||
for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {
|
||||
ee[i] = handlers[i].fn;
|
||||
}
|
||||
|
||||
return ee;
|
||||
};
|
||||
|
||||
/**
|
||||
* Return the number of listeners listening to a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @returns {Number} The number of listeners.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.listenerCount = function listenerCount(event) {
|
||||
var evt = prefix ? prefix + event : event
|
||||
, listeners = this._events[evt];
|
||||
|
||||
if (!listeners) return 0;
|
||||
if (listeners.fn) return 1;
|
||||
return listeners.length;
|
||||
};
|
||||
|
||||
/**
|
||||
* Calls each of the listeners registered for a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @returns {Boolean} `true` if the event had listeners, else `false`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
|
||||
var evt = prefix ? prefix + event : event;
|
||||
|
||||
if (!this._events[evt]) return false;
|
||||
|
||||
var listeners = this._events[evt]
|
||||
, len = arguments.length
|
||||
, args
|
||||
, i;
|
||||
|
||||
if (listeners.fn) {
|
||||
if (listeners.once) this.removeListener(event, listeners.fn, undefined, true);
|
||||
|
||||
switch (len) {
|
||||
case 1: return listeners.fn.call(listeners.context), true;
|
||||
case 2: return listeners.fn.call(listeners.context, a1), true;
|
||||
case 3: return listeners.fn.call(listeners.context, a1, a2), true;
|
||||
case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;
|
||||
case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
|
||||
case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
|
||||
}
|
||||
|
||||
for (i = 1, args = new Array(len -1); i < len; i++) {
|
||||
args[i - 1] = arguments[i];
|
||||
}
|
||||
|
||||
listeners.fn.apply(listeners.context, args);
|
||||
} else {
|
||||
var length = listeners.length
|
||||
, j;
|
||||
|
||||
for (i = 0; i < length; i++) {
|
||||
if (listeners[i].once) this.removeListener(event, listeners[i].fn, undefined, true);
|
||||
|
||||
switch (len) {
|
||||
case 1: listeners[i].fn.call(listeners[i].context); break;
|
||||
case 2: listeners[i].fn.call(listeners[i].context, a1); break;
|
||||
case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;
|
||||
case 4: listeners[i].fn.call(listeners[i].context, a1, a2, a3); break;
|
||||
default:
|
||||
if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {
|
||||
args[j - 1] = arguments[j];
|
||||
}
|
||||
|
||||
listeners[i].fn.apply(listeners[i].context, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
/**
|
||||
* Add a listener for a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @param {Function} fn The listener function.
|
||||
* @param {*} [context=this] The context to invoke the listener with.
|
||||
* @returns {EventEmitter} `this`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.on = function on(event, fn, context) {
|
||||
return addListener(this, event, fn, context, false);
|
||||
};
|
||||
|
||||
/**
|
||||
* Add a one-time listener for a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @param {Function} fn The listener function.
|
||||
* @param {*} [context=this] The context to invoke the listener with.
|
||||
* @returns {EventEmitter} `this`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.once = function once(event, fn, context) {
|
||||
return addListener(this, event, fn, context, true);
|
||||
};
|
||||
|
||||
/**
|
||||
* Remove the listeners of a given event.
|
||||
*
|
||||
* @param {(String|Symbol)} event The event name.
|
||||
* @param {Function} fn Only remove the listeners that match this function.
|
||||
* @param {*} context Only remove the listeners that have this context.
|
||||
* @param {Boolean} once Only remove one-time listeners.
|
||||
* @returns {EventEmitter} `this`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {
|
||||
var evt = prefix ? prefix + event : event;
|
||||
|
||||
if (!this._events[evt]) return this;
|
||||
if (!fn) {
|
||||
clearEvent(this, evt);
|
||||
return this;
|
||||
}
|
||||
|
||||
var listeners = this._events[evt];
|
||||
|
||||
if (listeners.fn) {
|
||||
if (
|
||||
listeners.fn === fn &&
|
||||
(!once || listeners.once) &&
|
||||
(!context || listeners.context === context)
|
||||
) {
|
||||
clearEvent(this, evt);
|
||||
}
|
||||
} else {
|
||||
for (var i = 0, events = [], length = listeners.length; i < length; i++) {
|
||||
if (
|
||||
listeners[i].fn !== fn ||
|
||||
(once && !listeners[i].once) ||
|
||||
(context && listeners[i].context !== context)
|
||||
) {
|
||||
events.push(listeners[i]);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Reset the array, or remove it completely if we have no more listeners.
|
||||
//
|
||||
if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;
|
||||
else clearEvent(this, evt);
|
||||
}
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
/**
|
||||
* Remove all listeners, or those of the specified event.
|
||||
*
|
||||
* @param {(String|Symbol)} [event] The event name.
|
||||
* @returns {EventEmitter} `this`.
|
||||
* @public
|
||||
*/
|
||||
EventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {
|
||||
var evt;
|
||||
|
||||
if (event) {
|
||||
evt = prefix ? prefix + event : event;
|
||||
if (this._events[evt]) clearEvent(this, evt);
|
||||
} else {
|
||||
this._events = new Events();
|
||||
this._eventsCount = 0;
|
||||
}
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
//
|
||||
// Alias methods names because people roll like that.
|
||||
//
|
||||
EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
|
||||
EventEmitter.prototype.addListener = EventEmitter.prototype.on;
|
||||
|
||||
//
|
||||
// Expose the prefix.
|
||||
//
|
||||
EventEmitter.prefixed = prefix;
|
||||
|
||||
//
|
||||
// Allow `EventEmitter` to be imported as module namespace.
|
||||
//
|
||||
EventEmitter.EventEmitter = EventEmitter;
|
||||
|
||||
//
|
||||
// Expose the module.
|
||||
//
|
||||
if ('undefined' !== typeof module) {
|
||||
module.exports = EventEmitter;
|
||||
}
|
||||
|
||||
},{}]},{},[1])(1)
|
||||
});
|
||||
1
node_modules/wxml-to-canvas/node_modules/eventemitter3/umd/eventemitter3.min.js
generated
vendored
@ -0,0 +1 @@
|
||||
!function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).EventEmitter3=e()}(function(){return function i(s,f,c){function u(t,e){if(!f[t]){if(!s[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(a)return a(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var o=f[t]={exports:{}};s[t][0].call(o.exports,function(e){return u(s[t][1][e]||e)},o,o.exports,i,s,f,c)}return f[t].exports}for(var a="function"==typeof require&&require,e=0;e<c.length;e++)u(c[e]);return u}({1:[function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,v="~";function o(){}function f(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var i=new f(n,r||e,o),s=v?v+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],i]:e._events[s].push(i):(e._events[s]=i,e._eventsCount++),e}function u(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function s(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(v=!1)),s.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(v?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},s.prototype.listeners=function(e){var t=v?v+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,i=new Array(o);r<o;r++)i[r]=n[r].fn;return i},s.prototype.listenerCount=function(e){var t=v?v+e:e,n=this._events[t];return n?n.fn?1:n.length:0},s.prototype.emit=function(e,t,n,r,o,i){var s=v?v+e:e;if(!this._events[s])return!1;var f,c=this._events[s],u=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),u){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,r),!0;case 5:return c.fn.call(c.context,t,n,r,o),!0;case 6:return c.fn.call(c.context,t,n,r,o,i),!0}for(p=1,f=new Array(u-1);p<u;p++)f[p-1]=arguments[p];c.fn.apply(c.context,f)}else for(var a,l=c.length,p=0;p<l;p++)switch(c[p].once&&this.removeListener(e,c[p].fn,void 0,!0),u){case 1:c[p].fn.call(c[p].context);break;case 2:c[p].fn.call(c[p].context,t);break;case 3:c[p].fn.call(c[p].context,t,n);break;case 4:c[p].fn.call(c[p].context,t,n,r);break;default:if(!f)for(a=1,f=new Array(u-1);a<u;a++)f[a-1]=arguments[a];c[p].fn.apply(c[p].context,f)}return!0},s.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,n,r){var o=v?v+e:e;if(!this._events[o])return this;if(!t)return u(this,o),this;var i=this._events[o];if(i.fn)i.fn!==t||r&&!i.once||n&&i.context!==n||u(this,o);else{for(var s=0,f=[],c=i.length;s<c;s++)(i[s].fn!==t||r&&!i[s].once||n&&i[s].context!==n)&&f.push(i[s]);f.length?this._events[o]=1===f.length?f[0]:f:u(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=v?v+e:e,this._events[t]&&u(this,t)):(this._events=new o,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=v,s.EventEmitter=s,void 0!==t&&(t.exports=s)},{}]},{},[1])(1)});
|
||||
1
node_modules/wxml-to-canvas/node_modules/eventemitter3/umd/eventemitter3.min.js.map
generated
vendored
@ -0,0 +1,9 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
["@babel/preset-env", {
|
||||
targets: {
|
||||
node: "current"
|
||||
}
|
||||
}]
|
||||
]
|
||||
};
|
||||