diff --git a/utils/qqmap-wx-jssdk.min.js b/libs/qqmap-wx-jssdk.min.js similarity index 100% rename from utils/qqmap-wx-jssdk.min.js rename to libs/qqmap-wx-jssdk.min.js diff --git a/utils/wxcharts.js b/libs/wxcharts.js similarity index 100% rename from utils/wxcharts.js rename to libs/wxcharts.js diff --git a/pages/home/city-select/index.js b/pages/home/city-select/index.js index 9f2b0b1..bd8b120 100644 --- a/pages/home/city-select/index.js +++ b/pages/home/city-select/index.js @@ -1,7 +1,7 @@ // pages/home/about/index.js const util = require('../../../utils/util') const event = require('../../../utils/event') -const city = require("./city.js") +const city = require("../../../utils/city.js") const app = getApp() Page({ diff --git a/pages/index/index.js b/pages/index/index.js index 922a010..2e61d4b 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -3,7 +3,7 @@ import { zconfig, loginToken, getBaseInfo, getPopupInfo } from "../../api/ztb" import { pconfig } from "../../api/payment" import { mconfig } from "../../api/moment" const util = require('../../utils/util') -const wxqqmap = require('../../utils/qqmap-wx-jssdk.min') +const wxqqmap = require('../../libs/qqmap-wx-jssdk.min') const event = require('../../utils/event') const storage = require('../../utils/storage') const app = getApp() diff --git a/pages/mall/price-index/index.js b/pages/mall/price-index/index.js index 357a1a7..97ca7d6 100644 --- a/pages/mall/price-index/index.js +++ b/pages/mall/price-index/index.js @@ -3,7 +3,7 @@ import { getCategoryList, getCategoryPrice } from "../../../api/moment" const util = require('../../../utils/util') const storage = require('../../../utils/storage') const event = require('../../../utils/event') -var wxCharts = require('../../../utils/wxcharts') +var wxCharts = require('../../../libs/wxcharts') const app = getApp() var lineChart = null const colors = ['#FF4229', '#FFAD2A', '#297BFF', '#29FF46', '#AD29FF'] diff --git a/pages/home/city-select/city.js b/utils/city.js similarity index 100% rename from pages/home/city-select/city.js rename to utils/city.js