提交 b4d0716b 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新image示例

上级 19359274
...@@ -79,16 +79,12 @@ ...@@ -79,16 +79,12 @@
} }
}, },
} }
class ImageFormat { type ImageFormat = {
format : string; format : string
src : string; src : string
constructor(format : string, src : string) {
this.format = format;
this.src = src;
}
} }
</script> </script>
<style> <style>
......
...@@ -81,16 +81,12 @@ ...@@ -81,16 +81,12 @@
} }
} }
} }
class ImageMode { type ImageMode = {
mode : string; mode : string
description : string; description : string
constructor(mode : string, description : string) {
this.mode = mode;
this.description = description;
}
} }
</script> </script>
<style> <style>
......
...@@ -84,15 +84,11 @@ ...@@ -84,15 +84,11 @@
}, },
} }
class ImagePath { type ImagePath = {
src : string; src : string
description : string; description : string
constructor(src : string, description : string) {
this.src = src;
this.description = description;
}
} }
</script> </script>
<style> <style>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册