xcx 4 vuotta sitten
commit
840a380bbc
80 muutettua tiedostoa jossa 1185 lisäystä ja 0 poistoa
  1. 12
    0
      .editorconfig
  2. 5
    0
      .eslintrc.js
  3. 16
    0
      .gitignore
  4. 4
    0
      .npmrc
  5. 10
    0
      babel.config.js
  6. 9
    0
      config/dev.js
  7. 70
    0
      config/index.js
  8. 18
    0
      config/prod.js
  9. 57
    0
      package.json
  10. 37
    0
      project.config.json
  11. 56
    0
      src/app.config.js
  12. 18
    0
      src/app.js
  13. 5
    0
      src/app.scss
  14. 22
    0
      src/components/NumberDisplay.vue
  15. 31
    0
      src/components/NumberSubmit.vue
  16. 19
    0
      src/index.html
  17. 3
    0
      src/pages/HuiAiXin/EnergyStory/EnergyStoryDetail/index.config.js
  18. 30
    0
      src/pages/HuiAiXin/EnergyStory/EnergyStoryDetail/index.vue
  19. 3
    0
      src/pages/HuiAiXin/EnergyStory/EnergyStoryDetail/page.scss
  20. 3
    0
      src/pages/HuiAiXin/EnergyStory/index.config.js
  21. 30
    0
      src/pages/HuiAiXin/EnergyStory/index.vue
  22. 3
    0
      src/pages/HuiAiXin/EnergyStory/page.scss
  23. 3
    0
      src/pages/HuiAiXin/StarOwner/StarOwnerDetail/index.config.js
  24. 30
    0
      src/pages/HuiAiXin/StarOwner/StarOwnerDetail/index.vue
  25. 3
    0
      src/pages/HuiAiXin/StarOwner/StarOwnerDetail/page.scss
  26. 3
    0
      src/pages/HuiAiXin/StarOwner/index.config.js
  27. 30
    0
      src/pages/HuiAiXin/StarOwner/index.vue
  28. 3
    0
      src/pages/HuiAiXin/StarOwner/page.scss
  29. 3
    0
      src/pages/HuiAiXin/index.config.js
  30. 30
    0
      src/pages/HuiAiXin/index.vue
  31. 3
    0
      src/pages/HuiAiXin/page.scss
  32. 3
    0
      src/pages/HuiQuanYi/NoticeBoard/NoticeDetail/index.config.js
  33. 30
    0
      src/pages/HuiQuanYi/NoticeBoard/NoticeDetail/index.vue
  34. 3
    0
      src/pages/HuiQuanYi/NoticeBoard/NoticeDetail/page.scss
  35. 3
    0
      src/pages/HuiQuanYi/NoticeBoard/index.config.js
  36. 30
    0
      src/pages/HuiQuanYi/NoticeBoard/index.vue
  37. 3
    0
      src/pages/HuiQuanYi/NoticeBoard/page.scss
  38. 3
    0
      src/pages/HuiQuanYi/OwnersNews/NewsDetail/index.config.js
  39. 30
    0
      src/pages/HuiQuanYi/OwnersNews/NewsDetail/index.vue
  40. 3
    0
      src/pages/HuiQuanYi/OwnersNews/NewsDetail/page.scss
  41. 3
    0
      src/pages/HuiQuanYi/OwnersNews/index.config.js
  42. 30
    0
      src/pages/HuiQuanYi/OwnersNews/index.vue
  43. 3
    0
      src/pages/HuiQuanYi/OwnersNews/page.scss
  44. 3
    0
      src/pages/HuiQuanYi/index.config.js
  45. 30
    0
      src/pages/HuiQuanYi/index.vue
  46. 3
    0
      src/pages/HuiQuanYi/page.scss
  47. 3
    0
      src/pages/HuiShengHuo/ActivityList/ActivityDetail/JoinIn/index.config.js
  48. 31
    0
      src/pages/HuiShengHuo/ActivityList/ActivityDetail/JoinIn/index.vue
  49. 3
    0
      src/pages/HuiShengHuo/ActivityList/ActivityDetail/JoinIn/page.scss
  50. 3
    0
      src/pages/HuiShengHuo/ActivityList/ActivityDetail/Vote/index.config.js
  51. 31
    0
      src/pages/HuiShengHuo/ActivityList/ActivityDetail/Vote/index.vue
  52. 3
    0
      src/pages/HuiShengHuo/ActivityList/ActivityDetail/Vote/page.scss
  53. 3
    0
      src/pages/HuiShengHuo/ActivityList/ActivityDetail/index.config.js
  54. 31
    0
      src/pages/HuiShengHuo/ActivityList/ActivityDetail/index.vue
  55. 3
    0
      src/pages/HuiShengHuo/ActivityList/ActivityDetail/page.scss
  56. 3
    0
      src/pages/HuiShengHuo/ActivityList/index.config.js
  57. 30
    0
      src/pages/HuiShengHuo/ActivityList/index.vue
  58. 3
    0
      src/pages/HuiShengHuo/ActivityList/page.scss
  59. 3
    0
      src/pages/HuiShengHuo/PhotoList/PhotoDetail/index.config.js
  60. 30
    0
      src/pages/HuiShengHuo/PhotoList/PhotoDetail/index.vue
  61. 3
    0
      src/pages/HuiShengHuo/PhotoList/PhotoDetail/page.scss
  62. 3
    0
      src/pages/HuiShengHuo/PhotoList/index.config.js
  63. 30
    0
      src/pages/HuiShengHuo/PhotoList/index.vue
  64. 3
    0
      src/pages/HuiShengHuo/PhotoList/page.scss
  65. 3
    0
      src/pages/HuiShengHuo/index.config.js
  66. 34
    0
      src/pages/HuiShengHuo/index.vue
  67. 3
    0
      src/pages/HuiShengHuo/page.scss
  68. 3
    0
      src/pages/SignIn/index.config.js
  69. 30
    0
      src/pages/SignIn/index.vue
  70. 3
    0
      src/pages/SignIn/page.scss
  71. 3
    0
      src/pages/WoDe/Feedback/index.config.js
  72. 30
    0
      src/pages/WoDe/Feedback/index.vue
  73. 3
    0
      src/pages/WoDe/Feedback/page.scss
  74. 3
    0
      src/pages/WoDe/MyActivityList/index.config.js
  75. 30
    0
      src/pages/WoDe/MyActivityList/index.vue
  76. 3
    0
      src/pages/WoDe/MyActivityList/page.scss
  77. 3
    0
      src/pages/WoDe/index.config.js
  78. 30
    0
      src/pages/WoDe/index.vue
  79. 3
    0
      src/pages/WoDe/page.scss
  80. 33
    0
      src/store.js

+ 12
- 0
.editorconfig Näytä tiedosto

@@ -0,0 +1,12 @@
1
+# http://editorconfig.org
2
+root = true
3
+
4
+[*]
5
+indent_style = space
6
+indent_size = 2
7
+charset = utf-8
8
+trim_trailing_whitespace = true
9
+insert_final_newline = true
10
+
11
+[*.md]
12
+trim_trailing_whitespace = false

+ 5
- 0
.eslintrc.js Näytä tiedosto

@@ -0,0 +1,5 @@
1
+// ESLint 检查 .vue 文件需要单独配置编辑器:
2
+// https://eslint.vuejs.org/user-guide/#editor-integrations
3
+module.exports = {
4
+  'extends': ['taro/vue']
5
+}

+ 16
- 0
.gitignore Näytä tiedosto

@@ -0,0 +1,16 @@
1
+.DS_Store
2
+node_modules/
3
+dist/
4
+npm-debug.log*
5
+yarn-debug.log*
6
+yarn-error.log*
7
+package-lock.json
8
+tests/**/coverage/
9
+
10
+# Editor directories and files
11
+.idea
12
+.vscode
13
+*.suo
14
+*.ntvs*
15
+*.njsproj
16
+*.sln

+ 4
- 0
.npmrc Näytä tiedosto

@@ -0,0 +1,4 @@
1
+registry=https://r.cnpmjs.org
2
+disturl=https://r.cnpmjs.org/node
3
+sass_binary_site=https://r.cnpmjs.org/node-sass/
4
+fse_binary_host_mirror=https://r.cnpmjs.org/fsevents

+ 10
- 0
babel.config.js Näytä tiedosto

@@ -0,0 +1,10 @@
1
+// babel-preset-taro 更多选项和默认值:
2
+// https://github.com/NervJS/taro/blob/next/packages/babel-preset-taro/README.md
3
+module.exports = {
4
+  presets: [
5
+    ['taro', {
6
+      framework: 'vue',
7
+      ts: false
8
+    }]
9
+  ]
10
+}

+ 9
- 0
config/dev.js Näytä tiedosto

@@ -0,0 +1,9 @@
1
+module.exports = {
2
+  env: {
3
+    NODE_ENV: '"development"'
4
+  },
5
+  defineConstants: {
6
+  },
7
+  mini: {},
8
+  h5: {}
9
+}

+ 70
- 0
config/index.js Näytä tiedosto

@@ -0,0 +1,70 @@
1
+const config = {
2
+  projectName: 'myApp',
3
+  date: '2020-8-7',
4
+  designWidth: 750,
5
+  deviceRatio: {
6
+    640: 2.34 / 2,
7
+    750: 1,
8
+    828: 1.81 / 2
9
+  },
10
+  sourceRoot: 'src',
11
+  outputRoot: 'dist',
12
+  plugins: [],
13
+  defineConstants: {
14
+  },
15
+  copy: {
16
+    patterns: [
17
+    ],
18
+    options: {
19
+    }
20
+  },
21
+  framework: 'vue',
22
+  mini: {
23
+    postcss: {
24
+      pxtransform: {
25
+        enable: true,
26
+        config: {
27
+
28
+        }
29
+      },
30
+      url: {
31
+        enable: true,
32
+        config: {
33
+          limit: 1024 // 设定转换尺寸上限
34
+        }
35
+      },
36
+      cssModules: {
37
+        enable: false, // 默认为 false,如需使用 css modules 功能,则设为 true
38
+        config: {
39
+          namingPattern: 'module', // 转换模式,取值为 global/module
40
+          generateScopedName: '[name]__[local]___[hash:base64:5]'
41
+        }
42
+      }
43
+    }
44
+  },
45
+  h5: {
46
+    publicPath: '/',
47
+    staticDirectory: 'static',
48
+    postcss: {
49
+      autoprefixer: {
50
+        enable: true,
51
+        config: {
52
+        }
53
+      },
54
+      cssModules: {
55
+        enable: false, // 默认为 false,如需使用 css modules 功能,则设为 true
56
+        config: {
57
+          namingPattern: 'module', // 转换模式,取值为 global/module
58
+          generateScopedName: '[name]__[local]___[hash:base64:5]'
59
+        }
60
+      }
61
+    }
62
+  }
63
+}
64
+
65
+module.exports = function (merge) {
66
+  if (process.env.NODE_ENV === 'development') {
67
+    return merge({}, config, require('./dev'))
68
+  }
69
+  return merge({}, config, require('./prod'))
70
+}

+ 18
- 0
config/prod.js Näytä tiedosto

@@ -0,0 +1,18 @@
1
+module.exports = {
2
+  env: {
3
+    NODE_ENV: '"production"'
4
+  },
5
+  defineConstants: {
6
+  },
7
+  mini: {},
8
+  h5: {
9
+    /**
10
+     * 如果h5端编译后体积过大,可以使用webpack-bundle-analyzer插件对打包体积进行分析。
11
+     * 参考代码如下:
12
+     * webpackChain (chain) {
13
+     *   chain.plugin('analyzer')
14
+     *     .use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin, [])
15
+     * }
16
+     */
17
+  }
18
+}

+ 57
- 0
package.json Näytä tiedosto

@@ -0,0 +1,57 @@
1
+{
2
+  "name": "myApp",
3
+  "version": "1.0.0",
4
+  "private": true,
5
+  "description": "",
6
+  "templateInfo": {
7
+    "name": "vuex",
8
+    "typescript": false,
9
+    "css": "sass"
10
+  },
11
+  "scripts": {
12
+    "build:weapp": "taro build --type weapp",
13
+    "build:swan": "taro build --type swan",
14
+    "build:alipay": "taro build --type alipay",
15
+    "build:tt": "taro build --type tt",
16
+    "build:h5": "taro build --type h5",
17
+    "build:rn": "taro build --type rn",
18
+    "build:qq": "taro build --type qq",
19
+    "build:quickapp": "taro build --type quickapp",
20
+    "dev:weapp": "npm run build:weapp -- --watch",
21
+    "dev:swan": "npm run build:swan -- --watch",
22
+    "dev:alipay": "npm run build:alipay -- --watch",
23
+    "dev:tt": "npm run build:tt -- --watch",
24
+    "dev:h5": "npm run build:h5 -- --watch",
25
+    "dev:rn": "npm run build:rn -- --watch",
26
+    "dev:qq": "npm run build:qq -- --watch",
27
+    "dev:quickapp": "npm run build:quickapp -- --watch"
28
+  },
29
+  "browserslist": [
30
+    "last 3 versions",
31
+    "Android >= 4.1",
32
+    "ios >= 8"
33
+  ],
34
+  "author": "",
35
+  "license": "MIT",
36
+  "dependencies": {
37
+    "@babel/runtime": "^7.7.7",
38
+    "@tarojs/runtime": "3.0.7",
39
+    "@tarojs/taro": "3.0.7",
40
+    "@tarojs/components": "3.0.7",
41
+    "vuex": "^3.0.0",
42
+    "vue-template-compiler": "^2.5.0",
43
+    "vue": "^2.5.0"
44
+  },
45
+  "devDependencies": {
46
+    "@types/webpack-env": "^1.13.6",
47
+    "@tarojs/mini-runner": "3.0.7",
48
+    "@tarojs/webpack-runner": "3.0.7",
49
+    "@babel/core": "^7.8.0",
50
+    "babel-preset-taro": "3.0.7",
51
+    "vue-loader": "^15.9.2",
52
+    "eslint-plugin-vue": "^6.x",
53
+    "eslint-config-taro": "3.0.7",
54
+    "eslint": "^6.8.0",
55
+    "stylelint": "9.3.0"
56
+  }
57
+}

+ 37
- 0
project.config.json Näytä tiedosto

@@ -0,0 +1,37 @@
1
+{
2
+	"miniprogramRoot": "dist/",
3
+	"projectname": "myApp",
4
+	"description": "",
5
+	"appid": "wxd9ee3a9480a4e544",
6
+	"setting": {
7
+		"urlCheck": true,
8
+		"es6": false,
9
+		"enhance": false,
10
+		"postcss": false,
11
+		"preloadBackgroundData": false,
12
+		"minified": false,
13
+		"newFeature": false,
14
+		"coverView": true,
15
+		"nodeModules": false,
16
+		"autoAudits": false,
17
+		"showShadowRootInWxmlPanel": true,
18
+		"scopeDataCheck": false,
19
+		"uglifyFileName": false,
20
+		"checkInvalidKey": true,
21
+		"checkSiteMap": true,
22
+		"uploadWithSourceMap": true,
23
+		"compileHotReLoad": false,
24
+		"babelSetting": {
25
+			"ignore": [],
26
+			"disablePlugins": [],
27
+			"outputPath": ""
28
+		},
29
+		"useIsolateContext": true,
30
+		"useCompilerModule": true,
31
+		"userConfirmedUseCompilerModuleSwitch": false
32
+	},
33
+	"compileType": "miniprogram",
34
+	"simulatorType": "wechat",
35
+	"simulatorPluginLibVersion": {},
36
+	"condition": {}
37
+}

+ 56
- 0
src/app.config.js Näytä tiedosto

@@ -0,0 +1,56 @@
1
+export default {
2
+  pages: [
3
+    'pages/HuiShengHuo/index', // 荟生活
4
+    'pages/HuiShengHuo/ActivityList/index', // 荟生活-活动列表
5
+    'pages/HuiShengHuo/ActivityList/ActivityDetail/index', // 荟生活-活动列表-活动详情git add README.md
6
+    'pages/HuiShengHuo/ActivityList/ActivityDetail/JoinIn/index', // 荟生活-活动列表-活动详情-报名
7
+    'pages/HuiShengHuo/ActivityList/ActivityDetail/Vote/index', // 荟生活-活动列表-活动详情-投票
8
+    'pages/HuiShengHuo/PhotoList/index', // 荟生活-照片列表
9
+    'pages/HuiShengHuo/PhotoList/PhotoDetail/index', // 荟生活-照片列表-照片详情
10
+
11
+    'pages/HuiQuanYi/index', // 荟权益
12
+    'pages/HuiQuanYi/NoticeBoard/index', // 荟权益-公告栏
13
+    'pages/HuiQuanYi/NoticeBoard/NoticeDetail/index', // 荟权益-公告栏-详情
14
+    'pages/HuiQuanYi/OwnersNews/index', // 荟权益-业主资讯
15
+    'pages/HuiQuanYi/OwnersNews/NewsDetail/index', // 荟权益-业主资讯-详情
16
+
17
+    'pages/HuiAiXin/index', // 荟爱心
18
+    'pages/HuiAiXin/StarOwner/index', // 荟爱心-明星业主
19
+    'pages/HuiAiXin/StarOwner/StarOwnerDetail/index', // 荟爱心-明星业主-详情
20
+    'pages/HuiAiXin/EnergyStory/index', // 荟爱心-正能量事迹
21
+    'pages/HuiAiXin/EnergyStory/EnergyStoryDetail/index', // 荟爱心-正能量事迹-详情
22
+
23
+    'pages/WoDe/index', // 我的
24
+    'pages/WoDe/MyActivityList/index', // 我的-活动列表
25
+    'pages/WoDe/Feedback/index', // 我的-反馈
26
+    
27
+    'pages/SignIn/index' // 登录页
28
+    
29
+  ],
30
+  tabBar: {
31
+    list: [
32
+      {
33
+        pagePath: 'pages/HuiShengHuo/index',
34
+        text: '荟生活'
35
+      },
36
+      {
37
+        pagePath: 'pages/HuiQuanYi/index',
38
+        text: '荟权益'
39
+      },
40
+      {
41
+        pagePath: 'pages/HuiAiXin/index',
42
+        text: '荟爱心'
43
+      },
44
+      {
45
+        pagePath: 'pages/WoDe/index',
46
+        text: '我的'
47
+      }
48
+    ]
49
+  },
50
+  window: {
51
+    backgroundTextStyle: 'light',
52
+    navigationBarBackgroundColor: '#fff',
53
+    navigationBarTitleText: 'WeChat',
54
+    navigationBarTextStyle: 'black'
55
+  }
56
+}

+ 18
- 0
src/app.js Näytä tiedosto

@@ -0,0 +1,18 @@
1
+import Vue from 'vue'
2
+import store from './store'
3
+
4
+import './app.scss'
5
+
6
+// Vue.config.productionTip = false
7
+
8
+const App = new Vue({
9
+  store,
10
+  onShow (options) {
11
+  },
12
+  render(h) {
13
+    // this.$slots.default 是将要会渲染的页面
14
+    return h('block', this.$slots.default)
15
+  }
16
+})
17
+
18
+export default App

+ 5
- 0
src/app.scss Näytä tiedosto

@@ -0,0 +1,5 @@
1
+page {
2
+  width: 100%;
3
+  height: 100%;
4
+  overflow-y: scroll;
5
+}

+ 22
- 0
src/components/NumberDisplay.vue Näytä tiedosto

@@ -0,0 +1,22 @@
1
+<template>
2
+  <view>
3
+    <text class="title">{{ getNumbers }}</text>
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+export default {
9
+  name: 'NumberDisplay',
10
+  computed: {
11
+    getNumbers() {
12
+      return this.$store.getters.getNumbers;
13
+    }
14
+  }
15
+}
16
+</script>
17
+
18
+<style>
19
+.title {
20
+  font-size: 40px;
21
+}
22
+</style>

+ 31
- 0
src/components/NumberSubmit.vue Näytä tiedosto

@@ -0,0 +1,31 @@
1
+<template>
2
+  <view>
3
+    <input v-model="number" type="number" class="input" />
4
+    <button @tap="addNumber">
5
+      Add new number
6
+    </button>
7
+  </view>
8
+</template>
9
+
10
+<script>
11
+export default {
12
+  name: 'NumberSubmit',
13
+  data() {
14
+    return {
15
+      number: 0
16
+    }
17
+  },
18
+  methods: {
19
+    addNumber() {
20
+      this.$store.dispatch('addNumber', Number(this.number))
21
+    }
22
+  }
23
+}
24
+</script>
25
+
26
+<style>
27
+.input {
28
+  border: 1px solid lightgray;
29
+  margin: 10px;
30
+}
31
+</style>

+ 19
- 0
src/index.html Näytä tiedosto

@@ -0,0 +1,19 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head>
4
+  <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
5
+  <meta content="width=device-width,initial-scale=1,user-scalable=no" name="viewport">
6
+  <meta name="apple-mobile-web-app-capable" content="yes">
7
+  <meta name="apple-touch-fullscreen" content="yes">
8
+  <meta name="format-detection" content="telephone=no,address=no">
9
+  <meta name="apple-mobile-web-app-status-bar-style" content="white">
10
+  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" >
11
+  <title></title>
12
+  <script>
13
+    !function(x){function w(){var v,u,t,tes,s=x.document,r=s.documentElement,a=r.getBoundingClientRect().width;if(!v&&!u){var n=!!x.navigator.appVersion.match(/AppleWebKit.*Mobile.*/);v=x.devicePixelRatio;tes=x.devicePixelRatio;v=n?v:1,u=1/v}if(a>=640){r.style.fontSize="40px"}else{if(a<=320){r.style.fontSize="20px"}else{r.style.fontSize=a/320*20+"px"}}}x.addEventListener("resize",function(){w()});w()}(window);
14
+  </script>
15
+</head>
16
+<body>
17
+  <div id="app"></div>
18
+</body>
19
+</html>

+ 3
- 0
src/pages/HuiAiXin/EnergyStory/EnergyStoryDetail/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '正能量事迹详情'
3
+}

+ 30
- 0
src/pages/HuiAiXin/EnergyStory/EnergyStoryDetail/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    正能量事迹详情
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'EnergyStoryDetail',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/HuiAiXin/EnergyStory/EnergyStoryDetail/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiAiXin/EnergyStory/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '正能量事迹'
3
+}

+ 30
- 0
src/pages/HuiAiXin/EnergyStory/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    正能量事迹
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'EnergyStory',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/HuiAiXin/EnergyStory/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiAiXin/StarOwner/StarOwnerDetail/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '明星业主详情'
3
+}

+ 30
- 0
src/pages/HuiAiXin/StarOwner/StarOwnerDetail/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    明星业主详情
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'StarOwnerDetail',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/HuiAiXin/StarOwner/StarOwnerDetail/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiAiXin/StarOwner/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '明星业主'
3
+}

+ 30
- 0
src/pages/HuiAiXin/StarOwner/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    明星业主
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'StarOwner',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/HuiAiXin/StarOwner/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiAiXin/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '荟 · 爱心'
3
+}

+ 30
- 0
src/pages/HuiAiXin/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    明星业主
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'StarOwner',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/HuiAiXin/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiQuanYi/NoticeBoard/NoticeDetail/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '公告详情'
3
+}

+ 30
- 0
src/pages/HuiQuanYi/NoticeBoard/NoticeDetail/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    公告栏
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'NoticeBoard',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/HuiQuanYi/NoticeBoard/NoticeDetail/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiQuanYi/NoticeBoard/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '业主公告栏'
3
+}

+ 30
- 0
src/pages/HuiQuanYi/NoticeBoard/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    公告详情
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'NoticeDetail',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/HuiQuanYi/NoticeBoard/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiQuanYi/OwnersNews/NewsDetail/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '咨询详情'
3
+}

+ 30
- 0
src/pages/HuiQuanYi/OwnersNews/NewsDetail/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    资讯详情
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'NewsDetail',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/HuiQuanYi/OwnersNews/NewsDetail/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiQuanYi/OwnersNews/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '业主资讯'
3
+}

+ 30
- 0
src/pages/HuiQuanYi/OwnersNews/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    业主资讯
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'OwnersNews',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/HuiQuanYi/OwnersNews/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiQuanYi/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '荟 · 权益'
3
+}

+ 30
- 0
src/pages/HuiQuanYi/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    荟权益
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'HuiQuanYi',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/HuiQuanYi/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiShengHuo/ActivityList/ActivityDetail/JoinIn/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '活动报名'
3
+}

+ 31
- 0
src/pages/HuiShengHuo/ActivityList/ActivityDetail/JoinIn/index.vue Näytä tiedosto

@@ -0,0 +1,31 @@
1
+<template>
2
+  <view class="page">
3
+    活动报名
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'JoinIn',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>
31
+ 

+ 3
- 0
src/pages/HuiShengHuo/ActivityList/ActivityDetail/JoinIn/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiShengHuo/ActivityList/ActivityDetail/Vote/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '活动投票'
3
+}

+ 31
- 0
src/pages/HuiShengHuo/ActivityList/ActivityDetail/Vote/index.vue Näytä tiedosto

@@ -0,0 +1,31 @@
1
+<template>
2
+  <view class="page">
3
+    活动投票
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'Vote',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>
31
+ 

+ 3
- 0
src/pages/HuiShengHuo/ActivityList/ActivityDetail/Vote/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiShengHuo/ActivityList/ActivityDetail/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '活动详情'
3
+}

+ 31
- 0
src/pages/HuiShengHuo/ActivityList/ActivityDetail/index.vue Näytä tiedosto

@@ -0,0 +1,31 @@
1
+<template>
2
+  <view class="page">
3
+    活动详情
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'ActivityDetail',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>
31
+ 

+ 3
- 0
src/pages/HuiShengHuo/ActivityList/ActivityDetail/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiShengHuo/ActivityList/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '精彩活动'
3
+}

+ 30
- 0
src/pages/HuiShengHuo/ActivityList/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    精彩活动
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'ActivityList',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/HuiShengHuo/ActivityList/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiShengHuo/PhotoList/PhotoDetail/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '活动照片'
3
+}

+ 30
- 0
src/pages/HuiShengHuo/PhotoList/PhotoDetail/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    照片详情
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'PhotoDetail',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/HuiShengHuo/PhotoList/PhotoDetail/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiShengHuo/PhotoList/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '活动照片墙'
3
+}

+ 30
- 0
src/pages/HuiShengHuo/PhotoList/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    活动照片墙
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'PhotoList',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/HuiShengHuo/PhotoList/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/HuiShengHuo/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '荟 · 生活'
3
+}

+ 34
- 0
src/pages/HuiShengHuo/index.vue Näytä tiedosto

@@ -0,0 +1,34 @@
1
+<template>
2
+  <view class="page">
3
+    荟生活
4
+    <view @tap="LinkTo">button</view>
5
+  </view>
6
+</template>
7
+
8
+<script>
9
+
10
+export default {
11
+  name: 'HuiShengHuo',
12
+  data () {
13
+    return {
14
+
15
+    }
16
+  },
17
+  components: {
18
+  },
19
+  created () {
20
+    this.Init()
21
+  },
22
+  methods: {
23
+    Init () {
24
+    },
25
+    LinkTo(){
26
+      wx.navigateTo({url: 'ActivityList/index'})
27
+    }
28
+  }
29
+}
30
+</script>
31
+
32
+<style lang="scss" scoped>
33
+@import "page.scss";
34
+</style>

+ 3
- 0
src/pages/HuiShengHuo/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/SignIn/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '丽园荟'
3
+}

+ 30
- 0
src/pages/SignIn/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    登录页
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'SignIn',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/SignIn/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/WoDe/Feedback/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '意见反馈'
3
+}

+ 30
- 0
src/pages/WoDe/Feedback/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    意见反馈
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'Feedback',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/WoDe/Feedback/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/WoDe/MyActivityList/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '我的活动'
3
+}

+ 30
- 0
src/pages/WoDe/MyActivityList/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    我的活动列表
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'MyActivityList',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/WoDe/MyActivityList/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 3
- 0
src/pages/WoDe/index.config.js Näytä tiedosto

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '我的'
3
+}

+ 30
- 0
src/pages/WoDe/index.vue Näytä tiedosto

@@ -0,0 +1,30 @@
1
+<template>
2
+  <view class="page">
3
+    我的
4
+  </view>
5
+</template>
6
+
7
+<script>
8
+
9
+export default {
10
+  name: 'WoDe',
11
+  data () {
12
+    return {
13
+
14
+    }
15
+  },
16
+  components: {
17
+  },
18
+  created () {
19
+    this.Init()
20
+  },
21
+  methods: {
22
+    Init () {
23
+    }
24
+  }
25
+}
26
+</script>
27
+
28
+<style lang="scss" scoped>
29
+@import "page.scss";
30
+</style>

+ 3
- 0
src/pages/WoDe/page.scss Näytä tiedosto

@@ -0,0 +1,3 @@
1
+.page {
2
+  width: 100%;
3
+}

+ 33
- 0
src/store.js Näytä tiedosto

@@ -0,0 +1,33 @@
1
+import Vue from 'vue'
2
+import Vuex from 'vuex'
3
+
4
+Vue.use(Vuex)
5
+
6
+const state = {
7
+  numbers: [1, 2, 3]
8
+}
9
+
10
+const mutations = {
11
+  ADD_NUMBER(state, payload) {
12
+    state.numbers.push(payload)
13
+  }
14
+}
15
+
16
+const actions = {
17
+  addNumber(context, number) {
18
+    context.commit('ADD_NUMBER', number)
19
+  }
20
+}
21
+
22
+const getters = {
23
+  getNumbers(state) {
24
+    return state.numbers
25
+  }
26
+}
27
+
28
+export default new Vuex.Store({
29
+  state,
30
+  mutations,
31
+  actions,
32
+  getters
33
+})