.hbuilderx/launch.json | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
.idea/.gitignore | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
.idea/group-app.iml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
.idea/misc.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
.idea/modules.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
.idea/vcs.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
components/common/popup-menu/popup-menu.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages.json | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/jihua/jihua.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
uni.scss | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
.hbuilderx/launch.json
@@ -10,6 +10,10 @@ { "launchtype" : "local" }, "h5" : { "launchtype" : "local" }, "mp-weixin" : { "launchtype" : "local" .idea/.gitignore
New file @@ -0,0 +1,2 @@ # Default ignored files /workspace.xml .idea/group-app.iml
New file @@ -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> .idea/misc.xml
New file @@ -0,0 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="JavaScriptSettings"> <option name="languageLevel" value="ES6" /> </component> </project> .idea/modules.xml
New file @@ -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> .idea/vcs.xml
New file @@ -0,0 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="VcsDirectoryMappings"> <mapping directory="" vcs="Git" /> </component> </project> 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> pages.json
@@ -62,6 +62,12 @@ "enablePullDownRefresh": false } }, { "path": "pages/jihua/jihua", "style": { "navigationBarTitleText": "日发运计划" } } ], "globalStyle": { pages/jihua/jihua.vue
New file @@ -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> uni.scss
@@ -106,4 +106,8 @@ } } } } page{ height: 100%; }