Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eMall_miniapp
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高宇
eMall_miniapp
Commits
c0768f30
Commit
c0768f30
authored
Jul 31, 2023
by
杨硕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.91isoft.com:90/gaoyu/emall_miniapp
parents
2a367b71
a18deb9e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
9 deletions
+36
-9
index.vue
my/myIntegral/detail/index.vue
+27
-5
index.vue
my/myIntegral/index.vue
+8
-4
activitydetail.vue
pages/activity/activitydetail.vue
+1
-0
No files found.
my/myIntegral/detail/index.vue
View file @
c0768f30
...
@@ -4,24 +4,46 @@
...
@@ -4,24 +4,46 @@
<view
class=
"testTitle"
>
积分变更
</view>
<view
class=
"testTitle"
>
积分变更
</view>
<view
class=
"line"
></view>
<view
class=
"line"
></view>
<view
class=
"testInfo"
>
变更详情
</view>
<view
class=
"testInfo"
>
变更详情
</view>
<view
style=
"display: inline-block;float: right; color: red; margin: 8px 8px 8px 10px;"
>
+200
</view>
<view
style=
"display: inline-block;float: right; color: red; margin: 8px 8px 8px 10px;"
>
<span
v-if=
"integraldetail.type === 0"
>
+
{{
integraldetail
.
integral
}}
</span>
<span
v-if=
"integraldetail.type === 1"
>
-
{{
integraldetail
.
integral
}}
</span>
</view>
<view
class=
"line"
></view>
<view
class=
"line"
></view>
<view
class=
"testInfo"
>
变更时间
</view>
<view
class=
"testInfo"
>
变更时间
</view>
<view
class=
"testInfoOtherRight"
>
2023-07-13 09:30:18
</view>
<view
class=
"testInfoOtherRight"
>
{{
integraldetail
.
modifyTime
}}
</view>
<view
class=
"line"
></view>
<view
class=
"line"
></view>
<view
class=
"testInfo"
>
积分类型
</view>
<view
class=
"testInfo"
>
积分类型
</view>
<view
class=
"testInfoOtherRight"
>
新会员福利
</view>
<view
class=
"testInfoOtherRight"
>
{{
integraldetail
.
styleName
}}
</view>
</view>
</view>
<view
class=
"particulars"
>
<view
class=
"particulars"
>
<view
class=
"testTitle"
>
详情信息
</view>
<view
class=
"testTitle"
>
详情信息
</view>
<view
class=
"line"
></view>
<view
class=
"line"
></view>
<view
class=
"testInfoOtherLeft"
>
商场名称:
天津复悦里
</view>
<view
class=
"testInfoOtherLeft"
>
商场名称:
{{
name
}}
</view>
<view
class=
"line"
></view>
<view
class=
"line"
></view>
<view
class=
"testInfoOtherLeft"
>
通过注册送积分获得200积分
</view>
<view
class=
"testInfoOtherLeft"
>
{{
integraldetail
.
remarks
}}
</view>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
data
()
{
return
{
integraldetail
:
''
,
name
:
''
};
},
onLoad
(
options
){
console
.
log
(
'options'
,
options
)
this
.
integraldetail
=
JSON
.
parse
(
decodeURIComponent
(
options
.
id
))
console
.
log
(
'data'
,
this
.
integraldetail
)
console
.
log
(
'商圈'
,
options
.
name
);
this
.
name
=
options
.
name
},
methods
:{
},
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
my/myIntegral/index.vue
View file @
c0768f30
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<view
class=
"title"
>
积分明细
</view>
<view
class=
"title"
>
积分明细
</view>
<!-- 列表 -->
<!-- 列表 -->
<view
class=
"list"
>
<view
class=
"list"
>
<view
class=
"list-item"
@
click=
"toDetail"
v-for=
"item in integralList"
>
<view
class=
"list-item"
@
click=
"toDetail
(item)
"
v-for=
"item in integralList"
>
<view
class=
"left"
>
<view
class=
"left"
>
<view
class=
"title1"
>
{{
item
.
remarks
}}
</view>
<view
class=
"title1"
>
{{
item
.
remarks
}}
</view>
<view
class=
"title2"
>
{{
businessMessage
.
name
}}
{{
item
.
styleName
}}
</view>
<view
class=
"title2"
>
{{
businessMessage
.
name
}}
{{
item
.
styleName
}}
</view>
...
@@ -50,7 +50,9 @@
...
@@ -50,7 +50,9 @@
page
:
1
,
page
:
1
,
limit
:
20
limit
:
20
},
},
integralList
:
[]
integralList
:
[],
// 商圈名称
name
:
''
}
}
},
},
onShow
()
{
onShow
()
{
...
@@ -66,6 +68,7 @@
...
@@ -66,6 +68,7 @@
// that.ishaveBusiness = true
// that.ishaveBusiness = true
that
.
businessMessage
=
res
.
data
that
.
businessMessage
=
res
.
data
console
.
log
(
"商圈数据"
,
that
.
businessMessage
)
console
.
log
(
"商圈数据"
,
that
.
businessMessage
)
that
.
name
=
that
.
businessMessage
.
name
}
}
})
})
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
@@ -97,9 +100,10 @@
...
@@ -97,9 +100,10 @@
}
}
})
})
},
},
toDetail
()
{
toDetail
(
val
)
{
const
data
=
JSON
.
stringify
(
val
)
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/my/myIntegral/detail/index'
url
:
'/my/myIntegral/detail/index'
+
'?id='
+
encodeURIComponent
(
data
)
+
'&name='
+
this
.
name
})
})
},
},
toRecord
()
{
toRecord
()
{
...
...
pages/activity/activitydetail.vue
View file @
c0768f30
...
@@ -90,6 +90,7 @@ export default {
...
@@ -90,6 +90,7 @@ export default {
this
.
type
=
options
.
type
this
.
type
=
options
.
type
console
.
log
(
"this.type"
,
this
.
type
)
console
.
log
(
"this.type"
,
this
.
type
)
console
.
log
(
'data'
,
this
.
activitydetail
)
console
.
log
(
'data'
,
this
.
activitydetail
)
// 判断从哪个页面跳转详情页
if
(
options
.
type
===
'0'
)
{
if
(
options
.
type
===
'0'
)
{
this
.
activityId
=
this
.
activitydetail
.
id
this
.
activityId
=
this
.
activitydetail
.
id
}
else
{
}
else
{
...
...
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