refactor(custom): 调整后结点单首页背景图
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-03-09 20:28:02 +08:00
parent c84f2e63f5
commit 5844762b25
4 changed files with 13 additions and 7 deletions

View File

@@ -5,7 +5,7 @@
<view class="line"></view> <view class="line"></view>
<Home class="iconfont" @click="goHome" /> <Home class="iconfont" @click="goHome" />
</view> </view>
<text style="width: 410px;text-align: center;">{{ props.title }}</text> <text style="width: 2000px;text-align: center;">{{ props.title }}</text>
</view> </view>
</template> </template>

View File

@@ -3,12 +3,12 @@
justify-content: center; justify-content: center;
box-sizing: border-box; box-sizing: border-box;
height: 100vh; height: 100vh;
background-image: url("https://cdn-we-retail.ym.tencent.com/miniapp/template/user-center-bg-v1.png"); background-image: url("./static/WechatIMG10.jpg");
background-size: auto 40%; background-size: 100% 35%;
background-repeat: no-repeat; background-repeat: no-repeat;
.card { .card {
margin-top: 240px; margin-top: 450px;
width: 703px; width: 703px;
height: 301px; height: 301px;
background: #ffffff; background: #ffffff;

View File

@@ -1,15 +1,21 @@
<template> <template>
<view> <view>
<back-component title="点单" /> <back-component />
<view class="container"> <view class="container">
<view class="card"> <view class="card">
<view class="comm" @click="navTo('/pages/admin/add_order/add_table/index')"> <view
class="comm"
@click="navTo('/pages/admin/add_order/add_table/index')"
>
<text class="title">开始点单</text> <text class="title">开始点单</text>
<image src="./static/dc.png"></image> <image src="./static/dc.png"></image>
<text class="sub">线上点单后结系统</text> <text class="sub">线上点单后结系统</text>
</view> </view>
<view class="line"></view> <view class="line"></view>
<view class="comm" @click="navTo('/pages/admin/add_order/pending_order/index')"> <view
class="comm"
@click="navTo('/pages/admin/add_order/pending_order/index')"
>
<text class="title">我的订单</text> <text class="title">我的订单</text>
<image src="./static/ddan.png"></image> <image src="./static/ddan.png"></image>
<text class="sub">查看我点餐的订单</text> <text class="sub">查看我点餐的订单</text>

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB