瀏覽代碼

auto commit

app
jfinn 3 年之前
父節點
當前提交
c271efe0ae
共有 1 個檔案被更改,包括 26 行新增3 行删除
  1. 26
    3
      mdev/wv0.native.js

+ 26
- 3
mdev/wv0.native.js 查看文件

@@ -63,6 +63,9 @@ class Wview_ui extends PureComponent<Props> {
63 63
 }
64 64
 
65 65
 
66
+function fncb_only_v2(fn_name){
67
+
68
+}
66 69
 function fncb_only(fn_name){
67 70
     var ret
68 71
     if (window.glob_vhook.rcb[fn_name]){
@@ -82,15 +85,35 @@ class Wview_btns extends Component<Props> {
82 85
         super(props);
83 86
     }
84 87
     render(){
88
+        // wview_btns = tglob_au.run_dev_cbs("wview_btns",{that:this})
89
+        var x1 = tglob_au.run_dev_cbs("wview_btns",{that:this}) || {o:{}}
90
+        var wview_btns = x1.o.ret || {}
91
+
92
+        // wview_btns.style_b1 || {}
93
+        // wview_btns.style_b2 || {}
94
+        // wview_btns.style_v0 || {}
95
+
96
+
85 97
                          // color = { wv0_styles_dev.vb1_color || "#00ffffff" }
86 98
         return (
99
+                        <View style={wview_btns.style_v0}>
100
+            <Button prop_id = "b1"
101
+                         style = { wview_btns.style_b1 || {}} 
102
+                         onPress = {fncb_only("vbx_press").fn.bind(this)}
103
+                         >
104
+             {wview_btns.b1_txt  || "udef"}
105
+             </Button>
87 106
 
88
-                         <Button 
89
-                         style = { wv0_styles_dev.vb1 || {}} 
107
+            <Button prop_id = "b2"
108
+                         style = { wview_btns.style_b2 || {}} 
90 109
                          onPress = {fncb_only("vbx_press").fn.bind(this)}
91 110
                          >
92
-             {wv0_styles_dev.vb1_txt  || "udef"}
111
+             {wview_btns.b2_txt  || "udef"}
93 112
              </Button>
113
+
114
+
115
+                                    </View>
116
+
94 117
             )
95 118
 
96 119
     }

Loading…
取消
儲存