Commit e649e8f8 authored by zhanglongbao's avatar zhanglongbao

fix

parent 1c83b388
<!doctype html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta
name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no,viewport-fit=cover" />
<title>极速工单</title> <title>极速工单</title>
</head> </head>
<body> <body>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
:defaultData="defaultData" :defaultData="defaultData"
@editData="editData" /> @editData="editData" />
<div class="bottom bottom_button"> <div class="bottom bottom_button van-safe-area-bottom">
<span class="button plain" @click="close">取消</span> <span class="button plain" @click="close">取消</span>
<span class="button" @click="confirm">创建</span> <span class="button" @click="confirm">创建</span>
</div> </div>
...@@ -91,7 +91,7 @@ init(); ...@@ -91,7 +91,7 @@ init();
overflow: hidden; overflow: hidden;
.bottom { .bottom {
padding: 8px 20px; margin: 8px 20px;
flex-shrink: 0; flex-shrink: 0;
box-sizing: border-box; box-sizing: border-box;
} }
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
</div> </div>
</div> </div>
<div class="operate bottom_button"> <div class="operate bottom_button van-safe-area-bottom">
<span <span
class="button plain" class="button plain"
v-for="it in detail_config.buttons || []" v-for="it in detail_config.buttons || []"
...@@ -202,10 +202,10 @@ init(); ...@@ -202,10 +202,10 @@ init();
<style lang="less" scoped> <style lang="less" scoped>
.code_product_detail { .code_product_detail {
width: 100vw; width: 100vw;
height: 100vh; height: 90vh;
overflow: hidden;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
overflow: hidden;
.background_img { .background_img {
width: 100%; width: 100%;
...@@ -291,8 +291,8 @@ init(); ...@@ -291,8 +291,8 @@ init();
.operate { .operate {
position: fixed; position: fixed;
bottom: 0; bottom: 0;
width: 100%; width: calc(100% - 40px);
padding: 10px 30px; margin: 10px 20px;
box-sizing: border-box; box-sizing: border-box;
z-index: 1; z-index: 1;
display: flex; display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment