diff --git a/pages.json b/pages.json index 1fd57af..ad1b144 100644 --- a/pages.json +++ b/pages.json @@ -36,12 +36,23 @@ "enablePullDownRefresh": true } }, + { "path": "pages/finance/finance", "style": { - "navigationBarTitleText": "金融" + "navigationBarTitleText": "金融理财", + "navigationStyle": "custom" } }, + +{ + "path":"pages/finance/production", + "style": { + "navigationBarTitleText": "金融产品详情", + "navigationStyle": "custom" + } + }, + { "path": "pages/register/register", "style": { @@ -100,6 +111,11 @@ } } } + + + + + ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/pages/finance/finance.vue b/pages/finance/finance.vue index a0d95b0..fadfd61 100644 --- a/pages/finance/finance.vue +++ b/pages/finance/finance.vue @@ -1,10 +1,225 @@ - + /* 内容滚动区域 */ + .content-container { + width: 100%; + + .searchFilter { + background-color: transparent; + + .search { + padding: 20rpx 42rpx 0; + + } + } + + .product-list { + padding: 20rpx 30rpx; + + .product-item { + background-color: #fff; + border-radius: 20rpx; + padding: 30rpx; + margin-bottom: 20rpx; + box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05); + + .product-header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 20rpx; + + .product-name { + font-size: 32rpx; + font-weight: 600; + color: #333; + margin-bottom: 15rpx; + } + + .product-rate { + font-size: 28rpx; + color: #ff6b6b; + font-weight: 500; + margin-bottom: 20rpx; + } + } + + .product-intro { + font-size: 26rpx; + color: #666; + line-height: 1.5; + margin-bottom: 20rpx; + } + + .product-detail-link { + font-size: 24rpx; + color: #458cf9; + text-align: right; + } + } + + .box-div { + padding: 30rpx 0rpx; + } + } + } + + + } + \ No newline at end of file diff --git a/pages/finance/production.vue b/pages/finance/production.vue new file mode 100644 index 0000000..8fe3a05 --- /dev/null +++ b/pages/finance/production.vue @@ -0,0 +1,239 @@ + + + + + \ No newline at end of file