machinecat520 2 jaren geleden
commit
4eb89991a7

+ 31 - 0
.eslintrc.js

@@ -0,0 +1,31 @@
+/*
+ * Eslint config file
+ * Documentation: https://eslint.org/docs/user-guide/configuring/
+ * Install the Eslint extension before using this feature.
+ */
+module.exports = {
+  env: {
+    es6: true,
+    browser: true,
+    node: true,
+  },
+  ecmaFeatures: {
+    modules: true,
+  },
+  parserOptions: {
+    ecmaVersion: 2018,
+    sourceType: 'module',
+  },
+  globals: {
+    wx: true,
+    App: true,
+    Page: true,
+    getCurrentPages: true,
+    getApp: true,
+    Component: true,
+    requirePlugin: true,
+    requireMiniProgram: true,
+  },
+  // extends: 'eslint:recommended',
+  rules: {},
+}

+ 19 - 0
app.js

@@ -0,0 +1,19 @@
+// app.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
+      }
+    })
+  },
+  globalData: {
+    userInfo: null
+  }
+})

+ 16 - 0
app.json

@@ -0,0 +1,16 @@
+{
+    "pages": [
+        "pages/teachAuthentication/teachAuthentication",
+        "pages/login/login",
+        "pages/myInfo/myInfo",
+        "pages/index/index"
+    ],
+    "window": {
+        "backgroundTextStyle": "light",
+        "navigationBarBackgroundColor": "#fff",
+        "navigationBarTitleText": "Weixin",
+        "navigationBarTextStyle": "black"
+    },
+    "style": "v2",
+    "sitemapLocation": "sitemap.json"
+}

+ 15 - 0
app.wxss

@@ -0,0 +1,15 @@
+/**app.wxss**/
+.container {
+  height: 100%;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: space-between;
+  padding: 200rpx 0;
+  box-sizing: border-box;
+} 
+
+@import "/iconfont/iconfont.wxss";
+page{
+    height: 100%;
+}

+ 19 - 0
iconfont/iconfont.wxss

@@ -0,0 +1,19 @@
+@font-face {
+    font-family: "iconfont"; /* Project id 3570109 */
+    src: url('//at.alicdn.com/t/c/font_3570109_o0du10hwzg9.woff2?t=1659686852574') format('woff2'),
+         url('//at.alicdn.com/t/c/font_3570109_o0du10hwzg9.woff?t=1659686852574') format('woff'),
+         url('//at.alicdn.com/t/c/font_3570109_o0du10hwzg9.ttf?t=1659686852574') format('truetype');
+  }
+  
+  .iconfont {
+    font-family: "iconfont" !important;
+    font-size: 16px;
+    font-style: normal;
+    -webkit-font-smoothing: antialiased;
+    -moz-osx-font-smoothing: grayscale;
+  }
+  
+  .icon-tupian:before {
+    content: "\e607";
+  }
+  

BIN
images/zly.jpeg


+ 66 - 0
pages/index/index.js

@@ -0,0 +1,66 @@
+// pages/index/index.js
+Page({
+
+    /**
+     * 页面的初始数据
+     */
+    data: {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面加载
+     */
+    onLoad(options) {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面初次渲染完成
+     */
+    onReady() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面显示
+     */
+    onShow() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面隐藏
+     */
+    onHide() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面卸载
+     */
+    onUnload() {
+
+    },
+
+    /**
+     * 页面相关事件处理函数--监听用户下拉动作
+     */
+    onPullDownRefresh() {
+
+    },
+
+    /**
+     * 页面上拉触底事件的处理函数
+     */
+    onReachBottom() {
+
+    },
+
+    /**
+     * 用户点击右上角分享
+     */
+    onShareAppMessage() {
+
+    }
+})

+ 3 - 0
pages/index/index.json

@@ -0,0 +1,3 @@
+{
+    "usingComponents": {}
+}

+ 2 - 0
pages/index/index.wxml

@@ -0,0 +1,2 @@
+<!--pages/index/index.wxml-->
+<text>pages/index/index.wxml</text>

+ 1 - 0
pages/index/index.wxss

@@ -0,0 +1 @@
+/* pages/index/index.wxss */

+ 113 - 0
pages/login/login.js

@@ -0,0 +1,113 @@
+// pages/studentLogin/studentLogin.js
+Page({
+
+    /**
+     * 页面的初始数据
+     */
+    data: {
+        userName:'',
+        password:''
+    },
+
+    /**
+     * 生命周期函数--监听页面加载
+     */
+    onLoad: function (options) {
+
+    },
+
+    //表单项内容发生改变的回调
+    handleInput(event){
+        // console.log(type,event.detail.value);
+        let type=event.currentTarget.dataset.type;  //用data-type=value的形式传参
+        //当需要向event对象传多个数据(参数)时,使用“data-”的形式,因为“data-”的后面可以自己命名变量名
+        //当需要传的值只有一个,且唯一时,使用id的方法
+        this.setData({
+            [type]:event.detail.value
+        })
+    },
+
+    //登录
+    login(){
+        let{userName,password}=this.data;
+        if(!userName){
+            wx.showToast({
+              title: '账号不能为空',
+              icon:'none'
+            })
+            return
+        }
+        if(!password){
+            wx.showToast({
+              title: '密码不能为空',
+              icon:'none'
+            })
+            return
+        }else if(password.length<6){
+            wx.showToast({
+              title: '密码不能小于6位',
+              icon:'none'
+            })
+            return
+        }
+        wx.redirectTo({
+          url: '/pages/myInfo/myInfo',
+        })
+    },
+
+    //点击“马上注册”,跳转到注册页面
+    toLoginIn(){
+       wx.navigateTo({
+         url: '/pages/index/index',
+       })
+    },
+
+    /**
+     * 生命周期函数--监听页面初次渲染完成
+     */
+    onReady: function () {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面显示
+     */
+    onShow: function () {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面隐藏
+     */
+    onHide: function () {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面卸载
+     */
+    onUnload: function () {
+
+    },
+
+    /**
+     * 页面相关事件处理函数--监听用户下拉动作
+     */
+    onPullDownRefresh: function () {
+
+    },
+
+    /**
+     * 页面上拉触底事件的处理函数
+     */
+    onReachBottom: function () {
+
+    },
+
+    /**
+     * 用户点击右上角分享
+     */
+    onShareAppMessage: function () {
+
+    }
+})

+ 6 - 0
pages/login/login.json

@@ -0,0 +1,6 @@
+{
+  "usingComponents": {},
+  "navigationBarBackgroundColor":"#D43C33",
+  "navigationBarTitleText": "学生登录中心",
+  "navigationBarTextStyle": "white"
+}

+ 27 - 0
pages/login/login.wxml

@@ -0,0 +1,27 @@
+
+<view class="container">
+    <view class="wrapper">
+        <!-- <view class="left-top-sign">LOGIN</view> -->
+        <view class="welcome">
+            欢迎回来!
+        </view>
+        <view class="input-content">
+            <view class="input-item">
+                <text class="tit">账号</text>
+                <input  type="text" placeholder="请输入您的账号" data-type="userName" bindinput="handleInput"/>
+            </view>
+            <view class="input-item">
+                <text class="tit">密码</text>
+                <input type="password"  placeholder="请输入密码" data-type="password" bindinput="handleInput"/>
+            </view>
+        </view>
+        <button class="confirm-btn" bindtap="login" >登录</button>
+        <view class="forget-section">
+            忘记密码?
+        </view>
+    </view>
+    <view class="register-section">
+        还没有账号?
+        <text bindtap="toLoginIn">马上注册</text>
+    </view>
+</view>

+ 99 - 0
pages/login/login.wxss

@@ -0,0 +1,99 @@
+/* pages/studentLogin/studentLogin.wxss */
+.wrapper{
+position:relative;
+z-index: 90;
+padding-bottom: 40rpx;
+}
+
+/* LOGO样式 */
+.left-top-sign{
+font-size: 120rpx;
+color: #f8f8f8;
+position:relative;
+left: -16rpx;
+}
+
+/* 欢迎字体样式 */
+.welcome{
+position:relative;
+left: 50rpx;
+top: -90rpx;
+font-size: 46rpx;
+color: #555;
+}
+
+
+.input-content{
+padding: 0 60rpx;
+}
+
+.input-item{
+display:flex;
+flex-direction: column;
+align-items:flex-start;
+justify-content: center;
+padding: 0 30rpx;
+background:#f8f6fc;
+height: 120rpx;
+border-radius: 4px;
+margin-bottom: 50rpx;
+
+}
+
+.input-item:last-child{
+margin-bottom: 0;
+}
+
+/* 账号、密码字体样式 */
+.input-item .tit{
+height: 50rpx;
+line-height: 56rpx;
+font-size: 30rpx;
+color: #606266;
+}
+
+/* 输入框样式 */
+.input-item input{
+height: 60rpx;
+font-size: 30rpx;
+color: #303133;
+width: 100%;
+}
+.confirm-btn{
+width: 630rpx!important;
+height: 76rpx;
+line-height: 76rpx;
+border-radius: 50rpx;
+margin-top: 70rpx;
+background: #d43c33;
+color: #fff;
+font-size: 32rpx;
+padding: 0;
+}
+.confirm-btn2:after{
+border-radius: 100px;
+}
+
+/* 忘记密码样式 */
+.forget-section{
+font-size: 28rpx;
+color: #4399fc;
+text-align: center;
+margin-top: 40rpx;
+}
+
+/* 下方文字样式 */
+.register-section{
+position:absolute;
+left: 0;
+bottom: 50rpx;
+width: 100%;
+font-size: 28rpx;
+color: #606266;
+text-align: center;
+
+}
+.register-section text{
+color: #4399fc;
+margin-left: 10rpx;
+}

+ 158 - 0
pages/myInfo/myInfo.js

@@ -0,0 +1,158 @@
+// pages/myInfo/myInfo.js
+Page({
+
+    /**
+     * 页面的初始数据
+     */
+    data: {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面加载
+     */
+    onLoad(options) {
+
+    },
+
+    //退出登录
+    exitLogin(){
+        wx.redirectTo({
+          url: '/pages/login/login',
+        })
+    },
+
+    //跳转到我的预约
+    myAppointment(){
+        wx.redirectTo({
+          url: '/pages/index/index',
+        })
+    },
+
+    //跳转到我被预约
+    appointment(){
+        wx.redirectTo({
+          url: '/pages/index/index',
+        })
+    },
+
+    //跳转到我的课程
+    myLessons(){
+        wx.redirectTo({
+          url: '/pages/index/index',
+        })
+    },
+
+    //跳转到我的需求
+    myNeed(){
+        wx.redirectTo({
+          url: '/pages/index/index',
+        })
+    },
+
+    //跳转到我收藏的老师
+    myTeacher(){
+        wx.redirectTo({
+          url: '/pages/index/index',
+        })
+    },
+
+    //跳转到我收藏的学生
+    myStudent(){
+        wx.redirectTo({
+          url: '/pages/index/index',
+        })
+    },
+
+    //跳转到我的投诉
+    myComplaint(){
+        wx.redirectTo({
+          url: '/pages/index/index',
+        })
+    },
+
+    //跳转到我的建议
+    mySuggest(){
+        wx.redirectTo({
+          url: '/pages/index/index',
+        })
+    },
+
+    //跳转到退款记录
+    refund(){
+        wx.redirectTo({
+          url: '/pages/index/index',
+        })
+    },
+
+    //跳转到老师认证
+    teacherAuthentication(){
+        wx.redirectTo({
+          url: '/pages/teachAuthentication/teachAuthentication',
+        })
+    },
+
+    //跳转到删除账号
+    delete(){
+        wx.redirectTo({
+          url: '/pages/index/index',
+        })
+    },
+
+    //跳转到推荐返现
+    cashBack(){
+        wx.redirectTo({
+          url: '/pages/index/index',
+        })
+    },
+
+
+    /**
+     * 生命周期函数--监听页面初次渲染完成
+     */
+    onReady() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面显示
+     */
+    onShow() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面隐藏
+     */
+    onHide() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面卸载
+     */
+    onUnload() {
+
+    },
+
+    /**
+     * 页面相关事件处理函数--监听用户下拉动作
+     */
+    onPullDownRefresh() {
+
+    },
+
+    /**
+     * 页面上拉触底事件的处理函数
+     */
+    onReachBottom() {
+
+    },
+
+    /**
+     * 用户点击右上角分享
+     */
+    onShareAppMessage() {
+
+    }
+})

+ 4 - 0
pages/myInfo/myInfo.json

@@ -0,0 +1,4 @@
+{
+    "usingComponents": {},
+    "navigationBarTitleText": "个人中心"
+}

+ 28 - 0
pages/myInfo/myInfo.wxml

@@ -0,0 +1,28 @@
+<!--pages/myInfo/myInfo.wxml-->
+
+<view class="wrapper">
+    <view class="top-index">
+        <view class="top-title">
+            <image src="../../images/zly.jpeg"></image>
+            <text class="top-nick">你好</text>
+        </view>
+        <text class="top-text" bindtap="exitLogin">退出账号</text>
+    </view>
+    <view class="infoList">
+        <text class="infoList-text" bindtap="myAppointment">我的预约</text>
+        <text class="infoList-text" bindtap="appointment">我被预约</text>
+        <text class="infoList-text" bindtap="myLessons">我的课程</text>
+        <text class="infoList-text" bindtap="myNeed">我的需求</text>
+        <text class="infoList-text" bindtap="myTeacher">我收藏的老师</text>
+        <text class="infoList-text" bindtap="myStudent">我收藏的学生</text>
+        <text class="infoList-text" bindtap="myComplaint">我的投诉</text>
+        <text class="infoList-text" bindtap="mySuggest">我的建议</text>
+        <text class="infoList-text" bindtap="refund">退款记录</text>
+        <text class="infoList-text" bindtap="teacherAuthentication">老师认证</text>
+        <text class="infoList-text" bindtap="delete">删除账号</text>
+    </view>
+    <view class="recommendMoney">
+        <text bindtap="cashBack">推荐返现</text>
+    </view>
+
+</view>

+ 69 - 0
pages/myInfo/myInfo.wxss

@@ -0,0 +1,69 @@
+/* pages/myInfo/myInfo.wxss */
+.wrapper {
+    position: relative;
+}
+
+.top-index {
+    display: flex;
+    flex-direction: row;
+    height: 100rpx;
+    line-height: 100rpx;
+    background-color: #f8f8f8;
+}
+
+.top-title {
+    display: flex;
+    width: 80%;
+}
+
+.top-index image {
+    width: 100rpx;
+    height: 100rpx;
+    border-radius: 50%;
+}
+
+.top-nick {
+    height: 100rpx;
+    line-height: 100rpx;
+    padding-left: 20rpx;
+}
+
+.top-text {
+    margin-top: 20rpx;
+    margin-left: 4rpx;
+    height: 60rpx;
+    line-height: 60rpx;
+    border: 1rpx solid rgb(207, 202, 202);
+    border-radius: 20rpx;
+    padding: 0 6rpx;
+    color: #c0b0b0;
+}
+
+.infoList{
+    position: relative;
+    display: flex;
+    flex-wrap: wrap;
+    width: 100%;
+}
+
+.infoList-text{
+    width: 47%;
+    height: 100rpx;
+    line-height: 100rpx;
+    text-align: center;
+    background-color: rgb(241, 241, 235);
+    margin: 10rpx 10rpx 0 10rpx;
+}
+
+.recommendMoney{
+    /* position: relative;
+    display: flex; */
+    margin-top: 100rpx;
+    height: 100rpx;
+    line-height: 100rpx;
+    text-align: center;
+    font-size: 40rpx;
+    font-weight: bold;
+    background-color: rgb(241, 241, 235);
+    color: red;
+}

+ 66 - 0
pages/teachAuthentication/teachAuthentication.js

@@ -0,0 +1,66 @@
+// pages/teachAuthentication/teachAuthentication.js
+Page({
+
+    /**
+     * 页面的初始数据
+     */
+    data: {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面加载
+     */
+    onLoad(options) {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面初次渲染完成
+     */
+    onReady() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面显示
+     */
+    onShow() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面隐藏
+     */
+    onHide() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面卸载
+     */
+    onUnload() {
+
+    },
+
+    /**
+     * 页面相关事件处理函数--监听用户下拉动作
+     */
+    onPullDownRefresh() {
+
+    },
+
+    /**
+     * 页面上拉触底事件的处理函数
+     */
+    onReachBottom() {
+
+    },
+
+    /**
+     * 用户点击右上角分享
+     */
+    onShareAppMessage() {
+
+    }
+})

+ 4 - 0
pages/teachAuthentication/teachAuthentication.json

@@ -0,0 +1,4 @@
+{
+    "usingComponents": {},
+    "navigationBarTitleText": "教师资格认证"
+}

+ 78 - 0
pages/teachAuthentication/teachAuthentication.wxml

@@ -0,0 +1,78 @@
+<!--pages/teachAuthentication/teachAuthentication.wxml-->
+<view>
+    <view class="input-item">
+        <text>手机号*:</text>
+        <input class="userInput" type="number" placeholder="请输入手机号" />
+    </view>
+    <view class="input-item">
+        <text>微信号*:</text>
+        <input class="userInput" type="text" confirm-type="done" placeholder="请输入微信号" />
+    </view>
+    <view class="input-item">
+        <text>英文名:</text>
+        <input class="userInput" type="text" confirm-type="done" placeholder="请输入您的英文名" />
+    </view>
+    <view class="input-name">
+        <text>真实姓名*:</text>
+        <view class="input-yourName">
+            <text>姓*:</text>
+            <input class="userInput" type="text" confirm-type="done" placeholder="请输入姓氏" />
+            <text>名*:</text>
+            <input class="input-ming" type="text" confirm-type="done" placeholder="请输入名字" />
+        </view>
+    </view>
+    <view class="input-item">
+        <text>身份证号*:</text>
+        <input class="userInput" type="idcard" maxlength="18" placeholder="请输入您的身份证号码" />
+    </view>
+    <view class="input-item">
+        <text>性别*:</text>
+        <input class="userInput" type="text" placeholder="请输入您的性别" />
+    </view>
+
+    <view class="idCard">
+        <text class="idImag-tit">身份证照片*</text>
+        <text class="explain">请上传身份证照片,要求能看清楚证件号码、日期及头像</text>
+        <view class="idImagUp">
+            <view class="idImag">
+                <text class="iconfont icon-tupian"></text>
+                <text>身份证正面</text>
+            </view>
+            <view class="idImag">
+                <text class="iconfont icon-tupian"></text>
+                <text>身份证背面</text>
+            </view>
+        </view>
+    </view>
+
+    <view class="myCard">
+        <text>毕业证/学生证*:</text>
+        <text class="iconfont icon-tupian"></text>
+    </view>
+    <view class="myHead">
+        <text>头像:</text>
+        <text class="iconfont icon-tupian"></text>
+    </view>
+    <view class="input-item">
+        <text>毕业/就读学校*:</text>
+        <input class="userInput" type="text" confirm-type="done" placeholder="请输入学校的全称" />
+    </view>
+    <view class="input-item">
+        <text>所学专业*:</text>
+        <input class="userInput" type="text" confirm-type="done" placeholder="请输入您的所学专业" />
+    </view>
+    <view class="input-item">
+        <text>学历*:</text>
+        <input class="userInput" type="text" confirm-type="done" placeholder="请输入您的英文名" />
+    </view>
+    <view class="input-jiguan">
+        <text>籍贯*:</text>
+        <input class="userInput" type="text" confirm-type="done" placeholder-style="font-size:28rpx" placeholder="例:四川" />
+        <text>省</text>
+        <input class="userInput" type="text" confirm-type="done" placeholder-style="font-size:28rpx" placeholder="例:成都" />
+        <text>市/州</text>
+        <input class="userInput" type="text" confirm-type="done" placeholder-style="font-size:28rpx" placeholder="例:武侯" />
+        <text>区/县</text>
+    </view>
+</view>
+<button class="submit" type="primary">提交审核</button>

+ 114 - 0
pages/teachAuthentication/teachAuthentication.wxss

@@ -0,0 +1,114 @@
+/* pages/teachAuthentication/teachAuthentication.wxss */
+.input-item{
+    display: flex;
+    height: 100rpx;
+    line-height: 100rpx;
+    margin-left: 20rpx;
+    margin-right: 20rpx;
+    border-bottom: 1rpx solid gray;
+}
+
+/* 输入框样式 */
+.userInput{
+    height: 100rpx;
+    line-height: 100rpx;  
+    padding-left: 20rpx;  
+}
+
+/* 姓名输入样式 */
+.input-name{
+    display: flex;
+    flex-direction: column;
+    margin-left: 20rpx;
+    margin-right: 20rpx;
+    border-bottom: 1rpx solid gray;
+}
+.input-yourName{
+    display: flex;
+    height: 100rpx;
+    line-height: 100rpx;
+}
+.input-yourName .userInput{
+    width: 170rpx;
+    margin-right: 30rpx;
+}
+.input-yourName .input-ming{
+    height: 100rpx;
+    line-height: 100rpx;  
+    width: 300rpx;
+}
+
+/* 身份证照片样式 */
+.idCard{
+    position: relative;
+}
+.idImag-tit{
+    display: block;
+    margin-left: 20rpx;
+    margin-top: 20rpx;
+}
+.explain{
+    display: block;
+    font-size: 22rpx;
+    color: gray;
+    margin: 20rpx 0 20rpx 20rpx;
+}
+.idImagUp{
+    display: flex;
+}
+.idImag{
+    display: flex;
+    flex-direction: column;
+    width: 45%;
+    margin-left: 20rpx;
+}
+.idImag .iconfont{
+    display: block;
+    height: 200rpx;
+    border: 1rpx solid red;
+    line-height: 200rpx;
+    font-size: 100rpx;
+    color: gray;
+    margin-bottom: 20rpx;
+}
+.idImag text{
+    text-align: center;
+}
+
+/* 毕业证/学生证,头像 */
+.myCard,
+.myHead{
+    display: flex;
+    margin: 20rpx;
+    flex-direction: column;
+
+}
+.myCard .iconfont,
+.myHead .iconfont{
+    display: block;
+    width: 50%;
+    height: 200rpx;
+    border: 1rpx solid red;
+    line-height: 200rpx;
+    font-size: 100rpx;
+    color: gray;
+    margin-top: 20rpx;
+    text-align: center;
+}
+
+/* 籍贯输入样式 */
+.input-jiguan{
+    display: flex;
+    margin-left: 20rpx;
+    height: 100rpx;
+    line-height: 100rpx;
+}
+.input-jiguan input{
+    width: 130rpx;
+    padding-left: 10rpx;
+}
+
+/* 提交审核按钮样式 */
+.submit{
+    margin-top: 100rpx;
+}

+ 61 - 0
project.config.json

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

+ 7 - 0
sitemap.json

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