We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.2.3
No response
wxml代码如下所示:
<t-upload mediaType="{{['image']}}" max="{{8}}" files="{{fileList}}" bind:add="handleAdd" bind:remove="handleRemove" gridConfig="{{uploadGridConfig}}"> </t-upload>
其中uploadGridConfig的值如下所示:
uploadGridConfig
uploadGridConfig: { column: 4, width: 134, height: 134, }
期望上,图片是左右两端对齐。
但实际上,左边是有缝隙的。
看了一下源码,看是是像把一排平均分为4份。 之后问题是出现在里面的 t-grid-item__content 的布局,图片在里面是偏右的,应该偏左才对。。
t-grid-item__content
The text was updated successfully, but these errors were encountered:
👋 @Zlianxin,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
tdesign-miniprogram 版本
1.2.3
重现链接
No response
重现步骤
wxml代码如下所示:
其中
uploadGridConfig
的值如下所示:期望结果
期望上,图片是左右两端对齐。
实际结果
但实际上,左边是有缝隙的。
基础库版本
No response
补充说明
看了一下源码,看是是像把一排平均分为4份。
之后问题是出现在里面的
t-grid-item__content
的布局,图片在里面是偏右的,应该偏左才对。。The text was updated successfully, but these errors were encountered: