Commit b536ed2d by honghong

判断

parent 6c7ad2f9
...@@ -24,15 +24,15 @@ ...@@ -24,15 +24,15 @@
<view class="">预算金额</view> <view class="">预算金额</view>
<view class="">{{detailData.budget}}</view> <view class="">{{detailData.budget}}</view>
</view> </view>
<view class="content-photograph"> <view class="content-photograph" v-if="detailData && detailData.pictureList && detailData.pictureList.length">
<view class="">上传图片 <view class="">上传图片
</view> </view>
<view class="content-photograph-photo"> <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> :key="index"></image>
</view> </view>
</view> </view>
<view class="content-frequency"> <view class="content-frequency" v-if="detailData && detailData.videoList && detailData.videoList.length">
<view class=""> <view class="">
上传视频 上传视频
</view> </view>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
:show-fullscreen-btn='false'></video> :show-fullscreen-btn='false'></video>
</view> </view>
</view> </view>
<view class="content-voice"> <view class="content-voice" v-if="detailData && detailData.voiceList && detailData.voiceList.length">
<view class=""> <view class="">
语音描述 语音描述
</view> </view>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</button> </button>
<view class="content-in-info-r"> <view class="content-in-info-r">
<view class="content-in-info-r-t baiyin-flex"> <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" /> <input v-else confirm-type="确定" @confirm="inputNameConfirm" maxlength="15" type="text" value="用户名称1" />
<image src="@/static/icon/my02.png" mode="" @click="nameDisabled = !nameDisabled"></image> <image src="@/static/icon/my02.png" mode="" @click="nameDisabled = !nameDisabled"></image>
</view> </view>
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
globalData: getApp().globalData, globalData: getApp().globalData,
scrollTopHeader: 0, scrollTopHeader: 0,
nameDisabled: true, nameDisabled: true,
nickname:'zhangsan', nickname:this.$store.state.login.userInfo.user.nickname,
mobile:'',//手机号 mobile:'',//手机号
list: [ list: [
{ {
...@@ -126,7 +126,6 @@ export default { ...@@ -126,7 +126,6 @@ export default {
onLoad() { onLoad() {
console.log(this.$store.state.login.userInfo.user.nickname,'D撒') console.log(this.$store.state.login.userInfo.user.nickname,'D撒')
let mobile = uni.getStorageSync('mobile') let mobile = uni.getStorageSync('mobile')
console.log(mobile,'手机号')
this.mobile = mobile this.mobile = mobile
}, },
methods: { 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