New file |
| | |
| | | { // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ |
| | | // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 |
| | | "version": "0.0", |
| | | "configurations": [{ |
| | | "app-plus" : |
| | | { |
| | | "launchtype" : "local" |
| | | }, |
| | | "default" : |
| | | { |
| | | "launchtype" : "local" |
| | | }, |
| | | "type" : "uniCloud" |
| | | } |
| | | ] |
| | | } |
| | |
| | | "style": { |
| | | "navigationBarTitleText": "明细" |
| | | } |
| | | }, |
| | | |
| | | |
| | | { |
| | | "path": "pages/project/bf/home/home", |
| | | "style": { |
| | | "navigationBarTitleText": "主页" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/project/jf/home/home", |
| | | "style": { |
| | | "navigationBarTitleText": "主页" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/project/jk/home/home", |
| | | "style": { |
| | | "navigationBarTitleText": "主页" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/project/tzsk/home/home", |
| | | "style": { |
| | | "navigationBarTitleText": "主页" |
| | | } |
| | | } |
| | | ], |
| | | "globalStyle": { |
| | |
| | | <switch :checked='remberPassword' color="#FFCC33" style="zoom:.5" @change="remberChange"/> |
| | | </view> |
| | | </view> |
| | | <view class="button"> |
| | | <view class="button" @click="login"> |
| | | 登录 |
| | | </view> |
| | | </view> |
| | |
| | | }, |
| | | settings() { |
| | | this.$refs.settings.open() |
| | | }, |
| | | login() { |
| | | let path = 'js' |
| | | uni.navigateTo({ |
| | | url: `/pages/project/${path}/home/home`, |
| | | fail(res) { |
| | | console.log(`没有${path}项目,请联系管理元`); |
| | | } |
| | | |
| | | }) |
| | | } |
| | | } |
| | | } |
| | |
| | | /> |
| | | </view> |
| | | |
| | | <!-- todo: 日期选择 --> |
| | | </view> |
| | | |
| | | <view class="footer"> |
| | |
| | | Top 2. 冻猪排 |
| | | </view> |
| | | </view> |
| | | <view v-for="(item,i) in dataList" :key="i">{{i}}</view> |
| | | <view class="home-list" v-for="(item,i) in homeList" :key="i"> |
| | | <view class="list-title flex-align-center"> |
| | | <view class="list-title-tag "></view> |
| | | <view>{{item.name}}</view> |
| | | </view> |
| | | <view class="list-detl"> |
| | | <view v-for="nav in item.nav"> |
| | | <view style="margin: 10px;"> |
| | | {{nav.name}} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | dataList: [{},{},{}] |
| | | homeList: [ |
| | | {name: '入库',nav:[ |
| | | {name: '组托入库'}, |
| | | {name: '上架'} |
| | | ]}, |
| | | {name: '出库'}, |
| | | {name: '其他'}] |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | .flex-justify-center { |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | .flex-align-center { |
| | | display: flex; |
| | | align-items: center; |
| | | |
| | | } |
| | | .z-swiper { |
| | | height: 200px; |
| | | height: 90px; |
| | | margin: 8px; |
| | | background-image: linear-gradient(110.6deg, rgb(179, 157, 219) 7%, rgb(150, 159, 222) 47.7%, rgb(24, 255, 255) 100.6%); |
| | | border-radius: 8px; |
| | | background-image: linear-gradient(110.6deg, rgb(179, 157, 219) 7%, rgb(150, 159, 222) 47.7%, rgb(24, 255, 255) 100.6%); |
| | | color: #fff; |
| | | } |
| | | .home-list { |
| | | display: flex; |
| | | flex-direction: column; |
| | | height: 90px; |
| | | margin: 8px; |
| | | border-radius: 8px; |
| | | background-color: #f5f5f5; |
| | | } |
| | | .list-title { |
| | | display: flex; |
| | | height: 20px; |
| | | margin: 10px 10px; |
| | | /* background-color: #fff; */ |
| | | } |
| | | .list-title-tag { |
| | | width: 6px; |
| | | height: 20px; |
| | | margin: 5px 5px; |
| | | border-radius: 8px; |
| | | background-color: #00aeec; |
| | | |
| | | } |
| | | .list-detl { |
| | | display: flex; |
| | | flex-direction: row; |
| | | } |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <view> |
| | | bf |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <view> |
| | | jf |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <view> |
| | | jk |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |
New file |
| | |
| | | <template> |
| | | <view> |
| | | tzsk |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |