Tang 4 лет назад
Родитель
Сommit
e8fde1c77d
4 измененных файлов с 21 добавлено и 7 удалено
  1. 4 1
      components/home.vue
  2. 11 3
      components/my.vue
  3. 5 2
      components/recruitment.vue
  4. 1 1
      pages2/wd/info.vue

+ 4 - 1
components/home.vue

@@ -244,10 +244,13 @@ export default {
 			this.triggered = true
 		},
 		refresher(){
+			let that = this
 			this.initList();
 			this.advertisingList();
 			this.initCateList();
-			this.triggered = false
+			setTimeout(function(){
+				that.triggered = false
+			},500)
 		},
 		restore(){
 			this.triggered = false

+ 11 - 3
components/my.vue

@@ -179,9 +179,13 @@ export default {
 		pulling() {
 			this.triggered = true;
 		},
-		refresher() {
-			this.init();
-			this.triggered = false;
+		refresher(){
+			let that = this
+			this.init()
+			this.$api.refreshUserInfo();
+			setTimeout(function(){
+				that.triggered = false
+			},500)
 		},
 		restore() {
 			this.triggered = false;
@@ -220,8 +224,12 @@ export default {
 			this.$store.state.allowLoading = false;
 			const firstFunc = await this.getInfoAttached();
 			const seciedFunc = await this.getLevel();
+<<<<<<< HEAD
 			//		this.$api.refreshUserInfo();
 			this.$store.state.allowLoading = true;
+=======
+			this.$store.state.allowLoading = true
+>>>>>>> ae3c0e80d7af9b78c30f703a3d0538b4dd4c18f2
 		},
 		jumpPopup() {
 			uni.showModal({

+ 5 - 2
components/recruitment.vue

@@ -81,7 +81,7 @@
 				</view>
 				<view v-else class="boxsize" v-for="(item, index) in enterprise" :key="index">
 					<view class="dis_flexs" @click="jumpCompany(item)">
-						<view class="imgboxs"><image style="width: 100%; height: 100%;" :src="$method.splitImgHost(item.logoUrl)" mode=""></image></view>
+						<view class="imgboxs"><image style="width: 100%; height: 100%;" :src="$method.splitImgHost(item.logoUrl,true)" mode=""></image></view>
 						<view style="flex: 1;">
 							<view class="headTits">{{ item.companyName }}</view>
 							<view class="lisz">
@@ -255,10 +255,13 @@ export default {
 			this.triggered = true;
 		},
 		refresher() {
+			let that = this
 			this.inits();
 			this.getDict();
 			this.advertisingList();
-			this.triggered = false;
+			setTimeout(function(){
+				that.triggered = false
+			},500)
 		},
 		restore() {
 			this.triggered = false;

+ 1 - 1
pages2/wd/info.vue

@@ -207,7 +207,7 @@ export default {
 			var self = this
 			this.$api.getInfo().then(res => {
 				this.form = res.data.data
-				if (this.form.HeadImageUrl !== null) {
+				if (this.form.oneInchPhotos !== null) {
 					self.fileList = [{ url: self.$method.splitImgHost(self.form.oneInchPhotos) }];
 				}
 			})