wang_xy 1 рік тому
батько
коміт
a85ca6b252
100 змінених файлів з 601 додано та 20900 видалено
  1. 16 0
      .gitignore
  2. 34 11
      App.vue
  3. 0 87
      README.md
  4. 1 0
      api/common.js
  5. 56 0
      api/login.js
  6. 10 0
      api/system/dict/data.js
  7. 41 0
      api/system/user.js
  8. 0 141
      app.css
  9. 31 0
      config.js
  10. 0 20
      index.html
  11. 21 35
      main.js
  12. 79 69
      manifest.json
  13. 0 18
      node_modules/.package-lock.json
  14. 0 127
      node_modules/@miniprogram-component-plus/vtabs-content/miniprogram_dist/index.js
  15. 0 4
      node_modules/@miniprogram-component-plus/vtabs-content/miniprogram_dist/index.json
  16. 0 3
      node_modules/@miniprogram-component-plus/vtabs-content/miniprogram_dist/index.wxml
  17. 0 1
      node_modules/@miniprogram-component-plus/vtabs-content/miniprogram_dist/index.wxss
  18. 0 15
      node_modules/@miniprogram-component-plus/vtabs-content/package.json
  19. 0 202
      node_modules/@miniprogram-component-plus/vtabs/miniprogram_dist/index.js
  20. 0 4
      node_modules/@miniprogram-component-plus/vtabs/miniprogram_dist/index.json
  21. 0 38
      node_modules/@miniprogram-component-plus/vtabs/miniprogram_dist/index.wxml
  22. 0 1
      node_modules/@miniprogram-component-plus/vtabs/miniprogram_dist/index.wxss
  23. 0 15
      node_modules/@miniprogram-component-plus/vtabs/package.json
  24. 0 38
      package-lock.json
  25. 13 14
      package.json
  26. 3 3
      pages/iconfont/iconfont.css
  27. 17 52
      pages/index/index.vue
  28. 11 12
      pages/shangcheng/shangcheng.vue
  29. 37 43
      pages/wenba/wenba.vue
  30. 4 6
      pages/wenbaxiangqing/wenbaxiangqing.vue
  31. 39 0
      permission.js
  32. 60 0
      plugins/auth.js
  33. 20 0
      plugins/index.js
  34. 74 0
      plugins/modal.js
  35. 30 0
      plugins/tab.js
  36. 0 52
      project.config.json
  37. 0 8
      project.private.config.json
  38. 0 0
      service
  39. 0 7
      sitemap.json
  40. 0 46
      transform.log
  41. 4 17
      uni.scss
  42. 0 52
      uni_modules/zp-mixins/index.js
  43. 0 0
      unpackage/dist/dev/.automator/mp-weixin/.automator.json
  44. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  45. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
  46. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  47. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/components/tab-page/tab-page.js.map
  48. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/components/tabs/tabs.js.map
  49. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/components/vtabs/vtabs-content/index.js.map
  50. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/components/vtabs/vtabs-content/vtabs-content.js.map
  51. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/components/vtabs/vtabs/index.js.map
  52. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/components/vtabs/vtabs/vtabs.js.map
  53. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/fenlei/fenlei.js.map
  54. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/fuwu/fuwu.js.map
  55. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  56. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/me/me.js.map
  57. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/sannong/sannong.js.map
  58. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/shangcheng/shangcheng.js.map
  59. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/shangpinxiangqingye/shangpinxiangqingye.js.map
  60. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/wenba/wenba.js.map
  61. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/wenbaxiangqing/wenbaxiangqing.js.map
  62. 0 4
      unpackage/dist/dev/mp-weixin/app.js
  63. 0 54
      unpackage/dist/dev/mp-weixin/app.json
  64. 0 3
      unpackage/dist/dev/mp-weixin/app.wxss
  65. 0 157
      unpackage/dist/dev/mp-weixin/common/main.js
  66. 0 199
      unpackage/dist/dev/mp-weixin/common/main.wxss
  67. 0 273
      unpackage/dist/dev/mp-weixin/common/runtime.js
  68. 0 17239
      unpackage/dist/dev/mp-weixin/common/vendor.js
  69. 0 194
      unpackage/dist/dev/mp-weixin/components/tab-page/tab-page.js
  70. 0 4
      unpackage/dist/dev/mp-weixin/components/tab-page/tab-page.json
  71. 0 1
      unpackage/dist/dev/mp-weixin/components/tab-page/tab-page.wxml
  72. 0 8
      unpackage/dist/dev/mp-weixin/components/tab-page/tab-page.wxss
  73. 0 276
      unpackage/dist/dev/mp-weixin/components/tabs/tabs.js
  74. 0 4
      unpackage/dist/dev/mp-weixin/components/tabs/tabs.json
  75. 0 1
      unpackage/dist/dev/mp-weixin/components/tabs/tabs.wxml
  76. 0 70
      unpackage/dist/dev/mp-weixin/components/tabs/tabs.wxss
  77. 0 1
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/index.js
  78. 0 4
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/index.json
  79. 0 1
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/index.wxml
  80. 0 5
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/index.wxss
  81. 0 211
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/vtabs-content.js
  82. 0 4
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/vtabs-content.json
  83. 0 1
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/vtabs-content.wxml
  84. 0 5
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/vtabs-content.wxss
  85. 0 1
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/index.js
  86. 0 4
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/index.json
  87. 0 1
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/index.wxml
  88. 0 45
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/index.wxss
  89. 0 371
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/vtabs.js
  90. 0 4
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/vtabs.json
  91. 0 1
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/vtabs.wxml
  92. 0 45
      unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/vtabs.wxss
  93. 0 275
      unpackage/dist/dev/mp-weixin/pages/fenlei/fenlei.js
  94. 0 9
      unpackage/dist/dev/mp-weixin/pages/fenlei/fenlei.json
  95. 0 1
      unpackage/dist/dev/mp-weixin/pages/fenlei/fenlei.wxml
  96. 0 36
      unpackage/dist/dev/mp-weixin/pages/fenlei/fenlei.wxss
  97. 0 222
      unpackage/dist/dev/mp-weixin/pages/fuwu/fuwu.js
  98. 0 6
      unpackage/dist/dev/mp-weixin/pages/fuwu/fuwu.json
  99. 0 1
      unpackage/dist/dev/mp-weixin/pages/fuwu/fuwu.wxml
  100. 0 0
      unpackage/dist/dev/mp-weixin/pages/fuwu/fuwu.wxss

+ 16 - 0
.gitignore

@@ -0,0 +1,16 @@
+######################################################################
+# Build Tools
+
+/unpackage/*
+/node_modules/*
+
+######################################################################
+# Development Tools
+
+/.idea/*
+/.vscode/*
+/.hbuilderx/*
+
+package-lock.json
+yarn.lock
+

+ 34 - 11
App.vue

@@ -1,16 +1,39 @@
 <script>
-// app.js
-export default {
-    data() {
-        return {};
+  import config from './config'
+  import store from '@/store'
+  import { getToken } from '@/utils/auth'
+
+  export default {
+    onLaunch: function() {
+      this.initApp()
     },
-    globalData: {
-        host: 'http://119.3.201.155:9000',
-        globalToken: null,
-        isLoginSuccess: false
+    methods: {
+      // 初始化应用
+      initApp() {
+        // 初始化应用配置
+        this.initConfig()
+        // 检查用户登录状态
+        //#ifdef H5
+        this.checkLogin()
+        //#endif
+      },
+      initConfig() {
+        this.globalData.config = config
+      },
+      checkLogin() {
+        if (!getToken()) {
+          this.$tab.reLaunch('/pages/login') 
+        }
+      }
     }
-};
+  }
 </script>
-<style>
-@import './app.css';
+
+<style lang="scss">
+  @import '@/static/scss/index.scss';
+  @import './static/font/iconfont.css';
+  .uni-list-cell-db{
+	  max-width: 75% !important;
+  }
+
 </style>

+ 0 - 87
README.md

@@ -1,87 +0,0 @@
-# miniprogram-to-uniapp 转换说明
-
-## 0x00 转换模式
-根据转换模式,转换后的项目使用相应的工具打开,目前有两种模式:
-
-### HBuilder X 模式
-转换后的目录(以_uni结尾的目录), 需使用HBuilder X导入,进行运行和调试。
-如果项目使用了npm模块,需先使用npm install等命令进行安装,然后再运行
-
-### Vue-cli 模式
-转换后的目录(以_vue-cli结尾的目录), 需使用命令行安装依赖、运行和打包。
-详见文档:https://uniapp.dcloud.io/quickstart-cli.html#%E8%BF%90%E8%A1%8C%E3%80%81%E5%8F%91%E5%B8%83uni-app
-
-注:
-上述两种项目类型,可以相互转换。
-[uni-app HBuilderX 工程与 vue-cli 工程相互转换](https://ask.dcloud.net.cn/article/35750)
-
-
-## 0x01 调试建议
-如果您想转换小程序为uni-app项目,并发布为App,
-建议运行到H5平台,因为H5平台速度快,而且与App平台贴合度更高。
-只有当强依赖硬件时,才使用真机调试,这样可以节约时间!
-
-
-## 0x02 常见问题
-### 1.命令行提示:“'wtu'不是内部或外部命令, 也不是可运行的程序”
-一般是node未安装在默认目录导致的,参照文章 [解决“npm不是内部或外部命令“](https://www.cnblogs.com/ldq678/p/10291824.html) 解决。
-
-
-### 2.PowerShell里提示:无法加载文件 XXXXXXXXX.ps1,因为在此系统上禁止运行脚本。
-以管理员身份运行`powershell`,执行
-```
-set-executionpolicy remotesigned
-```
-输入 y 即可
-或者,在PowerShell输入 `cmd` 后回车也行
-
-
-### 3.setData为什么没有转换?需要我手动改吗?那我有100多个页面怎么改呀?
-`setData`函数已内置,在main.js通过mixin全局混入,所以不用转换,可直接使用`setData`函数!!!
-
-
-### 4.命令行报错:"cannot read property ‘某某某’ of undefined"
-报错解释:有代码“`xx.某某某`”,但xx的值是undefined,因此,需要进报错的页面,调试调试,为啥xx为undefined,相应的调试代码即可。
-常见原因:可能接口跨域,可能真的没值,也可能没声明变量,也可能是工具转换问题等。
-
-
-### 5.为什么我运行到H5或app时,拿不到小程序用户的信息?为什么登录失败?
-转换后的uni-app项目,如需运行到其他小程序、H5和App时,登录和支付功能均需“重新对接”,需要增加 “新” 接口!
-
-
-### 6.跨域问题:为什么我的接口都没有返回数据呀?
-控制台有“CORS”、“Access-Control-Allow-Origin”等关键字时,不要犹豫,果断判断是因为跨域,导致访问接口失败。
-跨域,前端老生常谈,有N种解决办法,最简单的办法是运行到“内置浏览器”。
-PS: 仅仅 H5 平台存在跨域问题!发布后上传到服务器无此问题!
-
-
-### 7.Vant项目怎么转换呀?
-
-Vant项目比较常见的报错是:代码`<button class="{{ utils.bem('action-sheet__item', { disabled: item.disabled || item.loading }) }} {{ item.className || '' }}"></button>`转到后,运行会报错,因为uni-app不支持在class里面写函数)
-
-由于Vant的一些语法uni-app并不支持,因此需要特殊处理一下,这里分享三种方案,可以根据自己的情况进行选择。
-
-#### 方案一:【替换Vant组件】
-转换前,将vant组件全部用别的组件库替换掉再转换。
-
-#### 方案二:【替换Vant组件】
-转换后,将vant组件使用uview1.x替换掉同功能组件。
-
-#### 方案三:【不替换Vant组件】
-转换后,按uniapp引入小程序组件文档重新引入vant组件(小程序自定义组件支持:
-https://uniapp.dcloud.io/tutorial/miniprogram-subject.html#%E5%B0%8F%E7%A8%8B%E5%BA%8F%E8%87%AA%E5%AE%9A%E4%B9%89%E7%BB%84%E4%BB%B6%E6%94%AF%E6%8C%81)
-
-
-### 8.小程序转换为uni-app项目后,还能转换成其他小程序项目吗?
-当然可以,必须可以!
-小程序转换为uni-app项目后,就是uni-app项目了,uni-app项目能做啥就能做啥,
-能再次生成为各种小程序、发布H5和App。
-
-
-### 9.uni-app生成的小程序项目,还能再转换回uni-app项目吗?
-不能。不支持这种项目的转换!
-
-
-### 其他
-- 因各种原因,本工具并非100%完美转换!有问题实属正常!
-- 如遇运行报错,请在https://github.com/zhangdaren/miniprogram-to-uniapp,将详细情况提交Issue!

+ 1 - 0
api/common.js

@@ -0,0 +1 @@
+import request from '@/utils/request'

+ 56 - 0
api/login.js

@@ -0,0 +1,56 @@
+import request from '@/utils/request'
+
+// 登录方法
+export function wxLogin(code) {
+  const data = {
+    code
+  }
+  return request({
+    'url': '/wxLogin',
+    headers: {
+      isToken: false
+    },
+    'method': 'post',
+    'params': data
+  })
+}
+
+// 注册方法
+export function register(data) {
+  return request({
+    url: '/register',
+    headers: {
+      isToken: false
+    },
+    method: 'post',
+    data: data
+  })
+}
+
+// 获取用户详细信息
+export function getInfo() {
+  return request({
+    'url': '/getInfo',
+    'method': 'get'
+  })
+}
+
+// 退出方法
+export function logout() {
+  return request({
+    'url': '/logout',
+    'method': 'post'
+  })
+}
+
+// 获取验证码
+export function getCodeImg() {
+  return request({
+    'url': '/captchaImage',
+    headers: {
+      isToken: false
+    },
+    method: 'get',
+    timeout: 20000
+  })
+}

+ 10 - 0
api/system/dict/data.js

@@ -0,0 +1,10 @@
+import upload from '@/utils/upload'
+import request from '@/utils/request'
+
+// 根据字典类型查询字典数据信息
+export function getDicts(dictType) {
+  return request({
+    url: '/system/dict/data/type/' + dictType,
+    method: 'get'
+  })
+}

+ 41 - 0
api/system/user.js

@@ -0,0 +1,41 @@
+import upload from '@/utils/upload'
+import request from '@/utils/request'
+
+// 用户密码重置
+export function updateUserPwd(oldPassword, newPassword) {
+  const data = {
+    oldPassword,
+    newPassword
+  }
+  return request({
+    url: '/system/user/profile/updatePwd',
+    method: 'put',
+    params: data
+  })
+}
+
+// 查询用户个人信息
+export function getUserProfile() {
+  return request({
+    url: '/system/user/listAll',
+    method: 'get'
+  })
+}
+
+// 修改用户个人信息
+export function updateUserProfile(data) {
+  return request({
+    url: '/system/user/profile',
+    method: 'put',
+    data: data
+  })
+}
+
+// 用户头像上传
+export function uploadAvatar(data) {
+  return upload({
+    url: '/system/user/profile/avatar',
+    name: data.name,
+    filePath: data.filePath
+  })
+}

+ 0 - 141
app.css

@@ -1,141 +0,0 @@
-@import './pages/iconfont/iconfont.css'; /**app.wxss**/
-html, body, div, span, applet, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-a, abbr, acronym, address, big, cite, code,
-del, dfn, em, img, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
-b, u, i, center,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td,
-article, aside, canvas, details, embed,
-figure, figcaption, footer, header, hgroup,
-menu, nav, output, ruby, section, summary,
-time, mark, audio, video {
-    margin: 0;
-    padding: 0;
-    border: 0;
-    font-size: 100%;
-    font: inherit;
-    vertical-align: baseline;
-}
- 
-/* HTML5 display-role reset for older browsers */
-article, aside, details, figcaption, figure,
-footer, header, hgroup, menu, nav, section {
-    display: block;
-}
- 
-body {
-    line-height: 1;
-}
- 
-ol, ul {
-    list-style: none;
-}
- 
-blockquote, q {
-    quotes: none;
-}
- 
-blockquote:before, blockquote:after,
-q:before, q:after {
-    content: '';
-    content: none;
-}
- 
-table {
-    border-collapse: collapse;
-    border-spacing: 0;
-}
-html {
-    font-size: 62.5%;
-    color: #222;
-}
- 
-::selection {
-    background-color: #b3d4fc;
-    text-shadow: none;
-}
- 
-ul {
-    margin: 0;
-    padding: 0;
-}
- 
-li {
-    list-style: none;
-}
-.clearfix:before,
-.clearfix:after {
-    content: " ";
-    display: table;
-}
- 
-.clearfix:after {
-    clear: both;
-}
-/* ===============
-   自定义页面样式
-   =============== */
-body {
-    font:1.2rem "simhei",Arial,Helvetica,sans-serif;
-    line-height: 1.5;
-    background-color: #f7f7f7;
-}
- 
-a {
-    color: #666;
-    text-decoration: none;
-}
- 
-a:hover, a:active {
-    color: #0ae;
-    text-decoration: underline;
-}
-/*公共类*/
-.fl {
-    float: left
-}
-.fr {
-    float: right
-}
-.al {
-    text-align: left
-}
-.ac {
-    text-align: center
-}
-.ar {
-    text-align: right
-}
-.hide {
-    display: none
-}
-.container {
-    height: 100%;
-    display: flex;
-    flex-direction: column;
-    align-items: center;
-    justify-content: space-between;
-    padding: 0rpx 20rpx;
-    box-sizing: border-box;
-}
-.fengexian {
-    width: 100%;
-    height: 20rpx;
-    background: #f6f6f6;
-    border-radius: 6rpx;
-}
-image {
-    display: block;
-    overflow: auto;
-}
-.titleLeft {
-    font-size: 40rpx;
-    font-weight: 600;
-    color: #07c160;
-    text-align: left;
-    line-height: 90rpx;
-    width: 100%;
-}

+ 31 - 0
config.js

@@ -0,0 +1,31 @@
+// 应用全局配置
+module.exports = {
+
+	// baseUrl: 'https://www.xcx.cczdsz.cn/prod-api',
+	// baseUrl: 'http://192.168.4.6:8080',
+	baseUrl: 'http://127.0.0.1:8080',
+	// baseUrl: 'http://192.168.4.11:8080',
+	// baseUrl: 'http://192.168.4.14:8089',
+	baseIconUrl: 'http://119.3.201.155:9000',
+	// 应用信息
+	appInfo: {
+		// 应用名称
+		name: "ruoyi-app",
+		// 应用版本
+		version: "1.1.0",
+		// 应用logo
+		logo: "/static/logo.png",
+		// 官方网站
+		site_url: "http://ruoyi.vip",
+		// 政策协议
+		agreements: [{
+				title: "隐私政策",
+				url: "https://ruoyi.vip/protocol.html"
+			},
+			{
+				title: "用户服务协议",
+				url: "https://ruoyi.vip/protocol.html"
+			}
+		]
+	}
+}

+ 0 - 20
index.html

@@ -1,20 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <script>
-      var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
-        CSS.supports('top: constant(a)'))
-      document.write(
-        '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
-        (coverSupport ? ', viewport-fit=cover' : '') + '" />')
-    </script>
-    <title></title>
-    <!--preload-links-->
-    <!--app-context-->
-  </head>
-  <body>
-    <div id="app"><!--app-html--></div>
-    <script type="module" src="/main.js"></script>
-  </body>
-</html>

+ 21 - 35
main.js

@@ -1,40 +1,26 @@
-import App from './App';
+import Vue from 'vue'
+import App from './App'
+import store from './store' // store
+import plugins from './plugins' // plugins
+import './permission' // permission
+import config from '@/config'
+Vue.use(plugins)
 
-// 全局mixins,用于实现setData等功能,请勿删除!';
-import zpMixins from '@/uni_modules/zp-mixins/index.js';
+Vue.config.productionTip = false
+Vue.prototype.$store = store
 
-// #ifndef VUE3
-import Vue from 'vue';
 
-Vue.use(zpMixins);
-
-// 导入p-f-unicom
-import unicom from '@/uni_modules/p-f-unicom/index.js';
-import * as setData from '@/common/utils/setDataOverride.js'
-// setData重写
-// 用于解决组件间关系(目前受制于平台及写法,仍可能存在小部分场景不生效,需手动调试修复或『替换对应组件』)
-Vue.use(unicom, {
-    name: 'unicom',
-    idName: 'unicomId',
-    groupName: 'unicomGroup'
-});
+App.mpType = 'app'
+// 挂载全局图片地址
+Vue.prototype.$HTTP = config.baseUrl
+// 图片使用网络地址
+Vue.prototype.loadImgSrc = function(img) {
+	//项目的地址域名,例如百度
+	return config.baseIconUrl+img;
+}
 
-Vue.config.productionTip = false;
-Vue.prototype.setData = setData
-App.mpType = 'app';
-const app = new Vue({
-    ...App
-});
-app.$mount();
-// #endif
+const app = new Vue({  
+	...App
+})
 
-// #ifdef VUE3
-import { createSSRApp } from 'vue';
-export function createApp() {
-    const app = createSSRApp(App);
-    app.mixin(zpMixins);
-    return {
-        app
-    };
-}
-// #endif
+app.$mount()

+ 79 - 69
manifest.json

@@ -1,70 +1,80 @@
 {
-	"name": "",
-	"appid": "",
-	"description": "",
-	"versionName": "1.0.0",
-	"versionCode": "100",
-	"transformPx": false,
-	"app-plus": {
-		"usingComponents": true,
-		"nvueStyleCompiler": "uni-app",
-		"compilerVersion": 3,
-		"splashscreen": {
-			"alwaysShowBeforeRender": true,
-			"waiting": true,
-			"autoclose": true,
-			"delay": 0
-		},
-		"modules": {},
-		"distribute": {
-			"android": {
-				"permissions": [
-					"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
-					"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
-					"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
-					"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
-					"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
-					"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
-					"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
-					"<uses-permission android:name=\"android.permission.CAMERA\"/>",
-					"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
-					"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
-					"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
-					"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
-					"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
-					"<uses-feature android:name=\"android.hardware.camera\"/>",
-					"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
-				]
-			},
-			"ios": {},
-			"sdkConfigs": {}
-		}
-	},
-	"quickapp": {},
-	"mp-weixin": {
-		"appid": "wxea9d81159fec0287",
-		"setting": {
-			"urlCheck": false
-		},
-		"usingComponents": true,
-		"permission": {
-			"scope.userLocation": {
-				"desc": "你的位置信息将用于小程序位置接口的效果展示"
-			}
-		},
-		"plugins": {}
-	},
-	"mp-alipay": {
-		"usingComponents": true
-	},
-	"mp-baidu": {
-		"usingComponents": true
-	},
-	"mp-toutiao": {
-		"usingComponents": true
-	},
-	"uniStatistics": {
-		"enable": false
-	},
-	"vueVersion": "2"
-}
+    "name" : "wxf75b34dd1f737174",
+    "appid" : "",
+    "description" : "",
+    "versionName" : "1.0.0",
+    "versionCode" : "100",
+    "transformPx" : false,
+    "app-plus" : {
+        "usingComponents" : true,
+        "nvueStyleCompiler" : "uni-app",
+        "compilerVersion" : 3,
+        "splashscreen" : {
+            "alwaysShowBeforeRender" : true,
+            "waiting" : true,
+            "autoclose" : true,
+            "delay" : 0
+        },
+        "modules" : {
+            "OAuth" : {}
+        },
+        "distribute" : {
+            "android" : {
+                "permissions" : [
+                    "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
+                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
+                    "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.CAMERA\"/>",
+                    "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
+                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
+                    "<uses-feature android:name=\"android.hardware.camera\"/>",
+                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
+                ]
+            },
+            "ios" : {},
+            "sdkConfigs" : {
+                "oauth" : {
+                    "weixin" : {
+                        "appid" : "wxf75b34dd1f737174",
+                        "UniversalLinks" : ""
+                    }
+                }
+            }
+        }
+    },
+    "quickapp" : {},
+    "mp-weixin" : {
+        "appid" : "wxf75b34dd1f737174",
+        "setting" : {
+            "urlCheck" : false
+        },
+        "usingComponents" : true,
+        "permission" : {
+            "scope.userLocation" : {
+                "desc" : "你的位置信息将用于小程序位置接口的效果展示"
+            }
+        },
+        "plugins" : {}
+		
+    },
+    "mp-alipay" : {
+        "usingComponents" : true
+    },
+    "mp-baidu" : {
+        "usingComponents" : true
+    },
+    "mp-toutiao" : {
+        "usingComponents" : true
+    },
+    "uniStatistics" : {
+        "enable" : false
+    },
+    "vueVersion" : "2"
+}

+ 0 - 18
node_modules/.package-lock.json

@@ -1,18 +0,0 @@
-{
-	"name": "sookauniapp_demo_uni",
-	"version": "1.0.0",
-	"lockfileVersion": 2,
-	"requires": true,
-	"packages": {
-		"node_modules/@miniprogram-component-plus/vtabs": {
-			"version": "1.0.0",
-			"resolved": "https://registry.npmjs.org/@miniprogram-component-plus/vtabs/-/vtabs-1.0.0.tgz",
-			"integrity": "sha512-xDGrJwRbcpxd92rpQ0bbesBd2TKR6RGX1kJjuC6jlN4nRr28MTBhSPQEWfof2COms0xrLTa4WzU1QL+C2KH59w=="
-		},
-		"node_modules/@miniprogram-component-plus/vtabs-content": {
-			"version": "1.0.0",
-			"resolved": "https://registry.npmjs.org/@miniprogram-component-plus/vtabs-content/-/vtabs-content-1.0.0.tgz",
-			"integrity": "sha512-/DGQjL1W1X7IMfOlB1ILfMZqyvhHHlrUsQ2liuVMZCwn46z5fTTQHcFWZKYZONaxKjTO3AecjRypKF0/k2s9aQ=="
-		}
-	}
-}

+ 0 - 127
node_modules/@miniprogram-component-plus/vtabs-content/miniprogram_dist/index.js

@@ -1,127 +0,0 @@
-module.exports =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = 7);
-/******/ })
-/************************************************************************/
-/******/ ({
-
-/***/ 7:
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Component({
-    options: {
-        addGlobalClass: true,
-        multipleSlots: true
-    },
-    properties: {
-        tabIndex: {
-            type: Number,
-            value: 0
-        }
-    },
-    relations: {
-        '../vtabs/index': {
-            type: 'parent'
-        }
-    },
-    lifetimes: {
-        attached: function attached() {}
-    },
-    methods: {
-        calcHeight: function calcHeight(callback) {
-            var query = this.createSelectorQuery();
-            query.select('.weui-vtabs-content__item').boundingClientRect(function (rect) {
-                callback && callback(rect);
-            }).exec();
-        }
-    }
-});
-
-/***/ })
-
-/******/ });

+ 0 - 4
node_modules/@miniprogram-component-plus/vtabs-content/miniprogram_dist/index.json

@@ -1,4 +0,0 @@
-{
-    "component": true,
-    "usingComponents": {}
-}

+ 0 - 3
node_modules/@miniprogram-component-plus/vtabs-content/miniprogram_dist/index.wxml

@@ -1,3 +0,0 @@
-<view class="weui-vtabs-content__item" id="weui-vtabs-content__{{tabIndex}}">
-  <slot ></slot>
-</view>

+ 0 - 1
node_modules/@miniprogram-component-plus/vtabs-content/miniprogram_dist/index.wxss

@@ -1 +0,0 @@
-.weui-tabs-content__item{width:100%;height:100%}

+ 0 - 15
node_modules/@miniprogram-component-plus/vtabs-content/package.json

@@ -1,15 +0,0 @@
-{
-  "name": "@miniprogram-component-plus/vtabs-content",
-  "version": "1.0.0",
-  "description": "",
-  "main": "miniprogram_dist/index.js",
-  "scripts": {
-    "test": "echo \"Error: no test specified\" && exit 1"
-  },
-  "keywords": [
-    "tabs",
-    "miniprogram"
-  ],
-  "author": "sanfordsun",
-  "license": "ISC"
-}

+ 0 - 202
node_modules/@miniprogram-component-plus/vtabs/miniprogram_dist/index.js

@@ -1,202 +0,0 @@
-module.exports =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = 6);
-/******/ })
-/************************************************************************/
-/******/ ({
-
-/***/ 6:
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Component({
-    options: {
-        addGlobalClass: true,
-        pureDataPattern: /^_/,
-        multipleSlots: true
-    },
-    properties: {
-        vtabs: { type: Array, value: [] },
-        tabBarClass: { type: String, value: '' },
-        activeClass: { type: String, value: '' },
-        tabLineColor: { type: String, value: '#ff0000' },
-        tabInactiveTextColor: { type: String, value: '#000000' },
-        tabActiveTextColor: { type: String, value: '#ff0000' },
-        tabInactiveBgColor: { type: String, value: '#eeeeee' },
-        tabActiveBgColor: { type: String, value: '#ffffff' },
-        activeTab: { type: Number, value: 0 },
-        animation: { type: Boolean, value: true }
-    },
-    data: {
-        currentView: 0,
-        contentScrollTop: 0,
-        _heightRecords: [],
-        _contentHeight: {}
-    },
-    observers: {
-        activeTab: function activeTab(_activeTab) {
-            this.scrollTabBar(_activeTab);
-        }
-    },
-    relations: {
-        '../vtabs-content/index': {
-            type: 'child',
-            linked: function linked(target) {
-                var _this = this;
-
-                target.calcHeight(function (rect) {
-                    _this.data._contentHeight[target.data.tabIndex] = rect.height;
-                    if (_this._calcHeightTimer) {
-                        clearTimeout(_this._calcHeightTimer);
-                    }
-                    _this._calcHeightTimer = setTimeout(function () {
-                        _this.calcHeight();
-                    }, 100);
-                });
-            },
-            unlinked: function unlinked(target) {
-                delete this.data._contentHeight[target.data.tabIndex];
-            }
-        }
-    },
-    lifetimes: {
-        attached: function attached() {}
-    },
-    methods: {
-        calcHeight: function calcHeight() {
-            var length = this.data.vtabs.length;
-            var _contentHeight = this.data._contentHeight;
-            var _heightRecords = [];
-            var temp = 0;
-            for (var i = 0; i < length; i++) {
-                _heightRecords[i] = temp + (_contentHeight[i] || 0);
-                temp = _heightRecords[i];
-            }
-            this.data._heightRecords = _heightRecords;
-        },
-        scrollTabBar: function scrollTabBar(index) {
-            var len = this.data.vtabs.length;
-            if (len === 0) return;
-            var currentView = index < 6 ? 0 : index - 5;
-            if (currentView >= len) currentView = len - 1;
-            this.setData({ currentView: currentView });
-        },
-        handleTabClick: function handleTabClick(e) {
-            var _heightRecords = this.data._heightRecords;
-            var index = e.currentTarget.dataset.index;
-            var contentScrollTop = _heightRecords[index - 1] || 0;
-            this.triggerEvent('tabclick', { index: index });
-            this.setData({
-                activeTab: index,
-                contentScrollTop: contentScrollTop
-            });
-        },
-        handleContentScroll: function handleContentScroll(e) {
-            var _heightRecords = this.data._heightRecords;
-            if (_heightRecords.length === 0) return;
-            var length = this.data.vtabs.length;
-            var scrollTop = e.detail.scrollTop;
-            var index = 0;
-            if (scrollTop >= _heightRecords[0]) {
-                for (var i = 1; i < length; i++) {
-                    if (scrollTop >= _heightRecords[i - 1] && scrollTop < _heightRecords[i]) {
-                        index = i;
-                        break;
-                    }
-                }
-            }
-            if (index !== this.data.activeTab) {
-                this.triggerEvent('change', { index: index });
-                this.setData({ activeTab: index });
-            }
-        }
-    }
-});
-
-/***/ })
-
-/******/ });

+ 0 - 4
node_modules/@miniprogram-component-plus/vtabs/miniprogram_dist/index.json

@@ -1,4 +0,0 @@
-{
-    "component": true,
-    "usingComponents": {}
-}

+ 0 - 38
node_modules/@miniprogram-component-plus/vtabs/miniprogram_dist/index.wxml

@@ -1,38 +0,0 @@
-<view class="weui-vtabs">
-  <view class="weui-vtabs-bar__wrp {{tabBarClass}}">
-    <scroll-view 
-      scroll-y
-      class="weui-vtabs-bar__scrollview"
-      scroll-into-view="weui-vtabs-item__{{currentView}}"
-    >
-      <view class="weui-vtabs-bar__content">
-        <block wx:for="{{vtabs}}" wx:key="title">
-          <view 
-            id="weui-vtabs-item__{{index}}"
-            class="weui-vtabs-bar__item"
-            data-index="{{index}}"
-            style="background-color: {{activeTab === index ? tabActiveBgColor : tabInactiveBgColor}}; color: {{activeTab === index ? tabActiveTextColor : tabInactiveTextColor}}; border-left-color: {{activeTab === index ? tabLineColor : tabInactiveBgColor}}"
-            bindtap="handleTabClick"
-          >
-            <view class="weui-vtabs-bar__title {{activeTab === index ? activeClass : ''}}">
-              <text class="">{{item.title}}</text>
-            </view>
-          </view>
-        </block>
-      </view>
-    </scroll-view>
-  </view>
-  <view class="weui-vtabs-content__wrp">
-    <scroll-view 
-      scroll-y
-      class="weui-vtabs-content__scrollview" 
-      scroll-top="{{contentScrollTop}}"
-      scroll-with-animation="{{animation}}"
-      bindscroll="handleContentScroll"
-    >
-      <view class="weui-vtabs-content">
-        <slot ></slot>
-      </view>
-    </scroll-view>
-  </view>
-</view>

Різницю між файлами не показано, бо вона завелика
+ 0 - 1
node_modules/@miniprogram-component-plus/vtabs/miniprogram_dist/index.wxss


+ 0 - 15
node_modules/@miniprogram-component-plus/vtabs/package.json

@@ -1,15 +0,0 @@
-{
-  "name": "@miniprogram-component-plus/vtabs",
-  "version": "1.0.0",
-  "description": "",
-  "main": "miniprogram_dist/index.js",
-  "scripts": {
-    "test": "echo \"Error: no test specified\" && exit 1"
-  },
-  "keywords": [
-    "tabs",
-    "miniprogram"
-  ],
-  "author": "sanfordsun",
-  "license": "ISC"
-}

+ 0 - 38
package-lock.json

@@ -1,38 +0,0 @@
-{
-	"name": "sookauniapp_demo_uni",
-	"version": "1.0.0",
-	"lockfileVersion": 2,
-	"requires": true,
-	"packages": {
-		"": {
-			"version": "1.0.0",
-			"license": "[object Object]",
-			"dependencies": {
-				"@miniprogram-component-plus/vtabs": "^1.0.0",
-				"@miniprogram-component-plus/vtabs-content": "^1.0.0"
-			}
-		},
-		"node_modules/@miniprogram-component-plus/vtabs": {
-			"version": "1.0.0",
-			"resolved": "https://registry.npmjs.org/@miniprogram-component-plus/vtabs/-/vtabs-1.0.0.tgz",
-			"integrity": "sha512-xDGrJwRbcpxd92rpQ0bbesBd2TKR6RGX1kJjuC6jlN4nRr28MTBhSPQEWfof2COms0xrLTa4WzU1QL+C2KH59w=="
-		},
-		"node_modules/@miniprogram-component-plus/vtabs-content": {
-			"version": "1.0.0",
-			"resolved": "https://registry.npmjs.org/@miniprogram-component-plus/vtabs-content/-/vtabs-content-1.0.0.tgz",
-			"integrity": "sha512-/DGQjL1W1X7IMfOlB1ILfMZqyvhHHlrUsQ2liuVMZCwn46z5fTTQHcFWZKYZONaxKjTO3AecjRypKF0/k2s9aQ=="
-		}
-	},
-	"dependencies": {
-		"@miniprogram-component-plus/vtabs": {
-			"version": "1.0.0",
-			"resolved": "https://registry.npmjs.org/@miniprogram-component-plus/vtabs/-/vtabs-1.0.0.tgz",
-			"integrity": "sha512-xDGrJwRbcpxd92rpQ0bbesBd2TKR6RGX1kJjuC6jlN4nRr28MTBhSPQEWfof2COms0xrLTa4WzU1QL+C2KH59w=="
-		},
-		"@miniprogram-component-plus/vtabs-content": {
-			"version": "1.0.0",
-			"resolved": "https://registry.npmjs.org/@miniprogram-component-plus/vtabs-content/-/vtabs-content-1.0.0.tgz",
-			"integrity": "sha512-/DGQjL1W1X7IMfOlB1ILfMZqyvhHHlrUsQ2liuVMZCwn46z5fTTQHcFWZKYZONaxKjTO3AecjRypKF0/k2s9aQ=="
-		}
-	}
-}

+ 13 - 14
package.json

@@ -1,15 +1,14 @@
 {
-	"name": "",
-	"version": "1.0.0",
-	"description": "",
-	"main": "main.js",
-	"scripts": {
-		"test": "echo \"Error: no test specified\" && exit 1"
-	},
-	"author": "",
-	"dependencies": {
-		"@miniprogram-component-plus/vtabs": "^1.0.0",
-		"@miniprogram-component-plus/vtabs-content": "^1.0.0"
-	},
-	"license": "[object Object]"
-}
+  "name": "jnb_wechatapp",
+  "version": "1.0.0",
+  "main": "main.js",
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1"
+  },
+  "author": "",
+  "license": "ISC",
+  "description": "",
+  "dependencies": {
+    "quill": "^1.3.7"
+  }
+}

+ 3 - 3
pages/iconfont/iconfont.css

@@ -1,8 +1,8 @@
 @font-face {
     font-family: 'iconfont'; /* Project id 3934749 */
-    src: url('//at.alicdn.com/t/c/font_3934749_vw3yr60jge.woff2?t=1678514567333') format('woff2'),
-        url('//at.alicdn.com/t/c/font_3934749_vw3yr60jge.woff?t=1678514567333') format('woff'),
-        url('//at.alicdn.com/t/c/font_3934749_vw3yr60jge.ttf?t=1678514567333') format('truetype');
+    src: url('http://at.alicdn.com/t/c/font_3934749_vw3yr60jge.woff2?t=1678514567333') format('woff2'),
+        url('http://at.alicdn.com/t/c/font_3934749_vw3yr60jge.woff?t=1678514567333') format('woff'),
+        url('http://at.alicdn.com/t/c/font_3934749_vw3yr60jge.ttf?t=1678514567333') format('truetype');
 }
 
 .iconfont {

+ 17 - 52
pages/index/index.vue

@@ -2,7 +2,7 @@
     <view>
         <!-- index.wxml -->
         <view class="topBj">
-            <image :src="host + '/jcb-top.png'"></image>
+            <image :src="loadImgSrc('/jcb-top.png')"></image>
         </view>
         <view class="container">
             <!-- 主导航 -->
@@ -26,18 +26,18 @@
             </ul>
             <!-- 村民福利 -->
             <view class="cmfl_title">
-                <image :src="host + '/cnfl-fl.png'"></image>
+                <image :src="loadImgSrc('/cnfl-fl.png')"></image>
                 <h1>村民福利</h1>
-                <image :src="host + '/cnfl-fr.png'"></image>
+                <image :src="loadImgSrc('/cnfl-fr.png')"></image>
             </view>
             <view class="cnfl">
                 <view class="fv">
                     <text>法律乡下</text>
-                    <image :src="host + '/fv.jpg'"></image>
+                    <image :src="loadImgSrc('/fv.jpg')"></image>
                 </view>
                 <view class="hm">
                     <text>惠民通</text>
-                    <image :src="host + '/hm.jpg'"></image>
+                    <image :src="loadImgSrc('/hm.jpg')"></image>
                 </view>
             </view>
         </view>
@@ -66,7 +66,7 @@
         <view class="container">
             <!-- 政策推荐 -->
             <view class="zcTuijian">
-                <image :src="host + '/zctj.png'"></image>
+                <image :src="loadImgSrc('/zctj.png')"></image>
                 <ul>
                     <view v-for="(item, index) in msgList" :key="index">
                         <li>
@@ -84,7 +84,7 @@
             <!-- 图片轮播 -->
             <swiper :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval" :duration="duration" :circular="circular" class="banner">
                 <block v-for="(item, index) in banners" :key="index">
-                    <swiper-item><image :src="item.src" mode="aspectFill"></image></swiper-item>
+                    <swiper-item><image :src="loadImgSrc(item.src)" mode="aspectFill"></image></swiper-item>
                 </block>
             </swiper>
         </view>
@@ -144,15 +144,15 @@
                     <span class="listTitle">{{ item.title }}</span>
 
                     <view class="onePic" v-if="item.imgList.length == 1">
-                        <image :src="host + item.url" v-for="(item, index1) in item.imgList" :key="index1"></image>
+                        <image :src="loadImgSrc('/'+item.url)" v-for="(item, index1) in item.imgList" :key="index1"></image>
                     </view>
 
                     <view class="twoPic" v-if="item.imgList.length == 2">
-                        <image :src="host + item.url" v-for="(item, index1) in item.imgList" :key="index1"></image>
+                        <image :src="loadImgSrc('/'+item.url)" v-for="(item, index1) in item.imgList" :key="index1"></image>
                     </view>
 
                     <view class="threePic" v-if="item.imgList.length == 3">
-                        <image :src="host + item.url" v-for="(item, index1) in item.imgList" :key="index1"></image>
+                        <image :src="loadImgSrc('/'+item.url)" v-for="(item, index1) in item.imgList" :key="index1"></image>
                     </view>
 
                     <view class="jlSj">
@@ -187,7 +187,7 @@
             </view>
             <ul class="rmzsList">
                 <li>
-                    <image :src="host + '/10_16.png'"></image>
+                    <image :src="loadImgSrc('/10_16.png')"></image>
                     <view class="listCont">
                         <p>稳预期 促互通——专家学者建言献策国际农产品市场和贸易高质量发展</p>
                         <text>唐旭 姚媛</text>
@@ -205,7 +205,7 @@
                     </view>
                 </li>
                 <li>
-                    <image :src="host + '/10_16.png'"></image>
+                    <image :src="loadImgSrc('/10_16.png')"></image>
                     <view class="listCont">
                         <p>稳预期 促互通——专家学者建言献策国际农产品市场和贸易高质量发展</p>
                         <text>唐旭 姚媛</text>
@@ -228,20 +228,16 @@
 </template>
 
 <script>
-// pages/index/index.js
-const app = getApp();
-var localData = require('../../data/json');
 export default {
     data() {
         return {
-            host: app.globalData.host,
             // 图片轮播
             banners: [
                 {
-                    src: app.globalData.host + '/img1.png'
+                    src: '/img1.png'
                 },
                 {
-                    src: app.globalData.host + '/img2.png'
+                    src: '/img2.png'
                 }
             ],
             msgList: [
@@ -271,54 +267,23 @@ export default {
      * 生命周期函数--监听页面加载
      */,
     onLoad(options) {
-        this.setData({
-            indexList: localData.indexList
-        });
     },
-    /**
-     * 生命周期函数--监听页面初次渲染完成
-     */
-    onReady() {},
-    /**
-     * 生命周期函数--监听页面显示
-     */
-    onShow() {},
-    /**
-     * 生命周期函数--监听页面隐藏
-     */
-    onHide() {},
-    /**
-     * 生命周期函数--监听页面卸载
-     */
-    onUnload() {},
-    /**
-     * 页面相关事件处理函数--监听用户下拉动作
-     */
-    onPullDownRefresh() {},
-    /**
-     * 页面上拉触底事件的处理函数
-     */
-    onReachBottom() {},
-    /**
-     * 用户点击右上角分享
-     */
-    onShareAppMessage() {},
     methods: {
         goWenBa() {
             uni.navigateTo({
-                url: '../wenba/wenba'
+                url: '/pages/wenba/wenba'
             });
         },
 
         goShangCheng() {
             uni.navigateTo({
-                url: '../shangcheng/shangcheng'
+                url: '/pages/shangcheng/shangcheng'
             });
         },
 
         goDetails() {
             uni.navigateTo({
-                url: '../wenbaxiangqing/wenbaxiangqing'
+                url: '/pages/wenbaxiangqing/wenbaxiangqing'
             });
         }
     }

+ 11 - 12
pages/shangcheng/shangcheng.vue

@@ -2,17 +2,17 @@
     <view>
         <!-- pages/shangcheng.wxml -->
         <view class="shangchengTop">
-            <image :src="host + '/sc-banner.png'"></image>
+            <image:src="loadImgSrc('/sc-banner.png')"></image>
         </view>
         <view class="container">
             <view class="cnfl">
                 <view class="hm">
                     <text>惠民通</text>
-                    <image :src="host + '/hm.jpg'"></image>
+                    <image:src="loadImgSrc('/hm.jpg')"></image>
                 </view>
                 <view class="gxs">
                     <text>供销社</text>
-                    <image :src="host + '/gxs.png'"></image>
+                    <image:src="loadImgSrc('/gxs.png')"></image>
                 </view>
             </view>
         </view>
@@ -49,7 +49,7 @@
             </view>
             <ul class="tjcpList">
                 <li>
-                    <image class="sp_pic" :src="host + '/chanpintu.png'"></image>
+                    <image class="sp_pic":src="loadImgSrc('/chanpintu.png')"></image>
                     <view class="sp_wenben">
                         <span class="sp_title">生日礼物送女朋友给男女生闺蜜实用创意小众夜灯</span>
                         <view class="jiage">
@@ -62,7 +62,7 @@
                     </view>
                 </li>
                 <li>
-                    <image class="sp_pic" :src="host + '/chanpintu.png'"></image>
+                    <image class="sp_pic":src="loadImgSrc('/chanpintu.png')"></image>
                     <view class="sp_wenben">
                         <span class="sp_title">生日礼物送女朋友给男女生闺蜜实用创意小众夜灯</span>
                         <view class="jiage">
@@ -75,7 +75,7 @@
                     </view>
                 </li>
                 <li>
-                    <image class="sp_pic" :src="host + '/chanpintu.png'"></image>
+                    <image class="sp_pic":src="loadImgSrc('/chanpintu.png')"></image>
                     <view class="sp_wenben">
                         <span class="sp_title">生日礼物送女朋友给男女生闺蜜实用创意小众夜灯</span>
                         <view class="jiage">
@@ -88,7 +88,7 @@
                     </view>
                 </li>
                 <li>
-                    <image class="sp_pic" :src="host + '/chanpintu.png'"></image>
+                    <image class="sp_pic":src="loadImgSrc('/chanpintu.png')"></image>
                     <view class="sp_wenben">
                         <span class="sp_title">生日礼物送女朋友给男女生闺蜜实用创意小众夜灯</span>
                         <view class="jiage">
@@ -104,19 +104,19 @@
         </view>
         <view class="fabiaoPl">
             <view>
-                <image class="bottomNav-shangcheng" :src="host + '/botnav-shangcheng2.png'"></image>
+                <image class="bottomNav-shangcheng":src="loadImgSrc('/botnav-shangcheng2.png')"></image>
                 <span>商城</span>
             </view>
             <view>
-                <image class="bottomNav-xiaoxi" :src="host + '/botnav-xiaoxi2.png'"></image>
+                <image class="bottomNav-xiaoxi":src="loadImgSrc('/botnav-xiaoxi2.png')"></image>
                 <span>消息</span>
             </view>
             <view>
-                <image class="bottomNav-gouwuche" :src="host + '/botnav-gouwuche2.png'"></image>
+                <image class="bottomNav-gouwuche":src="loadImgSrc('/botnav-gouwuche2.png')"></image>
                 <span>购物车</span>
             </view>
             <view>
-                <image class="bottomNav-dingdan" :src="host + '/botnav-dingdan2.png'"></image>
+                <image class="bottomNav-dingdan":src="loadImgSrc('/botnav-dingdan2.png')"></image>
                 <span>订单</span>
             </view>
         </view>
@@ -129,7 +129,6 @@ const app = getApp();
 export default {
     data() {
         return {
-            host: app.globalData.host
         };
     }
     /**

+ 37 - 43
pages/wenba/wenba.vue

@@ -5,36 +5,36 @@
 
         <ul class="wendaFL">
             <li class="sanNong">
-                <image :src="host + '/snbj.png'" class="lbBj" @tap="goSanNong"></image>
+                <image :src="loadImgSrc('/snbj.png')" class="lbBj" @tap="goSanNong"></image>
                 <h2>三农</h2>
                 <span>1566</span>
             </li>
             <li class="jiuYe">
-                <image :src="host + '/jybj.png'" class="lbBj"></image>
+                <image :src="loadImgSrc('/jybj.png')" class="lbBj"></image>
                 <h2>就业</h2>
                 <span>1589</span>
             </li>
         </ul>
         <ul class="wendaFL">
             <li class="faLv">
-                <image :src="host + '/flbj.png'" class="lbBj"></image>
+                <image :src="loadImgSrc('/flbj.png')" class="lbBj"></image>
                 <h2>法律</h2>
                 <span>6589</span>
             </li>
             <li class="jiuZhen">
-                <image :src="host + '/jzbj.png'" class="lbBj"></image>
+                <image :src="loadImgSrc('/jzbj.png')" class="lbBj"></image>
                 <h2>就诊</h2>
                 <span>1566</span>
             </li>
         </ul>
         <ul class="wendaFL">
             <li class="jiuYe">
-                <image :src="host + '/zkbj.png'" class="lbBj"></image>
+                <image :src="loadImgSrc('/zkbj.png')" class="lbBj"></image>
                 <h2>智库</h2>
                 <span>1589</span>
             </li>
             <li class="sanNong">
-                <image :src="host + '/lybj.png'" class="lbBj"></image>
+                <image :src="loadImgSrc('/lybj.png')" class="lbBj"></image>
                 <h2>旅游</h2>
                 <span>6589</span>
             </li>
@@ -74,61 +74,55 @@
 
 <script>
 // pages/fuwu/fuwu.js
-const app = getApp();
-var localData = require('../../data/json');
 export default {
     data() {
         return {
-            host: app.globalData.host,
-            wb: ''
+            wb: [
+				{
+					ck: '10',
+					dz: '120',
+					id: 1,
+					jf: '100',
+					pl: '10',
+					title: '探索乡村能源供给新模式',
+					type: '三农'
+				},
+				{
+					ck: '20',
+					dz: '220',
+					id: 2,
+					jf: '200',
+					ly: '20',
+					title: '探索乡村能源供给新模式 美丽新画卷',
+					type: '三农'
+				},
+				{
+					ck: '30',
+					dz: '30',
+					id: 3,
+					jf: '300',
+					pl: '30',
+					title: '探索乡村能源供给新模式 绘就乡村振兴美丽新画卷',
+					type: '三农'
+				}
+			]
         };
     }
     /**
      * 生命周期函数--监听页面加载
      */,
     onLoad(options) {
-        this.setData({
-            wb: localData.wbList
-        });
     },
-    /**
-     * 生命周期函数--监听页面初次渲染完成
-     */
-    onReady() {},
-    /**
-     * 生命周期函数--监听页面显示
-     */
-    onShow() {},
-    /**
-     * 生命周期函数--监听页面隐藏
-     */
-    onHide() {},
-    /**
-     * 生命周期函数--监听页面卸载
-     */
-    onUnload() {},
-    /**
-     * 页面相关事件处理函数--监听用户下拉动作
-     */
-    onPullDownRefresh() {},
-    /**
-     * 页面上拉触底事件的处理函数
-     */
-    onReachBottom() {},
-    /**
-     * 用户点击右上角分享
-     */
-    onShareAppMessage() {},
     methods: {
         goSanNong() {
             uni.navigateTo({
-                url: '../sannong/sannong'
+                url: '/pages/sannong/sannong'
             });
         },
 
         goDetails() {
             uni.navigateTo({
-                url: '../wenbaxiangqing/wenbaxiangqing'
+                url: '/pages/wenbaxiangqing/wenbaxiangqing'
             });
         }
     }

Різницю між файлами не показано, бо вона завелика
+ 4 - 6
pages/wenbaxiangqing/wenbaxiangqing.vue


+ 39 - 0
permission.js

@@ -0,0 +1,39 @@
+import { getToken } from '@/utils/auth'
+
+// 登录页面
+const loginPage = "/pages/login"
+  
+// 页面白名单
+const whiteList = [
+  '/pages/login', '/pages/wenba/wenba', '/pages/sannong/sannong','/pages/demo/fwblz'
+]
+
+// 检查地址白名单
+function checkWhite(url) {
+  const path = url.split('?')[0]
+  return whiteList.indexOf(path) !== -1
+}
+
+// 页面跳转验证拦截器
+let list = ["navigateTo", "redirectTo", "reLaunch", "switchTab"]
+list.forEach(item => {
+  uni.addInterceptor(item, {
+    invoke(to) {
+      if (getToken()) {
+        if (to.url === loginPage) {
+          uni.reLaunch({ url: "/" })
+        }
+        return true
+      } else {
+        if (checkWhite(to.url)) {
+          return true
+        }
+        uni.reLaunch({ url: loginPage })
+        return false
+      }
+    },
+    fail(err) {
+      console.log(err)
+    }
+  })
+})

+ 60 - 0
plugins/auth.js

@@ -0,0 +1,60 @@
+import store from '@/store'
+
+function authPermission(permission) {
+  const all_permission = "*:*:*"
+  const permissions = store.getters && store.getters.permissions
+  if (permission && permission.length > 0) {
+    return permissions.some(v => {
+      return all_permission === v || v === permission
+    })
+  } else {
+    return false
+  }
+}
+
+function authRole(role) {
+  const super_admin = "admin"
+  const roles = store.getters && store.getters.roles
+  if (role && role.length > 0) {
+    return roles.some(v => {
+      return super_admin === v || v === role
+    })
+  } else {
+    return false
+  }
+}
+
+export default {
+  // 验证用户是否具备某权限
+  hasPermi(permission) {
+    return authPermission(permission)
+  },
+  // 验证用户是否含有指定权限,只需包含其中一个
+  hasPermiOr(permissions) {
+    return permissions.some(item => {
+      return authPermission(item)
+    })
+  },
+  // 验证用户是否含有指定权限,必须全部拥有
+  hasPermiAnd(permissions) {
+    return permissions.every(item => {
+      return authPermission(item)
+    })
+  },
+  // 验证用户是否具备某角色
+  hasRole(role) {
+    return authRole(role)
+  },
+  // 验证用户是否含有指定角色,只需包含其中一个
+  hasRoleOr(roles) {
+    return roles.some(item => {
+      return authRole(item)
+    })
+  },
+  // 验证用户是否含有指定角色,必须全部拥有
+  hasRoleAnd(roles) {
+    return roles.every(item => {
+      return authRole(item)
+    })
+  }
+}

+ 20 - 0
plugins/index.js

@@ -0,0 +1,20 @@
+import tab from './tab'
+import auth from './auth'
+import modal from './modal'
+import validation from '@/utils/test.js';
+import user from '../store/modules/user.js'
+
+export default {
+	install(Vue) {
+		// 页签操作
+		Vue.prototype.$tab = tab
+		// 认证对象
+		Vue.prototype.$auth = auth
+		// 模态框对象
+		Vue.prototype.$modal = modal
+		//校验
+		Vue.prototype.$validation = validation
+		//用户信息
+		Vue.prototype.$user = user
+	}
+}

+ 74 - 0
plugins/modal.js

@@ -0,0 +1,74 @@
+export default {
+  // 消息提示
+  msg(content) {
+    uni.showToast({
+      title: content,
+      icon: 'none'
+    })
+  },
+  // 错误消息
+  msgError(content) {
+    uni.showToast({
+      title: content,
+      icon: 'error'
+    })
+  },
+  // 成功消息
+  msgSuccess(content) {
+    uni.showToast({
+      title: content,
+      icon: 'success'
+    })
+  },
+  // 隐藏消息
+  hideMsg(content) {
+    uni.hideToast()
+  },
+  // 弹出提示
+  alert(content, title) {
+    uni.showModal({
+      title: title || '系统提示',
+      content: content,
+      showCancel: false
+    })
+  },
+  // 确认窗体
+  confirm(content, title) {
+    return new Promise((resolve, reject) => {
+      uni.showModal({
+        title: title || '系统提示',
+        content: content,
+        cancelText: '取消',
+        confirmText: '确定',
+        success: function(res) {
+          if (res.confirm) {
+            resolve(res.confirm)
+          }
+        }
+      })
+    })
+  },
+  // 提示信息
+  showToast(option) {
+    if (typeof option === "object") {
+      uni.showToast(option)
+    } else {
+      uni.showToast({
+        title: option,
+        icon: "none",
+        duration: 2500
+      })
+    }
+  },
+  // 打开遮罩层
+  loading(content) {
+    uni.showLoading({
+      title: content,
+      icon: 'none'
+    })
+  },
+  // 关闭遮罩层
+  closeLoading() {
+    uni.hideLoading()
+  }
+}

+ 30 - 0
plugins/tab.js

@@ -0,0 +1,30 @@
+export default {
+  // 关闭所有页面,打开到应用内的某个页面
+  reLaunch(url) {
+    return uni.reLaunch({
+      url: url
+    })
+  },
+  // 跳转到tabBar页面,并关闭其他所有非tabBar页面
+  switchTab(url) {
+    return uni.switchTab({
+      url: url
+    })
+  },
+  // 关闭当前页面,跳转到应用内的某个页面
+  redirectTo(url) {
+    return uni.redirectTo({
+      url: url
+    })
+  },
+  // 保留当前页面,跳转到应用内的某个页面
+  navigateTo(url) {
+    return uni.navigateTo({
+      url: url
+    })
+  },
+  // 关闭当前页面,返回上一页面或多级页面
+  navigateBack() {
+    return uni.navigateBack()
+  }
+}

+ 0 - 52
project.config.json

@@ -1,52 +0,0 @@
-{
-  "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
-  "setting": {
-    "urlCheck": false,
-    "es6": false,
-    "enhance": false,
-    "postcss": true,
-    "preloadBackgroundData": false,
-    "minified": true,
-    "newFeature": false,
-    "coverView": true,
-    "nodeModules": false,
-    "autoAudits": false,
-    "showShadowRootInWxmlPanel": true,
-    "scopeDataCheck": false,
-    "uglifyFileName": false,
-    "checkInvalidKey": true,
-    "checkSiteMap": true,
-    "uploadWithSourceMap": true,
-    "compileHotReLoad": false,
-    "lazyloadPlaceholderEnable": false,
-    "useMultiFrameRuntime": true,
-    "babelSetting": {
-      "ignore": [],
-      "disablePlugins": [],
-      "outputPath": ""
-    },
-    "useIsolateContext": true,
-    "userConfirmedBundleSwitch": false,
-    "packNpmManually": false,
-    "packNpmRelationList": [],
-    "minifyWXSS": true,
-    "disableUseStrict": false,
-    "minifyWXML": true,
-    "showES6CompileOption": false,
-    "useCompilerPlugins": false,
-    "ignoreUploadUnusedFiles": true,
-    "useStaticServer": true
-  },
-  "compileType": "miniprogram",
-  "condition": {},
-  "editorSetting": {
-    "tabIndent": "insertSpaces",
-    "tabSize": 2
-  },
-  "packOptions": {
-    "ignore": [],
-    "include": []
-  },
-  "appid": "touristappid",
-  "libVersion": "2.30.2"
-}

+ 0 - 8
project.private.config.json

@@ -1,8 +0,0 @@
-{
-  "projectname": "Sooka_demo",
-  "setting": {
-    "compileHotReLoad": true
-  },
-  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
-  "libVersion": "2.25.3"
-}


+ 0 - 7
sitemap.json

@@ -1,7 +0,0 @@
-{
-  "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
-  "rules": [{
-  "action": "allow",
-  "page": "*"
-  }]
-}

+ 0 - 46
transform.log

@@ -1,46 +0,0 @@
-开始转换……
-小程序路径:  C:\Users\Administrator\Desktop\sookauniapp_demo
-搜索到97个文件(含目录),耗时:10ms
-
-开始分析文件
-分析文件信息完成,共21组数据
-开始转换文件组为vue文件
-
-[Tip]这里引用的全是网络字体,可能在app上面有兼容问题(如字体图标显示不出来,运行后没问题就不用管)  fileKey: pages/iconfont/iconfont
-[WARN] 文件 pages/images/shangpinxiangqing01.jpg 不存在,但仍然对路径进行转换为相对于static目录,运行时需注意!   fileKey: pages/shangpinxiangqingye/shangpinxiangqingye
-[WARN] 文件 pages/images/shangpinxiangqing02.jpg 不存在,但仍然对路径进行转换为相对于static目录,运行时需注意!   fileKey: pages/shangpinxiangqingye/shangpinxiangqingye
-开始二次遍历及生成vue文件
-write pages.json success!
-write manifest.json success!
-write main.js success!
-write package.json success!
-
-
-统计信息:
-
-Component数量: 4
-Page数量: 9
-支付api数量: 0
-登录api数量: 0
-chooseMedia数量: 0
-getLocation数量: 0
-getRelationNodes数量: 0
-<ad/>数量: 0
-<map/>数量: 0
-<video/>数量: 0
-Vant组件: , 数量:0
-
-项目转换完成!
-用时: 2.772s
-工具版本:v2.2.6
-在该小程序项目的同级目录可以看到_uni结尾的项目,即是转换好的uniapp项目,相关日志在该目录里。
-
-!!! 当前项目引用了npm模块,请转换完后,在命令行里运行“npm install”命令安装npm模块 !!!
-
-使用说明:
-    1.因各种原因,本工具并非100%完美转换!部分语法仍需人工处理!
-    2.工具转换原理及说明文档参考:https://l4rz4zwpx7.k.topthink.com/@kmrvzg72lx/
-    3.如遇运行报错,请添加QQ群(五群:536178289)带图反馈或https://github.com/zhangdaren/miniprogram-to-uniapp提交Issue!
-    4.转换后请查阅_uni目录或_uni-cli目录里的 README.md 和 transform.log
-
-

+ 4 - 17
uni.scss

@@ -1,19 +1,6 @@
 /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
+ * uni-app内置的常用样式变量
  */
-
-/**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
-
-/* 颜色变量 */
-
 /* 行为相关颜色 */
 $uni-color-primary: #007aff;
 $uni-color-success: #4cd964;
@@ -34,14 +21,14 @@ $uni-bg-color-hover:#f1f1f1;//点击状态颜色
 $uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色
 
 /* 边框颜色 */
-$uni-border-color:#c8c7cc;
+$uni-border-color:#e5e5e5;
 
 /* 尺寸变量 */
 
 /* 文字尺寸 */
 $uni-font-size-sm:12px;
 $uni-font-size-base:14px;
-$uni-font-size-lg:16;
+$uni-font-size-lg:16px;
 
 /* 图片尺寸 */
 $uni-img-size-sm:20px;
@@ -73,4 +60,4 @@ $uni-font-size-title:20px;
 $uni-color-subtitle: #555555; // 二级标题颜色
 $uni-font-size-subtitle:26px;
 $uni-color-paragraph: #3F536E; // 文章段落颜色
-$uni-font-size-paragraph:15px;
+$uni-font-size-paragraph:15px;

+ 0 - 52
uni_modules/zp-mixins/index.js

@@ -1,52 +0,0 @@
-//lifetimes
-import { pageLifetimes } from './lifecycle/pageLifetimes';
-
-//methods
-import { clone } from './methods/clone';
-import { handleDataset } from './methods/dataset';
-import { escape2Html, html2Escape } from './methods/escape';
-import { parseEventDynamicCode } from './methods/event';
-import { getTabBar } from './methods/getTabBar';
-import { getRelationNodes } from './methods/relation';
-import { selectComponent as zpSelectComponent,
-	selectAllComponents as zpSelectAllComponents } from './methods/selectComponent';
-import { setData } from './methods/setData';
-
-export default {
-	// #ifndef VUE3
-	install(Vue, option) {
-		Vue.mixin({
-			...pageLifetimes,
-			methods: {
-				clone,
-				handleDataset,
-				escape2Html,
-				html2Escape,
-				parseEventDynamicCode,
-				getTabBar,
-				getRelationNodes,
-				zpSelectComponent,
-				zpSelectAllComponents,
-				setData
-			}
-		})
-	}
-	// #endif
-
-	// #ifdef VUE3
-	...pageLifetimes,
-	methods: {
-		clone,
-		handleDataset,
-		escape2Html,
-		html2Escape,
-		parseEventDynamicCode,
-		getTabBar,
-		getRelationNodes,
-		zpSelectComponent,
-		zpSelectAllComponents,
-		setData
-	}
-	// #endif
-}
-

+ 0 - 0
unpackage/dist/dev/.automator/mp-weixin/.automator.json


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/components/tab-page/tab-page.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/components/tabs/tabs.js.map


+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/components/vtabs/vtabs-content/index.js.map

@@ -1 +0,0 @@
-{"version":3,"sources":[],"names":[],"mappings":"","file":"components/vtabs/vtabs-content/index.js","sourceRoot":""}

Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/components/vtabs/vtabs-content/vtabs-content.js.map


+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/components/vtabs/vtabs/index.js.map

@@ -1 +0,0 @@
-{"version":3,"sources":[],"names":[],"mappings":"","file":"components/vtabs/vtabs/index.js","sourceRoot":""}

Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/components/vtabs/vtabs/vtabs.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/fenlei/fenlei.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/fuwu/fuwu.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/me/me.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/sannong/sannong.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/shangcheng/shangcheng.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/shangpinxiangqingye/shangpinxiangqingye.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/wenba/wenba.js.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/wenbaxiangqing/wenbaxiangqing.js.map


+ 0 - 4
unpackage/dist/dev/mp-weixin/app.js

@@ -1,4 +0,0 @@
-
-require('./common/runtime.js')
-require('./common/vendor.js')
-require('./common/main.js')

+ 0 - 54
unpackage/dist/dev/mp-weixin/app.json

@@ -1,54 +0,0 @@
-{
-  "pages": [
-    "pages/index/index",
-    "pages/me/me",
-    "pages/fuwu/fuwu",
-    "pages/wenba/wenba",
-    "pages/sannong/sannong",
-    "pages/wenbaxiangqing/wenbaxiangqing",
-    "pages/shangcheng/shangcheng",
-    "pages/fenlei/fenlei",
-    "pages/shangpinxiangqingye/shangpinxiangqingye"
-  ],
-  "subPackages": [],
-  "window": {
-    "backgroundTextStyle": "light",
-    "navigationBarBackgroundColor": "#fff",
-    "navigationBarTitleText": "Weixin",
-    "navigationBarTextStyle": "black"
-  },
-  "tabBar": {
-    "index": "-1",
-    "color": "#737373",
-    "selectedColor": "#2f2f2f",
-    "borderStyle": "black",
-    "backgroundColor": "#f9f9f9",
-    "list": [
-      {
-        "text": "服务",
-        "pagePath": "pages/index/index",
-        "iconPath": "static/pages/images/fuwu2.png",
-        "selectedIconPath": "static/pages/images/fuwu1.png"
-      },
-      {
-        "text": "资讯",
-        "pagePath": "pages/fuwu/fuwu",
-        "iconPath": "static/pages/images/index2.png",
-        "selectedIconPath": "static/pages/images/index1.png"
-      },
-      {
-        "text": "我的",
-        "pagePath": "pages/me/me",
-        "iconPath": "static/pages/images/me2.png",
-        "selectedIconPath": "static/pages/images/me1.png"
-      }
-    ]
-  },
-  "permission": {
-    "scope.userLocation": {
-      "desc": "你的位置信息将用于小程序位置接口的效果展示"
-    }
-  },
-  "plugins": {},
-  "usingComponents": {}
-}

+ 0 - 3
unpackage/dist/dev/mp-weixin/app.wxss

@@ -1,3 +0,0 @@
-@import './common/main.wxss';
-
-[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}

Різницю між файлами не показано, бо вона завелика
+ 0 - 157
unpackage/dist/dev/mp-weixin/common/main.js


+ 0 - 199
unpackage/dist/dev/mp-weixin/common/main.wxss

@@ -1,199 +0,0 @@
-@font-face {
-    font-family: 'iconfont'; /* Project id 3934749 */
-    src: url('//at.alicdn.com/t/c/font_3934749_vw3yr60jge.woff2?t=1678514567333') format('woff2'),
-        url('//at.alicdn.com/t/c/font_3934749_vw3yr60jge.woff?t=1678514567333') format('woff'),
-        url('//at.alicdn.com/t/c/font_3934749_vw3yr60jge.ttf?t=1678514567333') format('truetype');
-}
-.iconfont {
-    font-family: 'iconfont' !important;
-    font-size: 16px;
-    font-style: normal;
-    -webkit-font-smoothing: antialiased;
-    -moz-osx-font-smoothing: grayscale;
-}
-.icon-zaixiankefu:before {
-    content: '\e617';
-}
-.icon-dianpu:before {
-    content: '\e678';
-}
-.icon-fenlei:before {
-    content: '\e620';
-}
-.icon-tuijianma:before {
-    content: '\e6a7';
-}
-.icon-shangpin:before {
-    content: '\e648';
-}
-.icon-shangpin2:before {
-    content: '\e622';
-}
-.icon-mingxi:before {
-    content: '\e689';
-}
-.icon-xinshouyindao:before {
-    content: '\e72f';
-}
-.icon-gengduo1:before {
-    content: '\e68b';
-}
-.icon-gongxiaoshelogo:before {
-    content: '\e629';
-}
-.icon-xinlizixun:before {
-    content: '\e655';
-}
-.icon-zhishi:before {
-    content: '\e62f';
-}
-.icon-wenzhen:before {
-    content: '\e856';
-}
-.icon-jurassic_nav:before {
-    content: '\e69e';
-}
-.icon-jurassic_nav1:before {
-    content: '\e69f';
-}
-.icon-youdaijiuzhu:before {
-    content: '\e6a0';
-}
-.icon-zhibo:before {
-    content: '\e605';
-}
-.icon-S_dianhuaxinlizixun:before {
-    content: '\e656';
-}
-.icon-zhishi1:before {
-    content: '\e813';
-}
-.icon-linshijiuzhu:before {
-    content: '\e653';
-}
-.icon-wenzhenguanli:before {
-    content: '\e613';
-}
-.icon-bianji:before {
-    content: '\e600';
-}
-.icon-shoucang1:before {
-    content: '\e659';
-}
-.icon-icon-:before {
-    content: '\e612';
-}
-.icon-shoucang2:before {
-    content: '\e603';
-}
-.icon-fasong:before {
-    content: '\e604';
-}
-.icon-xiangyoujiantou:before {
-    content: '\e641';
-}
-.icon-zhishiku1:before {
-    content: '\e650';
-}
-.icon-yuandianxiao:before {
-    content: '\e82f';
-}
-.icon-iclike:before {
-    content: '\e628';
-}
-.icon-falv1:before {
-    content: '\e619';
-}
-.icon-pinglun:before {
-    content: '\e63a';
-}
-.icon-licaiwenda:before {
-    content: '\e652';
-}
-.icon-lvyou:before {
-    content: '\e601';
-}
-.icon-jifen:before {
-    content: '\e897';
-}
-.icon--fuwu:before {
-    content: '\e8aa';
-}
-.icon-zhiku:before {
-    content: '\e6d8';
-}
-.icon-chakan:before {
-    content: '\e642';
-}
-.icon-shoucang:before {
-    content: '\e633';
-}
-.icon-zhishiku:before {
-    content: '\e621';
-}
-.icon-gonggao:before {
-    content: '\e60f';
-}
-.icon-jiuzhen:before {
-    content: '\ea4b';
-}
-.icon-jiuzhen1:before {
-    content: '\e610';
-}
-.icon-jiuye:before {
-    content: '\100dd';
-}
-.icon-sannongzhengce:before {
-    content: '\100de';
-}
-.icon-sannongzhengce1:before {
-    content: '\100e8';
-}
-.icon-gengduo:before {
-    content: '\e73a';
-}
-.icon-shangcheng11:before {
-    content: '\e67b';
-}
-.icon-hangqing:before {
-    content: '\e66c';
-}
-.icon-banshidating:before {
-    content: '\e602';
-}
-.icon-banshidating1:before {
-    content: '\e606';
-}
-.icon-wenhaofill:before {
-    content: '\e72c';
-}
-
-/**app.wxss**/
-.container {
-    height: 100%;
-    display: flex;
-    flex-direction: column;
-    align-items: center;
-    justify-content: space-between;
-    padding: 0rpx 20rpx;
-    box-sizing: border-box;
-}
-.fengexian {
-    width: 100%;
-    height: 20rpx;
-    background: #f6f6f6;
-    border-radius: 6rpx;
-}
-image {
-    display: block;
-    overflow: auto;
-}
-.titleLeft {
-    font-size: 40rpx;
-    font-weight: 600;
-    color: #07c160;
-    text-align: left;
-    line-height: 90rpx;
-    width: 100%;
-}
-

+ 0 - 273
unpackage/dist/dev/mp-weixin/common/runtime.js

@@ -1,273 +0,0 @@
-
-  !function(){try{var a=Function("return this")();a&&!a.Math&&(Object.assign(a,{isFinite:isFinite,Array:Array,Date:Date,Error:Error,Function:Function,Math:Math,Object:Object,RegExp:RegExp,String:String,TypeError:TypeError,setTimeout:setTimeout,clearTimeout:clearTimeout,setInterval:setInterval,clearInterval:clearInterval}),"undefined"!=typeof Reflect&&(a.Reflect=Reflect))}catch(a){}}();
-  /******/ (function(modules) { // webpackBootstrap
-/******/ 	// install a JSONP callback for chunk loading
-/******/ 	function webpackJsonpCallback(data) {
-/******/ 		var chunkIds = data[0];
-/******/ 		var moreModules = data[1];
-/******/ 		var executeModules = data[2];
-/******/
-/******/ 		// add "moreModules" to the modules object,
-/******/ 		// then flag all "chunkIds" as loaded and fire callback
-/******/ 		var moduleId, chunkId, i = 0, resolves = [];
-/******/ 		for(;i < chunkIds.length; i++) {
-/******/ 			chunkId = chunkIds[i];
-/******/ 			if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
-/******/ 				resolves.push(installedChunks[chunkId][0]);
-/******/ 			}
-/******/ 			installedChunks[chunkId] = 0;
-/******/ 		}
-/******/ 		for(moduleId in moreModules) {
-/******/ 			if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
-/******/ 				modules[moduleId] = moreModules[moduleId];
-/******/ 			}
-/******/ 		}
-/******/ 		if(parentJsonpFunction) parentJsonpFunction(data);
-/******/
-/******/ 		while(resolves.length) {
-/******/ 			resolves.shift()();
-/******/ 		}
-/******/
-/******/ 		// add entry modules from loaded chunk to deferred list
-/******/ 		deferredModules.push.apply(deferredModules, executeModules || []);
-/******/
-/******/ 		// run deferred modules when all chunks ready
-/******/ 		return checkDeferredModules();
-/******/ 	};
-/******/ 	function checkDeferredModules() {
-/******/ 		var result;
-/******/ 		for(var i = 0; i < deferredModules.length; i++) {
-/******/ 			var deferredModule = deferredModules[i];
-/******/ 			var fulfilled = true;
-/******/ 			for(var j = 1; j < deferredModule.length; j++) {
-/******/ 				var depId = deferredModule[j];
-/******/ 				if(installedChunks[depId] !== 0) fulfilled = false;
-/******/ 			}
-/******/ 			if(fulfilled) {
-/******/ 				deferredModules.splice(i--, 1);
-/******/ 				result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
-/******/ 			}
-/******/ 		}
-/******/
-/******/ 		return result;
-/******/ 	}
-/******/
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// object to store loaded CSS chunks
-/******/ 	var installedCssChunks = {
-/******/ 		"common/runtime": 0
-/******/ 	}
-/******/
-/******/ 	// object to store loaded and loading chunks
-/******/ 	// undefined = chunk not loaded, null = chunk preloaded/prefetched
-/******/ 	// Promise = chunk loading, 0 = chunk loaded
-/******/ 	var installedChunks = {
-/******/ 		"common/runtime": 0
-/******/ 	};
-/******/
-/******/ 	var deferredModules = [];
-/******/
-/******/ 	// script path function
-/******/ 	function jsonpScriptSrc(chunkId) {
-/******/ 		return __webpack_require__.p + "" + chunkId + ".js"
-/******/ 	}
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/ 	// This file contains only the entry chunk.
-/******/ 	// The chunk loading function for additional chunks
-/******/ 	__webpack_require__.e = function requireEnsure(chunkId) {
-/******/ 		var promises = [];
-/******/
-/******/
-/******/ 		// mini-css-extract-plugin CSS loading
-/******/ 		var cssChunks = {"components/tab-page/tab-page":1,"components/tabs/tabs":1,"components/vtabs/vtabs-content/vtabs-content":1,"components/vtabs/vtabs/vtabs":1};
-/******/ 		if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
-/******/ 		else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
-/******/ 			promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
-/******/ 				var href = "" + ({"components/tab-page/tab-page":"components/tab-page/tab-page","components/tabs/tabs":"components/tabs/tabs","components/vtabs/vtabs-content/vtabs-content":"components/vtabs/vtabs-content/vtabs-content","components/vtabs/vtabs/vtabs":"components/vtabs/vtabs/vtabs"}[chunkId]||chunkId) + ".wxss";
-/******/ 				var fullhref = __webpack_require__.p + href;
-/******/ 				var existingLinkTags = document.getElementsByTagName("link");
-/******/ 				for(var i = 0; i < existingLinkTags.length; i++) {
-/******/ 					var tag = existingLinkTags[i];
-/******/ 					var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");
-/******/ 					if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return resolve();
-/******/ 				}
-/******/ 				var existingStyleTags = document.getElementsByTagName("style");
-/******/ 				for(var i = 0; i < existingStyleTags.length; i++) {
-/******/ 					var tag = existingStyleTags[i];
-/******/ 					var dataHref = tag.getAttribute("data-href");
-/******/ 					if(dataHref === href || dataHref === fullhref) return resolve();
-/******/ 				}
-/******/ 				var linkTag = document.createElement("link");
-/******/ 				linkTag.rel = "stylesheet";
-/******/ 				linkTag.type = "text/css";
-/******/ 				linkTag.onload = resolve;
-/******/ 				linkTag.onerror = function(event) {
-/******/ 					var request = event && event.target && event.target.src || fullhref;
-/******/ 					var err = new Error("Loading CSS chunk " + chunkId + " failed.\n(" + request + ")");
-/******/ 					err.code = "CSS_CHUNK_LOAD_FAILED";
-/******/ 					err.request = request;
-/******/ 					delete installedCssChunks[chunkId]
-/******/ 					linkTag.parentNode.removeChild(linkTag)
-/******/ 					reject(err);
-/******/ 				};
-/******/ 				linkTag.href = fullhref;
-/******/
-/******/ 				var head = document.getElementsByTagName("head")[0];
-/******/ 				head.appendChild(linkTag);
-/******/ 			}).then(function() {
-/******/ 				installedCssChunks[chunkId] = 0;
-/******/ 			}));
-/******/ 		}
-/******/
-/******/ 		// JSONP chunk loading for javascript
-/******/
-/******/ 		var installedChunkData = installedChunks[chunkId];
-/******/ 		if(installedChunkData !== 0) { // 0 means "already installed".
-/******/
-/******/ 			// a Promise means "currently loading".
-/******/ 			if(installedChunkData) {
-/******/ 				promises.push(installedChunkData[2]);
-/******/ 			} else {
-/******/ 				// setup Promise in chunk cache
-/******/ 				var promise = new Promise(function(resolve, reject) {
-/******/ 					installedChunkData = installedChunks[chunkId] = [resolve, reject];
-/******/ 				});
-/******/ 				promises.push(installedChunkData[2] = promise);
-/******/
-/******/ 				// start chunk loading
-/******/ 				var script = document.createElement('script');
-/******/ 				var onScriptComplete;
-/******/
-/******/ 				script.charset = 'utf-8';
-/******/ 				script.timeout = 120;
-/******/ 				if (__webpack_require__.nc) {
-/******/ 					script.setAttribute("nonce", __webpack_require__.nc);
-/******/ 				}
-/******/ 				script.src = jsonpScriptSrc(chunkId);
-/******/
-/******/ 				// create error before stack unwound to get useful stacktrace later
-/******/ 				var error = new Error();
-/******/ 				onScriptComplete = function (event) {
-/******/ 					// avoid mem leaks in IE.
-/******/ 					script.onerror = script.onload = null;
-/******/ 					clearTimeout(timeout);
-/******/ 					var chunk = installedChunks[chunkId];
-/******/ 					if(chunk !== 0) {
-/******/ 						if(chunk) {
-/******/ 							var errorType = event && (event.type === 'load' ? 'missing' : event.type);
-/******/ 							var realSrc = event && event.target && event.target.src;
-/******/ 							error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
-/******/ 							error.name = 'ChunkLoadError';
-/******/ 							error.type = errorType;
-/******/ 							error.request = realSrc;
-/******/ 							chunk[1](error);
-/******/ 						}
-/******/ 						installedChunks[chunkId] = undefined;
-/******/ 					}
-/******/ 				};
-/******/ 				var timeout = setTimeout(function(){
-/******/ 					onScriptComplete({ type: 'timeout', target: script });
-/******/ 				}, 120000);
-/******/ 				script.onerror = script.onload = onScriptComplete;
-/******/ 				document.head.appendChild(script);
-/******/ 			}
-/******/ 		}
-/******/ 		return Promise.all(promises);
-/******/ 	};
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "/";
-/******/
-/******/ 	// on error function for async loading
-/******/ 	__webpack_require__.oe = function(err) { console.error(err); throw err; };
-/******/
-/******/ 	var jsonpArray = global["webpackJsonp"] = global["webpackJsonp"] || [];
-/******/ 	var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
-/******/ 	jsonpArray.push = webpackJsonpCallback;
-/******/ 	jsonpArray = jsonpArray.slice();
-/******/ 	for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
-/******/ 	var parentJsonpFunction = oldJsonpFunction;
-/******/
-/******/
-/******/ 	// run deferred modules from other chunks
-/******/ 	checkDeferredModules();
-/******/ })
-/************************************************************************/
-/******/ ([]);
-//# sourceMappingURL=../../.sourcemap/mp-weixin/common/runtime.js.map
-  

Різницю між файлами не показано, бо вона завелика
+ 0 - 17239
unpackage/dist/dev/mp-weixin/common/vendor.js


Різницю між файлами не показано, бо вона завелика
+ 0 - 194
unpackage/dist/dev/mp-weixin/components/tab-page/tab-page.js


+ 0 - 4
unpackage/dist/dev/mp-weixin/components/tab-page/tab-page.json

@@ -1,4 +0,0 @@
-{
-  "usingComponents": {},
-  "component": true
-}

+ 0 - 1
unpackage/dist/dev/mp-weixin/components/tab-page/tab-page.wxml

@@ -1 +0,0 @@
-<view class="page-content"><slot></slot></view>

+ 0 - 8
unpackage/dist/dev/mp-weixin/components/tab-page/tab-page.wxss

@@ -1,8 +0,0 @@
-/* components/tab-page/tab-page.wxss */
-.page-content {
-    max-width: 100vw;
-    height: 100%;
-    background: #fff;
-    overflow-y: auto;
-}
-

Різницю між файлами не показано, бо вона завелика
+ 0 - 276
unpackage/dist/dev/mp-weixin/components/tabs/tabs.js


+ 0 - 4
unpackage/dist/dev/mp-weixin/components/tabs/tabs.json

@@ -1,4 +0,0 @@
-{
-  "usingComponents": {},
-  "component": true
-}

Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/mp-weixin/components/tabs/tabs.wxml


+ 0 - 70
unpackage/dist/dev/mp-weixin/components/tabs/tabs.wxss

@@ -1,70 +0,0 @@
-/* components/tabs/tabs.wxss */
-.tabs {
-    max-width: 100vw;
-    display: flex;
-    flex-direction: column;
-}
-.tabs-header {
-    max-width: 100vw;
-    height: 80rpx;
-    /* display: flex; */
-    flex-direction: row;
-    align-items: center;
-    justify-content: center;
-    overflow-x: scroll;
-}
-.tabs-header::-webkit-scrollbar {
-    display: none;
-    width: 0;
-    height: 0;
-    color: transparent;
-}
-.tabs-header-content {
-    display: flex;
-    overflow: visible;
-}
-.tabs-item {
-    width: 33%;
-    position: relative;
-    /* display: flex; */
-    flex-direction: row;
-    align-items: center;
-    justify-content: center;
-}
-.lineBox {
-    /* 选中底线样式 */
-    background: #07c160;
-    margin-top: 16rpx;
-    border-radius: 4rpx;
-}
-.tabs-item:last-child {
-    margin-right: 0rpx;
-}
-.tabs-item-name {
-    font-size: 34rpx;
-    height: 76rpx;
-    line-height: 76rpx;
-    white-space: nowrap;
-    justify-content: center;
-    align-items: center;
-    text-align: center;
-}
-.tabs-item-badge {
-    position: absolute;
-    right: -24rpx;
-    top: 0rpx;
-    width: 36rpx;
-    height: 36rpx;
-    border-radius: 50%;
-    background-color: #d31c1c;
-    color: #ffffff;
-    font-size: 24rpx;
-    line-height: 40rpx;
-    text-align: center;
-}
-.tabs-page {
-    width: 100%;
-    flex: 1;
-    background-color: #eeeeee;
-}
-

+ 0 - 1
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/index.js

@@ -1 +0,0 @@
-Component({})

+ 0 - 4
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/index.json

@@ -1,4 +0,0 @@
-{
-  "usingComponents": {},
-  "component": true
-}

+ 0 - 1
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/index.wxml

@@ -1 +0,0 @@
-<view class="weui-vtabs-content__item" id="{{'weui-vtabs-content__'+tabIndex}}"><slot></slot></view>

+ 0 - 5
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/index.wxss

@@ -1,5 +0,0 @@
-.weui-tabs-content__item {
-    width: 100%;
-    height: 100%;
-}
-

Різницю між файлами не показано, бо вона завелика
+ 0 - 211
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/vtabs-content.js


+ 0 - 4
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/vtabs-content.json

@@ -1,4 +0,0 @@
-{
-  "usingComponents": {},
-  "component": true
-}

+ 0 - 1
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/vtabs-content.wxml

@@ -1 +0,0 @@
-<view class="weui-vtabs-content__item" id="{{'weui-vtabs-content__'+tabIndex}}"><slot></slot></view>

+ 0 - 5
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs-content/vtabs-content.wxss

@@ -1,5 +0,0 @@
-.weui-tabs-content__item {
-    width: 100%;
-    height: 100%;
-}
-

+ 0 - 1
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/index.js

@@ -1 +0,0 @@
-Component({})

+ 0 - 4
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/index.json

@@ -1,4 +0,0 @@
-{
-  "usingComponents": {},
-  "component": true
-}

Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/index.wxml


+ 0 - 45
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/index.wxss

@@ -1,45 +0,0 @@
-.weui-vtabs {
-    width: 100%;
-    height: 100%;
-    display: flex;
-}
-.weui-vtabs-bar__wrp {
-    width: 110px;
-    height: 100%;
-}
-.weui-vtabs-bar__scrollview {
-    height: 100%;
-}
-.weui-vtabs-bar__content {
-    width: 110px;
-    height: 100%;
-}
-.weui-vtabs-bar__item {
-    display: inline-block;
-    width: 110px;
-    height: 55px;
-    border-left: 4px solid transparent;
-}
-.weui-vtabs-bar__title {
-    box-sizing: border-box;
-    width: 100%;
-    height: 100%;
-    display: flex;
-    align-items: center;
-    justify-content: center;
-    font-size: 14px;
-    white-space: nowrap;
-    overflow: hidden;
-}
-.weui-vtabs-content__wrp {
-    overflow: hidden;
-    flex: 1;
-    height: 100%;
-}
-.weui-vtabs-content__scrollview {
-    height: 100%;
-}
-.weui-vtabs-content {
-    height: 100%;
-}
-

Різницю між файлами не показано, бо вона завелика
+ 0 - 371
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/vtabs.js


+ 0 - 4
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/vtabs.json

@@ -1,4 +0,0 @@
-{
-  "usingComponents": {},
-  "component": true
-}

Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/vtabs.wxml


+ 0 - 45
unpackage/dist/dev/mp-weixin/components/vtabs/vtabs/vtabs.wxss

@@ -1,45 +0,0 @@
-.weui-vtabs {
-    width: 100%;
-    height: 100%;
-    display: flex;
-}
-.weui-vtabs-bar__wrp {
-    width: 110px;
-    height: 100%;
-}
-.weui-vtabs-bar__scrollview {
-    height: 100%;
-}
-.weui-vtabs-bar__content {
-    width: 110px;
-    height: 100%;
-}
-.weui-vtabs-bar__item {
-    display: inline-block;
-    width: 110px;
-    height: 55px;
-    border-left: 4px solid transparent;
-}
-.weui-vtabs-bar__title {
-    box-sizing: border-box;
-    width: 100%;
-    height: 100%;
-    display: flex;
-    align-items: center;
-    justify-content: center;
-    font-size: 14px;
-    white-space: nowrap;
-    overflow: hidden;
-}
-.weui-vtabs-content__wrp {
-    overflow: hidden;
-    flex: 1;
-    height: 100%;
-}
-.weui-vtabs-content__scrollview {
-    height: 100%;
-}
-.weui-vtabs-content {
-    height: 100%;
-}
-

Різницю між файлами не показано, бо вона завелика
+ 0 - 275
unpackage/dist/dev/mp-weixin/pages/fenlei/fenlei.js


+ 0 - 9
unpackage/dist/dev/mp-weixin/pages/fenlei/fenlei.json

@@ -1,9 +0,0 @@
-{
-  "navigationBarBackgroundColor": "#07c160",
-  "navigationBarTextStyle": "white",
-  "navigationBarTitleText": "分类",
-  "usingComponents": {
-    "mp-vtabs": "/components/vtabs/vtabs/vtabs",
-    "mp-vtabs-content": "/components/vtabs/vtabs-content/vtabs-content"
-  }
-}

Різницю між файлами не показано, бо вона завелика
+ 0 - 1
unpackage/dist/dev/mp-weixin/pages/fenlei/fenlei.wxml


+ 0 - 36
unpackage/dist/dev/mp-weixin/pages/fenlei/fenlei.wxss

@@ -1,36 +0,0 @@
-page {
-    background-color: #ffffff;
-    height: 100%;
-}
-.vtabs-content-item {
-    width: 100%;
-    height: 610px;
-    box-sizing: border-box;
-    padding-bottom: 20px;
-    padding: 20rpx;
-}
-.vtabs-contentTitle {
-    font-size: 36rpx;
-    color: #07c160;
-}
-.spflList {
-    width: 100%;
-    display: flex;
-    flex-direction: row;
-    justify-content: space-between;
-    flex-wrap: wrap;
-}
-.spflList ._li {
-    width: 33.33%;
-    text-align: center;
-}
-.spflList ._li ._span {
-    font-size: 28rpx;
-    color: #333;
-}
-.spflList ._li image {
-    width: 100rpx;
-    height: 100rpx;
-    margin: 0 auto;
-}
-

Різницю між файлами не показано, бо вона завелика
+ 0 - 222
unpackage/dist/dev/mp-weixin/pages/fuwu/fuwu.js


+ 0 - 6
unpackage/dist/dev/mp-weixin/pages/fuwu/fuwu.json

@@ -1,6 +0,0 @@
-{
-  "navigationBarBackgroundColor": "#07c160",
-  "navigationBarTextStyle": "white",
-  "navigationBarTitleText": "资讯",
-  "usingComponents": {}
-}

+ 0 - 1
unpackage/dist/dev/mp-weixin/pages/fuwu/fuwu.wxml

@@ -1 +0,0 @@
-<view class="_div"></view>

+ 0 - 0
unpackage/dist/dev/mp-weixin/pages/fuwu/fuwu.wxss


Деякі файли не було показано, через те що забагато файлів було змінено