├── pages ├── post-my │ ├── post-my.wxss │ ├── post-my.json │ ├── post-my.wxml │ └── post-my.js ├── about │ ├── about.json │ ├── about.wxss │ ├── about.js │ └── about.wxml ├── index │ ├── index.json │ ├── index.wxss │ ├── index.js │ └── index.wxml ├── post │ ├── post.json │ ├── post.wxss │ ├── post.wxml │ └── post.js ├── detail │ ├── detail.json │ ├── detail.wxss │ ├── detail.wxml │ └── detail.js ├── gallery │ ├── gallery.json │ ├── gallery.wxss │ ├── gallery.wxml │ └── gallery.js ├── post-new │ ├── post-new.wxss │ ├── post-new.json │ ├── post-new.wxml │ └── post-new.js ├── profile │ ├── profile.json │ ├── profile.js │ ├── profile.wxss │ └── profile.wxml ├── assistant │ ├── assistant.json │ ├── assistant.wxss │ ├── assistant.wxml │ └── assistant.js ├── feedback │ ├── feedback.json │ ├── feedback.wxss │ ├── feedback.wxml │ └── feedback.js └── post-detail │ ├── post-detail.json │ ├── post-detail.wxss │ ├── post-detail.wxml │ └── post-detail.js ├── content.wxss ├── README.md ├── icons ├── home.png ├── discuss.png ├── setting.png ├── assistant.png ├── discuss_hover.png ├── assistant_hover.png ├── home_highlight.png └── setting_highlight.png ├── jsconfig.json ├── .vscode └── settings.json ├── project.config.json ├── wxParser ├── elements.js ├── utils.js ├── index.js ├── codeTransformation.js ├── index.wxss ├── htmlparser.js ├── html2json.js └── index.wxml ├── app.wxss ├── app.js ├── app.json ├── LICENSE ├── style └── weui.wxss └── utils └── sdk-v1.0.9.js /pages/post-my/post-my.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pages/about/about.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "关于我们" 3 | } -------------------------------------------------------------------------------- /pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "首页" 3 | } -------------------------------------------------------------------------------- /pages/post/post.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "服务中心" 3 | } -------------------------------------------------------------------------------- /pages/detail/detail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "详细页" 3 | } -------------------------------------------------------------------------------- /pages/gallery/gallery.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "印象苏研" 3 | } -------------------------------------------------------------------------------- /pages/post-my/post-my.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的服务" 3 | } -------------------------------------------------------------------------------- /pages/post-new/post-new.wxss: -------------------------------------------------------------------------------- 1 | .weui-uploader{ 2 | padding:0 15px; 3 | } -------------------------------------------------------------------------------- /pages/profile/profile.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的" 3 | } -------------------------------------------------------------------------------- /content.wxss: -------------------------------------------------------------------------------- 1 | .wxParser{ 2 | padding:10px; 3 | line-height:20px; 4 | } -------------------------------------------------------------------------------- /pages/assistant/assistant.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "助手" 3 | } -------------------------------------------------------------------------------- /pages/feedback/feedback.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "意见反馈" 3 | } -------------------------------------------------------------------------------- /pages/post-new/post-new.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "发布服务" 3 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # suyanxiaomishu 2 | 公司内部一个小秘书微信小程序,可以提供展示公司新闻和公告,租房、二手买卖,图书借阅等功能。 3 | -------------------------------------------------------------------------------- /pages/post-detail/post-detail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "详细页" 3 | } -------------------------------------------------------------------------------- /icons/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuxingyun/suyanxiaomishu/HEAD/icons/home.png -------------------------------------------------------------------------------- /icons/discuss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuxingyun/suyanxiaomishu/HEAD/icons/discuss.png -------------------------------------------------------------------------------- /icons/setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuxingyun/suyanxiaomishu/HEAD/icons/setting.png -------------------------------------------------------------------------------- /icons/assistant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuxingyun/suyanxiaomishu/HEAD/icons/assistant.png -------------------------------------------------------------------------------- /icons/discuss_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuxingyun/suyanxiaomishu/HEAD/icons/discuss_hover.png -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es2015", 4 | "module": "commonjs" 5 | } 6 | } -------------------------------------------------------------------------------- /icons/assistant_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuxingyun/suyanxiaomishu/HEAD/icons/assistant_hover.png -------------------------------------------------------------------------------- /icons/home_highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuxingyun/suyanxiaomishu/HEAD/icons/home_highlight.png -------------------------------------------------------------------------------- /pages/detail/detail.wxss: -------------------------------------------------------------------------------- 1 | .news-title{ 2 | text-align:center; 3 | font-size:20px; 4 | line-height:30px; 5 | } -------------------------------------------------------------------------------- /icons/setting_highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuxingyun/suyanxiaomishu/HEAD/icons/setting_highlight.png -------------------------------------------------------------------------------- /pages/post-detail/post-detail.wxss: -------------------------------------------------------------------------------- 1 | .news-title{ 2 | text-align:center; 3 | font-size:20px; 4 | line-height:30px; 5 | } -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "files.associations": { 3 | "*.wxml": "html", 4 | "*.wxss": "css" 5 | } 6 | } -------------------------------------------------------------------------------- /pages/post/post.wxss: -------------------------------------------------------------------------------- 1 | .active .weui-grid__label{ 2 | color:#1296db; 3 | } 4 | .active{ 5 | background-color:#fff; 6 | border:1px solid #1296db; 7 | } -------------------------------------------------------------------------------- /pages/profile/profile.js: -------------------------------------------------------------------------------- 1 | var app = getApp(); 2 | Page({ 3 | data: { 4 | title: 'V1.0.0', 5 | profile: null, 6 | }, 7 | 8 | onLoad(options) { 9 | 10 | this.setData({ 11 | profile: app.getUserInfo() 12 | }) 13 | } 14 | }) -------------------------------------------------------------------------------- /pages/about/about.wxss: -------------------------------------------------------------------------------- 1 | /**index.wxss**/ 2 | .userinfo { 3 | display: flex; 4 | flex-direction: column; 5 | align-items: center; 6 | } 7 | 8 | .userinfo-avatar { 9 | width: 128rpx; 10 | height: 128rpx; 11 | margin: 20rpx; 12 | border-radius: 50%; 13 | } 14 | 15 | .userinfo-nickname { 16 | color: #aaa; 17 | } 18 | 19 | .usermotto { 20 | margin-top: 200px; 21 | } -------------------------------------------------------------------------------- /pages/feedback/feedback.wxss: -------------------------------------------------------------------------------- 1 | /**index.wxss**/ 2 | .userinfo { 3 | display: flex; 4 | flex-direction: column; 5 | align-items: center; 6 | } 7 | 8 | .userinfo-avatar { 9 | width: 128rpx; 10 | height: 128rpx; 11 | margin: 20rpx; 12 | border-radius: 50%; 13 | } 14 | 15 | .userinfo-nickname { 16 | color: #aaa; 17 | } 18 | 19 | .usermotto { 20 | margin-top: 200px; 21 | } -------------------------------------------------------------------------------- /pages/gallery/gallery.wxss: -------------------------------------------------------------------------------- 1 | /**index.wxss**/ 2 | .userinfo { 3 | display: flex; 4 | flex-direction: column; 5 | align-items: center; 6 | } 7 | 8 | .userinfo-avatar { 9 | width: 128rpx; 10 | height: 128rpx; 11 | margin: 20rpx; 12 | border-radius: 50%; 13 | } 14 | 15 | .userinfo-nickname { 16 | color: #aaa; 17 | } 18 | 19 | .usermotto { 20 | margin-top: 200px; 21 | } -------------------------------------------------------------------------------- /pages/profile/profile.wxss: -------------------------------------------------------------------------------- 1 | /**index.wxss**/ 2 | .userinfo { 3 | display: flex; 4 | flex-direction: column; 5 | align-items: center; 6 | } 7 | 8 | .userinfo-avatar { 9 | width: 128rpx; 10 | height: 128rpx; 11 | margin: 20rpx; 12 | border-radius: 50%; 13 | } 14 | 15 | .userinfo-nickname { 16 | color: #aaa; 17 | } 18 | 19 | .usermotto { 20 | margin-top: 200px; 21 | } -------------------------------------------------------------------------------- /pages/assistant/assistant.wxss: -------------------------------------------------------------------------------- 1 | /**index.wxss**/ 2 | .userinfo { 3 | display: flex; 4 | flex-direction: column; 5 | align-items: center; 6 | } 7 | 8 | .userinfo-avatar { 9 | width: 128rpx; 10 | height: 128rpx; 11 | margin: 20rpx; 12 | border-radius: 50%; 13 | } 14 | 15 | .userinfo-nickname { 16 | color: #aaa; 17 | } 18 | 19 | .usermotto { 20 | margin-top: 200px; 21 | } -------------------------------------------------------------------------------- /pages/post-detail/post-detail.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{postTitle}} 6 | 7 | 8 |