Commit b536ed2d by honghong

判断

parent 6c7ad2f9
......@@ -24,15 +24,15 @@
<view class="">预算金额</view>
<view class="">{{detailData.budget}}</view>
</view>
<view class="content-photograph">
<view class="content-photograph" v-if="detailData && detailData.pictureList && detailData.pictureList.length">
<view class="">上传图片
</view>
<view class="content-photograph-photo">
<image class="content-photograph-photo-img" src="../../static/logo.png" mode="" v-for="(v ,index) in 5"
<image class="content-photograph-photo-img" :src="v.url" mode="" v-for="(v ,index) in detailData.pictureList"
:key="index"></image>
</view>
</view>
<view class="content-frequency">
<view class="content-frequency" v-if="detailData && detailData.videoList && detailData.videoList.length">
<view class="">
上传视频
</view>
......@@ -43,7 +43,7 @@
:show-fullscreen-btn='false'></video>
</view>
</view>
<view class="content-voice">
<view class="content-voice" v-if="detailData && detailData.voiceList && detailData.voiceList.length">
<view class="">
语音描述
</view>
......
......@@ -9,7 +9,7 @@
</button>
<view class="content-in-info-r">
<view class="content-in-info-r-t baiyin-flex">
<text v-if="nameDisabled">{{$store.state.login.userInfo.user.nickname}}</text>
<text v-if="nameDisabled">{{nickname}}</text>
<input v-else confirm-type="确定" @confirm="inputNameConfirm" maxlength="15" type="text" value="用户名称1" />
<image src="@/static/icon/my02.png" mode="" @click="nameDisabled = !nameDisabled"></image>
</view>
......@@ -93,7 +93,7 @@ export default {
globalData: getApp().globalData,
scrollTopHeader: 0,
nameDisabled: true,
nickname:'zhangsan',
nickname:this.$store.state.login.userInfo.user.nickname,
mobile:'',//手机号
list: [
{
......@@ -126,7 +126,6 @@ export default {
onLoad() {
console.log(this.$store.state.login.userInfo.user.nickname,'D撒')
let mobile = uni.getStorageSync('mobile')
console.log(mobile,'手机号')
this.mobile = mobile
},
methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment