diff --git a/pages.json b/pages.json index 46a2131..466d4a8 100644 --- a/pages.json +++ b/pages.json @@ -104,10 +104,21 @@ "path": "pages/my-offer/index", "style": { "navigationBarTitleText": "我的报价", + "navigationStyle": "custom", "enablePullDownRefresh": false } } - ], + ,{ + "path" : "pages/submit-quotation/index", + "style" : + { + "navigationBarTitleText": "提交报价", + "navigationStyle": "custom", + "enablePullDownRefresh": false + } + + } + ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", diff --git a/pages/my-offer/index.vue b/pages/my-offer/index.vue index fd75c55..34ae1cb 100644 --- a/pages/my-offer/index.vue +++ b/pages/my-offer/index.vue @@ -1,6 +1,6 @@ diff --git a/pages/trade/index.vue b/pages/trade/index.vue index 293bb1e..31a06ae 100644 --- a/pages/trade/index.vue +++ b/pages/trade/index.vue @@ -36,7 +36,6 @@ export default { key: '', mainKey: '1', current: '0', - items: ['报价', '订单'], } @@ -103,8 +102,7 @@ export default { } .check-control { line-height: 35px; - - width: 40px; + // width: 40px; text-align: center; } .title-left { diff --git a/pages/trade/orderList.vue b/pages/trade/orderList.vue index c90f54d..4ce60ac 100644 --- a/pages/trade/orderList.vue +++ b/pages/trade/orderList.vue @@ -2,14 +2,17 @@ - + 广州民族印刷有限公司 {{ items.orderStatus }} - - + + + + + {{ item.brandName }}{{ item.categoryName }} @@ -20,8 +23,8 @@ - 交货时间: - {{ items.deliveryDay }}天 + 交货时间: + {{ items.deliveryDay }}天 ¥{{ items.totalOfferPrice }} @@ -53,8 +56,8 @@ export default { pageSize: 10 }, orderData: [], - controlCurrent: 0, - controlItems: ['全部', '待确认', '待发货', '已完成'], + controlCurrent: 0, + controlItems: ['全部', '待确认', '待发货', '已完成'], orderOption: { size: 10, auto: true, @@ -142,13 +145,16 @@ export default { diff --git a/pages/trade/quotationList.vue b/pages/trade/quotationList.vue index 2a3d3d5..f5f1fbd 100644 --- a/pages/trade/quotationList.vue +++ b/pages/trade/quotationList.vue @@ -46,7 +46,7 @@ - + 我的报价 @@ -155,7 +155,11 @@ export default { }) }, // 报价按钮事件 - offerClick(){}, + offerClick(){ + uni.navigateTo({ + url: '../submit-quotation/index' + }); + }, // 我的报价页面跳转事件 nativeTo(){ console.log(11) @@ -169,14 +173,15 @@ export default { diff --git a/static/imgs/trade/myPrice.png b/static/imgs/trade/myPrice.png new file mode 100644 index 0000000..81004a7 Binary files /dev/null and b/static/imgs/trade/myPrice.png differ diff --git a/uni_modules/uni-number-box/changelog.md b/uni_modules/uni-number-box/changelog.md new file mode 100644 index 0000000..5925c32 --- /dev/null +++ b/uni_modules/uni-number-box/changelog.md @@ -0,0 +1,25 @@ +## 1.2.1(2021-11-22) +- 修复 vue3中某些scss变量无法找到的问题 +## 1.2.0(2021-11-19) +- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource) +- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-number-box](https://uniapp.dcloud.io/component/uniui/uni-number-box) +## 1.1.2(2021-11-09) +- 新增 提供组件设计资源,组件样式调整 +## 1.1.1(2021-07-30) +- 优化 vue3下事件警告的问题 +## 1.1.0(2021-07-13) +- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834) +## 1.0.7(2021-05-12) +- 新增 组件示例地址 +## 1.0.6(2021-04-20) +- 修复 uni-number-box 浮点数运算不精确的 bug +- 修复 uni-number-box change 事件触发不正确的 bug +- 新增 uni-number-box v-model 双向绑定 +## 1.0.5(2021-02-05) +- 调整为uni_modules目录规范 + +## 1.0.7(2021-02-05) +- 调整为uni_modules目录规范 +- 新增 支持 v-model +- 新增 支持 focus、blur 事件 +- 新增 支持 PC 端 diff --git a/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue b/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue new file mode 100644 index 0000000..8d255fb --- /dev/null +++ b/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue @@ -0,0 +1,220 @@ + + + diff --git a/uni_modules/uni-number-box/package.json b/uni_modules/uni-number-box/package.json new file mode 100644 index 0000000..ad82336 --- /dev/null +++ b/uni_modules/uni-number-box/package.json @@ -0,0 +1,85 @@ +{ + "id": "uni-number-box", + "displayName": "uni-number-box 数字输入框", + "version": "1.2.1", + "description": "NumberBox 带加减按钮的数字输入框组件,用户可以控制每次点击增加的数值,支持小数。", + "keywords": [ + "uni-ui", + "uniui", + "数字输入框" +], + "repository": "https://github.com/dcloudio/uni-ui", + "engines": { + "HBuilderX": "" + }, + "directories": { + "example": "../../temps/example_temps" + }, + "dcloudext": { + "category": [ + "前端组件", + "通用组件" + ], + "sale": { + "regular": { + "price": "0.00" + }, + "sourcecode": { + "price": "0.00" + } + }, + "contact": { + "qq": "" + }, + "declaration": { + "ads": "无", + "data": "无", + "permissions": "无" + }, + "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui" + }, + "uni_modules": { + "dependencies": ["uni-scss"], + "encrypt": [], + "platforms": { + "cloud": { + "tcb": "y", + "aliyun": "y" + }, + "client": { + "App": { + "app-vue": "y", + "app-nvue": "y" + }, + "H5-mobile": { + "Safari": "y", + "Android Browser": "y", + "微信浏览器(Android)": "y", + "QQ浏览器(Android)": "y" + }, + "H5-pc": { + "Chrome": "y", + "IE": "y", + "Edge": "y", + "Firefox": "y", + "Safari": "y" + }, + "小程序": { + "微信": "y", + "阿里": "y", + "百度": "y", + "字节跳动": "y", + "QQ": "y" + }, + "快应用": { + "华为": "u", + "联盟": "u" + }, + "Vue": { + "vue2": "y", + "vue3": "y" + } + } + } + } +} \ No newline at end of file diff --git a/uni_modules/uni-number-box/readme.md b/uni_modules/uni-number-box/readme.md new file mode 100644 index 0000000..affc56f --- /dev/null +++ b/uni_modules/uni-number-box/readme.md @@ -0,0 +1,13 @@ + + +## NumberBox 数字输入框 +> **组件名:uni-number-box** +> 代码块: `uNumberBox` + + +带加减按钮的数字输入框。 + +### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-number-box) +#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839 + +