index.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <template>
  2. <view class="flex-common-css">
  3. <Nav :leftShow='false' :customNav='true' title="" bgckgroundBox='#EF1F0C'></Nav>
  4. <view class="flex-1 flex-direction iPhone-bottom box-border-box">
  5. <image class="qd-bg" src="@/static/img/order-food/qd-bg.png" mode=""></image>
  6. <view class="order-food-box p-0-32 box-border-box">
  7. <view class="order-food p-32 box-border-box bgc-f b-rad-24" @click="goToUrl(1)">
  8. <view class="b-FFD7CC bc-FFEDE9-FFF1EE b-rad-24 p-20-32 box-border-box align-items-center flex-justify-space">
  9. <view class="flex-direction">
  10. <view class="align-items-center mb-8">
  11. <view class="fs-36 fc-3 fw-600">
  12. 堂食扫码点餐
  13. </view>
  14. <image class="right-h" src="@/static/img/order-food/right-h.png" mode=""></image>
  15. </view>
  16. <view class="fs-28 fc-9">
  17. 自助下单方便快捷
  18. </view>
  19. </view>
  20. <image class="zh-img" src="@/static/img/order-food/zh-img.png" mode=""></image>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. export default {
  29. components: {},
  30. data() {
  31. return {}
  32. },
  33. onLoad(data) {},
  34. mounted() {},
  35. methods: {
  36. goToUrl(shop_id) {
  37. uni.reLaunch({
  38. url: '/pages-takeout/shop?shop_id=' + shop_id
  39. });
  40. }
  41. }
  42. }
  43. </script>
  44. <style lang="scss" scoped>
  45. .qd-bg{
  46. width: 100%;
  47. height: 696rpx;
  48. }
  49. .order-food-box{
  50. position: relative;
  51. }
  52. .order-food{
  53. width: calc(100% - 64rpx);
  54. position: absolute;
  55. left: 32rpx;
  56. top: -90rpx;
  57. }
  58. .bc-FFEDE9-FFF1EE{
  59. background: linear-gradient( 90deg, #FFEDE9 0%, #FFF1EE 100%);
  60. }
  61. .zh-img {
  62. width: 148rpx;
  63. height: 148rpx;
  64. }
  65. .right-h{
  66. width: 40rpx;
  67. height: 40rpx;
  68. }
  69. </style>