Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xinrenli-app
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑云飞
xinrenli-app
Commits
b536ed2d
Commit
b536ed2d
authored
Apr 06, 2023
by
honghong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断
parent
6c7ad2f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
demand/index/index.vue
+4
-4
pages/my/index.vue
+2
-3
No files found.
demand/index/index.vue
View file @
b536ed2d
...
@@ -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>
...
...
pages/my/index.vue
View file @
b536ed2d
...
@@ -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
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment