Browse Source

chore: rename to tdesign starter

pull/1/head
uyarn 3 years ago
parent
commit
d2c887fbe6
  1. 10
      mock/index.ts
  2. BIN
      public/favicon.ico
  3. 3
      src/assets/t-logo-blue.svg
  4. 41
      src/assets/t-logo.svg
  5. 2
      src/components/sidenav.tsx
  6. 2
      src/pages/login/index.less
  7. 2
      src/pages/result-403/index.vue
  8. 2
      src/pages/result-404/index.vue
  9. 2
      src/pages/result-500/index.vue
  10. 2
      src/pages/result-network-error/index.vue
  11. 2
      src/style/sidenav.less

10
mock/index.ts

@ -87,11 +87,11 @@ export default [
isSetup: '@boolean',
'type|1': '@natural(1, 5)',
'banner|1': [
'https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg',
'https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg',
'https://tdesign.gtimg.com/tdesign-pro/ssl.jpg',
'https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg',
'https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg',
'https://tdesign.gtimg.com/starter/cloud-db.jpg',
'https://tdesign.gtimg.com/starter/cloud-server.jpg',
'https://tdesign.gtimg.com/starter/ssl.jpg',
'https://tdesign.gtimg.com/starter/t-sec.jpg',
'https://tdesign.gtimg.com/starter/face-recognition.jpg',
],
'name|1': ['人脸识别', 'SSL证书', 'CVM', '云数据库', 'T-Sec 云防火墙'],
'description|1': [

BIN
public/favicon.ico

3
src/assets/t-logo-blue.svg

@ -1,3 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 36" class="design-iconfont">
<path d="M14.5809697,27.5856529 L16.852906,27.5856529 L18.7709001,18.0729078 L19.2995587,15.4145843 L24.4006996,15.4145065 L18.3390068,10.0602833 L17.5138847,13.8355277 L16.600134,13.8349246 L16.6004456,13.8409697 L10.5294235,13.8409697 L11.5919236,15.4145065 L17.1726408,15.4145065 L16.4493632,18.7261381 L10.287899,18.7261381 C10.0015423,18.7261381 9.73410322,18.5838667 9.57420992,18.3464886 L5.13736484,11.7685762 C4.78103858,11.240695 5.15939229,10.5290791 5.79611493,10.5290791 L14.8512603,10.5288015 L15.8947382,5.73098396 C16.0421925,5.0522796 16.8561712,4.77084664 17.3915676,5.2132095 L31.8958866,17.2013985 C32.5183562,17.7158041 32.1545147,18.7262158 31.3475329,18.7262158 L21.8585774,18.7262158 L19.7112905,29.998824 C19.6161838,30.4987173 19.1790038,30.8602265 18.6700404,30.8602265 L12.3447956,30.8602265 C11.4206797,30.8602265 10.7297954,30.0104856 10.918454,29.1058056 L12.7555426,20.2945697 L16.1016406,20.2945697 L14.5809697,27.5856529 Z" fill="#0052D9" fill-rule="nonzero"/>
</svg>

41
src/assets/t-logo.svg

@ -0,0 +1,41 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_2557_23660)">
<path d="M9.14038 8.25177H3.53919C3.45719 8.25173 3.37619 8.23372 3.30188 8.19901C3.22758 8.16431 3.16179 8.11375 3.10912 8.05089C3.05646 7.98803 3.01819 7.91439 2.99703 7.83516C2.97587 7.75593 2.97234 7.67303 2.98665 7.59228L3.87785 2.44561C3.90079 2.32052 3.96685 2.20742 4.06455 2.12601C4.16225 2.04459 4.2854 2.00001 4.41258 2.00001H10.2054L9.14038 8.25177Z" fill="url(#paint0_linear_2557_23660)"/>
<path d="M13.0301 21.4727H6.77832L9.11772 8.2473H15.3695L13.0301 21.4727Z" fill="url(#paint1_linear_2557_23660)"/>
<path d="M11.4707 27.7245H6.34183C6.26051 27.7236 6.18034 27.7051 6.10678 27.6704C6.03322 27.6358 5.96801 27.5856 5.91557 27.5235C5.86313 27.4613 5.82471 27.3886 5.80292 27.3102C5.78113 27.2319 5.77648 27.1497 5.78929 27.0694L6.78297 21.4861H13.0214L11.9965 27.2789C11.9738 27.4025 11.9091 27.5144 11.8132 27.5956C11.7174 27.6769 11.5963 27.7224 11.4707 27.7245Z" fill="url(#paint2_linear_2557_23660)"/>
<path d="M26.666 8.25176H9.14062L10.2457 2.01337H27.5795C27.6613 2.01417 27.7419 2.03268 27.8158 2.06763C27.8898 2.10258 27.9552 2.15313 28.0077 2.21581C28.0603 2.27849 28.0986 2.35179 28.12 2.43069C28.1415 2.50959 28.1456 2.59221 28.1321 2.67285L27.2186 7.81953C27.1941 7.94607 27.1246 8.0595 27.0231 8.13892C26.9216 8.21834 26.7948 8.25841 26.666 8.25176V8.25176Z" fill="url(#paint3_linear_2557_23660)"/>
</g>
<defs>
<linearGradient id="paint0_linear_2557_23660" x1="2.71742" y1="5.12812" x2="10.0624" y2="4.98122" gradientUnits="userSpaceOnUse">
<stop stop-color="#0062FF"/>
<stop offset="0.26" stop-color="#006AFF"/>
<stop offset="0.68" stop-color="#0081FF"/>
<stop offset="1" stop-color="#0097FF"/>
</linearGradient>
<linearGradient id="paint1_linear_2557_23660" x1="12.383" y1="7.62346" x2="9.12269" y2="22.0419" gradientUnits="userSpaceOnUse">
<stop stop-color="#0097FF"/>
<stop offset="0.32" stop-color="#0081FF"/>
<stop offset="0.74" stop-color="#006AFF"/>
<stop offset="1" stop-color="#0062FF"/>
</linearGradient>
<linearGradient id="paint2_linear_2557_23660" x1="5.63057" y1="27.3635" x2="12.8582" y2="21.4727" gradientUnits="userSpaceOnUse">
<stop stop-color="#009EFF"/>
<stop offset="0.31" stop-color="#00A3FF"/>
<stop offset="0.71" stop-color="#00B3FF"/>
<stop offset="1" stop-color="#00C3FF"/>
</linearGradient>
<linearGradient id="paint3_linear_2557_23660" x1="8.84911" y1="5.12811" x2="27.9399" y2="4.74629" gradientUnits="userSpaceOnUse">
<stop offset="0.03" stop-color="#ECFFFE"/>
<stop offset="0.19" stop-color="#AFF1D9"/>
<stop offset="0.34" stop-color="#79E5B9"/>
<stop offset="0.49" stop-color="#4EDB9F"/>
<stop offset="0.63" stop-color="#2CD48A"/>
<stop offset="0.77" stop-color="#14CE7C"/>
<stop offset="0.89" stop-color="#05CB73"/>
<stop offset="1" stop-color="#00CA70"/>
</linearGradient>
<clipPath id="clip0_2557_23660">
<rect width="25.1407" height="25.72" fill="white" transform="translate(2.97754 2)"/>
</clipPath>
</defs>
</svg>

2
src/components/sidenav.tsx

@ -1,6 +1,6 @@
import { prefix } from '@/config/global';
import proSubMenu from './sub-menu';
import tLogo from '../assets/t-logo-colorful.svg';
import tLogo from '../assets/t-logo.svg';
// import tLogow from '../assets/t-logo-w.svg';
import tdLogoBlack from '../assets/tdesign-logo-black.svg';
import tdLogoWhite from '../assets/tdesign-logo-white.svg';

2
src/pages/login/index.less

@ -3,7 +3,7 @@
.login-wrapper {
width: 100%;
height: 100%;
background-image: url(https://tdesign.gtimg.com/pro-template/login-bg-img.jpg);
background-image: url(https://tdesign.gtimg.com/starter/login-bg-img.jpg);
background-size: cover;
background-position: 50%;
position: relative;

2
src/pages/result-403/index.vue

@ -2,7 +2,7 @@
<result
title="403 Forbidden"
tip="抱歉,您无权限访问此页面,企业微信联系创建者xiaolaoshi。"
bgUrl="https://tdesign.gtimg.com/pro-template/result-page/403.png"
bgUrl="https://tdesign.gtimg.com/starter/result-page/403.png"
>
<div>
<t-button @click="() => this.$router.push('/')">返回首页</t-button>

2
src/pages/result-404/index.vue

@ -3,7 +3,7 @@
pageHeader="404"
title="404 Not Found"
tip="抱歉,您访问的页面不存在。"
bgUrl="https://tdesign.gtimg.com/pro-template/result-page/404.png"
bgUrl="https://tdesign.gtimg.com/starter/result-page/404.png"
>
<div>
<t-button @click="() => this.$router.push('/')">返回首页</t-button>

2
src/pages/result-500/index.vue

@ -2,7 +2,7 @@
<result
title="500 Internal Server Error"
tip="抱歉,服务器出错啦!"
bgUrl="https://tdesign.gtimg.com/pro-template/result-page/500.png"
bgUrl="https://tdesign.gtimg.com/starter/result-page/500.png"
>
<div>
<t-button @click="() => this.$router.push('/')">返回首页</t-button>

2
src/pages/result-network-error/index.vue

@ -2,7 +2,7 @@
<result
title="网络异常"
tip="当前网络异常,请稍后再试!"
bgUrl="https://tdesign.gtimg.com/pro-template/result-page/network-error.png"
bgUrl="https://tdesign.gtimg.com/starter/result-page/network-error.png"
>
<div>
<t-button @click="() => this.$router.push('/')" theme="default">返回首页</t-button>

2
src/style/sidenav.less

@ -54,7 +54,7 @@
}
&-logo-tdesign-logo {
width: 112px;
width: 150px;
}
&-logo-normal {

Loading…
Cancel
Save