Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
b4f2902f
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1435
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看板
提交
b4f2902f
编写于
12月 22, 2018
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加小程序导出基础文件
上级
0f0a1fa1
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
135 addition
and
0 deletion
+135
-0
skyeye-promote/src/main/resources/smproject/app.js
skyeye-promote/src/main/resources/smproject/app.js
+61
-0
skyeye-promote/src/main/resources/smproject/app.json
skyeye-promote/src/main/resources/smproject/app.json
+46
-0
skyeye-promote/src/main/resources/smproject/app.wxss
skyeye-promote/src/main/resources/smproject/app.wxss
+20
-0
skyeye-promote/src/main/resources/smproject/project.config.json
...-promote/src/main/resources/smproject/project.config.json
+0
-0
skyeye-promote/src/main/resources/template/tpl/rmmysmpropage/addpagebeanitem.html
...resources/template/tpl/rmmysmpropage/addpagebeanitem.html
+4
-0
skyeye-promote/src/main/resources/template/tpl/rmmysmpropage/projectpageeditTemplate.tpl
...es/template/tpl/rmmysmpropage/projectpageeditTemplate.tpl
+4
-0
未找到文件。
skyeye-promote/src/main/resources/smproject/app.js
0 → 100644
浏览文件 @
b4f2902f
//app.js
App
({
onLaunch
:
function
()
{
// 展示本地存储能力
var
logs
=
wx
.
getStorageSync
(
'
logs
'
)
||
[]
logs
.
unshift
(
Date
.
now
())
wx
.
setStorageSync
(
'
logs
'
,
logs
)
// 登录
wx
.
login
({
success
:
function
(
res
)
{
// 发送 res.code 到后台换取 openId, sessionKey, unionId
}
})
// 获取用户信息
wx
.
getSetting
({
success
:
function
(
res
)
{
if
(
res
.
authSetting
[
'
scope.userInfo
'
])
{
// 已经授权,可以直接调用 getUserInfo 获取头像昵称,不会弹框
wx
.
getUserInfo
({
success
:
function
(
res
)
{
// 可以将 res 发送给后台解码出 unionId
this
.
globalData
.
userInfo
=
res
.
userInfo
// 由于 getUserInfo 是网络请求,可能会在 Page.onLoad 之后才返回
// 所以此处加入 callback 以防止这种情况
if
(
this
.
userInfoReadyCallback
)
{
this
.
userInfoReadyCallback
(
res
)
}
}
})
}
}
})
},
globalData
:
{
userInfo
:
null
},
stringToJson
:
function
(
data
)
{
return
JSON
.
parse
(
data
);
},
isNull
:
function
(
data
){
if
(
data
==
null
||
data
==
""
||
data
==
"
undefined
"
){
return
true
;
}
else
{
return
false
;
}
},
data
:
{
servsers
:
"
http://218.28.192.34:10001/
"
,
imgServerIp
:
"
http://47.94.148.186:30110/
"
,
APPMAPKEY
:
"
HUPBZ-SNCWQ-A6M5W-GEIJM-SF4PQ-M4BOX
"
,
// APP_ID: "wx4dcee834cc6446dd",
// APP_SECRET: "7165088c1f7312c9fda45670d63bd878",
APP_ID
:
"
wx5bef16e15f8499e9
"
,
APP_SECRET
:
"
c9fbc0d1c91c103594fdba46601307e2
"
,
}
})
\ No newline at end of file
skyeye-promote/src/main/resources/smproject/app.json
0 → 100644
浏览文件 @
b4f2902f
{
"pages"
:
[
"pages/propaganda/propaganda"
,
"pages/index/index"
,
"pages/complaints/complaints"
,
"pages/mycomplaints/mycomplaints"
,
"pages/writemessage/writemessage"
,
"pages/othermore/index"
,
"pages/thismap/thismap"
,
"pages/propagandadatails/propagandadatails"
,
"pages/mycomplaintsdatails/propagandadatails"
],
"window"
:
{
"backgroundTextStyle"
:
"dark"
,
"navigationBarBackgroundColor"
:
"#1296db"
,
"navigationBarTitleText"
:
"检察投诉举报"
,
"navigationBarTextStyle"
:
"white"
,
"enablePullDownRefresh"
:
true
},
"tabBar"
:
{
"color"
:
"#ffffff"
,
"selectedColor"
:
"#e6e6e6"
,
"borderStyle"
:
"white"
,
"backgroundColor"
:
"#1296db"
,
"list"
:
[
{
"selectedIconPath"
:
"images/th.png"
,
"iconPath"
:
"images/thNo.png"
,
"pagePath"
:
"pages/propaganda/propaganda"
,
"text"
:
"宣传"
},
{
"selectedIconPath"
:
"images/main.png"
,
"iconPath"
:
"images/mainNo.png"
,
"pagePath"
:
"pages/index/index"
,
"text"
:
"投诉举报"
},
{
"selectedIconPath"
:
"images/my.png"
,
"iconPath"
:
"images/myNo.png"
,
"pagePath"
:
"pages/mycomplaints/mycomplaints"
,
"text"
:
"我的投诉"
}
]
}
}
\ No newline at end of file
skyeye-promote/src/main/resources/smproject/app.wxss
0 → 100644
浏览文件 @
b4f2902f
/**
* 全局样式表
* 使用@import语句可以导入外联样式表,@import后跟需要导入的外联样式表的相对路径,用;表示语句结束
* 如果需要增加额外的WXSS样式表, 直接import即可, 但需注意引用顺序
*/
@import 'components/wux.wxss';
@import 'assets/styles/weui.wxss';
@import 'assets/styles/skyvow.wxss';
/**app.wxss**/
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
box-sizing: border-box;
}
skyeye-promote/src/main/resources/smproject/project.config.json
0 → 100644
浏览文件 @
b4f2902f
skyeye-promote/src/main/resources/template/tpl/rmmysmpropage/addpagebeanitem.html
浏览文件 @
b4f2902f
...
@@ -26,6 +26,10 @@
...
@@ -26,6 +26,10 @@
<label
class=
"layui-form-label"
>
路径
</label>
<label
class=
"layui-form-label"
>
路径
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"filePath"
name=
"filePath"
placeholder=
"请输入路径"
class=
"layui-input"
maxlength=
"50"
/>
<input
type=
"text"
id=
"filePath"
name=
"filePath"
placeholder=
"请输入路径"
class=
"layui-input"
maxlength=
"50"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
小程序导出路径为:page/路径/文件名.文件类型(文件类型:js、json、wxml、wxss)
<br>
H5页面导出路径为:html/路径/文件名.html;对应JS导出路径为:js/路径/文件名.js
</div>
</div>
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
...
...
skyeye-promote/src/main/resources/template/tpl/rmmysmpropage/projectpageeditTemplate.tpl
浏览文件 @
b4f2902f
...
@@ -15,6 +15,10 @@
...
@@ -15,6 +15,10 @@
<label
class=
"layui-form-label"
>
路径
</label>
<label
class=
"layui-form-label"
>
路径
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"filePath"
name=
"filePath"
placeholder=
"请输入路径"
class=
"layui-input"
maxlength=
"50"
value=
"{
{
filePath
}
}"
/>
<input
type=
"text"
id=
"filePath"
name=
"filePath"
placeholder=
"请输入路径"
class=
"layui-input"
maxlength=
"50"
value=
"{
{
filePath
}
}"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
小程序导出路径为:page/路径/文件名.文件类型(文件类型:js、json、wxml、wxss)
<br>
H5页面导出路径为:html/路径/文件名.html;对应JS导出路径为:js/路径/文件名.js
</div>
</div>
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录