瀏覽代碼

Chore: update duotai sponsorship (#10940)

杨奕 7 年之前
父節點
當前提交
7a5d24014b

+ 16 - 0
examples/assets/images/duotai.svg

@@ -0,0 +1,16 @@
+<svg width="63" height="59" viewBox="0 0 63 59" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<g id="Canvas" fill="none">
+<g id="duotai-icon">
+<g id="Rectangle">
+<rect width="41.1402" height="42.1429" transform="translate(21.5987 16.8571)" fill="#FF7262"/>
+</g>
+<g id="Vector 2">
+<path d="M 0 25.2857L 21.5986 0L 43.1972 25.2857L 0 25.2857Z" transform="translate(0 33.7142)" fill="#0ACF83"/>
+</g>
+<g id="Ellipse">
+<ellipse cx="16.4561" cy="16.8572" rx="16.4561" ry="16.8572" transform="translate(5.14249 0)" fill="#1ABCFE"/>
+</g>
+</g>
+</g>
+</svg>
+

+ 9 - 4
examples/components/side-nav.vue

@@ -85,12 +85,12 @@
             margin: 8px 12px 12px 0;
 
             img {
-              width: 36px;
+              width: 42px;
             }
           }
 
-          &:nth-child(2) a img {
-            width: 42px;
+          &:first-child a img {
+            width: 36px;
           }
         }
       }
@@ -130,9 +130,14 @@
               <img src="~examples/assets/images/tipe.svg" alt="tipe.io">
             </a>
           </li>
+          <li class="nav-item">
+            <a class="sponsor" href="https://www.duotai.net/?utm_source=element" target="_blank">
+              <img src="~examples/assets/images/duotai.svg" alt="duotai">
+            </a>
+          </li>
           <li class="nav-item">
             <a class="sponsor" href="https://www.duohui.cn/?utm_source=element&utm_medium=web&utm_campaign=element-index" target="_blank">
-              <img src="~examples/assets/images/duohui.svg" alt="tipe.io">
+              <img src="~examples/assets/images/duohui.svg" alt="duohui">
             </a>
           </li>
         </ul>

+ 1 - 1
examples/docs/en-US/input.md

@@ -642,7 +642,7 @@ Search data from server-side.
 
 | Attribute      | Description          | Type      | Accepted Values       | Default  |
 | ----| ----| ----| ---- | ----- |
-|type| type of input | string | text / textarea | text |
+|type| type of input | string | text, textarea and other [native input types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types) | text |
 |value| binding value | string / number| — | — |
 |maxlength| same as `maxlength` in native input | number| — | — |
 |minlength| same as `minlength` in native input | number | — | — |

+ 1 - 1
examples/docs/es/input.md

@@ -622,7 +622,7 @@ Búsqueda de datos desde el servidor.
 
 | Atributo      | Descripción                              | Tipo             | Valores aceptados                | Por defecto |
 | ------------- | ---------------------------------------- | ---------------- | -------------------------------- | ----------- |
-| type          | tipo de input                            | string           | text / textarea                  | text        |
+| type          | tipo de input                            | string           | text, textarea and other [native input types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types)  | text        |
 | value         | valor enlazado                           | string / number  | —                                | —           |
 | maxlength     | igual que `maxlength` en el input nativo | number           | —                                | —           |
 | minlength     | igual que `minlength` en el input nativo | number           | —                                | —           |

+ 1 - 1
examples/docs/zh-CN/input.md

@@ -798,7 +798,7 @@ export default {
 
 | 参数          | 说明            | 类型            | 可选值                 | 默认值   |
 |-------------  |---------------- |---------------- |---------------------- |-------- |
-| type         | 类型   | string  | text,textarea和其他[input的type值](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types) | text |
+| type         | 类型   | string  | text,textarea 和其他 [原生 input  type 值](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types) | text |
 | value         | 绑定值           | string / number  | — | — |
 | maxlength     | 原生属性,最大输入长度      | number          |  —  | — |
 | minlength     | 原生属性,最小输入长度      | number          | — | — |

+ 8 - 1
examples/pages/template/index.tpl

@@ -296,8 +296,15 @@
           <p>Next Generation API-first CMS</p>
         </div>
       </a>
+      <a class="sponsor" href="https://www.duotai.net/?utm_source=element" target="_blank">
+        <img width="42px" src="~examples/assets/images/duotai.svg" alt="duotai">
+        <div>
+          <p>Sponsored by 多态</p>
+          <p>多元化的数据收集和整理工具</p>
+        </div>
+      </a>
       <a class="sponsor" href="https://www.duohui.cn/?utm_source=element&utm_medium=web&utm_campaign=element-index" target="_blank">
-        <img width="45px" src="~examples/assets/images/duohui.svg" alt="tipe.io">
+        <img width="45px" src="~examples/assets/images/duohui.svg" alt="duohui">
         <div>
           <p>Sponsored by 多会</p>
           <p>炫酷的新一代活动票务系统</p>