Skip to content

Commit e1fa8c4

Browse files
yangxiaolu1993lkjh3214lkjh3214szg2008richard1015
authored
feat: imagepreview新增缩放 (#1425)
* fix: marge主分支 (#1) * doc: calendar 文档修改 (#1410) * feat: 添加range组件、calendar组件在线文档 * fix: 文档调整 * fix: 重构calendar组件 * feat: 日历组件重构,文档修改,功能完善 * fix: 格式化 * fix: 代码格式化调整。 * fix: 去除无用代码 * fix: 文档调整 * fix: 文档调整 * fix: taro demo 样式修改 * feat: range组件功能完善,新增 竖向操作,刻度展示。 * fix: 冲突解决 * feat: taro功能新增,兼容处理,文档修改 * feat: 添加range组件,jdt主题色 * fix: 修改组件初始化逻辑 * feat: 新增h5 日期多选功能 * feat: taro版本添加 日期多选功能 * fix: 修复多选,无法选中开头结尾日期问题 * fix: 文档修改,添加en-US 文档 * fix: 文档完善 Co-authored-by: lkjh3214 <[email protected]> Co-authored-by: love_forever <[email protected]> * feat: imagepreview 部分功能补齐 (#1412) * feat: image新增单元测试 * feat: ellipsis添加单元测试 * feat: imagepreview 添加 * fix: popop单元测试修改 * docs: 添加版本号 * feat: support highlight for JetBrains web-types * test(imagepreview): edit snap * fix(image): dts edit import * docs(input): demo和md国际化文案修改 (#1414) * fix: 抽离 input ConfirmTextType * feat: input、switch国际化 * feat: category、address国际化 * feat: taro升级maxlength问题 * fix: 国际化增加默认字段 * fix: blank * fix: input组件国际化文案修改 * style: add ellipsis add sass * docs(elevator): 增加吸顶props * feat: input组件新增input slot插槽 (#1418) * fix: 抽离 input ConfirmTextType * feat: input、switch国际化 * feat: category、address国际化 * feat: taro升级maxlength问题 * fix: 国际化增加默认字段 * fix: blank * fix: input组件国际化文案修改 * feat: input组件新增input slot插槽 * release: v3.1.22 * Update README.md add alipay img * Update README.md * docs: changelog 3.1.22 Co-authored-by: lkjh3214 <[email protected]> Co-authored-by: lkjh3214 <[email protected]> Co-authored-by: love_forever <[email protected]> Co-authored-by: richard1015 <[email protected]> Co-authored-by: ailululu <[email protected]> Co-authored-by: snandy <[email protected]> * feat: imagepreview重复问题修改 Co-authored-by: lkjh3214 <[email protected]> Co-authored-by: lkjh3214 <[email protected]> Co-authored-by: love_forever <[email protected]> Co-authored-by: richard1015 <[email protected]> Co-authored-by: ailululu <[email protected]> Co-authored-by: snandy <[email protected]>
1 parent 5351b54 commit e1fa8c4

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/packages/__VUE/imagepreview/index.vue

-14
Original file line numberDiff line numberDiff line change
@@ -162,16 +162,6 @@ export default create({
162162
return style;
163163
});
164164
165-
const styles = computed(() => {
166-
let style = {};
167-
if (props.closeIconPosition == 'top-right') {
168-
style.right = '10px';
169-
} else {
170-
style.left = '10px';
171-
}
172-
return style;
173-
});
174-
175165
const slideChangeEnd = function (page: number) {
176166
state.active = page + 1;
177167
emit('change', state.active);
@@ -201,10 +191,6 @@ export default create({
201191
emit('close');
202192
};
203193
204-
// 点击关闭按钮
205-
const handleCloseIcon = () => {
206-
onClose();
207-
};
208194
// 点击关闭按钮
209195
const handleCloseIcon = () => {
210196
onClose();

0 commit comments

Comments
 (0)