質問編集履歴
4
追加の修正です。
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,12 +14,14 @@
|
|
14
14
|
|
15
15
|
初心者のため、説明不足な点があるかもしれませんが、お許し下さい。
|
16
16
|
|
17
|
-
|
17
|
+
**
|
18
|
-
|
18
|
+
|
19
|
-
※2017年11月16日18時追記
|
19
|
+
※2017年11月16日18時追記**
|
20
20
|
|
21
21
|
試しに新規プロジェクトで「Onsen UI V2 JS Tabbar」を作成し、その後、loaderにjquerymobileを追加して動作させたところ、同様の現象が発生しました。
|
22
22
|
|
23
|
+
jqueryイベントを動作させようとすると①と同様のエラーが発生します。
|
24
|
+
|
23
25
|
monaca側の不具合なのでしょうか。
|
24
26
|
|
25
27
|
現在monaca無料プランで実機デバッグを実行していますが、こういった事情も関係するのでしょうか。
|
3
追加情報を記載しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,6 +16,18 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
+
※2017年11月16日18時追記
|
20
|
+
|
21
|
+
試しに新規プロジェクトで「Onsen UI V2 JS Tabbar」を作成し、その後、loaderにjquerymobileを追加して動作させたところ、同様の現象が発生しました。
|
22
|
+
|
23
|
+
monaca側の不具合なのでしょうか。
|
24
|
+
|
25
|
+
現在monaca無料プランで実機デバッグを実行していますが、こういった事情も関係するのでしょうか。
|
26
|
+
|
27
|
+
何かご存じの方がおりましたら情報お待ちしています。
|
28
|
+
|
29
|
+
|
30
|
+
|
19
31
|
###発生している問題・エラーメッセージ
|
20
32
|
|
21
33
|
①エラー
|
2
追加情報を記述しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,6 +8,10 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
+
また、アプリの起動時に②の警告が表示されます。jquery-mobileを読み込まずに実行すると表示されません。
|
12
|
+
|
13
|
+
|
14
|
+
|
11
15
|
初心者のため、説明不足な点があるかもしれませんが、お許し下さい。
|
12
16
|
|
13
17
|
|
@@ -24,6 +28,56 @@
|
|
24
28
|
|
25
29
|
|
26
30
|
|
31
|
+
②警告メッセージ
|
32
|
+
|
33
|
+
```
|
34
|
+
|
35
|
+
ons-template (id = templateEdit.html) must be located just under document.body:
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
<div data-role="page">
|
40
|
+
|
41
|
+
<ons-page class="page page--material" modifier="material"><div class="page__background page--material__background" style="background-color: transparent;"></div><div class="page__content page--material__content" style="">
|
42
|
+
|
43
|
+
<ons-tabbar position="bottom" modifier="material" activeindex="1"><div class="tabbar__content ons-tabbar__content tabbar--material__content ons-swiper" style="touch-action: pan-y; -webkit-user-drag: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"><div class="ons-swiper-target" style="transform: translate3d(-360px, 0px, 0px);"><div style="height: 100%; width: 100%; background-color: transparent;"></div><div style="height: 100%; width: 100%; background-color: transparent;"></div><div style="height: 100%; width: 100%; background-color: transparent;"></div></div><div class="ons-swiper-blocker"></div></div><div class="tabbar ons-tabbar__footer ons-swiper-tabbar tabbar--material">
|
44
|
+
|
45
|
+
<ons-tab label="画像入力" page="imageInput.html" icon="download" modifier="material" ripple="" class="tabbar__item tabbar--material__item"><input type="radio" style="display: none;"><button class="tabbar__button tabbar--material__button"><ons-ripple modifier="material" class="ripple--material"></ons-ripple><div class="tabbar__icon"><ons-icon modifier="material" class="ons-icon fa fa-download" icon="download"></ons-icon></div>
|
46
|
+
|
47
|
+
<div class="tabbar__label">画像入力</div></button></ons-tab>
|
48
|
+
|
49
|
+
<ons-tab label="画像一覧" page="imageList.html" icon="photo" active="" modifier="material" ripple="" class="tabbar__item tabbar--material__item active"><input type="radio" style="display: none;"><button class="tabbar__button tabbar--material__button"><ons-ripple modifier="material" class="ripple--material"></ons-ripple><div class="tabbar__icon"><ons-icon modifier="material" class="ons-icon fa fa-photo" icon="photo"></ons-icon></div>
|
50
|
+
|
51
|
+
<div class="tabbar__label">画像一覧</div></button></ons-tab>
|
52
|
+
|
53
|
+
<ons-tab label="テンプレート編集" page="templateEdit.html" icon="edit" modifier="material" ripple="" class="tabbar__item tabbar--material__item"><input type="radio" style="display: none;"><button class="tabbar__button tabbar--material__button"><ons-ripple modifier="material" class="ripple--material"></ons-ripple><div class="tabbar__icon"><ons-icon modifier="material" class="ons-icon fa fa-edit" icon="edit"></ons-icon></div>
|
54
|
+
|
55
|
+
<div class="tabbar__label">テンプレート編集</div></button></ons-tab>
|
56
|
+
|
57
|
+
<div class="tabbar__border tabbar--material__border" style="display: block; width: 120px; transition: all 0s; transform: translate3d(100%, 0px, 0px);"></div></div></ons-tabbar>
|
58
|
+
|
59
|
+
</div></ons-page>
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
<ons-template id="imageInput.html"></ons-template>
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
<ons-template id="imageList.html"></ons-template>
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
<ons-template id="templateEdit.html"></ons-template>
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
```
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
27
81
|
###該当のソースコード
|
28
82
|
|
29
83
|
index.html
|
1
タグの修正をしました
test
CHANGED
File without changes
|
test
CHANGED
@@ -72,39 +72,93 @@
|
|
72
72
|
|
73
73
|
<body>
|
74
74
|
|
75
|
-
<ons-navigator var="navi">
|
76
|
-
|
77
|
-
|
75
|
+
<ons-page>
|
78
|
-
|
76
|
+
|
79
|
-
|
77
|
+
<ons-tabbar position="bottom">
|
80
|
-
|
78
|
+
|
81
|
-
|
79
|
+
<ons-tab label="画像入力" page="imageInput.html" icon="download">
|
82
|
-
|
80
|
+
|
83
|
-
|
81
|
+
</ons-tab>
|
84
|
-
|
82
|
+
|
85
|
-
|
83
|
+
<ons-tab label="画像一覧" page="imageList.html" icon="photo" active>
|
86
|
-
|
84
|
+
|
87
|
-
|
85
|
+
</ons-tab>
|
88
|
-
|
86
|
+
|
89
|
-
|
87
|
+
<ons-tab label="テンプレート編集" page="templateEdit.html" icon="edit">
|
90
|
-
|
88
|
+
|
91
|
-
|
89
|
+
</ons-tab>
|
92
|
-
|
90
|
+
|
93
|
-
|
91
|
+
</ons-tabbar>
|
92
|
+
|
93
|
+
</ons-page>
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
<ons-template id="imageInput.html">
|
98
|
+
|
99
|
+
<ons-page id="imageInput">
|
100
|
+
|
101
|
+
<input type="button" value="push" onClick="getPhoto();">
|
102
|
+
|
103
|
+
<img id="picture" src="" width="150" height="150">
|
94
104
|
|
95
105
|
</ons-page>
|
96
106
|
|
97
|
-
</ons-
|
107
|
+
</ons-template>
|
98
|
-
|
99
|
-
|
100
|
-
|
108
|
+
|
109
|
+
|
110
|
+
|
101
|
-
<ons-template id="image
|
111
|
+
<ons-template id="imageList.html">
|
102
|
-
|
112
|
+
|
103
|
-
<ons-page id="image
|
113
|
+
<ons-page id="imageList">
|
114
|
+
|
104
|
-
|
115
|
+
<ons-toolbar>
|
116
|
+
|
117
|
+
<div class="center" id="toolbar-title">
|
118
|
+
|
119
|
+
<div class='center'>
|
120
|
+
|
105
|
-
<
|
121
|
+
<button id="btn1" class="toolbar1Btn" type="button">
|
122
|
+
|
106
|
-
|
123
|
+
<p>
|
124
|
+
|
125
|
+
<ons-icon size="1rem" icon="bolt" />
|
126
|
+
|
127
|
+
</p>
|
128
|
+
|
129
|
+
<p>FTP送信</p>
|
130
|
+
|
131
|
+
</button>
|
132
|
+
|
107
|
-
<
|
133
|
+
<button id="btn2" class="toolbar1Btn" type="button">
|
134
|
+
|
135
|
+
<p>
|
136
|
+
|
137
|
+
<ons-icon size="1rem" icon="envelope-o" />
|
138
|
+
|
139
|
+
</p>
|
140
|
+
|
141
|
+
<p>メール送信</p>
|
142
|
+
|
143
|
+
</button>
|
144
|
+
|
145
|
+
<button id="btn3" class="toolbar1Btn" type="button">
|
146
|
+
|
147
|
+
<p>
|
148
|
+
|
149
|
+
<ons-icon size="1rem" icon="tags" />
|
150
|
+
|
151
|
+
</p>
|
152
|
+
|
153
|
+
<p>テンプレート適用</p>
|
154
|
+
|
155
|
+
</button>
|
156
|
+
|
157
|
+
</div>
|
158
|
+
|
159
|
+
</div>
|
160
|
+
|
161
|
+
</ons-toolbar>
|
108
162
|
|
109
163
|
</ons-page>
|
110
164
|
|
@@ -112,78 +166,20 @@
|
|
112
166
|
|
113
167
|
|
114
168
|
|
115
|
-
<ons-template id="
|
169
|
+
<ons-template id="templateEdit.html">
|
116
|
-
|
170
|
+
|
117
|
-
<ons-page id="
|
171
|
+
<ons-page id="templateEdit">
|
118
|
-
|
119
|
-
|
172
|
+
|
120
|
-
|
121
|
-
|
173
|
+
<p style="text-align: center;">
|
122
|
-
|
123
|
-
|
174
|
+
|
124
|
-
|
125
|
-
<button id="btn1" class="toolbar1Btn" type="button">
|
126
|
-
|
127
|
-
|
175
|
+
編集テンプレートの編集画面の予定
|
128
|
-
|
129
|
-
|
176
|
+
|
130
|
-
|
131
|
-
|
177
|
+
</p>
|
132
|
-
|
133
|
-
<p>FTP送信</p>
|
134
|
-
|
135
|
-
</button>
|
136
|
-
|
137
|
-
<button id="btn2" class="toolbar1Btn" type="button">
|
138
|
-
|
139
|
-
<p>
|
140
|
-
|
141
|
-
<ons-icon size="1rem" icon="envelope-o" />
|
142
|
-
|
143
|
-
</p>
|
144
|
-
|
145
|
-
<p>メール送信</p>
|
146
|
-
|
147
|
-
</button>
|
148
|
-
|
149
|
-
<button id="btn3" class="toolbar1Btn" type="button">
|
150
|
-
|
151
|
-
<p>
|
152
|
-
|
153
|
-
<ons-icon size="1rem" icon="tags" />
|
154
|
-
|
155
|
-
</p>
|
156
|
-
|
157
|
-
<p>テンプレート適用</p>
|
158
|
-
|
159
|
-
</button>
|
160
|
-
|
161
|
-
</div>
|
162
|
-
|
163
|
-
</div>
|
164
|
-
|
165
|
-
</ons-toolbar>
|
166
178
|
|
167
179
|
</ons-page>
|
168
180
|
|
169
181
|
</ons-template>
|
170
182
|
|
171
|
-
|
172
|
-
|
173
|
-
<ons-template id="templateEdit.html">
|
174
|
-
|
175
|
-
<ons-page id="templateEdit">
|
176
|
-
|
177
|
-
<p style="text-align: center;">
|
178
|
-
|
179
|
-
編集テンプレートの編集画面の予定
|
180
|
-
|
181
|
-
</p>
|
182
|
-
|
183
|
-
</ons-page>
|
184
|
-
|
185
|
-
</ons-template>
|
186
|
-
|
187
183
|
</body>
|
188
184
|
|
189
185
|
|