Comments (2)
这个问题回复过,是因为使用了本地图片导致没渲染的。
from tdesign-miniprogram.
<view class="{{classPrefix}}__left {{prefix}}-class-left">
<image
wx:if="{{ image }}"
class="{{classPrefix}}__left-image t-class-image"
src="{{ image }}"
/>
<slot wx:else name="left-icon" />
</view>
源码里没有image这个slot,image不要传值,使用left-icon即可
from tdesign-miniprogram.
Related Issues (20)
- [Slider] 滑块对齐问题 HOT 5
- [Switch] Demo展示类型可以稍微精简一些;尺寸部分单元格高度问题 HOT 3
- [Textarea] 默认样式用横排的标签;demo展示请对照设计稿 HOT 5
- [Upload] 间距问题、替换占位图、单选上传现实问题 HOT 6
- [Link] 基础文字链接颜色样式为黑色 HOT 2
- [Indexes] 吸顶样式问题;索引贴住了页面边缘;缺少类型 HOT 5
- [DropdownMenu] 默认情况下如无选中项,按钮才置灰;下拉项文字均为14px HOT 2
- [ActionSheet] 列表高度问题、宫格型填入预设场景 HOT 4
- [TreeSelect] 滚动条应默认隐藏 HOT 2
- [t-grid-item] 通过external class设置字体样式无效 HOT 3
- 组件视觉走查&&修复进度 HOT 1
- [form] 表单内多组件排版统一问题? HOT 3
- [Cell] url Props带参数或增加传参Props HOT 8
- [Swiper] 只能设置height;不能设置width? HOT 2
- [Tag] t-check-tag设置theme="danger"无效 HOT 2
- [Swiper] 希望可以新增点击事件 HOT 2
- [collapse] 收起点击后延时反应 HOT 6
- [t-textarea] model:value失效 HOT 2
- [WaterfallFlow] 希望新增瀑布流组件 HOT 1
- [PullDownRefresh ] PullDownRefresh与BackTop有配合方案吗?如果没有,是否有计划在PullDownRefresh添加属性设置滚动条位置? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tdesign-miniprogram.