Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
70518aae
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1440
Star
162
Fork
130
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
70518aae
编写于
11月 07, 2018
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
小程序模板允许html和html_js的修改
上级
b8ee4887
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
36 addition
and
6 deletion
+36
-6
skyeye-web/src/main/resources/dbmapper/RmGroupMemberMapper.xml
...e-web/src/main/resources/dbmapper/RmGroupMemberMapper.xml
+5
-3
skyeye-web/src/main/resources/mapping/reqmapping.xml
skyeye-web/src/main/resources/mapping/reqmapping.xml
+2
-0
skyeye-web/src/main/webapp/assets/images/vcode.jpg
skyeye-web/src/main/webapp/assets/images/vcode.jpg
+0
-0
skyeye-web/src/main/webapp/assets/lib/winui/css/winui.css
skyeye-web/src/main/webapp/assets/lib/winui/css/winui.css
+3
-0
skyeye-web/src/main/webapp/js/rmgroupmember/rmgroupmemberedit.js
...web/src/main/webapp/js/rmgroupmember/rmgroupmemberedit.js
+14
-0
skyeye-web/src/main/webapp/js/rmmysmpropage/mysmpropagelist.js
...e-web/src/main/webapp/js/rmmysmpropage/mysmpropagelist.js
+1
-1
skyeye-web/src/main/webapp/tpl/rmgroupmember/rmgroupmembereditTemplate.tpl
...in/webapp/tpl/rmgroupmember/rmgroupmembereditTemplate.tpl
+11
-2
未找到文件。
skyeye-web/src/main/resources/dbmapper/RmGroupMemberMapper.xml
浏览文件 @
70518aae
...
...
@@ -116,12 +116,14 @@
<update
id=
"editRmGroupMemberMationById"
parameterType=
"java.util.Map"
>
UPDATE rm_group_member
<set>
<if
test=
"htmlContent != '' and htmlContent != null"
>
html_content = #{htmlContent},
</if>
html_js_content = #{htmlJsContent},
<if
test=
"wxmlContent != '' and wxmlContent != null"
>
wxml_content = #{wxmlContent},
</if>
<if
test=
"wxmlJsContent != '' and wxmlJsContent != null"
>
wxml_js_content = #{wxmlJsContent},
</if>
wxml_js_content = #{wxmlJsContent},
<if
test=
"img != '' and img != null"
>
prints_pic_url = #{img},
</if>
...
...
skyeye-web/src/main/resources/mapping/reqmapping.xml
浏览文件 @
70518aae
...
...
@@ -254,6 +254,8 @@
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"小程序组件id"
/>
</url>
<url
id=
"rmxcx021"
path=
"/post/RmGroupMemberController/editRmGroupMemberMationById"
val=
"编辑小程序组件信息"
allUse=
"1"
>
<property
id=
"htmlContent"
name=
"htmlContent"
ref=
"required"
var=
"html内容"
/>
<property
id=
"htmlJsContent"
name=
"htmlJsContent"
ref=
""
var=
"html对应的js内容"
/>
<property
id=
"wxmlContent"
name=
"wxmlContent"
ref=
"required"
var=
"wxml内容"
/>
<property
id=
"wxmlJsContent"
name=
"wxmlJsContent"
ref=
""
var=
"wxml对应的js内容"
/>
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"小程序组件id"
/>
...
...
skyeye-web/src/main/webapp/assets/images/vcode.jpg
0 → 100644
浏览文件 @
70518aae
2.7 KB
skyeye-web/src/main/webapp/assets/lib/winui/css/winui.css
浏览文件 @
70518aae
...
...
@@ -2657,6 +2657,9 @@ body .layer-ext-winconfirm {
border
:
2px
solid
rgba
(
0
,
0
,
0
,
0.9
);
border-radius
:
3px
;
}
.iphone-screen
>
.check-item
:HOVER
{
border
:
1px
black
solid
;
}
.iphone-screen
img
{
width
:
100%
;
}
...
...
skyeye-web/src/main/webapp/js/rmgroupmember/rmgroupmemberedit.js
浏览文件 @
70518aae
...
...
@@ -39,6 +39,8 @@ layui.config({
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
htmlContent
:
encodeURI
(
$
(
"
#htmlContent
"
).
val
()),
htmlJsContent
:
encodeURI
(
$
(
"
#htmlJsContent
"
).
val
()),
wxmlContent
:
encodeURI
(
$
(
"
#wxmlContent
"
).
val
()),
wxmlJsContent
:
encodeURI
(
$
(
"
#wxmlJsContent
"
).
val
()),
rowId
:
parent
.
rowId
,
...
...
@@ -60,6 +62,18 @@ layui.config({
}
});
//HTML内容变化事件
$
(
"
body
"
).
on
(
"
input
"
,
"
#htmlContent
"
,
function
(){
$
(
"
#htmlJsContentScript
"
).
html
(
'
<script>layui.define(["jquery"], function(exports) {var jQuery = layui.jquery;(function($) {
'
+
$
(
"
#htmlJsContent
"
).
val
()
+
'
})(jQuery);});</script>
'
);
$
(
"
#printPic
"
).
html
(
$
(
this
).
val
());
});
//HTML-JS内容变化事件
$
(
"
body
"
).
on
(
"
change
"
,
"
#htmlJsContent
"
,
function
(){
$
(
"
#htmlJsContentScript
"
).
html
(
'
<script>layui.define(["jquery"], function(exports) {var jQuery = layui.jquery;(function($) {
'
+
$
(
"
#htmlJsContent
"
).
val
()
+
'
})(jQuery);});</script>
'
);
// $("#htmlJsContent").val(do_js_beautify($(this).val()));
});
//取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
(){
parent
.
layer
.
close
(
index
);
...
...
skyeye-web/src/main/webapp/js/rmmysmpropage/mysmpropagelist.js
浏览文件 @
70518aae
...
...
@@ -66,7 +66,7 @@ layui.config({
}
}).
on
(
'
drop
'
,
function
(
el
,
container
)
{
//放置
if
(
$
(
container
).
attr
(
"
id
"
)
==
'
centerText
'
){
//放置在手机里面
el
.
className
=
'
layui-col-md12
'
;
el
.
className
=
'
layui-col-md12
check-item
'
;
var
content
=
$
(
el
).
attr
(
"
htmlContent
"
);
var
JsContent
=
'
<script>layui.define(["jquery"], function(exports) {var jQuery = layui.jquery;(function($) {
'
+
$
(
el
).
attr
(
"
htmlJsContent
"
)
+
'
})(jQuery);});</script>
'
$
(
el
).
html
(
content
+
JsContent
);
...
...
skyeye-web/src/main/webapp/tpl/rmgroupmember/rmgroupmembereditTemplate.tpl
浏览文件 @
70518aae
...
...
@@ -14,13 +14,22 @@
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
HTML内容
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
{
{
htmlContent
}
}
<textarea
id=
"htmlContent"
name=
"htmlContent"
win-verify=
"required"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
>
{
{
htmlContent
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
HTML-JS内容
</label>
<div
class=
"layui-input-block"
>
{
{
htmlJsContent
}
}
<textarea
id=
"htmlJsContent"
name=
"htmlJsContent"
placeholder=
"请填写代码块"
class=
"layui-textarea"
style=
"height: 100px;"
>
{
{
htmlJsContent
}
}
</textarea>
<div
id=
"htmlJsContentScript"
></div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
效果图
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-col-xs6"
>
<div
class=
"layui-col-xs10"
id=
"printPic"
>
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录