编辑头像 我的主页跳转

main
lijingyu007 5 months ago
parent cd2177e448
commit bbe3dfec83
  1. 2
      pages/personal/mycrowdtest/mycrowdtest.vue
  2. 4
      pages/personal/setup/Information.vue
  3. 5
      pages/personal/setup/myuserinfo.vue
  4. 3
      utils/http.js

@ -12,7 +12,7 @@
style="display:flex;margin:0 12px 8px 0;justify-content: space-between;align-items: flex-end;"> style="display:flex;margin:0 12px 8px 0;justify-content: space-between;align-items: flex-end;">
<view class="rightb" style="background: linear-gradient(90deg, #FFDC00, #ED9706);"> 竞标中 <view class="rightb" style="background: linear-gradient(90deg, #FFDC00, #ED9706);"> 竞标中
</view> </view>
<p v-if="item.price == 0" style="color:#FD461A;">赏金金额面议 </p> <p v-if="item.price == 0" style="color:#FD461A;">金额面议 </p>
<p v-else style="color:#FD461A;">金额{{item.price}} </p> <p v-else style="color:#FD461A;">金额{{item.price}} </p>
</view> </view>
<view class="fline"> </view> <view class="fline"> </view>

@ -104,7 +104,7 @@
let sex=uni.getStorageSync('sex'); let sex=uni.getStorageSync('sex');
let {phonenumber}=this.wxUserInfo; let {phonenumber}=this.wxUserInfo;
let setavatar='',sexdata=''; let setavatar='',sexdata='';
if(avatar){ if(avatar && avatar.indexOf('http') == -1){
// if(avatar.indexOf('http')==0){ // if(avatar.indexOf('http')==0){
// setavatar = avatar // setavatar = avatar
// }else{ // }else{
@ -112,7 +112,7 @@
// } // }
setavatar = this.http.baseUrl + avatar setavatar = this.http.baseUrl + avatar
}else{ }else{
setavatar='' setavatar=avatar
} }
if(sex){ if(sex){
sexdata=this.sexList.filter(item=>item.value==sex)[0].label; sexdata=this.sexList.filter(item=>item.value==sex)[0].label;

@ -217,6 +217,11 @@
url: `./crowdsourcingdetails?id=${id}` url: `./crowdsourcingdetails?id=${id}`
}) })
}, },
signupdetails(taskid) {
uni.navigateTo({
url: `/pages/index/testcrowdsourc/crowdsourcingdetails?id=${taskid}`
})
}
}, },
// //
onReachBottom() { onReachBottom() {

@ -2,7 +2,8 @@ import comstemutil from "./comstemutil";
//es6 //es6
// const baseUrl = 'http://192.168.0.229:9999'; // const baseUrl = 'http://192.168.0.229:9999';
const baseUrl = 'https://www.bjkeyware.com/test-api'; // const baseUrl = 'https://www.bjkeyware.com/test-api';
const baseUrl = 'https://www.bjkeyware.com/prod-api';
// const baseUrl = 'http://172.16.36.180:9999'; // const baseUrl = 'http://172.16.36.180:9999';
// const baseUrl = 'https://www.bjkeyware.com/prod-api'; // const baseUrl = 'https://www.bjkeyware.com/prod-api';

Loading…
Cancel
Save