白色主题
This commit is contained in:
@@ -40,6 +40,18 @@ isComponent: true
|
||||
|
||||
{{ custom }}
|
||||
|
||||
## 常见问题
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
本地图片无法正确引用?
|
||||
<span class="icon">👇</span>
|
||||
</summary>
|
||||
<p style="margin-top: 10px; color: rgba(0, 0, 0, .6)">
|
||||
建议使用绝对路径,而不是相对路径。绝对路径以 app.json 所在位置为基准。
|
||||
</p>
|
||||
</details>
|
||||
|
||||
## API
|
||||
### Result Props
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const props = {
|
||||
customStyle: {
|
||||
style: {
|
||||
type: String,
|
||||
value: '',
|
||||
},
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<import src="../common/template/icon.wxml" />
|
||||
<wxs src="../common/utils.wxs" module="_" />
|
||||
|
||||
<view style="{{customStyle}}" class="{{classPrefix}} {{classPrefix}}--theme-{{theme}} {{prefix}}-class">
|
||||
<view style="{{style}}" class="{{classPrefix}} {{classPrefix}}--theme-{{theme}} {{prefix}}-class">
|
||||
<view aria-hidden="true" class="{{classPrefix}}__thumb">
|
||||
<t-image wx:if="{{image}}" t-class="{{prefix}}-class-image" src="{{image}}" mode="aspectFit" />
|
||||
<template
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export interface TdResultProps {
|
||||
customStyle?: {
|
||||
style?: {
|
||||
type: StringConstructor;
|
||||
value?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user