源码介绍
资源站应该需要这种,当然大多数网站UC网盘使用的比较少,但也不排除后期可能用到,说不定后期就能用上,需要话自行下载测试。
教程开始
路径 /wp-content/themes/zibll/inc/options/options.php
在35行下面的任意一行增加
路径 /wp-content/themes/zibll/js/svg-icon.js
在95行
zib_svgs['uc'] = '<path d="M331.817056 0c27.812837 7.968953 57.348664 12.297928 83.151513 24.508856 140.651176 66.55861 178.100956 220.556708 87.01449 350.513947-32.105812 45.811732-76.281553 77.477546-122.330284 107.341371-34.342799 22.273869-69.469593 43.702744-101.719404 68.755597-69.97759 54.365681-109.711357 125.728263-109.558358 215.820735 0.189999 112.987338 65.548616 206.907788 169.338008 246.761554 4.618973 1.77099 7.989953 6.78796 11.94293 10.29294h-32.111812c-26.147847-4.814972-52.626692-8.299951-78.38754-14.675914C132.709222 982.97024 60.129648 916.799628 21.183876 815.442222 9.306945 784.528403 6.79996 750.016605 0 717.152798v-21.407875c0.994994-6.981959 2.260987-13.943918 2.941983-20.957877 4.238975-43.696744 13.525921-86.842491 37.933777-123.215278 31.307817-46.658727 67.621604-89.947473 101.478406-134.912209 19.243887-25.56085 40.584762-50.044707 56.21967-77.707545 29.586827-52.347693 22.277869-111.232348-14.517914-148.745128-36.205788-36.912784-93.731451-44.197741-147.133138-18.236894C26.581844 176.998963 16.914901 183.416925 6.937959 189.193891c1.161993-9.369945 4.628973-16.563903 8.889948-23.252863C55.311676 103.959391 109.663357 58.440658 176.437966 29.546827 208.625778 15.618908 244.237569 9.599944 278.298369 0h53.518687z" p-id="6317" fill="#ffffff"></path><path d="M463.830282 1023.994c6.663961-4.863972 12.762925-10.901936 20.077883-14.403916 75.945555-36.356787 120.826292-95.219442 126.29026-179.970945 5.455968-84.717504-40.295764-163.76304-112.74534-196.702847-84.550505-38.437775-163.977039-29.839825-236.148616 30.68282-4.020976 3.36998-7.861954 6.950959-15.165911 9.007947 2.118988-5.897965 3.47198-12.219928 6.466962-17.634897 45.339734-81.94952 135.588206-120.591293 234.952623-100.827409 150.075121 29.850825 247.092552 175.994969 217.183728 327.443081-3.316981 16.775902-7.770954 33.330805-12.08793 51.650698 55.187677 5.929965 109.550358 14.068918 138.474189 75.814556-34.566797 2.766984-65.661615 6.041965-96.839432 7.560955-46.870725 2.285987-93.80445 3.270981-140.703176 4.999971-6.403962 0.232999-12.766925 1.557991-19.147888 2.379986H463.830282z" p-id="6318" fill="#ffffff"></path><path d="M1023.994 685.040986c-51.1907-18.687891-98.710422-7.608955-145.933145 15.474909-34.978795 17.0989-72.626574 22.881866-110.84735 10.981936-7.566956-2.358986-15.691908-8.870948-19.733885-15.724908-73.30957-124.400271-178.486954-194.375861-326.116089-192.88287-3.276981 0.031-6.557962-0.353998-9.835942-0.547996-0.429997-1.68299-0.854995-3.36898-1.281993-5.051971 12.731925-4.135976 25.211852-9.505944 38.243776-12.194928 63.250629-13.055924 125.215266-4.238975 186.720906 12.011929 49.371711 13.044924 94.570446 35.105794 136.981197 62.983631 47.72072 31.369816 99.832415 49.216712 156.653083 53.780685 7.094958 0.570997 14.145917 1.807989 21.185875 2.946983 33.771802 5.456968 60.361646 20.813878 73.964567 53.950684l-0.001 14.271916zM546.627797 433.099462c34.856796-16.048906 70.483587-30.64182 104.337389-48.584715 28.718832-15.215911 55.478675-34.1528 82.919514-51.737697 10.772937-6.90596 14.718914-16.793902 14.843913-30.107823 0.341998-36.103788 7.949953-70.766585 26.653844-102.222401 4.448974-7.478956 10.16394-14.201917 16.103905-22.390869 26.383845 23.504862 37.950778 53.149689 45.395734 84.316506 3.166981 13.270922 8.885948 19.500886 21.661873 24.037859 120.915292 42.891749 163.76204 150.24612 160.971057 245.413562-0.173999 5.929965-7.771954 14.877913-13.778919 16.895901-52.145694 17.535897-104.03439 16.406904-154.152097-7.505956-49.228712-23.482862-97.023432-50.204706-147.139138-71.528581-47.098724-20.044883-97.162431-31.245817-148.957127-31.877813-2.744984-0.03-5.483968-0.630996-8.223952-0.964995-0.213999-1.248993-0.422998-2.495985-0.635996-3.742978zM398.959662 669.996074c83.173513 0.077 149.929122 66.55061 150.002121 149.368125 0.073 82.748515-66.51161 149.562124-149.544123 150.064121-83.513511 0.497997-151.015115-66.873608-150.783117-150.497118 0.229999-82.893514 66.962608-149.011127 150.325119-148.935128z m66.053613 149.714123c0.021-37.118783-30.138823-67.512604-66.611609-67.128607-36.730785 0.382998-66.808609 30.981818-66.54961 67.695604 0.251999 35.487792 30.67382 66.052613 66.229611 66.53261 36.394787 0.495997 66.910608-30.099824 66.931608-67.099607z" p-id="6319" fill="#ffffff"></path>';
路径 /wp-content/themes/zibll/zibpay/functions/zibpay-download.php
约340行 后面加入下方代码
elseif (stripos($down_v['link'], 'uc.cn')) {
$down_name = $down_v['name'] ? $down_v['name'] : 'UC网盘';
$icon = zib_get_svg('uc');
$class .= ' b-blue';
}
有问题及时联系站长,QQ:1240555208
更多优质资源在QQ群里,可以进群领取:467392290~
© 版权声明
THE END
暂无评论内容