xhj 2 năm trước cách đây
mục cha
commit
41930b198c
7 tập tin đã thay đổi với 30 bổ sung6 xóa
  1. 2 0
      App.vue
  2. 3 2
      card/cardList/cardList.vue
  3. 1 1
      card/create/create.vue
  4. 1 1
      mine/help/help.css
  5. 1 1
      mine/help/help.vue
  6. 2 1
      pages.json
  7. 20 0
      pages/index/index.vue

+ 2 - 0
App.vue

@@ -19,7 +19,9 @@
 
 	export default {
 		onLaunch: function(options) {
+			console.log('--------------打开小程序--------------',req.getStorage('shareId'))
 			req.removeStorage('shareId')
+			console.log('--------------打开小程序后--------------',req.getStorage('shareId'))
 			// this.globalData.appInitData();
 			this.globalData.InitUpdateManager();
 			this.globalData.getChatList();

+ 3 - 2
card/cardList/cardList.vue

@@ -240,8 +240,9 @@
 			}
 		},
 		onReachBottom() {
-			this.page++;
-			this.getDataList();
+			// 只展示10条数据
+			// this.page++;
+			// this.getDataList();
 		},
 		methods: {
 			jumpUrl(url) {

+ 1 - 1
card/create/create.vue

@@ -103,7 +103,7 @@
 			<view class="li ddflex">
 				<view class="label">入司时间</view>
 				<picker mode="date" v-model="inDate" :disabled="true" @change="inDateChange">
-					{{inDate?inDate:'请填写公司名称'}}
+					{{inDate?inDate:'请填写入司时间'}}
 				</picker>
 				<!-- <input v-model="companyName" :disabled="true" placeholder="请填写公司名称" placeholder-class="placeholder" class="ipt flex" /> -->
 			</view>

+ 1 - 1
mine/help/help.css

@@ -57,7 +57,7 @@ page {
 	text-align: center;
 }
 .gfqw{
-	border-left: 2rpx solid #fff;
+	border-right: 2rpx solid #fff;
 	height: 100rpx !important;
     line-height: 100rpx !important;
     font-size: 36rpx;

+ 1 - 1
mine/help/help.vue

@@ -9,10 +9,10 @@
 		</view>
 		<!-- <button class="zixun" open-type="contact">咨询客服</button> -->
 		<view class="ddflex zixun-btn">
+			<view class="fflex gfqw" v-if="config.WECOM_CODE" @click="isShowCodePop = true">添加官方企微</view>
 			<view class="fflex">
 				<contact-button class-name="zixun" button-text="咨询客服"></contact-button>
 			</view>
-			<view class="fflex gfqw" v-if="config.WECOM_CODE" @click="isShowCodePop = true">添加官方企微</view>
 		</view>
 		
 		

+ 2 - 1
pages.json

@@ -3,7 +3,8 @@
 	"pages": [{
 			"path": "pages/index/index",
 			"style": {
-				"navigationStyle": "custom"
+				"navigationStyle": "custom",
+				"enablePullDownRefresh": true
 			}
 		},
 		// {

+ 20 - 0
pages/index/index.vue

@@ -434,6 +434,26 @@
 			msgNumber
 		},
 		props: {},
+		onPullDownRefresh() {
+			req.removeStorage('shareId')
+			setTimeout(()=>{
+				uni.stopPullDownRefresh()
+			},1000)
+			this.getHotActivity()
+			this.getMatchList()
+			this.getTbal()
+			this.getLpal()
+			this.getFx()
+			QQMapWX.initMap();
+			req.getLocation(res => {
+				const to = {
+					latitude: res.latitude,
+					longitude: res.longitude
+				};
+				QQMapWX.reverseGeocoder(to, resp => {});
+				this.getRecommendCard(to)
+			});
+		},
 		onLoad: async function(options) {
 			// console.log("扫码进去参数===" + JSON.stringify(options));
 			// if (options.scene) {