diff --git a/pages.json b/pages.json index ae7d364..74171cc 100644 --- a/pages.json +++ b/pages.json @@ -93,6 +93,26 @@ } } }, + { + "path": "videoDetail/videoDetail", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, + { + "path": "myFlower/myFlower", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, { "path": "news/news", "style": { @@ -134,6 +154,36 @@ } } }, + { + "path": "pay/pay", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, + { + "path": "buyPoint/buyPoint", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, + { + "path": "pointGoods/pointGoods", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, { "path": "msg/msg", "style": { diff --git a/pages_app/buyPoint/buyPoint.vue b/pages_app/buyPoint/buyPoint.vue index 3c07e74..9874d05 100644 --- a/pages_app/buyPoint/buyPoint.vue +++ b/pages_app/buyPoint/buyPoint.vue @@ -1,14 +1,318 @@ - + // 混合器 + @mixin flex-center { + display: flex; + align-items: center; + justify-content: center; + } + + @mixin flex-between { + display: flex; + align-items: center; + justify-content: space-between; + + } + + .buy-point-page { + height: calc(100vh - 140rpx); + background-color: $bg-color; + overflow: hidden; // 隐藏滚动条 + + .bar{ + width:100%; + height: 20rpx; + background:#eeeeee; + } + } + + .status-bar { + height: 44rpx; + background-color: $white; + @include flex-between; + padding: 0 30rpx; + font-size: 24rpx; + color: $text-primary; + + .status-left { + display: flex; + align-items: center; + gap: 20rpx; + + .time { + font-weight: 500; + } + + .app-icons { + display: flex; + gap: 8rpx; + + .app-icon { + width: 24rpx; + height: 24rpx; + border-radius: 4rpx; + @include flex-center; + font-size: 16rpx; + color: $white; + + &.blue { background-color: #007aff; } + &.red { background-color: #ff3b30; } + &.red-white { background-color: #ff3b30; } + } + } + } + + .status-right { + display: flex; + align-items: center; + gap: 20rpx; + + .network-info, + .signal, + .wifi, + .battery { + font-size: 22rpx; + } + } + } + + .header { + height: 88rpx; + background-color: $white; + @include flex-between; + padding: 0 30rpx; + border-bottom: 1rpx solid $border-color; + + .header-left { + .back-btn { + font-size: 48rpx; + color: $theme-color; + font-weight: bold; + } + } + + .header-center { + .title { + font-size: 36rpx; + color: $theme-color; + font-weight: bold; + } + } + } + + .main-content { + padding: 40rpx 0rpx; + + .page-title { + font-size: 36rpx; + color: $text-primary; + font-weight: normal; + padding:0 30rpx; + margin-bottom: 60rpx; + text-align: left; + } + + .package-grid { + display: grid; + padding:0 30rpx; + grid-template-columns: repeat(3, 1fr); + gap: 30rpx; + margin-bottom: 80rpx; + + // 第一行3个,第二行2个 + + + .package-item { + height: 120rpx; + border: 2rpx solid $teal-color; + border-radius: 16rpx; + @include flex-center; + background-color: $white; + transition: all 0.3s ease; + cursor: pointer; + + &.active { + background-color: $teal-color; + border-color: $teal-color; + + .package-points { + color: $white; + } + } + + .package-points { + font-size: 36rpx; + color: $teal-color; + font-weight: normal; + } + } + } + + .amount-section { + .amount-row { + @include flex-between; + padding: 30rpx; + + + .amount-label { + font-size: 32rpx; + color: $text-primary; + font-weight: normal; + } + + .amount-value { + font-size: 36rpx; + color: $theme-color; + font-weight: normal; + } + } + } + } + + .bottom-actions { + position: fixed; + bottom: 0; + left: 0; + right: 0; + background-color: $white; + + z-index: 100; + + .buy-btn { + background-color: $teal-color; + + height: 88rpx; + @include flex-center; + cursor: pointer; + + .btn-text { + color: $white; + font-size: 32rpx; + + } + } + } + \ No newline at end of file diff --git a/pages_app/myFlower/myFlower.vue b/pages_app/myFlower/myFlower.vue new file mode 100644 index 0000000..0242df2 --- /dev/null +++ b/pages_app/myFlower/myFlower.vue @@ -0,0 +1,190 @@ + + + + + diff --git a/pages_app/pay/pay.vue b/pages_app/pay/pay.vue new file mode 100644 index 0000000..520926d --- /dev/null +++ b/pages_app/pay/pay.vue @@ -0,0 +1,360 @@ + + + + + diff --git a/pages_app/pointGoods/pointGoods.vue b/pages_app/pointGoods/pointGoods.vue new file mode 100644 index 0000000..3732c48 --- /dev/null +++ b/pages_app/pointGoods/pointGoods.vue @@ -0,0 +1,318 @@ + + + + + diff --git a/pages_app/videoDetail/videoDetail.vue b/pages_app/videoDetail/videoDetail.vue new file mode 100644 index 0000000..af3afca --- /dev/null +++ b/pages_app/videoDetail/videoDetail.vue @@ -0,0 +1,385 @@ + + + + + \ No newline at end of file diff --git a/static/tishi.png b/static/tishi.png new file mode 100644 index 0000000..25f68a3 Binary files /dev/null and b/static/tishi.png differ diff --git a/static/weixin.png b/static/weixin.png new file mode 100644 index 0000000..2cdae4a Binary files /dev/null and b/static/weixin.png differ diff --git a/static/yue.png b/static/yue.png new file mode 100644 index 0000000..c4dbbce Binary files /dev/null and b/static/yue.png differ