品宣列表页分享打开列表页;添加辅导员字段;

master
santaner 11 months ago
parent 2189c6ffe7
commit 3c840c40a6
  1. 29
      pages/news_list/index.vue
  2. 10
      pages/users/user_info/index.vue
  3. 8
      pages/users/user_modify_mes/index.vue

@ -82,7 +82,8 @@
page: 1,
limit: 8,
status: false,
scrollLeft: 0
scrollLeft: 0,
globalData:{},
};
},
/**
@ -135,6 +136,11 @@
that.$set(that, 'articleList', articleListNew);
that.status = limit > len;
that.page = that.page;
// #ifdef H5
if (this.$wechat.isWeixin()) {
this.setShareInfo();
}
// #endif
});
},
getArticleCate: function() {
@ -154,7 +160,28 @@
this.status = false;
this.getCidArticle();
}
},
setShareInfo: function() {
let href = location.href;
this.globalData = uni.getStorageSync('GLOBAL_DATA')
let configAppMessage = {
desc: this.globalData.share_info,
title: this.globalData.share_title,
link: href,
imgUrl: this.globalData.share_pic,
success: function() {
}
};
this.$wechat.wechatEvevt([
"updateAppMessageShareData",
"updateTimelineShareData"
], configAppMessage).then(res => {
}).catch(err => {
// console.log(err);
});
},
}
}
</script>

@ -113,7 +113,15 @@
</view>
</view>
<view class='item acea-row row-between-wrapper'>
<view>推荐人电话</view>
<view>推荐人</view>
<view class='input acea-row row-between-wrapper' @click="addMes">
<input type='text' placeholder="完善信息" disabled='true' name='refer' :value='userInfo.spread_uid2' v-if="userInfo.spread_uid2" class='id'></input>
<input type='text' placeholder="完善信息" disabled='true' name='refer' v-else class='id'></input>
<text class='iconfont icon-you'></text>
</view>
</view>
<view class='item acea-row row-between-wrapper'>
<view>导师</view>
<view class='input acea-row row-between-wrapper' @click="addMes">
<input type='text' placeholder="完善信息" disabled='true' name='refer' :value='realInfo.spread_phone' class='id'></input>
<text class='iconfont icon-you'></text>

@ -17,6 +17,14 @@
<view class='name'>年龄</view>
<view class='input'><input placeholder='请输入年龄信息' placeholder-class='placeholder' name="age" type='digit' :value="realInfo.age"></input></view>
</view>
<view class='item acea-row row-between-wrapper'>
<view class='name'>推荐人</view>
<view class='input'>
<input placeholder="请输入推荐人电话" placeholder-class='placeholder' name="spread_uid2" :value="userInfo.spread_uid" v-if="userInfo.spread_uid2" disabled></input>
<input placeholder="请输入推荐人电话" placeholder-class='placeholder' name="spread_uid2" :value="userInfo.spread_uid" v-else></input>
</view>
</view>
<view class='item acea-row row-between-wrapper'>
<view class='name'>导师</view>
<view class='input'>

Loading…
Cancel
Save