• uniapp 仿喜茶小程序前端模板(支持小程序、网页、app)


    uniapp仿喜茶小程序前端模板

    兼容:网页、app、小程序

    部分截图

     部分代码

    1. <template>
    2. <view class="">
    3. <uy-swiper :list="slideshowList" :height="275" :isIndicatorLight="false">uy-swiper>
    4. <view class="uy-m-l-30 uy-m-r-30 uy-m--t-30">
    5. <view class="uy-rel uy-bg-ffffff z-index1 uy-b-r-20 uy-flex uy-h-370 uy-flex-around uy-bs-000000">
    6. <view class="" v-for="(item,index) in $mConstDataConfig.indexList1" :key="index" @tap="$openPage({name: item.url, query: item.params})">
    7. <view class="uy-w-m uy-m-a">
    8. <uy-image width="120" height="120" :src="item.icon">uy-image>
    9. view>
    10. <view class="uy-text-c uy-m-10 uy-font-36 uy-font-w-600">{{item.name || ''}}view>
    11. <view class="uy-text-c uy-font-24 uy-m-10">{{item.desc || ''}}view>
    12. view>
    13. <view class="uy-abs uy-l-0 uy-r-0 uy-m-a uy-w-1 uy-height-280 uy-bg-F2F2F2">view>
    14. view>
    15. <view class="uy-flex uy-flex-between uy-m-t-30 uy-h-146">
    16. <view class="uy-flex-1 uy-h-i uy-m-r-20 uy-bg-EAEBEC uy-b-r-20 uy-flex uy-flex-center uy-m-l-r" v-for="(item,index) in $mConstDataConfig.indexList2" :key="index">
    17. <view class="">
    18. <view class="uy-flex uy-flex-center">
    19. <uy-image width="48" height="48" :src="item.icon">uy-image>
    20. <view class="uy-m-l-10">{{item.name || ''}}view>
    21. view>
    22. <view class="uy-color-AAAAAA uy-font-24 uy-m-t-10 uy-text-c">{{item.desc || ''}}view>
    23. view>
    24. view>
    25. view>
    26. <view class="uy-flex uy-flex-between uy-h-130 uy-m-t-30">
    27. <view class="uy-w-p-78" @tap="$openPage('integralMall')">
    28. <view>我的积分 22view>
    29. <view class="uy-font-24 uy-m-t-16 uy-color-7F7F7F">可兑换喜茶券和丰富灵感周边view>
    30. view>
    31. <view class="uy-w-p-22 uy-text-c uy-br-F2F2F2-l" @tap="$openPage('userCode')">
    32. <view class="uy-w-m uy-m-a">
    33. <uy-image width="48" height="48" :src="$mAssetsPath.index5">uy-image>
    34. view>
    35. <view class="uy-font-24 uy-m-t-10 uy-color-7F7F7F">会员码view>
    36. view>
    37. view>
    38. view>
    39. view>
    40. template>
    41. <script>
    42. export default {
    43. data() {
    44. return {
    45. slideshowList: [{
    46. image: '/static/img/banner1.png'
    47. }, {
    48. image: '/static/img/banner2.png'
    49. }, {
    50. image: '/static/img/banner3.png'
    51. }]
    52. }
    53. },
    54. onLoad() {
    55. },
    56. methods: {
    57. }
    58. }
    59. script>
    60. <style>
    61. style>

    可二开,可扩展,可学习

    需要的可扫码微信小程序下载即可

    或微信搜索【源空间】

  • 相关阅读:
    CEPH-4:ceph RadowGW对象存储功能详解
    骨灰级大 BOOS 总结出内部不传之密:多线程高并发笔记 + 视频版
    APS: frepple 开源解读
    jar打war包
    关于 XSS 漏洞的测试
    代码审计-2 SQL注入
    MySQL之MHA高可用配置及故障切换
    Java 中 == 与 equals 区别,再确认一遍?
    哈希表的原理
    C#异步多线程
  • 原文地址:https://blog.csdn.net/qq_42543264/article/details/133924705