From 43742805c1a8c14b8f70c383fc0650a8af6edefc Mon Sep 17 00:00:00 2001 From: zhangxiaoxu123 <819527061@qq.com> Date: 星期三, 13 七月 2022 18:10:26 +0800 Subject: [PATCH] 添加日发运计划 --- .idea/vcs.xml | 6 + .idea/modules.xml | 8 ++ pages/jihua/jihua.vue | 170 ++++++++++++++++++++++++++++++++++++++++++ .idea/group-app.iml | 9 ++ pages.json | 6 + .idea/.gitignore | 2 components/common/popup-menu/popup-menu.vue | 21 ++++- .hbuilderx/launch.json | 4 + .idea/misc.xml | 6 + uni.scss | 4 + 10 files changed, 232 insertions(+), 4 deletions(-) diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index ee5be77..4bbcf3c 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -10,6 +10,10 @@ { "launchtype" : "local" }, + "h5" : + { + "launchtype" : "local" + }, "mp-weixin" : { "launchtype" : "local" diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..5c98b42 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,2 @@ +# Default ignored files +/workspace.xml \ No newline at end of file diff --git a/.idea/group-app.iml b/.idea/group-app.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/group-app.iml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module type="JAVA_MODULE" version="4"> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$" /> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + </component> +</module> \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="JavaScriptSettings"> + <option name="languageLevel" value="ES6" /> + </component> +</project> \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..01eb32c --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectModuleManager"> + <modules> + <module fileurl="file://$PROJECT_DIR$/.idea/group-app.iml" filepath="$PROJECT_DIR$/.idea/group-app.iml" /> + </modules> + </component> +</project> \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="" vcs="Git" /> + </component> +</project> \ No newline at end of file diff --git a/components/common/popup-menu/popup-menu.vue b/components/common/popup-menu/popup-menu.vue index 6091533..ca109d8 100644 --- a/components/common/popup-menu/popup-menu.vue +++ b/components/common/popup-menu/popup-menu.vue @@ -7,23 +7,36 @@ isLink url="/pages/home/home" style="color:blue" > - <image src="@/static/menuIcon/menu-home.png" slot="icon" size="32" name="search"/></u-cell> + <image src="@/static/menuIcon/menu-home.png" slot="icon" size="32" name="search"/> + </u-cell> <u-cell title="鎴戠殑鐢宠" isLink url="/pages/my-application/my-application" > - <image src="@/static/menuIcon/menu-application.png" slot="icon" size="32" name="search"/></u-cell></u-cell> + <image src="@/static/menuIcon/menu-application.png" slot="icon" size="32" name="search"/> + </u-cell> <u-cell title="鎴戠殑寰呭姙" isLink url="/pages/my-todo/my-todo" - > <image src="@/static/menuIcon/menu-todo.png" slot="icon" size="32" name="search"/></u-cell></u-cell> + > + <image src="@/static/menuIcon/menu-todo.png" slot="icon" size="32" name="search"/> + </u-cell> <u-cell title="鎴戠殑宸插姙" isLink url="/pages/my-have-todo/my-have-todo" - > <image src="@/static/menuIcon/menu-havedo.png" slot="icon" size="32" name="search"/></u-cell></u-cell> + > + <image src="@/static/menuIcon/menu-havedo.png" slot="icon" size="32" name="search"/> + </u-cell> + <u-cell + title="鏃ュ彂杩愯鍒�" + isLink + url="/pages/jihua/jihua" style="color:blue" + > + <image src="@/static/menuIcon/menu-home.png" slot="icon" size="32" name="search"/> + </u-cell> </u-cell-group> <u-button text="閫�鍑�" type="primary" @click="menuPopupClick"></u-button> </u-popup> diff --git a/pages.json b/pages.json index ceed836..cdba300 100644 --- a/pages.json +++ b/pages.json @@ -62,6 +62,12 @@ "enablePullDownRefresh": false } + }, { + "path": "pages/jihua/jihua", + "style": { + "navigationBarTitleText": "鏃ュ彂杩愯鍒�" + } + } ], "globalStyle": { diff --git a/pages/jihua/jihua.vue b/pages/jihua/jihua.vue new file mode 100644 index 0000000..60c1056 --- /dev/null +++ b/pages/jihua/jihua.vue @@ -0,0 +1,170 @@ +<template> + <view class="jihua-wrap"> + <view class="qiehuan-box"> + <u-tabs :list="tabList" @click="tabClick"></u-tabs> + </view> + <view class="jihua-main"> + <view class="shaixuan-box"> + <u-radio-group v-model="radioValue"> + <u-radio style="margin-right: 30rpx;" shape="square" label="鍏ㄩ儴" name="鍏ㄩ儴"></u-radio> + <u-radio style="margin-right: 30rpx;" shape="square" label="宸茶缃殑璁″垝" name="宸茶缃殑璁″垝"></u-radio> + <u-radio shape="square" label="鏈缃殑璁″垝" name="鏈缃殑璁″垝"></u-radio> + </u-radio-group> + </view> + <view class="main-block-box"> + <view class="jihua-main-line"> + <view class="name">瀹㈡埛鍚嶇О锛氭瀹�****</view> + </view> + <view class="jihua-main-line"> + <view class="main-flex"> + <view>鐓ょ锛氫富鐒�</view> + <view>鍓╀綑閲忥細277.65</view> + </view> + </view> + <view class="jihua-main-line"> + <view class="main-flex"> + <view class="carNum-box"> + <view>鍙戣繍杞︽暟锛�</view> + <u--input + focus + placeholder="璇疯緭鍏ュ彂杩愯溅鏁�" + border="surround" + v-model="carValue" + @change="change" + ></u--input> + </view> + <view>瀹為檯鍙戣溅鏁帮細4000</view> + </view> + </view> + </view> + <view class="main-block-box"> + <view class="jihua-main-line"> + <view class="name">瀹㈡埛鍚嶇О锛氭瀹�****</view> + </view> + <view class="jihua-main-line"> + <view class="main-flex"> + <view>鐓ょ锛氫富鐒�</view> + <view>鍓╀綑閲忥細277.65</view> + </view> + </view> + <view class="jihua-main-line"> + <view class="main-flex"> + <view class="carNum-box"> + <view>鍙戣繍杞︽暟锛�</view> + <u--input + focus + placeholder="璇疯緭鍏ュ彂杩愯溅鏁�" + border="surround" + v-model="carValue" + @change="change" + ></u--input> + </view> + <view>瀹為檯鍙戣溅鏁帮細4000</view> + </view> + </view> + <!-- <u-button class="xiugai-btn" type="primary" text="淇敼" size="mini"></u-button> --> + </view> + </view> + </view> +</template> + +<script> + export default { + data() { + return { + radioValue: '鍏ㄩ儴', + tabList: [{ + name: '浠婃棩鍙戣繍璁″垝' + },{ + name: '鏄庢棩鍙戣繍璁″垝' + }], + carValue:0, + } + }, + methods: { + tabClick(item) { + + }, + change() { + + } + } + } +</script> + +<style lang="scss" scoped> + ::v-deep{ + .u-tabs__wrapper__nav{ + padding-left: vww(75.5) + } + .u-radio__text{ + span{ + font-size: vww(14); + } + } + .u-radio-group--row{ + height: 100%; + } + .u-radio__icon-wrap{ + width: vww(14)!important; + height: vww(14)!important;; + } + .u-button__text{ + font-size: vww(12)!important; + } + } + .jihua-wrap{ + width: 100%; + display: flex; + flex-direction: column; + } + .jihua-main{ + display: flex; + flex-direction: column; + width: 100%; + padding:vww(10) vww(10); + box-sizing: border-box; + .shaixuan-box{ + height: vww(40); + } + .main-block-box{ + box-shadow: 0 0 8px rgba(0,0,0,0.1); + height: vww(120); + padding: vww(10); + box-sizing: border-box; + margin-top: vww(15); + border-radius: vww(5); + position: relative; + .xiugai-btn{ + position: absolute; + right: vww(10); + bottom: vww(10); + width: vww(20); + } + .jihua-main-line{ + width: 100%; + display: flex; + view{ + font-size: vww(14); + line-height: 2; + } + .name{ + font-weight: 600!important; + } + .main-flex{ + width: 100%; + display: flex; + justify-content: space-between; + .carNum-box{ + display: flex; + .u-input{ + height: vww(20); + width: vww(100); + } + } + } + } + + } + } +</style> diff --git a/uni.scss b/uni.scss index e5f85d7..d4d8137 100644 --- a/uni.scss +++ b/uni.scss @@ -106,4 +106,8 @@ } } } +} + +page{ + height: 100%; } \ No newline at end of file -- Gitblit v1.9.1