7.10 增加登录页面,事件详情接口对接,我的点赞,关注收藏页面搭建,接口对接

This commit is contained in:
尚政杰
2025-07-10 18:08:16 +08:00
parent c4267a0e27
commit 58b3414bdd
356 changed files with 7710 additions and 978 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../common/assets.js"),o={data:()=>({navH:e.inject("navHeight"),contentTop:"",categoryList:["分钟线","分时图","日K线"],selectCategory:0}),onLoad(){this.contentTop=this.navH+70/750*e.inject("windowWidth")},methods:{clickCategoryItem(e){this.selectCategory!=e&&(this.selectCategory=e)}}};if(!Array){e.resolveComponent("navBar")()}Math;const c=e._export_sfc(o,[["render",function(o,c,r,s,a,n){return{a:e.p({leftText:"科锐国际(300662.SZ)"}),b:t._imports_0,c:e.f(a.categoryList,((t,o,c)=>e.e({a:e.t(t),b:a.selectCategory==o},(a.selectCategory,{}),{c:e.n("item relative "+(a.selectCategory==o?"select":"")),d:o,e:e.o((e=>n.clickCategoryItem(o)),o)}))),d:e.s("top:"+a.navH+"px;"),e:e.s("top:"+a.contentTop+"px;")}}]]);wx.createPage(c);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "",
"usingComponents": {
"nav-bar": "../../../components/navBar/navBar"
}
}

View File

@@ -0,0 +1 @@
<view><nav-bar wx:if="{{a}}" u-i="42054871-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="tabC fixed" style="{{d}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="d" class="{{item.c}}" bindtap="{{item.e}}">{{item.a}} <view wx:if="{{item.b}}" class="line absolute"></view></view></view><view class="contentC fixed" style="{{e}}"><view class="section">关联描述</view><view class="des">全球原油运输巨头VLCC运力规模全球第一直接受益于霍尔木兹海峡地缘风险带来的运价上涨及风险溢价。</view></view></view>

View File

@@ -0,0 +1 @@
.topBg{top:0;left:0;width:100%;height:auto}.tabC{background-color:#fff;margin-top:10rpx;left:0;right:0;border-radius:20rpx 20rpx 0 0}.tabC .item{display:inline-block;padding:0 30rpx;line-height:60rpx;font-size:28rpx;font-weight:500;color:#42485b}.tabC .item.select{font-weight:700;color:#f97316}.tabC .item.select .line{background-color:#f97316;left:calc((100% - 50rpx)/2);bottom:0;width:50rpx;height:2rpx}.contentC{background-color:#fff;left:0;right:0;bottom:0}.contentC .section{padding:0 28rpx;line-height:80rpx;font-size:32rpx;font-weight:700;color:#222}.contentC .des{padding:0 30rpx;font-size:24rpx;font-weight:500;color:#666}