diff --git a/src/map/miniprogram/app.json b/src/map/miniprogram/app.json
index cacc8d2..e1adfa7 100644
--- a/src/map/miniprogram/app.json
+++ b/src/map/miniprogram/app.json
@@ -1,7 +1,6 @@
{
"pages": [
"pages/login/login",
- "pages/location/location",
"pages/Find directions/Find directions",
"pages/text/text",
"pages/ModifyMap/ModifyMap",
@@ -65,5 +64,9 @@
"scope.userLocation": {
"desc": "你的位置信息将用于小程序位置接口的效果展示"
}
- }
-}
\ No newline at end of file
+ },
+ "navigateToMiniProgramAppIdList": [
+ "wx5e77d1bb9e24f179"
+ ]
+
+}
diff --git a/src/map/miniprogram/pages/Find directions/Find directions.js b/src/map/miniprogram/pages/Find directions/Find directions.js
index 4e67c8e..60e72cd 100644
--- a/src/map/miniprogram/pages/Find directions/Find directions.js
+++ b/src/map/miniprogram/pages/Find directions/Find directions.js
@@ -1,26 +1,66 @@
-//index.js
-//获取应用实例
-var app = getApp()
+// pages/Find directions/Find directions.js
Page({
+
+ /**
+ * 页面的初始数据
+ */
data: {
- motto: '中航大查询路线系统',
- userInfo: {},
- appInfo:{
- logoUrl:'../../image/logo.png',
- title:'查询路线'
- }
- },
- //事件处理函数
- bindViewTap: function() {
- wx.navigateTo({
- url: '../location/location'
- })
- },
- onLoad: function () {
- console.log('onLoad')
- var that = this
- that.setData({
- appInfo:this.data.appInfo
- })
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
}
-})
+})
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/Find directions/Find directions.json b/src/map/miniprogram/pages/Find directions/Find directions.json
deleted file mode 100644
index 8835af0..0000000
--- a/src/map/miniprogram/pages/Find directions/Find directions.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "usingComponents": {}
-}
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/Find directions/Find directions.wxml b/src/map/miniprogram/pages/Find directions/Find directions.wxml
index a591f81..3118fd3 100644
--- a/src/map/miniprogram/pages/Find directions/Find directions.wxml
+++ b/src/map/miniprogram/pages/Find directions/Find directions.wxml
@@ -1,10 +1,2 @@
-
-
-
-
- {{appInfo.title}}
-
-
- {{motto}}
-
-
+
+pages/Find directions/Find directions.wxml
diff --git a/src/map/miniprogram/pages/Find directions/Find directions.wxss b/src/map/miniprogram/pages/Find directions/Find directions.wxss
deleted file mode 100644
index ce30de0..0000000
--- a/src/map/miniprogram/pages/Find directions/Find directions.wxss
+++ /dev/null
@@ -1,21 +0,0 @@
-/**index.wxss**/
-.userinfo {
- display: flex;
- flex-direction: column;
- align-items: center;
-}
-
-.userinfo-avatar {
- width: 128rpx;
- height: 128rpx;
- margin: 20rpx;
- border-radius: 50%;
-}
-
-.userinfo-nickname {
- color: #aaa;
-}
-
-.usermotto {
- margin-top: 200px;
-}
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/ManageAccount/ManageAccount.js b/src/map/miniprogram/pages/ManageAccount/ManageAccount.js
index c2440af..3002583 100644
--- a/src/map/miniprogram/pages/ManageAccount/ManageAccount.js
+++ b/src/map/miniprogram/pages/ManageAccount/ManageAccount.js
@@ -2,12 +2,6 @@ Page({
data: {
loginOK: false
},
- //map
- map() {
- wx.navigateTo({
- url: '/pages/ModifyMap/ModifyMap',
- })
- },
//information
information() {
wx.navigateTo({
diff --git a/src/map/miniprogram/pages/ManageAccount/ManageAccount.wxml b/src/map/miniprogram/pages/ManageAccount/ManageAccount.wxml
index 175e3ab..c9af81f 100644
--- a/src/map/miniprogram/pages/ManageAccount/ManageAccount.wxml
+++ b/src/map/miniprogram/pages/ManageAccount/ManageAccount.wxml
@@ -1,5 +1,4 @@
-
-
-
+
+
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/ModifyInformation/ModifyInformation.js b/src/map/miniprogram/pages/ModifyInformation/ModifyInformation.js
index c2440af..22917b1 100644
--- a/src/map/miniprogram/pages/ModifyInformation/ModifyInformation.js
+++ b/src/map/miniprogram/pages/ModifyInformation/ModifyInformation.js
@@ -1,13 +1,22 @@
Page({
+ check() {
+ wx.navigateToMiniProgram({
+ appId: 'wx5e77d1bb9e24f179', // 小程序B的appid**
+ path: 'pages/index/index', //小程序B的页面路径**
+ extraData: {},
+ envVersion: 'release', //打开版本 开发版 develop;体验版trial; 正式版release
+ success(res) {
+ // 打开成功
+ },
+ fail(res){
+ //打开失败
+ }
+ })
+
+ },
data: {
loginOK: false
},
- //map
- map() {
- wx.navigateTo({
- url: '/pages/ModifyMap/ModifyMap',
- })
- },
//information
information() {
wx.navigateTo({
diff --git a/src/map/miniprogram/pages/ModifyInformation/ModifyInformation.wxml b/src/map/miniprogram/pages/ModifyInformation/ModifyInformation.wxml
index 3462d31..c43160a 100644
--- a/src/map/miniprogram/pages/ModifyInformation/ModifyInformation.wxml
+++ b/src/map/miniprogram/pages/ModifyInformation/ModifyInformation.wxml
@@ -1,5 +1,6 @@
+
+
-
-
-
+
+
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/ModifyMap/ModifyMap.js b/src/map/miniprogram/pages/ModifyMap/ModifyMap.js
index c2440af..b2e88b9 100644
--- a/src/map/miniprogram/pages/ModifyMap/ModifyMap.js
+++ b/src/map/miniprogram/pages/ModifyMap/ModifyMap.js
@@ -1,23 +1,66 @@
+// pages/ModifyMap/ModifyMap.js
Page({
+
+ /**
+ * 页面的初始数据
+ */
data: {
- loginOK: false
- },
- //map
- map() {
- wx.navigateTo({
- url: '/pages/ModifyMap/ModifyMap',
- })
- },
- //information
- information() {
- wx.navigateTo({
- url: '/pages/ModifyInformation/ModifyInformation',
- })
- },
- //account
- account() {
- wx.navigateTo({
- url: '/pages/index/index'
- })
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
}
})
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/ModifyMap/ModifyMap.json b/src/map/miniprogram/pages/ModifyMap/ModifyMap.json
deleted file mode 100644
index 8835af0..0000000
--- a/src/map/miniprogram/pages/ModifyMap/ModifyMap.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "usingComponents": {}
-}
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/ModifyMap/ModifyMap.wxml b/src/map/miniprogram/pages/ModifyMap/ModifyMap.wxml
index 2d8dd68..206e0cf 100644
--- a/src/map/miniprogram/pages/ModifyMap/ModifyMap.wxml
+++ b/src/map/miniprogram/pages/ModifyMap/ModifyMap.wxml
@@ -1,5 +1,2 @@
-
-
-
-
-
\ No newline at end of file
+
+pages/ModifyMap/ModifyMap.wxml
diff --git a/src/map/miniprogram/pages/ModifyMap/ModifyMap.wxss b/src/map/miniprogram/pages/ModifyMap/ModifyMap.wxss
deleted file mode 100644
index 1a609e6..0000000
--- a/src/map/miniprogram/pages/ModifyMap/ModifyMap.wxss
+++ /dev/null
@@ -1 +0,0 @@
-/* pages/ModifyMap/ModifyMap.wxss */
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/adduserssuccess/index.json b/src/map/miniprogram/pages/adduserssuccess/index.json
deleted file mode 100644
index 8835af0..0000000
--- a/src/map/miniprogram/pages/adduserssuccess/index.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "usingComponents": {}
-}
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/adduserssuccess/index.wxss b/src/map/miniprogram/pages/adduserssuccess/index.wxss
deleted file mode 100644
index 52e5065..0000000
--- a/src/map/miniprogram/pages/adduserssuccess/index.wxss
+++ /dev/null
@@ -1 +0,0 @@
-/* pages/adduserssuccess/index.wxss */
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/adlogin/adlogin.js b/src/map/miniprogram/pages/adlogin/adlogin.js
index 43163fd..03b85ca 100644
--- a/src/map/miniprogram/pages/adlogin/adlogin.js
+++ b/src/map/miniprogram/pages/adlogin/adlogin.js
@@ -60,7 +60,7 @@ Page({
// url: '../home/home?name=' + user.name,
// })
wx.navigateTo({
- url: '../ModifyMap/ModifyMap',
+ url: '../index/index',
})
//保存管理员登陆状态
wx.setStorageSync('manager', manager)
diff --git a/src/map/miniprogram/pages/deleteuserssuccess/index.json b/src/map/miniprogram/pages/deleteuserssuccess/index.json
deleted file mode 100644
index 8835af0..0000000
--- a/src/map/miniprogram/pages/deleteuserssuccess/index.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "usingComponents": {}
-}
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/deleteuserssuccess/index.wxss b/src/map/miniprogram/pages/deleteuserssuccess/index.wxss
deleted file mode 100644
index df3ce64..0000000
--- a/src/map/miniprogram/pages/deleteuserssuccess/index.wxss
+++ /dev/null
@@ -1 +0,0 @@
-/* pages/deleteuserssuccess/index.wxss */
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/index/index.js b/src/map/miniprogram/pages/index/index.js
index 7213097..f4e2740 100644
--- a/src/map/miniprogram/pages/index/index.js
+++ b/src/map/miniprogram/pages/index/index.js
@@ -5,12 +5,6 @@ Page({
data: {
loginOK: false
},
- //map
- map() {
- wx.navigateTo({
- url: '/pages/ModifyMap/ModifyMap',
- })
- },
//information
information() {
wx.navigateTo({
diff --git a/src/map/miniprogram/pages/index/index.wxml b/src/map/miniprogram/pages/index/index.wxml
index bf08593..f815c0a 100644
--- a/src/map/miniprogram/pages/index/index.wxml
+++ b/src/map/miniprogram/pages/index/index.wxml
@@ -15,9 +15,8 @@
-
-
-
+
+
diff --git a/src/map/miniprogram/pages/location/location.js b/src/map/miniprogram/pages/location/location.js
deleted file mode 100644
index ce40122..0000000
--- a/src/map/miniprogram/pages/location/location.js
+++ /dev/null
@@ -1,727 +0,0 @@
-var click =true
-Page({
-
- /**
- * 页面的初始数据
- */
- data: {
- longitude: 112.5840817937609,
- latitude: 37.42334029843902,
- scale:16,
- ishow:true
- },
- // 校门
- hx_door: function () {
- this.setData({
- hx_door: true,
- hx_canteen: false,
- hx_supermarket: false,
- hx_teach: false,
- hx_hospital: false,
- hx_playground: false,
- hx_library: false,
- hx_dorm: false,
- ishow:false,
- latitude: 37.42334029843902, //经度
- longitude: 112.5840817937609, //纬度
- scale: 16,
- markers: [{
- iconPath: '../../images/hxLocation.png',
- latitude: 37.42460923822909,
- longitude: 112.57850807958519,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png',
- latitude: 37.42505982099957,
- longitude: 112.58448746351345,
- width: 20,
- height: 30
- },{
- iconPath: '../../images/hxLocation.png',
- latitude: 37.423356091749176,
- longitude: 112.59020697584626,
- width: 20,
- height: 30
- },{
- iconPath: '../../images/hxLocation.png',
- latitude: 37.420850652498494,
- longitude: 112.58636394568849,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png',
- latitude: 37.42046830521278,
- longitude: 112.59089438639249,
- width: 20,
- height: 30
- }]
- })
- },
- // 餐厅
- hx_canteen: function () {
- this.setData({
- hx_door: false,
- hx_canteen: true,
- hx_supermarket: false,
- hx_teach: false,
- hx_hospital: false,
- hx_playground: false,
- hx_library: false,
- hx_dorm: false,
- ishow: false,
- latitude: 37.42334029843902, //经度
- longitude: 112.5840817937609, //纬度
- scale: 16,
- markers: [{
- iconPath: '../../images/hxLocation.png',
- latitude: 37.42217098294637,
- longitude: 112.58554120048987,
- width: 20,
- height: 30
- },
- {
- iconPath: '../../images/hxLocation.png',
- latitude: 37.424741,
- longitude: 112.580423,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png',
- latitude: 37.421674,
- longitude: 112.591431,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png',
- latitude: 37.421563,
- longitude: 112.585369,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png',
- latitude: 37.421137,
- longitude: 112.585305,
- width: 20,
- height: 30
- }
- ]
- })
- },
- /******超市***/
- hx_supermarket: function () {
- this.setData({
- hx_door: false,
- hx_canteen: false,
- hx_supermarket: true,
- hx_teach: false,
- hx_hospital: false,
- hx_playground: false,
- hx_library: false,
- hx_dorm: false,
- ishow: false,
- latitude: 37.42334029843902, //经度
- longitude: 112.5840817937609, //纬度
- scale: 16,
- markers: [{
- iconPath: '../../images/hxLocation.png', //大超市
- latitude: 37.422066, /**大超市 */
- longitude: 112.585868,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //进门超市
- latitude: 37.421014, /**进门超市*/
- longitude: 112.585155,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //进门超市
- latitude: 37.421546, /**进门超市*/
- longitude: 112.591259,
- width: 20,
- height: 30
- }
-
- ]
- })
- },
- /****************************************教学楼***************************************** */
- hx_teach: function () {
- this.setData({
- hx_door: false,
- hx_canteen: false,
- hx_supermarket: false,
- hx_teach: true,
- hx_hospital: false,
- hx_playground: false,
- hx_library: false,
- hx_dorm: false,
- ishow: false,
- latitude: 37.42334029843902, //经度
- longitude: 112.5840817937609, //纬度
- scale: 16,
- markers: [{
- iconPath: '../../images/hxLocation.png', //教学楼1
- latitude: 37.423821,
- longitude: 112.585863,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //教学楼2
- latitude: 37.424622,
- longitude: 112.581378,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //实验楼3
- latitude: 37.425074,
- longitude: 112.583610,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //实验楼4
- latitude: 37.424545,
- longitude: 112.585037,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //办公楼5
- latitude: 37.424230,
- longitude: 112.585917,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //办公楼6
- latitude: 37.423016,
- longitude: 112.586625,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //办公楼7
- latitude: 37.421550,
- longitude: 112.582945,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //办公楼8
- latitude: 37.423335,
- longitude: 112.584801,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //办公楼9
- latitude: 37.421452,
- longitude: 112.580155,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //办公楼10
- latitude: 37.421555,
- longitude: 112.579050,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //办公楼11
- latitude: 37.422398,
- longitude: 112.578599,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //办公楼12
- latitude: 37.424882,
- longitude: 112.582687,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png', //办公楼13
- latitude: 37.421883,
- longitude: 112.587698,
- width: 20,
- height: 30
- }
-
- ]
- })
- },
-
- /****************************************医 务 室***************************************** */
- hx_hospital: function () {
- this.setData({
- hx_door: false,
- hx_canteen: false,
- hx_supermarket: false,
- hx_teach: false,
- hx_hospital: true,
- hx_playground: false,
- hx_library: false,
- hx_dorm: false,
- ishow: false,
- latitude: 37.42334029843902, //经度
- longitude: 112.5840817937609, //纬度
- scale: 16,
- markers: [{
- iconPath: '../../images/hxLocation.png',
- latitude: 37.425022,
- longitude: 112.585133,
- width: 20,
- height: 30
- }]
- })
- },
- /****************************************农大 体 育 场***************************************** */
- hx_playground: function () {
- this.setData({
- hx_door: false,
- hx_canteen: false,
- hx_supermarket: false,
- hx_teach: false,
- hx_hospital: false,
- hx_playground: true,
- hx_library: false,
- hx_dorm: false,
- ishow: false,
- latitude: 37.42334029843902, //经度
- longitude: 112.5840817937609, //纬度
- scale: 16,
- markers: [{
- iconPath: '../../images/hxLocation.png',
- latitude: 37.421947, /**大操场 */
- longitude: 112.589071,
- width: 20,
- height: 30
- },
- {
- iconPath: '../../images/hxLocation.png',
- latitude: 37.425636,
- longitude: 112.582322, /**小操场 */
- width: 20,
- height: 30
- }]
- })
- },
- /****************************************农大 图 书 馆***************************************** */
- hx_library: function () {
- this.setData({
- hx_door: false,
- hx_canteen: false,
- hx_supermarket: false,
- hx_teach: false,
- hx_hospital: false,
- hx_playground: false,
- hx_library: true,
- hx_dorm: false,
- ishow: false,
- latitude: 37.42334029843902, //经度
- longitude: 112.5840817937609, //纬度
- scale: 16,
- markers: [{
- iconPath: '../../images/hxLocation.png',
- latitude: 37.424051, /**图书馆 */
- longitude: 112.580541,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png',
- latitude: 37.424524, /**图书馆 */
- longitude: 112.583980,
- width: 20,
- height: 30
- }]
- })
- },
-
- /****************************************农大 宿 舍***************************************** */
- hx_dorm: function () {
- this.setData({
- hx_door: false,
- hx_canteen: false,
- hx_supermarket: false,
- hx_teach: false,
- hx_hospital: false,
- hx_playground: false,
- hx_library: false,
- hx_dorm: true,
- ishow: false,
- latitude: 37.42334029843902, //经度
- longitude: 112.5840817937609, //纬度
- scale: 16,
- markers: [{
- iconPath: '../../images/hxLocation.png',
- latitude: 37.422066, /**学生公寓1 */
- longitude: 112.584833,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png',
- latitude: 37.422394, /**学生公寓2 */
- longitude: 112.586399,
- width:20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png',
- latitude: 37.421751, /**学生公寓3 */
- longitude: 112.590798,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png',
- latitude: 37.425917, /**学生公寓4 */
- longitude: 112.580520,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png',
- latitude: 37.421261, /**活动中心宿舍楼*/
- longitude: 112.587896,
- width: 20,
- height: 30
- }, {
- iconPath: '../../images/hxLocation.png',
- latitude: 37.421090, /**洗浴中心宿舍楼 */
- longitude: 112.589441,
- width: 20,
- height: 30
- }
-
-
- ]
- })
- },
- /**
- * 生命周期函数--监听页面加载
- */
- onLoad: function (options) {
-
- },
-
- /**
- * 生命周期函数--监听页面初次渲染完成
- */
- onReady: function () {
-
- },
-
- /**
- * 生命周期函数--监听页面显示
- */
- onShow: function () {
-
- },
-
- /**
- * 生命周期函数--监听页面隐藏
- */
- onHide: function () {
-
- },
-
- /**
- * 生命周期函数--监听页面卸载
- */
- onUnload: function () {
-
- },
-
- /**
- * 页面相关事件处理函数--监听用户下拉动作
- */
- onPullDownRefresh: function () {
-
- },
-
- /**
- * 页面上拉触底事件的处理函数
- */
- onReachBottom: function () {
-
- },
-
- /**
- * 用户点击右上角分享
- */
- onShareAppMessage: function () {
-
- },
- go: function (e) {
- var id = e.currentTarget.id; //获取id
- switch (id) {
- /*农大校门门*/
- case "door1":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.42460923822909,
- longitude: 112.57850807958519,
- scale: 25
- })
- break;
- case "door2":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.42505982099957,
- longitude: 112.58448746351345,
- scale: 25
- })
- break;
- case "door3":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.423356091749176,
- longitude: 112.59020697584626,
- scale: 25
- })
- break;
- case "door4":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.420850652498494,
- longitude: 112.58636394568849,
- scale: 25
- })
- break;
- case "door5":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.42046830521278,
- longitude: 112.59089438639249,
- scale: 25
- })
- break;
-
- /*农大餐饮*/
- case "canteen1":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.42217098294637,
- longitude: 112.58554120048987,
- scale: 25
- })
- break;
- case "canteen2":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.421674,
- longitude: 112.591431,
- scale: 25
- })
- break;
- case "canteen3":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.424741,
- longitude: 112.580423,
- scale: 25
- })
- break;
- case "canteen4":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.421563,
- longitude: 112.585369,
- scale: 25
- })
- break;
- case "canteen5":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.421137,
- longitude: 112.585305,
- scale: 25
- })
- break;
-
- /*农大超市*/
- case "supermarket1":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.422066, /**大超市 */
- longitude: 112.585868,
- scale: 25
- })
- break;
- case "supermarket2":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.421014, /**进门超市*/
- longitude: 112.585155,
- scale: 25
- })
- break;
- case "supermarket3":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.421546, /**进门超市*/
- longitude: 112.591259,
- scale: 25
- })
- break;
-
-
-
-
- /**农大教学楼 */
- case "teach1":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.423821,
- longitude: 112.585863,
- scale: 25
- })
- break;
- case "teach2":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.424622,
- longitude: 112.581378,
- scale: 25
- })
- break;
- case "teach3":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.425074,
- longitude: 112.583610,
- scale: 25
- })
- break;
- case "teach4":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.424545,
- longitude: 112.585037,
- scale: 25
- })
- break;
- case "teach5":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.424230,
- longitude: 112.585917,
- scale: 25
- })
- break;
- case "teach6":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.423016,
- longitude: 112.586625,
- scale: 25
- })
- break;
- case "teach7":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.421550,
- longitude: 112.582945,
- scale: 25
- })
- break;
- case "teach8":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.423335,
- longitude: 112.584801,
- scale: 25
- })
- break;
- case "teach9":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.421452,
- longitude: 112.580155,
- scale: 25
- })
- break;
- case "teach10":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.421555,
- longitude: 112.579050,
- scale: 25
- })
- break;
- case "teach11":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.422398,
- longitude: 112.578599,
- scale: 25
- })
- break;
- case "teach12":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.424882,
- longitude: 112.582687,
- scale: 25
- })
- break;
- case "teach13":
- wx.openLocation({ /*使用微信内置地图查看位置*/
- latitude: 37.421883,
- longitude: 112.587698,
- scale: 25
- })
- break;
- /**农大医务室 */
- case "hospital1":
- wx.openLocation({
- latitude: 37.425022,
- longitude: 112.585133,
- scale: 25
- })
- break;
- /**农大体育场 */
- case "playground1":
- wx.openLocation({
- latitude: 37.421947, /**大操场 */
- longitude: 112.589071,
- scale: 25
- })
- break;
- case "playground2":
- wx.openLocation({
- latitude: 37.425636,
- longitude: 112.582322, /**小操场 */
- scale: 25
- })
- break;
- /**农大图书馆*/
- case "library1":
- wx.openLocation({
- latitude: 37.424051, /**图书馆 */
- longitude: 112.580541,
- scale: 25
- })
- break;
- case "library2":
- wx.openLocation({
- latitude: 37.424524, /**图书馆 */
- longitude: 112.583980,
- scale: 25
- })
- break;
-
-
- /**农大宿舍楼*/
- case "dorm1":
- wx.openLocation({
- latitude: 37.422066, /**学生公寓1 */
- longitude: 112.584833,
- scale: 25
- })
- break;
- case "dorm2":
- wx.openLocation({
- latitude: 37.422394, /**学生公寓2 */
- longitude: 112.586399,
- scale: 25
- })
- break;
- case "dorm3":
- wx.openLocation({
- latitude: 37.421751, /**学生公寓3 */
- longitude: 112.590798,
-
- scale: 25
- })
- break;
- case "dorm4":
- wx.openLocation({
- latitude: 37.425917, /**学生公寓4 */
- longitude: 112.580520,
- scale: 25
- })
- break;
- case "dorm5":
- wx.openLocation({
- latitude: 37.421261, /**活动中心宿舍楼*/
- longitude: 112.587896,
- scale: 25
- })
- break;
- case "dorm6":
- wx.openLocation({
- latitude: 37.421090, /**洗浴中心宿舍楼 */
- longitude: 112.589441,
- scale: 25
- })
- break;
- }
- }
-})
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/location/location.json b/src/map/miniprogram/pages/location/location.json
deleted file mode 100644
index 8835af0..0000000
--- a/src/map/miniprogram/pages/location/location.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "usingComponents": {}
-}
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/location/location.wxml b/src/map/miniprogram/pages/location/location.wxml
deleted file mode 100644
index 76e898b..0000000
--- a/src/map/miniprogram/pages/location/location.wxml
+++ /dev/null
@@ -1,417 +0,0 @@
-
-
-
-
- 校门
- 餐饮
- 超市
- 教学楼
- 医院
- 体育场
- 图书馆
- 学生公寓
-
-
-
-
-
-
-
-
- 校门
-
-
-
-
-
-
-
- 山西农业大学 - 西门
-
-
-
-
-
-
-
- 山西农业大学 - 旧北门
-
-
-
-
-
-
-
- 山西农业大学 - 新北门
-
-
-
-
-
-
-
- 山西农业大学 - 前南门(可过)
-
-
-
-
-
-
-
- 山西农业大学 - 后南门(一般不开)
-
-
-
-
-
-
-
-
-
- 餐饮
-
-
-
-
-
-
-
- 山西农业大学 - 谷园
-
-
-
-
-
-
-
- 山西农业大学 - 碧桃园
-
-
-
-
-
-
-
- 山西农业大学 - 教职工餐厅
-
-
-
-
-
-
-
- 山西农业大学 - 小木屋
-
-
-
-
-
-
-
- 山西农业大学 - 怡膳园
-
-
-
-
-
-
-
-
-
-
-
- 超市
-
-
-
-
-
-
-
- 山西农业大学 - 寸草心超市
-
-
-
-
-
-
-
- 山西农业大学 - 周边小超市
-
-
-
-
-
-
-
- 山西农业大学 - 周边小超市
-
-
-
-
-
-
-
-
-
- 教学楼
-
-
-
-
-
-
-
- 山西农业大学 - 农学楼(1号)
-
-
-
-
-
-
-
- 山西农业大学 - 实验大楼
-
-
-
-
-
-
-
- 山西农业大学 - 崇学楼
-
-
-
-
-
-
-
- 山西农业大学 - 理化楼
-
-
-
-
-
-
-
- 山西农业大学 - 教学北楼
-
-
-
-
-
-
-
- 山西农业大学 - 教学主楼(5号楼)
-
-
-
-
-
-
-
- 山西农业大学 - 6号楼
-
-
-
-
-
-
-
- 山西农业大学 - 动物科技学院
-
-
-
-
-
-
-
- 山西农业大学 - 崇实楼
-
-
-
-
-
-
-
- 山西农业大学 - 工学院
-
-
-
-
-
-
-
- 山西农业大学 - 资源环境学院
-
-
-
-
-
-
-
- 山西农业大学 - 嘉桂教学楼
-
-
-
-
-
-
-
- 山西农业大学 - 体育部
-
-
-
-
-
-
-
-
-
-
- 医院
-
-
-
-
-
-
-
- 山西农业大学 - 校医院
-
-
-
-
-
-
-
-
- 体育场
-
-
-
-
-
-
-
- 山西农业大学 - 大操场
-
-
-
-
-
-
-
-
- 山西农业大学 - 小操场
-
-
-
-
-
-
-
-
- 图书馆
-
-
-
-
-
-
-
- 山西农业大学 - 图书馆
-
-
-
-
-
-
-
- 山西农业大学 - 亭兰图书馆
-
-
-
-
-
-
-
-
- 学生公寓
-
-
-
-
-
-
-
- 学生公寓 1-5
-
-
-
-
-
-
-
-
-
- 学生公寓 6-10
-
-
-
-
-
-
-
-
-
- 学生公寓 11-19
-
-
-
-
-
-
-
-
-
- 学生公寓 21-23
-
-
-
-
-
-
-
-
-
-
- 游泳馆 - (活动中心)
-
-
-
-
-
-
-
-
-
- 睿智体育馆 - (活动中心)
-
-
-
-
-
-
-
-
diff --git a/src/map/miniprogram/pages/location/location.wxss b/src/map/miniprogram/pages/location/location.wxss
deleted file mode 100644
index 8fd18e9..0000000
--- a/src/map/miniprogram/pages/location/location.wxss
+++ /dev/null
@@ -1,62 +0,0 @@
-/* pages/sxauguide/sxauguide.wxss */
-/*顶部滑块*/
-.scrollx{
- display: flex; /*水平居中*/
- white-space: nowrap; /* 文本不会换行,文本会在在同一行上继续,直到遇到
标签为止。*/
-}
-
-
-.scrollx navigator{
-display: inline-block; /*垂直居中,多个孩子共享一行*/
-padding-left: 20rpx;
-padding-right: 20rpx;
-background: #2d572b;
-color: white;
-font-family: "微软雅黑";
-font-size: 15px;
-padding-top: 10px;
-padding-bottom: 10px;
-}
-.bottom{
- position:relative; /*相对定位*/
- float: left;
- width: 100%;
-}
-.hx_bottomtext{
-display: block;
-position: relative;
-font-family: "微软雅黑";
-font-size: 15px;
-width: 100%;
-top: 10px;
-left: 45%;
-color: #ed5e53;
-margin-bottom: 20px;
-}
-/*控制地点列表的单行展示形式*/
-.hxdoor{
-position: relative;
-display: flex; /*水平居中*/
-width: 100%;
-height: 50px;
-}
-/*控制单行图片位置*/
-.hx_img{
-margin-right: 10px;
-float: left;
-width: 80px;
-height: 40px;
-}
-/*控制单行文字*/
-.hxdoor_text{
-font-size: 16px;
-font-family: "微软雅黑";
-color:#333333;
-margin-left: 20rpx;
-margin-top: 5rpx;
-}
-/*控制go图标*/
-.go{
-width:20px ;
-height:20px;
-}
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/login/login.wxml b/src/map/miniprogram/pages/login/login.wxml
index 5be0fb6..58e1c14 100644
--- a/src/map/miniprogram/pages/login/login.wxml
+++ b/src/map/miniprogram/pages/login/login.wxml
@@ -21,5 +21,4 @@
-
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/me/me.js b/src/map/miniprogram/pages/me/me.js
deleted file mode 100644
index 6e1d89d..0000000
--- a/src/map/miniprogram/pages/me/me.js
+++ /dev/null
@@ -1,66 +0,0 @@
-// pages/me/me.js
-Page({
-
- /**
- * 页面的初始数据
- */
- data: {
-
- },
-
- /**
- * 生命周期函数--监听页面加载
- */
- onLoad(options) {
-
- },
-
- /**
- * 生命周期函数--监听页面初次渲染完成
- */
- onReady() {
-
- },
-
- /**
- * 生命周期函数--监听页面显示
- */
- onShow() {
-
- },
-
- /**
- * 生命周期函数--监听页面隐藏
- */
- onHide() {
-
- },
-
- /**
- * 生命周期函数--监听页面卸载
- */
- onUnload() {
-
- },
-
- /**
- * 页面相关事件处理函数--监听用户下拉动作
- */
- onPullDownRefresh() {
-
- },
-
- /**
- * 页面上拉触底事件的处理函数
- */
- onReachBottom() {
-
- },
-
- /**
- * 用户点击右上角分享
- */
- onShareAppMessage() {
-
- }
-})
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/me/me.json b/src/map/miniprogram/pages/me/me.json
deleted file mode 100644
index 8835af0..0000000
--- a/src/map/miniprogram/pages/me/me.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "usingComponents": {}
-}
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/me/me.wxml b/src/map/miniprogram/pages/me/me.wxml
deleted file mode 100644
index 61fba4d..0000000
--- a/src/map/miniprogram/pages/me/me.wxml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-pages/me/me.wxml
diff --git a/src/map/miniprogram/pages/me/me.wxss b/src/map/miniprogram/pages/me/me.wxss
deleted file mode 100644
index d31a0bf..0000000
--- a/src/map/miniprogram/pages/me/me.wxss
+++ /dev/null
@@ -1 +0,0 @@
-/* pages/me/me.wxss */
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/me1/me1.js b/src/map/miniprogram/pages/me1/me1.js
deleted file mode 100644
index 49984f8..0000000
--- a/src/map/miniprogram/pages/me1/me1.js
+++ /dev/null
@@ -1,66 +0,0 @@
-// pages/me1/me1.js
-Page({
-
- /**
- * 页面的初始数据
- */
- data: {
-
- },
-
- /**
- * 生命周期函数--监听页面加载
- */
- onLoad(options) {
-
- },
-
- /**
- * 生命周期函数--监听页面初次渲染完成
- */
- onReady() {
-
- },
-
- /**
- * 生命周期函数--监听页面显示
- */
- onShow() {
-
- },
-
- /**
- * 生命周期函数--监听页面隐藏
- */
- onHide() {
-
- },
-
- /**
- * 生命周期函数--监听页面卸载
- */
- onUnload() {
-
- },
-
- /**
- * 页面相关事件处理函数--监听用户下拉动作
- */
- onPullDownRefresh() {
-
- },
-
- /**
- * 页面上拉触底事件的处理函数
- */
- onReachBottom() {
-
- },
-
- /**
- * 用户点击右上角分享
- */
- onShareAppMessage() {
-
- }
-})
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/me1/me1.json b/src/map/miniprogram/pages/me1/me1.json
deleted file mode 100644
index 8835af0..0000000
--- a/src/map/miniprogram/pages/me1/me1.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "usingComponents": {}
-}
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/me1/me1.wxml b/src/map/miniprogram/pages/me1/me1.wxml
deleted file mode 100644
index e503e08..0000000
--- a/src/map/miniprogram/pages/me1/me1.wxml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-pages/me1/me1.wxml
diff --git a/src/map/miniprogram/pages/me1/me1.wxss b/src/map/miniprogram/pages/me1/me1.wxss
deleted file mode 100644
index 9d3cbad..0000000
--- a/src/map/miniprogram/pages/me1/me1.wxss
+++ /dev/null
@@ -1 +0,0 @@
-/* pages/me1/me1.wxss */
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/selectuserssuccess/index.json b/src/map/miniprogram/pages/selectuserssuccess/index.json
deleted file mode 100644
index 8835af0..0000000
--- a/src/map/miniprogram/pages/selectuserssuccess/index.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "usingComponents": {}
-}
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/selectuserssuccess/index.wxss b/src/map/miniprogram/pages/selectuserssuccess/index.wxss
deleted file mode 100644
index 1edae2e..0000000
--- a/src/map/miniprogram/pages/selectuserssuccess/index.wxss
+++ /dev/null
@@ -1 +0,0 @@
-/* pages/selectuserssuccess/index.wxss */
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/text/text.js b/src/map/miniprogram/pages/text/text.js
index 79166c9..3370131 100644
--- a/src/map/miniprogram/pages/text/text.js
+++ b/src/map/miniprogram/pages/text/text.js
@@ -1,5 +1,20 @@
// pages/text/text.js
Page({
+ check() {
+ wx.navigateToMiniProgram({
+ appId: 'wx5e77d1bb9e24f179', // 小程序B的appid**
+ path: 'pages/index/index', //小程序B的页面路径**
+ extraData: {},
+ envVersion: 'release', //打开版本 开发版 develop;体验版trial; 正式版release
+ success(res) {
+ // 打开成功
+ },
+ fail(res){
+ //打开失败
+ }
+ })
+
+ },
/**
* 页面的初始数据
diff --git a/src/map/miniprogram/pages/text/text.wxml b/src/map/miniprogram/pages/text/text.wxml
index 1c6a105..d7496d0 100644
--- a/src/map/miniprogram/pages/text/text.wxml
+++ b/src/map/miniprogram/pages/text/text.wxml
@@ -1,2 +1,2 @@
-pages/text/text.wxml
+
diff --git a/src/map/miniprogram/pages/updateuserssuccess/index.json b/src/map/miniprogram/pages/updateuserssuccess/index.json
deleted file mode 100644
index 8835af0..0000000
--- a/src/map/miniprogram/pages/updateuserssuccess/index.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "usingComponents": {}
-}
\ No newline at end of file
diff --git a/src/map/miniprogram/pages/updateuserssuccess/index.wxss b/src/map/miniprogram/pages/updateuserssuccess/index.wxss
deleted file mode 100644
index dc6e650..0000000
--- a/src/map/miniprogram/pages/updateuserssuccess/index.wxss
+++ /dev/null
@@ -1 +0,0 @@
-/* pages/updateuserssuccess/index.wxss */
\ No newline at end of file
diff --git a/src/map/project.private.config.json b/src/map/project.private.config.json
index 02ae9f7..045bfca 100644
--- a/src/map/project.private.config.json
+++ b/src/map/project.private.config.json
@@ -56,5 +56,5 @@
}
},
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
- "projectname": "中航大地图导航"
+ "projectname": "map%20-%20%E5%89%AF%E6%9C%AC"
}
\ No newline at end of file