diff --git a/packages/loading/index.wxml b/packages/loading/index.wxml
index e934288b..7d4a5397 100644
--- a/packages/loading/index.wxml
+++ b/packages/loading/index.wxml
@@ -1,9 +1,10 @@
+
-
+
-
+
diff --git a/packages/loading/index.wxs b/packages/loading/index.wxs
new file mode 100644
index 00000000..02a0b800
--- /dev/null
+++ b/packages/loading/index.wxs
@@ -0,0 +1,22 @@
+/* eslint-disable */
+var style = require('../wxs/style.wxs');
+var addUnit = require('../wxs/add-unit.wxs');
+
+function spinnerStyle(data) {
+ return style({
+ color: data.color,
+ width: addUnit(data.size),
+ height: addUnit(data.size),
+ });
+}
+
+function textStyle(data) {
+ return style({
+ 'font-size': addUnit(data.textSize),
+ });
+}
+
+module.exports = {
+ spinnerStyle: spinnerStyle,
+ textStyle: textStyle,
+};