Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uni-zijinjianguan-staff-wechat
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
李玉杰
uni-zijinjianguan-staff-wechat
Commits
c6871225
Commit
c6871225
authored
Dec 03, 2024
by
honghong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
ee688964
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
71 additions
and
11 deletions
+71
-11
components/custom/dynamics.vue
+2
-2
contract/index/index.vue
+8
-0
homePage/demand/detail.vue
+5
-3
pages/login/index.vue
+56
-6
No files found.
components/custom/dynamics.vue
View file @
c6871225
...
...
@@ -5,7 +5,7 @@
<image
:src=
"item"
mode=
"aspectFit"
class=
""
v-for=
"(item,index) in itemDetail.imgs"
:key=
"index"
></image>
</view>
<image
:src=
"itemDetail.imgs[0]"
mode=
"aspectFi
t
"
class=
"bg"
v-else
></image>
<image
:src=
"itemDetail.imgs[0]"
mode=
"aspectFi
ll
"
class=
"bg"
v-else
></image>
<view
class=
""
style=
"padding: 20rpx;"
>
<!--
<view
class=
"dynamic-title"
>
{{
itemDetail
.
forumTitle
}}
</view>
-->
...
...
@@ -24,7 +24,7 @@
src=
"https://img0.baidu.com/it/u=1893171979,2260795920&fm=253&fmt=auto&app=120&f=JPEG?w=506&h=500"
mode=
"widthFix"
></image>
</view>
-->
<
view
class=
"dynamic-date"
>
{{
itemDetail
.
createTime
}}
</view
>
<
!--
<view
class=
"dynamic-date"
>
{{
itemDetail
.
createTime
}}
</view>
--
>
<view
class=
"d-flex a-center j-sb mt-two"
>
<view
class=
"d-flex a-center "
style=
"width: 100%; justify-content: space-between;"
>
<view
class=
"d-flex a-center"
>
...
...
contract/index/index.vue
View file @
c6871225
...
...
@@ -55,6 +55,14 @@
{{
contractInfo
.
area
}}
</view>
</view>
<view
class=
"index-cet-tt"
v-if=
"contractStatus != 1 && contractStatus != 2 && contractStatus != 3"
>
<view
class=
"index-cet-tt-lf"
>
优惠券:
</view>
<view
class=
"index-cet-tt-rg"
>
-
{{
contractInfo
.
discountPrice
||
0
}}
</view>
</view>
<view
class=
"index-cet-tt"
>
<view
class=
"index-cet-tt-lf"
>
付款金额:
...
...
homePage/demand/detail.vue
View file @
c6871225
...
...
@@ -126,7 +126,9 @@
this
.
$refs
.
childPopup
.
show
=
true
;
},
// 回复按钮点击事件
handleOpenRely
(
replyId
,
replyUserId
,
replyUserName
){
handleOpenRely
(
replyId
,
replyUserId
,
replyUserName
,
id
,
commentIdData
){
this
.
dataid
=
id
this
.
commentIdDatas
=
commentIdData
this
.
replyData
=
{
commentId
:
replyId
,
//回复对话的id
userId
:
replyUserId
,
//回复人的id
...
...
@@ -137,13 +139,13 @@
this
.
$refs
.
childPopup
.
show
=
true
;
},
async
handleSubmit
()
{
console
.
log
(
'不仅吗
======'
)
// console.log('
======')
let
params
;
if
(
this
.
isReply
)
{
// 表示回复
params
=
{
forumId
:
this
.
detailData
.
demandId
,
parentCommentId
:
this
.
replyData
.
commentId
,
parentCommentId
:
this
.
dataid
==
'1'
?
this
.
replyData
.
commentId
:
this
.
commentIdDatas
,
repliedId
:
this
.
replyData
.
commentId
,
repliedUserId
:
this
.
replyData
.
userId
,
commentType
:
'demand'
,
...
...
pages/login/index.vue
View file @
c6871225
...
...
@@ -29,8 +29,18 @@
borderRadius: '30rpx',
}">
</u--input>
</view>
</view>
<view
class=
" d-flex a-center"
style=
"margin-top: 10vh;"
>
</view>
<view
class=
"a-center"
style=
"margin-top: 10vh;"
>
<view
class=
"index-cent-btm-xy"
>
<image
@
click=
"clickxy"
v-if=
"dlxz"
src=
"../../static/images/dlxz.png"
mode=
""
></image>
<image
@
click=
"clickxy"
v-else
src=
"../../static/images/dlwxz.png"
mode=
""
></image>
<view
class=
""
>
阅读并同意
<span
@
click=
"handleRead('user')"
>
《用户协议》
</span>
及
<span
@
click=
"handleRead('privacy')"
>
《隐私协议》
</span>
</view>
</view>
<button
class=
"full-button"
@
click=
"handleLogin"
>
登 录
</button>
</view>
...
...
@@ -72,13 +82,37 @@
trigger
:
[
'change'
,
'blur'
],
}
]
},
},
dlxz
:
false
,
}
},
methods
:
{
...
mapActions
([
'wxPhoneLogin'
]),
handleLogin
()
{
...
mapActions
([
'wxPhoneLogin'
]),
clickxy
()
{
this
.
dlxz
=
!
this
.
dlxz
},
handleRead
(
v
){
if
(
v
==
'user'
){
// 用户协议
this
.
$uniGo
.
navigateTo
({
url
:
`/shop/agreement/index`
})
}
else
{
// 隐私协议
this
.
$uniGo
.
navigateTo
({
url
:
`/shop/privacy/index`
})
}
},
handleLogin
()
{
if
(
!
this
.
dlxz
)
{
return
uni
.
showToast
({
title
:
'请先阅读并同意协议!'
,
icon
:
'none'
})
return
}
this
.
wxPhoneLogin
(
this
.
form
)
return
if
(
this
.
form
.
username
)
{
...
...
@@ -153,7 +187,7 @@
background
:
linear-gradient
(
180deg
,
rgba
(
255
,
255
,
255
,
0.96
)
0%
,
rgba
(
255
,
255
,
255
,
0.96
)
81%
,
rgba
(
255
,
255
,
255
,
0.97
)
100%
);
border-radius
:
30
rpx
30
rpx
0
0
;
margin-top
:
-20
rpx
;
padding-bottom
:
30
rpx
;
&-box
{
padding-top
:
80
rpx
;
...
...
@@ -218,5 +252,20 @@
text-align
:
center
;
text-decoration-line
:
underline
;
margin-top
:
80
rpx
;
}
.index-cent-btm-xy
{
display
:
flex
;
align-items
:
center
;
font-weight
:
400
;
font-size
:
22
rpx
;
color
:
#666666
;
margin-bottom
:
22
rpx
;
>image
{
width
:
42
rpx
;
height
:
42
rpx
;
margin-right
:
10
rpx
;
}
}
</
style
>
\ No newline at end of file
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