Compare commits
No commits in common. 'b07f17892f23305b0f8cfd0793fe520b81950795' and 'main' have entirely different histories.
b07f17892f
...
main
@ -1,14 +0,0 @@
|
||||
# Windows
|
||||
[Dd]esktop.ini
|
||||
Thumbs.db
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# macOS
|
||||
.DS_Store
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
|
||||
# Node.js
|
||||
node_modules/
|
||||
@ -1,7 +0,0 @@
|
||||
App({
|
||||
onLaunch:function(){
|
||||
wx.cloud.init({
|
||||
env:"cloud-travel-7gc7n4zqa50965ff"
|
||||
})
|
||||
}
|
||||
})
|
||||
@ -1,55 +0,0 @@
|
||||
{
|
||||
"pages":[
|
||||
"pages/home/home",
|
||||
"pages/my/my",
|
||||
"pages/navigate/navigate",
|
||||
"pages/navigate1/navigate1",
|
||||
"pages/index/index",
|
||||
"pages/logs/logs",
|
||||
"pages/message/message",
|
||||
"pages/schedule/schedule"
|
||||
],
|
||||
"window":{
|
||||
"backgroundTextStyle":"light",
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"navigationBarTitleText": "航大云",
|
||||
"navigationBarTextStyle":"black",
|
||||
"enablePullDownRefresh": false
|
||||
},
|
||||
"tabBar": {
|
||||
"borderStyle": "black",
|
||||
"selectedColor": "#00BCD4",
|
||||
"backgroundColor": "#ffffff",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/home/home",
|
||||
"text": "首页",
|
||||
"iconPath": "/static/home.png",
|
||||
"selectedIconPath": "/static/home.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/navigate/navigate",
|
||||
"text": "导航",
|
||||
"iconPath": "/static/navigate.png",
|
||||
"selectedIconPath": "/static/navigate.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/my/my",
|
||||
"text": "个人中心",
|
||||
"iconPath": "/static/my.png",
|
||||
"selectedIconPath": "/static/my.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
|
||||
"permission": {
|
||||
"scope.userLocation": {
|
||||
"desc": "你的位置信息将被用于小程序位置接口的效果展示"
|
||||
}
|
||||
},
|
||||
"style": "v2",
|
||||
"sitemapLocation": "sitemap.json"
|
||||
|
||||
}
|
||||
@ -1,6 +0,0 @@
|
||||
{
|
||||
"permissions": {
|
||||
"openapi": [
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,11 +0,0 @@
|
||||
// 云函数入口文件
|
||||
const cloud = require('wx-server-sdk')
|
||||
|
||||
cloud.init({ env: cloud.DYNAMIC_CURRENT_ENV }) // 使用当前云环境
|
||||
|
||||
// 云函数入口函数
|
||||
exports.main = async (event, context) => {
|
||||
let a = envent.a;
|
||||
let b = envent.b;
|
||||
return a+b;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 394 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 171 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 248 KiB |
@ -1,2 +0,0 @@
|
||||
<!--pages/book/book.wxml-->
|
||||
<text>pages/book/book.wxml</text>
|
||||
@ -1 +0,0 @@
|
||||
/* pages/book/book.wxss */
|
||||
@ -1,92 +0,0 @@
|
||||
// pages/home/home.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
swiperList:
|
||||
[
|
||||
{url:"https://s2.loli.net/2023/09/23/41Yw6HvduCrLnJo.png"},
|
||||
{url:"https://s2.loli.net/2023/09/23/8cZ3VoNfFiLIQ4q.png"},
|
||||
{url:"https://img1.imgtp.com/2023/10/09/8w8uWsZa.png"}
|
||||
],
|
||||
gridList:
|
||||
[
|
||||
{name:"课表",icon:"/static/course.png",url:"/pages/schedule/schedule"},
|
||||
{name:"校历",icon:"/static/schedule.png",url:""},
|
||||
{name:"通知",icon:"/static/notice.png",url:""},
|
||||
],
|
||||
messageList:
|
||||
[
|
||||
{id:1,url:"https://s2.loli.net/2023/09/23/IQoPKBG68JTRHht.png",message:"今天星期一"},
|
||||
{id:2,url:"",message:"今天星期二"},
|
||||
{id:3,url:"",message:"今天星期三"}
|
||||
],
|
||||
|
||||
goToPage(e) {
|
||||
wx.navigateTo({
|
||||
url: e.currentTarget.dataset.url
|
||||
})
|
||||
console.log('1')
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
@ -1,32 +0,0 @@
|
||||
<!--pages/home/home.wxml-->
|
||||
<!--轮播图区域-->
|
||||
<swiper class="home_swiper" indicator-dots="true" circular="true" autoplay="true" interval="3000">
|
||||
<swiper-item class="swiper_item" wx:for="{{swiperList}}" wx:key="index">
|
||||
<image class="swiper_img" src="{{item.url}}"></image>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<!--九宫格区域-->
|
||||
<view class='grid-item-container'>
|
||||
<block wx:for="{{gridList}}" wx:key="index">
|
||||
<view class='grid-item-child'>
|
||||
<view>
|
||||
<image bindtap="goToPage" class='grid-item-img' src="{{item.icon}}" data-url="{{item.url}}"></image>
|
||||
<text class='grid-item-txt'>{{item.name}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
|
||||
|
||||
<!--资讯区域-->
|
||||
<view class="block">
|
||||
<view class="title">校园资讯</view>
|
||||
</view>
|
||||
<view class="message" wx:for="{{messageList}}" wx:key="index">
|
||||
<navigator class="message_item" url="pages/message/message?info_id={{item.url}}">
|
||||
<image class="message_img" src="{{item.url}}"></image>
|
||||
</navigator>
|
||||
<view class="word">
|
||||
<text class="text">{{item.message}}</text>
|
||||
</view>
|
||||
</view>
|
||||
@ -1,23 +0,0 @@
|
||||
<!--index.wxml-->
|
||||
<view class="container">
|
||||
<view class="userinfo">
|
||||
<block wx:if="{{canIUseOpenData}}">
|
||||
<view class="userinfo-avatar" bindtap="bindViewTap">
|
||||
<open-data type="userAvatarUrl"></open-data>
|
||||
</view>
|
||||
<open-data type="userNickName"></open-data>
|
||||
</block>
|
||||
<block wx:elif="{{!hasUserInfo}}">
|
||||
<button wx:if="{{canIUseGetUserProfile}}" bindtap="getUserProfile"> 获取头像昵称 </button>
|
||||
<button wx:elif="{{canIUse}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo"> 获取头像昵称 </button>
|
||||
<view wx:else> 请使用1.4.4及以上版本基础库 </view>
|
||||
</block>
|
||||
<block wx:else>
|
||||
<image bindtap="bindViewTap" class="userinfo-avatar" src="{{userInfo.avatarUrl}}" mode="cover"></image>
|
||||
<text class="userinfo-nickname">{{userInfo.nickName}}</text>
|
||||
</block>
|
||||
</view>
|
||||
<view class="usermotto">
|
||||
<text class="user-motto">{{motto}}</text>
|
||||
</view>
|
||||
</view>
|
||||
@ -1,19 +0,0 @@
|
||||
/**index.wxss**/
|
||||
.userinfo {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.userinfo-avatar {
|
||||
overflow: hidden;
|
||||
width: 128rpx;
|
||||
height: 128rpx;
|
||||
margin: 20rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.usermotto {
|
||||
margin-top: 200px;
|
||||
}
|
||||
@ -1,66 +0,0 @@
|
||||
// pages/message/message.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,2 +0,0 @@
|
||||
<!--pages/message/message.wxml-->
|
||||
<text>pages/message/message.wxml</text>
|
||||
@ -1 +0,0 @@
|
||||
/* pages/message/message.wxss */
|
||||
@ -1,65 +0,0 @@
|
||||
<!--pages/Personal/Personal.wxml-->
|
||||
<view class="top_img" >
|
||||
<view class="my_iocn">
|
||||
<image src="https://s2.loli.net/2023/09/23/Z47iIRVULOcA15m.jpg"></image>
|
||||
<view class="myname">马嘉序</view>
|
||||
<view class="xinzuo_xx">
|
||||
<view><text class="iconfont icon-sousuo1" style="color: red;font-size: 12px;"></text> 天秤座</view>
|
||||
<view>工作ing</view>
|
||||
<view >软件工程</view>
|
||||
<view class="r_jt"><text class="iconfont icon-icon-arrow-right2"></text></view>
|
||||
</view>
|
||||
<view class="btu" bindtap="tiao_yemian" hover-class="butto1"><text class="iconfont icon-bianji"></text> 编辑资料</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="h_topbianti">
|
||||
<view class="{{curNav == 1 ? 'active' : ''}}" data-id="1" bindtap="switchRightTab">主页<view></view></view>
|
||||
<view class="{{curNav == 2 ? 'active' : ''}}" data-id="2" bindtap="switchRightTab">xx<view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="neir_b" wx:if="{{curNav==2}}">
|
||||
<view class="shuquan">
|
||||
<image src="{{user_xinxis.userimg}}"></image>
|
||||
<view class="name">{{user_xinxis.nname}}</view>
|
||||
<view class="shuo">{{shuquan[0].shuoshuo}}</view>
|
||||
<view class="book">
|
||||
<image src="{{tuijian_books[0].b_imgsrc}}"></image>
|
||||
<view class="r_txt">
|
||||
<text>{{tuijian_books[0].b_name}}</text>
|
||||
<view>{{tuijian_books[0].b_author}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bup_li">
|
||||
<view class="times">{{shuquan[0].times}}</view>
|
||||
<view class="r_icon">
|
||||
<text class="iconfont icon-tuijian"></text>
|
||||
<text class="nums"> {{shuquan[0].dianzan}} </text>
|
||||
<text class="iconfont icon-pinglun"></text>
|
||||
<text class="nums"> {{shuquan[0].pinglun}} </text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="shuquan">
|
||||
<image src="{{user_xinxis.userimg}}"></image>
|
||||
<view class="name">{{user_xinxis.nname}}</view>
|
||||
<view class="shuo">{{shuquan[1].shuoshuo}}</view>
|
||||
<view class="book">
|
||||
<image src="{{tuijian_books[1].b_imgsrc}}"></image>
|
||||
<view class="r_txt">
|
||||
<text>{{tuijian_books[1].b_name}}</text>
|
||||
<view>{{tuijian_books[1].b_author}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bup_li">
|
||||
<view class="times">{{shuquan[1].times}}</view>
|
||||
<view class="r_icon">
|
||||
<text class="iconfont icon-tuijian"></text>
|
||||
<text class="nums"> {{shuquan[1].dianzan}} </text>
|
||||
<text class="iconfont icon-pinglun"></text>
|
||||
<text class="nums"> {{shuquan[1].pinglun}} </text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -1,7 +0,0 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
},
|
||||
"navigationBarTitleText": "航大云系统",
|
||||
"enablePullDownRefresh": true ,
|
||||
"backgroundTextStyle": "dark"
|
||||
}
|
||||
@ -1,72 +0,0 @@
|
||||
|
||||
<view class='framework'>
|
||||
<view class='input-position'>
|
||||
<image src='https://mmbiz.qpic.cn/mmbiz_png/JZxArCU6LRribpVmzlUNGvYVU4jojoICBY1u3ic8lBGbs3sC86DgZy2wwicU5yMtUiagyicNcibu2mP8ibaVyBEysUy5A/0?wx_fmt=png' class='search-image'></image>
|
||||
<input class="input" placeholder="搜索 周边 地址" placeholder-style="color:#bdbdbd;" bindinput="inputplace" />
|
||||
<view class='line'></view>
|
||||
<view class='search-text' bindtap="nearby_search">搜索</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="index_other">
|
||||
<view class="other_element" bindtap="tripplace" >
|
||||
<image class="other_element_icon" src="../../image/trip.png"></image>
|
||||
<view class="other_element_text">游在地大</view>
|
||||
</view>
|
||||
<view class="other_element" bindtap="studyplace">
|
||||
<image class="other_element_icon" src="../../image/study.png"></image>
|
||||
<view class="other_element_text">学在地大</view>
|
||||
</view>
|
||||
<view class="other_element" bindtap="eatplace">
|
||||
<image class="other_element_icon" src="../../image/eat.png"></image>
|
||||
<view class="other_element_text">吃在地大</view>
|
||||
</view>
|
||||
<view class="other_element" bindtap="runplace">
|
||||
<image class="other_element_icon" src="../../image/running.png"></image>
|
||||
<view class="other_element_text">运动地大</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="index_other">
|
||||
<view class="other_element" bindtap="tranplace">
|
||||
<image class="other_element_icon" src="../../image/transform.png"></image>
|
||||
<view class="other_element_text">交通服务</view>
|
||||
</view>
|
||||
<view class="other_element" bindtap="lifeplace">
|
||||
<image class="other_element_icon" src="../../image/life.png"></image>
|
||||
<view class="other_element_text">生活服务</view>
|
||||
</view>
|
||||
<view class="other_element" bindtap="adminplace">
|
||||
<image class="other_element_icon" src="../../image/administrative.png"></image>
|
||||
<view class="other_element_text">行政大楼</view>
|
||||
</view>
|
||||
<view class="other_element" bindtap="dorplace">
|
||||
<image class="other_element_icon" src="../../image/dormitory.png"></image>
|
||||
<view class="other_element_text">学生宿舍</view>
|
||||
</view>
|
||||
</view>
|
||||
<map
|
||||
id="myMap"
|
||||
style="width:100%;height:1000rpx"
|
||||
markers="{{markers}}"
|
||||
data-markers="{{markers}}"
|
||||
scale="17"
|
||||
show-compass="true"
|
||||
enable-rotate="true"
|
||||
enable-building="true"
|
||||
bindmarkertap="onPointTap"
|
||||
bindlabeltap="onPointTap"
|
||||
subkey="LM6BZ-WVQKQ-BFH5Z-GJLKI-4YHNK-NAFM5"
|
||||
layer-style="2"
|
||||
latitude="{{markers[0].latitude}}" longitude="{{markers[0].longitude}}"
|
||||
></map>
|
||||
|
||||
<!--弹出框-->
|
||||
<modal class="model" hidden="{{hidden}}" confirm-text="确定" cancel-text="取消" bindconfirm="modalconfirm" bindcancel="modalcancel" title="前往此处" style="width:80%">
|
||||
<view class="model-img">
|
||||
<image style="width:565rpx;height:300rpx" src="https://mmbiz.qpic.cn/mmbiz_png/JZxArCU6LRqEceyJTIetvRDXXfK5AsGulNDrG2TW1rDybw5ibOOIypHQDgY5vlpSENo9HBpibGWmr6sNEicgtiaXyw/0?wx_fmt=png"></image>
|
||||
</view>
|
||||
<view class="model-name">{{modalname}}</view>
|
||||
<view class="model-name">{{modaladdress}}</view>
|
||||
</modal>
|
||||
<!--弹出框结束-->
|
||||
|
||||
|
||||
@ -1,182 +0,0 @@
|
||||
/* pages/home/home.wxss */
|
||||
|
||||
.index_other{
|
||||
margin-top: 10rpx;
|
||||
height: 150rpx;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
}
|
||||
|
||||
.other_element{
|
||||
flex-direction: column;
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.other_element_icon{
|
||||
width: 40%;
|
||||
height: 80rpx;
|
||||
margin-left: 30%;
|
||||
}
|
||||
|
||||
.other_element_text{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.framework{
|
||||
border: 1rpx solid #b3b3b3;
|
||||
width: 700rpx;
|
||||
height: 80rpx;
|
||||
margin-left: 20rpx;
|
||||
margin-top: 50rpx;
|
||||
border-radius: 10rpx;
|
||||
margin-bottom: 20rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.input-position{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
}
|
||||
.input{
|
||||
color: #b3b3b3;
|
||||
border: none;
|
||||
border-radius: 10rpx;
|
||||
width: 60vw;
|
||||
height: 6vh;
|
||||
text-indent:10rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.line{
|
||||
width: 3rpx;
|
||||
height: 50rpx;
|
||||
background-color: #b6b6b6;
|
||||
}
|
||||
.search-text{
|
||||
color: #bdbdbd;
|
||||
width: 80rpx;
|
||||
height: 30rpx;
|
||||
text-align: center;
|
||||
margin-bottom: 20rpx;
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
.search-image{
|
||||
width: 40rpx;
|
||||
height:40rpx;
|
||||
margin-right: 12rpx;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* pages/map/map.wxss */
|
||||
|
||||
.building-item {
|
||||
height: 50px;
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.top-swich {
|
||||
background-color: #079df2;
|
||||
height: 6vh;
|
||||
color: white;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 0;
|
||||
height: 0;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.top-swich-btn {
|
||||
background-color: none;
|
||||
letter-spacing: 3rpx;
|
||||
height: 65rpx;
|
||||
color: #fff;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.active {
|
||||
border-bottom: solid white;
|
||||
height: 50rpx;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
button {
|
||||
font-size: 26rpx;
|
||||
height: 6vh;
|
||||
}
|
||||
|
||||
.img-view {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.img {
|
||||
width: 85%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.img image {
|
||||
width: 60px;
|
||||
height: 90%;
|
||||
margin: auto 7rpx;
|
||||
}
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
.itemName {
|
||||
margin: 0 20rpx;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
|
||||
.itemFloor {
|
||||
margin: 0 20rpx;
|
||||
font-size: 28rpx;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.text {
|
||||
margin: auto 15px;
|
||||
width: 13%;
|
||||
}
|
||||
|
||||
.text image {
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
}
|
||||
|
||||
.controls {
|
||||
position: relative;
|
||||
top: 65%;
|
||||
left: 85%;
|
||||
/* display: flex; */
|
||||
}
|
||||
|
||||
.controls .img {
|
||||
margin-top: 5px;
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
}
|
||||
|
||||
.full {
|
||||
top: 82%;
|
||||
}
|
||||
.model{
|
||||
width: 100%;
|
||||
}
|
||||
.model-name{
|
||||
text-align: center;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
<!--pages/navigate1/navigate1.wxml-->
|
||||
<text>pages/navigate1/navigate1.wxml</text>
|
||||
@ -1 +0,0 @@
|
||||
/* pages/navigate1/navigate1.wxss */
|
||||
@ -1,2 +0,0 @@
|
||||
<!--pages/person/person.wxml-->
|
||||
<text>pages/person/person.wxml</text>
|
||||
@ -1 +0,0 @@
|
||||
/* pages/person/person.wxss */
|
||||
@ -1,66 +0,0 @@
|
||||
// pages/schedule/schedule.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,2 +0,0 @@
|
||||
<!--pages/schedule/schedule.wxml-->
|
||||
<view>hello</view>
|
||||
@ -1 +0,0 @@
|
||||
/* pages/schedule/schedule.wxss */
|
||||
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 jwhuang
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@ -0,0 +1,38 @@
|
||||
// app.js
|
||||
const amapFile = require('utils/amap-wx.js');
|
||||
App({
|
||||
onLaunch() {
|
||||
// 展示本地存储能力
|
||||
const logs = wx.getStorageSync('logs') || []
|
||||
logs.unshift(Date.now())
|
||||
wx.setStorageSync('logs', logs)
|
||||
|
||||
// 登录
|
||||
wx.login({
|
||||
success: res => {
|
||||
// 发送 res.code 到后台换取 openId, sessionKey, unionId
|
||||
}
|
||||
})
|
||||
|
||||
wx.cloud.init({
|
||||
env:'cloud-travel-7gc7n4zqa50965ff', //xxx填写云开发环境id
|
||||
traceUser: true
|
||||
})
|
||||
|
||||
},
|
||||
globalData: {
|
||||
mapInfo:"",
|
||||
mapApi:"https://restapi.amap.com/v3/",
|
||||
history:[],
|
||||
historyRoute:[],
|
||||
homePart: {
|
||||
homeText: '设置一个地址',
|
||||
homePoint: ''
|
||||
|
||||
},
|
||||
companyPart: {
|
||||
companyText: '设置一个地址',
|
||||
companyPoint: '',
|
||||
},
|
||||
}
|
||||
})
|
||||
@ -0,0 +1,74 @@
|
||||
{
|
||||
"pages":[
|
||||
"pages/home/home",
|
||||
"pages/my/my",
|
||||
"pages/information/information",
|
||||
"pages/calendar/calendar",
|
||||
"pages/newslist/newslist",
|
||||
"pages/details/details",
|
||||
"pages/course/course",
|
||||
"pages/login/login",
|
||||
"pages/index/index",
|
||||
"pages/logs/logs",
|
||||
"pages/search/search",
|
||||
"pages/nearby/nearby",
|
||||
"pages/site/site",
|
||||
"pages/route/route",
|
||||
"pages/detail/detail",
|
||||
"pages/admin/admin",
|
||||
"pages/navigation/navigation",
|
||||
"pages/collect/collect"
|
||||
],
|
||||
"requiredPrivateInfos":[
|
||||
"getLocation",
|
||||
"chooseAddress",
|
||||
"onLocationChange",
|
||||
"startLocationUpdate",
|
||||
"startLocationUpdateBackground",
|
||||
"choosePoi",
|
||||
"chooseLocation"
|
||||
],
|
||||
"window":{
|
||||
"backgroundTextStyle":"light",
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"navigationBarTitleText": "HDY",
|
||||
"navigationBarTextStyle":"black"
|
||||
},
|
||||
"navigateToMiniProgramAppIdList": [
|
||||
"wxbbec65de8931cc38"
|
||||
],
|
||||
"tabBar": {
|
||||
"borderStyle":"black",
|
||||
"selectedColor": "#00BCD4",
|
||||
"backgroundColor": "#ffffff",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/home/home",
|
||||
"text": "首页",
|
||||
"iconPath": "/images/home.png",
|
||||
"selectedIconPath": "/images/home.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"text": "导航",
|
||||
"iconPath": "/images/navigate.png",
|
||||
"selectedIconPath": "/images/navigate.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/my/my",
|
||||
"text": "个人中心",
|
||||
"iconPath": "/images/my.png",
|
||||
"selectedIconPath": "images/my.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
"style": "v2",
|
||||
"sitemapLocation": "sitemap.json",
|
||||
"permission": {
|
||||
"scope.userLocation": {
|
||||
"desc": "你的位置信息将用于小程序位置接口的效果展示"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 410 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 595 B |
|
After Width: | Height: | Size: 924 B |
|
After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 8.7 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 835 B |
|
After Width: | Height: | Size: 6.6 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 910 B |
|
After Width: | Height: | Size: 6.8 KiB |