sunzhilei 6 lat temu
rodzic
commit
5ffe4d28bf

+ 1 - 0
README.md

@@ -1,6 +1,7 @@
 ## 账号
 
 appId: wx7b5ea6422847ea64;
+AppSecret: adece358e0d933e39d87b68fbf700651
 
 
 [登录微信公共平台](https://mp.weixin.qq.com/);

+ 1 - 1
compontents/target/target.js

@@ -28,7 +28,7 @@ Component({
     onTap (e) {
       let flage = e.target.dataset.flag;
       if(flage){
-        this.util(flage, '120rpx');
+        this.util(flage, '145rpx');
         this.setData({
           'flag': false,
           'downUp': '展开',

+ 1 - 3
compontents/target/target.wxml

@@ -4,9 +4,7 @@
         <text>本周学习目标</text>
     </view>
     <view class="{{ flag ? 'target-txt-show' : 'target-txt'}}" animation="{{animationData}}">
-        <view class="week-con" wx:for="{{wxObjectives}}" wx:key="{{index}}">
-            {{item}}
-        </view>
+        <view class="week-con" wx:for="{{wxObjectives}}" wx:key="{{index}}">{{item}}</view>
     </view>
 
 

+ 1 - 1
compontents/target/target.wxss

@@ -15,7 +15,7 @@
 }
 
 .target-txt {
-    height: 120rpx;
+    height: 145rpx;
     display: -webkit-box;
     font-size: 28rpx;
     margin-top: 15rpx;

+ 1 - 0
pages/input_content/input_content.js

@@ -82,6 +82,7 @@ Page({
                 }  
               },  
               fail: function (res) {  
+                debugger;
                 wx.hideToast();  
                 wx.showModal({  
                   title: '错误提示',  

+ 31 - 10
project.config.json

@@ -29,14 +29,14 @@
 			"list": []
 		},
 		"miniprogram": {
-			"current": 2,
+			"current": -1,
 			"list": [
 				{
-					"id": -1,
-					"name": "分享",
-					"pathName": "pages/index/index",
-					"query": "postId=\"293092b5-9a08-42e8-aaec-059403c9d0d6\"",
-					"scene": "1001"
+					"id": 0,
+					"name": "数学",
+					"pathName": "pages/mathematics/mathematics",
+					"query": "ind=3",
+					"scene": "1011"
 				},
 				{
 					"id": 1,
@@ -46,10 +46,31 @@
 					"scene": "1011"
 				},
 				{
-					"id": 2,
-					"name": "本周推荐",
-					"pathName": "pages/recommend/recommend",
-					"query": "",
+					"id": -1,
+					"name": "中文",
+					"pathName": "pages/chinese/chinese",
+					"query": "ind=4",
+					"scene": "1011"
+				},
+				{
+					"id": -1,
+					"name": "英语",
+					"pathName": "pages/english/english",
+					"query": "ind=5",
+					"scene": "1011"
+				},
+				{
+					"id": -1,
+					"name": "科学",
+					"pathName": "pages/science/science",
+					"query": "ind=6",
+					"scene": "1011"
+				},
+				{
+					"id": -1,
+					"name": "艺术",
+					"pathName": "pages/art/art",
+					"query": "ind=7",
 					"scene": "1011"
 				}
 			]