1 line
10 KiB
Plaintext
1 line
10 KiB
Plaintext
<view><nav-bar wx:if="{{a}}" u-i="c7f5c964-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="searchC fixed flex" style="{{g}}"><image class="icon" src="{{c}}" mode="widthFix"></image><input class="flex1" type="text" placeholder="输入股票代码或名称" placeholder-style="color:#eeeeee" confirm-type="search" bindconfirm="{{d}}" value="{{e}}" bindinput="{{f}}"/></view><scroll-view scroll-y class="stockDetailsC fixed" style="{{x}}"><view><view style="display:grid;grid-template-columns:repeat(3, 1fr);gap:16rpx;padding:20rpx"><view wx:for="{{h}}" wx:for-item="item" wx:key="e" style="padding:20rpx 26rpx 26rpx 35rpx;border:1rpx dashed #777777;overflow:hidden;position:relative"><image style="position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%" src="{{item.a}}" mode="aspectFill"></image><view style="position:relative;z-index:1"><view style="font-size:24rpx;color:#777777;font-weight:500">{{item.b}}</view><view style="{{'font-size:30rpx;margin-top:10rpx;font-weight:bold' + ';' + ('color:' + item.d)}}">{{item.c}}</view></view></view></view><view style="display:grid;grid-template-columns:repeat(3, 1fr);gap:16rpx;margin:0 20rpx"><view wx:for="{{i}}" wx:for-item="item" wx:key="g" bindtap="{{item.f}}" style="{{'border:1rpx solid #D2D2D2;padding:12rpx' + ';' + ('border:' + item.h)}}"><view style="{{'font-size:24rpx;color:#070707;font-weight:bold;text-align:center' + ';' + ('color:' + item.b + ';' + ('background-color:' + item.c))}}">{{item.a}}</view><view style="{{'font-size:20rpx;font-weight:400;text-align:center' + ';' + ('color:' + item.e)}}">{{item.d}}</view></view></view><view style="display:grid;grid-template-columns:repeat(5, 1fr);gap:10rpx;background-color:#FAFAFC;line-height:60rpx;margin:0 20rpx;margin-top:20rpx"><view wx:for="{{j}}" wx:for-item="item" wx:key="b" style="color:#666666;font-size:20rpx;font-weight:500;text-align:center">{{item.a}}</view></view><view wx:for="{{k}}" wx:for-item="obj" bindtap="{{obj.b}}" style="{{'display:grid;grid-template-columns:repeat(5, 1fr);gap:10rpx;min-height:60rpx;margin:0 20rpx' + ';' + ('background-color:' + obj.c)}}"><view wx:for="{{obj.a}}" wx:for-item="item" wx:key="d" style="{{'padding:10rpx 0;color:#666666;font-size:20rpx;font-weight:500;text-align:center;display:flex;justify-content:center;align-items:center;flex-direction:column' + ';' + ('color:' + item.e)}}"><view>{{item.a}}</view><view wx:if="{{item.b}}" style="color:#666666;font-size:20rpx;font-weight:500">{{item.c}}</view></view></view><view bindtap="{{m}}" style="display:flex;align-items:center;justify-content:center;height:80rpx"><view style="font-size:24rpx;color:#3D455C;font-weight:500">查看更多</view><image style="width:10rpx;height:19rpx;margin-left:20rpx" src="{{l}}" mode="widthFix"></image></view><view style="height:1rpx;margin:0 20rpx;background-color:#E7E7E7"></view><view style="height:78rpx;display:flex;align-items:center;margin:0 20rpx"><image style="width:40rpx;height:40rpx" src="{{n}}" mode="widthFix"></image><view style="font-size:28rpx;color:#2B2B2B;font-weight:bold;flex:1;margin-left:10rpx">异动监控 </view><view bindtap="{{p}}" style="border:1rpx solid #DCDCDC;border-radius:5rpx;padding:2rpx 10rpx;display:flex;align-items:center;justify-content:center;margin:0 10rpx"><view style="color:#888888;font-size:22rpx;font-weight:500">全部</view><image style="width:11rpx;height:6rpx;margin-left:40rpx" src="{{o}}" mode="widthFix"></image></view><view bindtap="{{s}}" style="border:1rpx solid #DCDCDC;border-radius:5rpx;padding:2rpx 10rpx;display:flex;align-items:center;justify-content:center"><view style="color:#888888;font-size:22rpx;font-weight:500">{{q}}</view><image style="width:11rpx;height:6rpx;margin-left:20rpx" src="{{r}}" mode="widthFix"></image></view></view><view style="height:400rpx;display:flex;align-items:center;justify-content:center;background-color:red"> 折线图占位 </view><view style="height:1rpx;margin:0 20rpx;background-color:#E7E7E7"></view><view style="height:88rpx;display:flex;align-items:center;margin:0 20rpx"><image style="width:40rpx;height:40rpx" src="{{t}}" mode="widthFix"></image><view style="font-size:28rpx;color:#2B2B2B;font-weight:bold;flex:1;margin-left:10rpx"> 板块异动明细 </view></view><view wx:for="{{v}}" wx:for-item="item" wx:key="p" bindtap="{{item.q}}" style="margin:20rpx;margin-top:0;background-color:#FAFAFC;border-radius:10rpx;overflow:hidden;padding:20rpx 30rpx;font-weight:500"><view style="color:#888888;font-size:20rpx">{{item.a}}</view><view style="display:flex;align-items:center;margin-top:10rpx"><view style="color:#2B2B2B;font-weight:bold;font-size:26rpx;margin-right:10rpx">{{item.b}}</view><view style="{{'color:' + item.e + ';' + ('font-size:' + '20rpx') + ';' + ('border:' + item.f) + ';' + ('border-radius:' + '15rpx') + ';' + ('height:' + '30rpx') + ';' + ('display:' + 'flex') + ';' + ('align-items:' + 'center') + ';' + ('justify-content:' + 'center') + ';' + ('padding:' + '0 10rpx') + ';' + ('box-sizing:' + 'border-box')}}"><image style="{{'width:18rpx;height:auto' + ';' + ('filter:' + item.c)}}" src="{{w}}" mode="widthFix"></image><view style="margin-left:10rpx">{{item.d}}</view></view><view style="flex:1;font-size:22rpx;text-align:right"><text style="color:#71675D">板块均涨</text><text style="{{'color:' + item.h + ';' + ('font-weight:' + 'bold') + ';' + ('margin-left:' + '5rpx') + ';' + ('margin-right:' + '25rpx')}}">{{item.g}}% </text><text style="{{'color:' + item.j + ';' + ('font-weight:' + 'bold')}}">{{item.i}}涨 </text><text style="color:#888888;margin:0 5rpx">/</text><text style="{{'color:' + item.l + ';' + ('font-weight:' + 'bold')}}">{{item.k}}跌 </text></view></view><view style="display:grid;grid-template-columns:repeat(3, 1fr);gap:20rpx;font-size:22rpx;color:#71675D;font-weight:500;margin-top:15rpx"><view style="text-align:left"><text>评分</text><text style="color:#EC3440;font-weight:bold;margin-left:10rpx">{{item.m}}</text></view><view style="text-align:center"><text>超额收益</text><text style="color:#EC3440;font-weight:bold;margin-left:10rpx">+ 0%</text></view><view wx:if="{{item.n}}" style="text-align:right"><text>涨停比</text><text style="color:#EC3440;font-weight:bold;margin-left:10rpx">{{item.o}}</text></view></view></view><view style="height:25rpx"></view></view></scroll-view><uni-popup wx:if="{{C}}" class="r" u-s="{{['d']}}" u-r="typePopup" u-i="c7f5c964-1" bind:__l="__l" u-p="{{C}}"><view class="detailPopup"><view style="height:120rpx;display:flex;align-items:center;justify-content:center;font-size:28rpx;font-weight:500"><view style="color:#727A8E;padding:0 25rpx" bindtap="{{y}}">取消</view><view style="flex:1;text-align:center;color:#333333;font-size:36rpx;font-weight:bold">选择分类 </view><view style="color:#D79412;padding:0 25rpx" bindtap="{{z}}">确定</view></view><view wx:for="{{A}}" wx:for-item="item" wx:key="c"><view style="height:1rpx;background-color:#EAEAEA;margin:0 20rpx"></view><view style="display:flex;align-items:center;justify-content:center;height:80rpx"><image style="width:26rpx;height:26rpx;margin-right:18rpx" src="{{item.a}}" mode="aspectFit"></image><view style="min-width:100rpx;text-align:center;font-size:24rpx;font-weight:500;color:#070707">{{item.b}}</view></view></view></view></uni-popup><uni-popup wx:if="{{H}}" class="r" u-s="{{['d']}}" u-r="datePopup" u-i="c7f5c964-2" bind:__l="__l" u-p="{{H}}"><view class="detailPopup"><view style="height:120rpx;display:flex;align-items:center;justify-content:center;font-size:28rpx;font-weight:500"><view style="color:#727A8E;padding:0 25rpx" bindtap="{{D}}">取消</view><view style="flex:1;text-align:center;color:#333333;font-size:36rpx;font-weight:bold">选择日期 </view><view style="color:#D79412;padding:0 25rpx" bindtap="{{E}}">确定</view></view><view style="margin:0 38rpx;padding-bottom:38rpx"><l-c-calendar2 binddateChange="{{F}}" u-i="c7f5c964-3,c7f5c964-2" bind:__l="__l"></l-c-calendar2></view></view></uni-popup><uni-popup wx:if="{{T}}" class="r" u-s="{{['d']}}" u-r="detailPopup" u-i="c7f5c964-4" bind:__l="__l" u-p="{{T}}"><view class="detailPopup" style="height:550rpx"><view style="height:120rpx;display:flex;align-items:center;justify-content:center;font-size:28rpx;font-weight:500"><view style="color:#727A8E;width:60rpx"></view><view style="flex:1;text-align:center;color:#333333;font-size:36rpx;font-weight:bold">详情 </view><view style="color:#D79412;width:60rpx;display:flex;align-items:center;justify-content:center" bindtap="{{J}}"><image style="width:20rpx;height:20rpx" src="{{I}}" mode="widthFix"></image></view></view><view style="height:1rpx;margin:0 20rpx;background-color:#E7E7E7"></view><view style="padding:0 25rpx;box-sizing:border-box;height:45rpx;margin:0 45rpx;margin-top:15rpx;background-color:#FAFAFC"><view style="display:flex;align-items:center;height:100%"><view style="color:#666666;font-weight:500;font-size:24rpx;margin-right:10rpx">相关股票 </view><view style="flex:1;font-size:22rpx;text-align:right"><text style="color:#71675D">板块均涨</text><text style="{{'color:' + L + ';' + ('font-weight:' + 'bold') + ';' + ('margin-left:' + '10rpx') + ';' + ('margin-right:' + '20rpx')}}">{{K}}%</text><text style="{{'color:' + N + ';' + ('font-weight:' + 'bold')}}">{{M}}涨 </text><text style="color:#888888;margin:0 5rpx">/</text><text style="{{'color:' + P + ';' + ('font-weight:' + 'bold')}}">{{O}}跌 </text><text style="color:#71675D;margin-left:20rpx">涨停比</text><text style="color:#EC3440;font-weight:bold;margin-left:10rpx">{{Q}}</text></view></view></view><scroll-view scroll-y="true" show-scrollbar="false" style="height:360rpx"><view wx:for="{{R}}" wx:for-item="item" wx:key="e" style="{{'padding:0 25rpx;box-sizing:border-box;height:45rpx;margin:0 45rpx;display:flex;align-items:center;font-weight:500' + ';' + ('background-color:' + item.f)}}"><view style="color:#222222;font-size:24rpx;font-weight:bold">{{item.a}}</view><view style="flex:1;color:#888888;font-size:20rpx;margin:0 20rpx">{{item.b}}</view><view style="{{'color:' + item.d + ';' + ('font-size:' + '22rpx') + ';' + ('font-weight:' + 'bold')}}">{{item.c}}</view></view></scroll-view></view></uni-popup></view> |