Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fc7f6e3b
authored
Sep 13, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'kuangyq_v2.10.0' of
http://192.168.3.233:8090/saas/mini-program/ai…
…-card into kuangyq_v2.10.0
2 parents
d1600036
927a9d8d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
pages/addTransform/addTransform/addTransform.js
pages/addTransform/addTransform/addTransform.wxml
pages/addTransform/components/Card/Card.js
pages/addTransform/addTransform/addTransform.js
View file @
fc7f6e3
...
@@ -116,7 +116,6 @@ Page({
...
@@ -116,7 +116,6 @@ Page({
wx
.
$util
.
showToast
(
'敬请期待'
)
wx
.
$util
.
showToast
(
'敬请期待'
)
return
true
return
true
}
}
console
.
log
(
e
.
detail
)
wx
.
$router
.
go
(
'addTransformDetail'
,
{
proName
:
obj
.
proName
,
attrName
:
obj
.
detailAttrName
})
wx
.
$router
.
go
(
'addTransformDetail'
,
{
proName
:
obj
.
proName
,
attrName
:
obj
.
detailAttrName
})
},
},
...
...
pages/addTransform/addTransform/addTransform.wxml
View file @
fc7f6e3
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<view class="tips">预估收益根据您的新车销量 {{ actualForm.sales || 0 }}台 测算所得</view>
<view class="tips">预估收益根据您的新车销量 {{ actualForm.sales || 0 }}台 测算所得</view>
</view>
</view>
<view wx:for="{{cardList}}" wx:key="index">
<view wx:for="{{cardList}}" wx:key="index">
<card cardForm="{{item}}" actualForm="{{actualForm}}"
sales="{{sales
}}" bindclick="handleCardClick"></card>
<card cardForm="{{item}}" actualForm="{{actualForm}}"
tagIndex="{{tagIndex
}}" bindclick="handleCardClick"></card>
</view>
</view>
</view>
</view>
</add-tab-view>
</add-tab-view>
...
...
pages/addTransform/components/Card/Card.js
View file @
fc7f6e3
...
@@ -15,9 +15,15 @@ Component({
...
@@ -15,9 +15,15 @@ Component({
actualForm
:
{
actualForm
:
{
type
:
Object
,
type
:
Object
,
observer
(
n
)
{
observer
(
n
)
{
this
.
setData
({
this
.
setData
({
actualForm
:
n
actualForm
:
n
})
})
this
.
calcProfit
()
}
},
tagIndex
:
{
type
:
Number
,
observer
(
n
)
{
this
.
calcProfit
()
this
.
calcProfit
()
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment