Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
R
revised-version-h5
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孟庆瑞
revised-version-h5
Commits
ad695a9b
Commit
ad695a9b
authored
Sep 12, 2024
by
jiaoyahui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口
parent
041df610
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
300 additions
and
325 deletions
+300
-325
index.vue
src/views/strategy/index.vue
+300
-325
No files found.
src/views/strategy/index.vue
View file @
ad695a9b
...
@@ -5,19 +5,24 @@
...
@@ -5,19 +5,24 @@
<img
<img
src=
"../../assets/left.png"
src=
"../../assets/left.png"
alt=
""
alt=
""
style=
"width: 3%; height: 5%
;
"
style=
"width: 3%; height: 5%"
@
click=
"tab_oimg"
@
click=
"tab_oimg"
/>
/>
<div
class=
"deta"
>
策略详情
</div>
<div
class=
"deta"
>
策略详情
</div>
</div>
</div>
<span>
{{
this
.
detInfo
.
productName
}}
</span>
<span>
{{
this
.
detInfo
.
numberSubscriptions
}}
⼈订阅
</span>
<span>
{{
this
.
detInfo
.
productName
}}
</span>
<span>
{{
this
.
detInfo
.
numberSubscriptions
}}
⼈订阅
</span>
<p
class=
"tab_user"
>
<p
class=
"tab_user"
>
对热点股票强度深度建模,优选热点持续且潜⼒,持久的成⻓性股票
对热点股票强度深度建模,优选热点持续且潜⼒,持久的成⻓性股票
</p>
</p>
<p></p>
<p></p>
<div>
<div>
<span>
综合胜率:
<span>
{{
this
.
detInfo
.
successPercent
}}
</span></span>
<span
<span
style=
"margin-left: 41px"
>
平均涨幅:
<span>
{{
this
.
detInfo
.
avgIncrease
}}
</span></span>
>
综合胜率:
<span>
{{
this
.
detInfo
.
successPercent
}}
</span></span
>
<span
style=
"margin-left: 41px"
>
平均涨幅:
<span>
{{
this
.
detInfo
.
avgIncrease
}}
</span></span
>
</div>
</div>
<img
<img
:src=
"this.detInfo.url"
:src=
"this.detInfo.url"
...
@@ -36,162 +41,156 @@
...
@@ -36,162 +41,156 @@
<div>
涨跌幅
</div>
<div>
涨跌幅
</div>
</div>
</div>
<div
class=
"p_alog"
>
<div
class=
"p_alog"
>
<div
class=
"oul"
v-for=
"(item,index) in codeName"
:key=
"index"
>
<div
class=
"oul"
v-for=
"(item,
index) in codeName"
:key=
"index"
>
<div
class=
"odiv"
>
<div
class=
"odiv"
>
<div>
{{
item
.
name
}}
</div>
<div>
{{
item
.
name
}}
</div>
<div>
{{
item
.
code
}}
</div>
<div>
{{
item
.
code
}}
</div>
</div>
</div>
<div
class=
"odiv"
>
{{
item
.
createdTime
}}
</div>
<div
class=
"odiv"
>
{{
item
.
createdTime
}}
</div>
<div
class=
"odiv_p"
>
{{
item
.
cost
}}
</div>
<div
class=
"odiv_p"
>
{{
item
.
cost
}}
</div>
<div
class=
"odiv"
>
{{
item
.
profitLossRatio
}}
</div>
<div
class=
"odiv"
>
{{
item
.
profitLossRatio
}}
</div>
</div>
</div>
<div
class=
"user_con"
v-if=
"detInfo.isBuy == 2"
>
<div
class=
"user_con"
v-if=
"detInfo.isBuy == 2"
>
<div
class=
"sent"
>
<div
class=
"sent"
>
<img
<img
src=
"../../assets/sure.png"
src=
"../../assets/sure.png"
style=
"width:8%; height: 36px
style=
"width:8%; height: 36px
margin-left:38%;"
margin-left:38%;"
/>
/>
</div>
</div>
<van-button
type=
"danger"
@
click=
"tab_a"
>
解锁订阅
</van-button>
<van-button
type=
"danger"
@
click=
"tab_a"
>
解锁订阅
</van-button>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"usert_n"
>
<div
class=
"usert_n"
>
<span
@
click=
"whole(detInfo)"
>
全部战绩
</span>
<span
@
click=
"whole(detInfo)"
>
全部战绩
</span>
<img
src=
"../../assets/back.png"
alt=
""
style=
"width: 6px;margin-left: 12px;"
/>
<img
src=
"../../assets/back.png"
alt=
""
style=
"width: 6px; margin-left: 12px"
/>
</div>
</div>
<div
class=
"alogn"
>
<div
class=
"alogn"
>
<div
class=
"cont"
v-for=
"(item,index) in this.detInfo.pcSmartStockInfoVOList"
:key=
"index"
>
<div
<div
class=
"tab_p"
>
class=
"cont"
<img
src=
"../../assets/jian.png"
alt=
""
class=
"tab_img"
>
v-for=
"(item, index) in this.detInfo.pcSmartStockInfoVOList"
<div
class=
"name_u"
>
{{
item
.
code
}}
</div>
:key=
"index"
<div
class=
"user_t"
>
{{
item
.
winRate
}}
</div>
>
<div
class=
"user_se"
>
⼊选最⾼涨幅
</div>
<div
class=
"tab_p"
>
</div>
<img
src=
"../../assets/jian.png"
alt=
""
class=
"tab_img"
/>
<div
class=
"name_u"
>
{{
item
.
code
}}
</div>
<div
class=
"user_t"
>
{{
item
.
winRate
}}
</div>
<div
class=
"user_se"
>
⼊选最⾼涨幅
</div>
</div>
</div>
</div>
</div>
</div>
<img
<img
src=
""
alt=
""
style=
"width: 100%; height: 200px"
/>
src=
""
<div>
alt=
""
<!-- 弹出层 -->
style=
"width: 100%; height: 200px; "
<van-popup
v-model=
"show"
position=
"bottom"
:style=
"
{ height: '70%' }">
/>
<div
class=
"popup-title"
>
<div>
<span
style=
"font-size: 0.5rem; font-weight: bold"
>
热点精选
</span
<!-- 弹出层 -->
><span
style=
"font-size: 0.4rem; color: gray; margin-left: 0.3rem"
<van-popup
v-model=
"show"
position=
"bottom"
:style=
"
{ height: '70%' }">
>
智能策略
</span
<div
class=
"popup-title"
>
>
<span
style=
"font-size: 0.5rem; font-weight: bold"
>
热点精选
</span
<span
style=
"font-size: 0.3rem; color: gray; display: block"
><span
style=
"font-size: 0.4rem; color: gray; margin-left: 0.3rem"
>
热点股票强度深度建模后优选好股票
</span
>
智能策略
</span
>
<span
style=
"font-size: 0.3rem; color: gray; display: block"
>
热点股票强度深度建模后优选好股票
</span
>
</div>
<div
class=
"popup-title"
style=
"margin-bottom: 0.5rem"
>
<span
style=
"font-size: 0.4rem"
>
产品周期
</span>
</div>
<div
style=
"font-size: 0.3rem; height: 3rem; width: 90%; margin: 0 auto"
>
>
<van-radio-group
@
change=
"clickBox"
v-model=
"radio2"
>
</div>
<div
<div
class=
"popup-title"
style=
"margin-bottom: 0.5rem"
>
class=
"checkBox"
<span
style=
"font-size: 0.4rem"
>
产品周期
</span>
v-for=
"(i, index) in checkList"
</div>
:key=
"index"
<div
style=
"font-size: 0.3rem; height: 3rem; width: 90%; margin: 0 auto"
>
<van-radio-group
@
change=
"clickBox"
v-model=
"radio2"
>
<div
class=
"checkBox"
v-for=
"(i, index) in checkList"
:key=
"index"
>
<van-radio
:name=
"index"
icon-size=
"12px"
checked-color=
"#ee0a24"
:value=
"i.point"
>
{{
i
.
countName
}}
</van-radio
><span
class=
"usePoint"
>
{{
i
.
point
}}
</span
><span
class=
"usePointTwo"
>
积分
</span>
</div>
</van-radio-group>
</div>
<div
class=
"checkBoxTwo"
style=
"margin-bottom: 0.5rem; color: black"
>
<span
style=
"font-size: 0.4rem"
>
当前积分
</span
><span
class=
"usePointThree"
>
{{
crmIntegral
}}
</span
><span
class=
"usePointFour"
>
积分
</span>
</div>
<div
v-if=
"ifexchange"
class=
"exchange"
>
<span
@
click=
"sure"
>
立即兑换1
</span>
</div>
<div
v-if=
"!ifexchange"
class=
"exchangeTwo"
>
<span>
立即兑换
</span>
</div>
</van-popup>
<!-- 弹出层 声明-->
<van-popup
v-model=
"po_show"
position=
"bottom"
:style=
"
{}">
<div
class=
"b_user"
v-if=
"is_showlive"
>
<div
class=
"text_p"
>
免责声明
</div>
<div
class=
"user_p"
>
<div
ref=
"scrollContainer"
style=
"overflow-y: auto; height: 200px; position: relative"
@
scroll=
"checkScroll"
>
<!-- 这里是长内容 -->
<p>
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
</p>
</div>
<div>
<!-- 点击 -->
<button
type=
"default"
v-if=
"isshowButton"
@
click=
"is_scrollToTop"
class=
"bu_p"
>
>
<van-radio
下滑至底部并同意
:name=
"index"
</button>
icon-size=
"12px"
<button
checked-color=
"#ee0a24"
type=
"default"
:value=
"i.point"
v-if=
"showButton"
>
{{
i
.
countName
}}
</van-radio
@
click=
"scrollToTop()"
><span
class=
"usePoint"
>
{{
i
.
point
}}
</span
class=
"con_P"
><span
class=
"usePointTwo"
>
积分
</span>
</div>
</van-radio-group>
</div>
<div
class=
"checkBoxTwo"
style=
"margin-bottom: 0.5rem; color: black"
>
<span
style=
"font-size: 0.4rem"
>
当前积分
</span
><span
class=
"usePointThree"
>
{{
crmIntegral
}}
</span
><span
class=
"usePointFour"
>
积分
</span>
</div>
<div
v-if=
"ifexchange"
class=
"exchange"
>
<span
@
click=
"sure"
>
立即兑换1
</span>
</div>
<div
v-if=
"!ifexchange"
class=
"exchangeTwo"
>
<span>
立即兑换
</span>
</div>
</van-popup>
<!-- 弹出层 声明-->
<van-popup
v-model=
"po_show"
position=
"bottom"
:style=
"
{}">
<div
class=
"b_user"
v-if=
"is_showlive"
>
<div
class=
"text_p"
>
免责声明
</div>
<div
class=
"user_p"
>
<div
ref=
"scrollContainer"
style=
"overflow-y: auto; height: 200px; position: relative"
@
scroll=
"checkScroll"
>
>
<!-- 这里是长内容 -->
我已知晓并同意
<p>
</button>
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
这是第哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈啊哈哈哈哈哈哈哈行内容
</p>
</div>
<div>
<!-- 点击 -->
<button
type=
"default"
v-if=
"isshowButton"
@
click=
"is_scrollToTop"
class=
"bu_p"
>
下滑至底部并同意
</button>
<button
type=
"default"
v-if=
"showButton"
@
click=
"scrollToTop()"
class=
"con_P"
>
我已知晓并同意
</button>
</div>
</div>
</div>
</div>
</div>
</van-popup>
</div>
<div></div>
</van-popup>
</div>
<div></div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -201,190 +200,170 @@ export default {
...
@@ -201,190 +200,170 @@ export default {
const
onCdivckLeft
=
()
=>
history
.
back
();
const
onCdivckLeft
=
()
=>
history
.
back
();
return
{
return
{
onCdivckLeft
,
onCdivckLeft
,
productName
:
''
,
productName
:
""
,
};
};
},
},
data
()
{
data
()
{
return
{
return
{
detInfo
:
{},
//'订单详情',
detInfo
:
{},
//'订单详情',
pcSmartStockInfoVOList
:
[],
pcSmartStockInfoVOList
:
[],
detInfo
:
''
,
detInfo
:
""
,
pageNo
:
1
,
pageNo
:
1
,
pageSize
:
10
,
pageSize
:
10
,
codeName
:
[],
codeName
:
[],
detInfo
:
{},
detInfo
:
{},
show
:
false
,
show
:
false
,
tableName
:
"总收益"
,
tableName
:
"总收益"
,
radio2
:
"1"
,
radio2
:
"1"
,
crmIntegral
:
''
,
crmIntegral
:
""
,
checkList
:[],
checkList
:
[],
ifexchange
:
true
,
ifexchange
:
true
,
po_show
:
false
,
po_show
:
false
,
is_showlive
:
false
,
is_showlive
:
false
,
isshowButton
:
true
,
isshowButton
:
true
,
showButton
:
false
,
showButton
:
false
,
scrollThreshold
:
100
,
// 滚动阈值
scrollThreshold
:
100
,
// 滚动阈值
monthNum
:
""
,
monthNum
:
""
,
useIntegrationTotal
:
""
,
useIntegrationTotal
:
""
,
productTypeCode
:
''
productTypeCode
:
""
,
};
};
},
},
created
()
{
created
()
{
// this.detInfo = JSON.parse(this.$route.query.detInfo) ;
// this.detInfo = JSON.parse(this.$route.query.detInfo) ;
// localStorage.getItem('detInfo',this.detInfo)
// localStorage.getItem('detInfo',this.detInfo)
this
.
detInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'detInfo'
))
this
.
detInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
"detInfo"
));
this
.
productType
=
this
.
detInfo
.
productType
this
.
productType
=
this
.
detInfo
.
productType
;
console
.
log
(
this
.
productType
,
'ppp12'
)
console
.
log
(
this
.
productType
,
"ppp12"
);
},
},
mounted
()
{
mounted
()
{
this
.
getselected
()
this
.
getselected
()
;
},
},
methods
:
{
methods
:
{
getselected
(){
getselected
()
{
let
params
=
{
let
params
=
{
productId
:
this
.
detInfo
.
id
,
productId
:
this
.
detInfo
.
id
,
pageNo
:
this
.
pageNo
,
pageNo
:
this
.
pageNo
,
pageSize
:
this
.
pageSize
pageSize
:
this
.
pageSize
,
};
}
this
.
server
.
getselectedToday
(
params
).
then
((
res
)
=>
{
this
.
server
.
getselectedToday
(
params
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
){
this
.
codeName
=
res
.
data
.
data
.
list
;
this
.
codeName
=
res
.
data
.
data
.
list
;
this
.
pageNum
=
res
.
data
.
data
.
pageNum
;
this
.
pageNum
=
res
.
data
.
data
.
pageNum
;
this
.
pageSize
=
res
.
data
.
data
.
pageSize
;
this
.
pageSize
=
res
.
data
.
data
.
pageSize
;
this
.
total
=
res
.
data
.
data
.
total
;
this
.
total
=
res
.
data
.
data
.
total
;
this
.
totalPage
=
res
.
data
.
data
.
totalPage
;
this
.
totalPage
=
res
.
data
.
data
.
totalPage
;
console
.
log
(
this
.
totalPage
,
"pppl"
);
console
.
log
(
this
.
totalPage
,
'pppl'
)
}
}
});
})
},
},
get_elected
(){
get_elected
()
{
localStorage
.
getItem
(
'detInfo'
,
this
.
detInfo
)
localStorage
.
getItem
(
"detInfo"
,
this
.
detInfo
);
let
params
=
{
let
params
=
{
productId
:
this
.
detInfo
.
id
,
productId
:
this
.
detInfo
.
id
,
pageNo
:
2
,
pageNo
:
2
,
pageSize
:
this
.
pageSize
pageSize
:
this
.
pageSize
,
};
}
this
.
server
.
historicalRecord
(
params
).
then
((
res
)
=>
{
this
.
server
.
historicalRecord
(
params
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
){
this
.
codeName
=
res
.
data
.
data
.
list
;
this
.
codeName
=
res
.
data
.
data
.
list
;
this
.
pageNum
=
res
.
data
.
data
.
pageNum
;
this
.
pageNum
=
res
.
data
.
data
.
pageNum
;
this
.
pageSize
=
res
.
data
.
data
.
pageSize
;
this
.
pageSize
=
res
.
data
.
data
.
pageSize
;
this
.
total
=
res
.
data
.
data
.
total
;
this
.
total
=
res
.
data
.
data
.
total
;
this
.
totalPage
=
res
.
data
.
data
.
totalPage
;
this
.
totalPage
=
res
.
data
.
data
.
totalPage
;
console
.
log
(
this
.
totalPage
,
"pppl"
);
console
.
log
(
this
.
totalPage
,
'pppl'
)
}
});
}
})
},
},
tab_oimg
:
function
()
{
tab_oimg
:
function
()
{
this
.
$router
.
push
(
"../strategyversion"
);
this
.
$router
.
push
(
"../strategyversion"
);
},
},
whole
:
function
(
detInfo
)
{
whole
:
function
(
detInfo
)
{
// const detInfo = localStorage.getItem('detInfo',this.detInfo)
// const detInfo = localStorage.getItem('detInfo',this.detInfo)
// const get_info = JSON.stringify(de_Info)
// const get_info = JSON.stringify(de_Info)
localStorage
.
setItem
(
'detInfo'
,
JSON
.
stringify
(
detInfo
))
console
.
log
(
detInfo
,
'aaaaaaaaaaaaaa2'
)
this
.
$router
.
push
({
path
:
'../record'
,
query
:
{
detInfo
:
detInfo
}
})
},
tab_a
:
function
(){
console
.
log
(
this
.
detInfo
.
productType
,
'aa'
)
let
params
=
{
productId
:
this
.
detInfo
.
id
,
productTypeCode
:
this
.
detInfo
.
productType
,
}
localStorage
.
setItem
(
"detInfo"
,
JSON
.
stringify
(
detInfo
));
this
.
server
.
detail
(
params
).
then
(
res
=>
{
console
.
log
(
detInfo
,
"aaaaaaaaaaaaaa2"
);
if
(
res
.
data
.
code
==
200
){
this
.
$router
.
push
({
this
.
show
=
true
;
path
:
"../record"
,
this
.
checkList
=
res
.
data
.
data
.
investProductCycles
;
query
:
{
detInfo
:
detInfo
},
this
.
crmIntegral
=
res
.
data
.
data
.
crmIntegral
;
});
}
else
if
(
res
.
data
.
code
==
500
){
},
alert
(
"网络错误,请稍后重试"
);
tab_a
:
function
()
{
}
else
if
(
res
.
data
.
code
==
600
){
console
.
log
(
this
.
detInfo
.
productType
,
"aa"
);
alert
(
res
.
data
.
message
);
let
params
=
{
productId
:
this
.
detInfo
.
id
,
productTypeCode
:
this
.
detInfo
.
productType
,
};
this
.
server
.
detail
(
params
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
)
{
this
.
show
=
true
;
this
.
checkList
=
res
.
data
.
data
.
investProductCycles
;
this
.
crmIntegral
=
res
.
data
.
data
.
crmIntegral
;
}
else
if
(
res
.
data
.
code
==
500
)
{
alert
(
"网络错误,请稍后重试"
);
}
else
if
(
res
.
data
.
code
==
600
)
{
alert
(
res
.
data
.
message
);
}
}
});
})
},
},
checkScroll
()
{
checkScroll
()
{
const
scrollTop
=
this
.
$refs
.
scrollContainer
.
scrollTop
;
const
scrollTop
=
this
.
$refs
.
scrollContainer
.
scrollTop
;
this
.
showButton
=
scrollTop
>
this
.
scrollThreshold
;
this
.
showButton
=
scrollTop
>
this
.
scrollThreshold
;
if
(
this
.
$refs
.
scrollContainer
.
scrollTop
!=
0
)
{
if
(
this
.
$refs
.
scrollContainer
.
scrollTop
!=
0
)
{
this
.
isshowButton
=
false
;
this
.
isshowButton
=
false
;
}
}
},
},
is_scrollToTop
()
{
is_scrollToTop
()
{
this
.
$refs
.
scrollContainer
.
scrollTop
=
0
;
this
.
$refs
.
scrollContainer
.
scrollTop
=
0
;
},
},
scrollToTop
()
{
scrollToTop
()
{
console
.
log
(
this
.
productTypeCode
,
11111
)
console
.
log
(
this
.
productTypeCode
,
11111
);
this
.
$refs
.
scrollContainer
.
scrollTop
!=
0
;
this
.
$refs
.
scrollContainer
.
scrollTop
!=
0
;
this
.
showButton
=
true
;
this
.
showButton
=
true
;
let
params
=
{
let
params
=
{
clientAppType
:
"H5"
,
clientAppType
:
"H5"
,
investProductId
:
this
.
detInfo
.
id
,
investProductId
:
this
.
detInfo
.
id
,
investProductTypeCode
:
this
.
productType
,
//类型
investProductTypeCode
:
this
.
productType
,
//类型
monthNum
:
this
.
monthNum
,
monthNum
:
this
.
monthNum
,
useIntegrationTotal
:
this
.
useIntegrationTotal
useIntegrationTotal
:
this
.
useIntegrationTotal
,
// useIntegrationTotal : this.crmIntegral
// useIntegrationTotal : this.crmIntegral
};
}
this
.
server
.
newcrmqueryproduct
(
params
).
then
((
res
)
=>
{
this
.
server
.
newcrmqueryproduct
(
params
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
){
alert
(
"兑换成功"
);
alert
(
'兑换成功'
)
this
.
$router
.
push
(
"../strategyversion"
);
this
.
$router
.
push
(
'../strategyversion'
)
}
else
if
(
res
.
data
.
code
==
500
)
{
alert
(
1
)
alert
(
"网络错误,请稍后重试"
);
}
else
if
(
res
.
data
.
code
==
500
){
}
else
if
(
res
.
data
.
code
==
600
)
{
alert
(
"网络错误,请稍后重试"
);
alert
(
res
.
data
.
message
);
}
else
if
(
res
.
data
.
code
==
600
){
alert
(
res
.
data
.
message
);
}
}
});
})
},
},
sure
()
{
sure
()
{
this
.
is_showlive
=
true
;
this
.
is_showlive
=
true
;
this
.
show
=
false
;
this
.
show
=
false
;
this
.
po_show
=
true
;
this
.
po_show
=
true
;
},
},
//选择积分
//选择积分
clickBox
(
val
)
{
clickBox
(
val
)
{
if
(
this
.
crmIntegral
>=
this
.
checkList
[
val
].
point
)
{
if
(
this
.
crmIntegral
>=
this
.
checkList
[
val
].
point
)
{
this
.
monthNum
=
this
.
checkList
[
val
].
count
this
.
monthNum
=
this
.
checkList
[
val
].
count
;
this
.
useIntegrationTotal
=
this
.
checkList
[
val
].
point
this
.
useIntegrationTotal
=
this
.
checkList
[
val
].
point
;
this
.
ifexchange
=
true
;
this
.
ifexchange
=
true
;
}
else
{
}
else
{
this
.
ifexchange
=
false
;
this
.
ifexchange
=
false
;
}
}
// this.checkList.forEach((i, index) => {
// this.checkList.forEach((i, index) => {
// if (checkList.val.point == i.id) {
// if (checkList.val.point == i.id) {
// console.log("我的积分", this.crmIntegral >= i.point);
// console.log("我的积分", this.crmIntegral >= i.point);
// if (this.crmIntegral >= this.checkList.val.point) {
// if (this.crmIntegral >= this.checkList.val.point) {
// this.ifexchange = true;
// this.ifexchange = true;
// } else {
// } else {
// this.ifexchange = false;
// this.ifexchange = false;
// }
// }
// }
// }
// });
// });
},
},
},
},
...
@@ -489,9 +468,9 @@ export default {
...
@@ -489,9 +468,9 @@ export default {
font-size
:
0.3rem
;
font-size
:
0.3rem
;
}
}
.oimg
{
.oimg
{
position
:
absolute
;
position
:
absolute
;
right
:
30px
;
right
:
30px
;
top
:
44px
;
top
:
44px
;
}
}
.p_alog
{
.p_alog
{
position
:
relative
;
position
:
relative
;
...
@@ -502,25 +481,24 @@ export default {
...
@@ -502,25 +481,24 @@ export default {
.van-button--normal
{
.van-button--normal
{
padding
:
0
15px
;
padding
:
0
15px
;
font-size
:
14px
;
font-size
:
14px
;
}
}
.user_con
{
.user_con
{
text-align
:
center
;
text-align
:
center
;
/* display: none; */
/* display: none; */
}
}
.usert_n
{
.usert_n
{
font-size
:
0.2rem
;
font-size
:
0.2rem
;
margin-top
:
25px
;
margin-top
:
25px
;
width
:
97%
;
width
:
97%
;
text-align
:
right
;
text-align
:
right
;
}
}
.uaser_a
{
.uaser_a
{
width
:
110px
;
width
:
110px
;
height
:
102px
;
height
:
102px
;
position
:
relative
;
position
:
relative
;
background
:
#fffbe8
;
background
:
#fffbe8
;
/* border: 1px solid red; */
/* border: 1px solid red; */
border-radius
:
6%
;
border-radius
:
6%
;
}
}
.alogn
{
.alogn
{
display
:
flex
;
display
:
flex
;
...
@@ -529,16 +507,15 @@ export default {
...
@@ -529,16 +507,15 @@ export default {
}
}
.cont
{
.cont
{
margin-top
:
20px
;
margin-top
:
20px
;
width
:
95%
;
width
:
95%
;
font-size
:
0.3rem
;
font-size
:
0.3rem
;
}
}
.cont_p
{
.cont_p
{
text-align
:
center
;
text-align
:
center
;
margin-top
:
10px
;
margin-top
:
10px
;
font-size
:
0.3rem
;
font-size
:
0.3rem
;
}
}
.cont_sent
{
.cont_sent
{
margin-top
:
5px
;
margin-top
:
5px
;
font-size
:
0.3rem
;
font-size
:
0.3rem
;
text-align
:
center
;
text-align
:
center
;
...
@@ -558,11 +535,10 @@ export default {
...
@@ -558,11 +535,10 @@ export default {
font-size
:
0.3rem
;
font-size
:
0.3rem
;
}
}
::v-deep
.van-button--danger
{
::v-deep
.van-button--danger
{
color
:
#fff
;
color
:
#fff
;
background-color
:
#ee0a24
;
background-color
:
#ee0a24
;
border
:
1px
solid
#ee0a24
;
border
:
1px
solid
#ee0a24
;
background
:
#e03939
;
background
:
#e03939
;
}
}
.cont
{
.cont
{
height
:
135px
;
height
:
135px
;
...
@@ -579,37 +555,36 @@ export default {
...
@@ -579,37 +555,36 @@ export default {
margin
:
5px
;
margin
:
5px
;
position
:
relative
;
position
:
relative
;
}
}
.jian
{
.jian
{
width
:
90px
;
width
:
90px
;
position
:
absolute
;
position
:
absolute
;
bottom
:
16px
;
bottom
:
16px
;
left
:
8px
;
left
:
8px
;
}
}
.tab_img
{
.tab_img
{
width
:
90px
;
width
:
90px
;
position
:
absolute
;
position
:
absolute
;
bottom
:
16px
;
bottom
:
16px
;
left
:
8px
;
left
:
8px
;
}
}
.name_u
{
.name_u
{
font-size
:
0.3rem
;
font-size
:
0.3rem
;
/* padding-left: 25px; */
/* padding-left: 25px; */
padding-top
:
14px
;
padding-top
:
14px
;
text-align
:
center
;
text-align
:
center
;
}
}
.user_t
{
.user_t
{
font-size
:
0.46rem
;
font-size
:
0.46rem
;
color
:
red
;
color
:
red
;
/* padding-left: 19px; */
/* padding-left: 19px; */
padding-top
:
9px
;
padding-top
:
9px
;
text-align
:
center
;
text-align
:
center
;
}
}
.user_se
{
.user_se
{
font-size
:
0.3rem
;
font-size
:
0.3rem
;
padding-left
:
9px
;
padding-left
:
9px
;
padding-top
:
9px
;
padding-top
:
9px
;
text-align
:
center
;
text-align
:
center
;
}
}
.popup-title
{
.popup-title
{
width
:
90%
;
width
:
90%
;
...
@@ -682,10 +657,10 @@ export default {
...
@@ -682,10 +657,10 @@ export default {
position
:
relative
;
position
:
relative
;
}
}
.text_p
{
.text_p
{
text-align
:
center
;
text-align
:
center
;
font-size
:
0.4rem
;
font-size
:
0.4rem
;
padding-top
:
10px
;
padding-top
:
10px
;
font-weight
:
bolder
;
font-weight
:
bolder
;
}
}
.user_p
{
.user_p
{
padding
:
0.2rem
;
padding
:
0.2rem
;
...
...
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