,",
+ "mei": "-0I~j|vz>yRv#sks]sTs4r-+b-+(-(_-(.-&h-#%{@wGuWs}s|rJrDlaWTV}V+NAMvKfIgGKFX9a7c,7&]&+%~",
+ "bie": "-/A-/;fGe2`#M'M!$!#I",
+ "pao": "-/>-+i-'^~o|2w=hA]$[P?.4J4H3d06.M'^%A!S",
+ "geng": "-/7-&A{TzHlrh=ZIOlK4IX=X2p&M",
+ "shua": "-//-%j",
+ "cuo": "-.y-.p-*5wukWkSh!ZKY&WuV4(o$j$'",
+ "kei": "-.woU",
+ "la": "-.v-%3-$n~L|8[RXFXEWnUEU2R`MOI6DT:T0['o$A",
+ "pou": "-.l-'_-&[{]twtO]+]&Z+YGJS/<",
+ "tuan": "-.I~!}~}K}HyPy&f7`>[}XIVmGLE;;.:m8t2[,F%v%p",
+ "zuan": "-.)XOTt",
+ "keng": "-,x-([|t|kvIZCXlVgBF/C",
+ "gao": "-,Z-(I-(>wRlpWjNHGxGwGdG>E~E3Dm,)!y!t",
+ "lang": "-,V-&J-$~{Jy[r{llgiSeOIOHO;KRHHG4Cp=[3Y,z*%(s",
+ "weng": "-,@-#oyxv{kfU!Pd9o'N'&",
+ "tao": "-+m-)E-'+-%DwPwMw*r}i/fl`j[oYBWXL,JkGtE?><=)'v",
+ "cen": "-)l-)k-)j-)i{Un#kH@?=1",
+ "shuang": "-)byOqeq^`NDB>t8R5w5^0&",
+ "po": "-)8-&M-#6~]|ZvztMoZmlmZg9W]TXR+O*E%?E>q>o>D;*:J8;6F3v,9*l!`",
+ "a": "-(s-'o-%O-$0",
+ "tun": "-(k-(7-%L-!`}}|snFhNdP_mRQPFOC@x=335",
+ "hang": "-([{dwSvIj)dGS8NML/@.",
+ "shun": "-(ZHnF?",
+ "ne": "-(R-(8-(%-&T]0%a",
+ "chuo": "-(Q-&@-%=~Hu!t~t.ssqVa|^2Z}UuCClMi@i$fDf@b1`Y_4XyW6TMMzJ$I:GOD{=#gKfVfSfC^P^N^>[zWQW!VySKMlIvGkFdEJ:)8{4[1s/|/z,f,.*{(p%m",
+ "pen": "-('-$E-$=-!6CN;'6}'Q!=",
+ "pin": "-&~~Yuatnrvq{[AZ{H]@_/c+!)r",
+ "ha": "-&wvz",
+ "yo": "-&`-%c-$B",
+ "o": "-&X-$a-!H-!%",
+ "n": "-&)-#a",
+ "huan": "-%v-$Z-$Y~G}D{_zWw@w2r.q[pYp0okm8l!h]bVaH_I^iYpXQUnU1KyK2GBD%CPCB>1=c<~;c8V7D734/3>2I.[.;,3+R*})9(1'b$d$:",
+ "ken": "-%V{qxjc*_CX~*I",
+ "chuai": "-%=XIW}Ch",
+ "pa": "-%/vLisihd.]oX|NC@r8608)P#!",
+ "se": "-%,-$,yogK_WY%X`W~J/J.Hl",
+ "nv": "vkc7OM@!",
+ "nuan": "vcPo;`:m2X2W",
+ "shuo": "v]a'WhT'S|OKGnCn>>470W+p",
+ "niu": "v?q=dKd0]S]![DN?@8@!4u/e/d.W",
+ "rao": "u2rA]PU?KkFJ",
+ "niang": "t|r&qb",
+ "shui": "t]iTZMYuA$A#@{=.=*",
+ "nve": "t)%S$%",
+ "nen": "sirarYc^",
+ "niao": "s!r+qsnwFq9x",
+ "kuan": "pBp#ooK)CoCfCd",
+ "cuan": "jPV'U*T~TwDtD7BU@o6E5K1S0<",
+ "te": "dsdr`R/F/9",
+ "zen": "d5VU",
+ "zei": "^H",
+ "den": "][]C",
+ "zhua": "],ZYV#ER0:09",
+ "shuan": "[&L^GL {
+ let result = 0,
+ temp = 1;
+ for (let idx = str.length; idx--;) {
+ result += temp * (chars.indexOf(str.charAt(idx)));
+ temp *= 91;
+ }
+ return result;
+ },
+ fn = (a, f) => {
+ let p, gs, i, ch, num;
+ for (p in a) {
+ if (a.hasOwnProperty(p)) {
+ gs = a[p].match(ungroup);
+ for (i = 0; i < gs.length; i++) {
+ ch = gs[i].replace(rg, '#');
+ num = fromX(ch);
+ ch = String.fromCharCode(base + middle + (f ? -num : num));
+ if (sToC.hasOwnProperty(p)) {
+ sToC[p] += ch;
+ } else {
+ sToC[p] = ch;
+ }
+ if (cToS.hasOwnProperty(ch)) {
+ cToS[ch] += COMA + p;
+ } else {
+ cToS[ch] = p;
+ }
+ }
+ }
+ }
+ };
+fn(SDB.m, 1);
+fn(SDB.a);
+SDB = null;
+export default {
+ getSpell(chars, polyphone, spliter) {
+ let cToS = DB.cToS;
+ let res = [],
+ pp = typeof (polyphone) == 'function'; //判断polyphone是否是函数
+ chars = String(chars).split(EMPTY);
+ for (let i = 0, ch, ss; i < chars.length; i++) {
+ ch = chars[i];
+ if (cToS.hasOwnProperty(ch)) {
+ ss = cToS[ch];
+ if (~ss.indexOf(COMA)) {
+ ss = ss.split(COMA);
+ ss = pp ? polyphone(ch, ss) : '[' + ss + ']';
+ res.push(ss);
+ } else {
+ res.push(ss);
+ }
+ } else {
+ res.push(ch);
+ }
+ }
+ return res.join(spliter || COMA);
+ },
+ getChars(spell) {
+ let sToC = DB.sToC;
+ if (sToC.hasOwnProperty(spell)) {
+ return sToC[spell].split(EMPTY);
+ }
+ return [];
+ }
+};
\ No newline at end of file
diff --git a/components/wyb-table/js/inobounce.js b/components/wyb-table/js/inobounce.js
new file mode 100644
index 0000000..20ee999
--- /dev/null
+++ b/components/wyb-table/js/inobounce.js
@@ -0,0 +1,137 @@
+/*! iNoBounce - v0.2.0
+* https://github.com/lazd/iNoBounce/
+* Copyright (c) 2013 Larry Davis ; Licensed BSD */
+(function(global) {
+ // Stores the Y position where the touch started
+ var startY = 0;
+
+ // Store enabled status
+ var enabled = false;
+
+ var supportsPassiveOption = false;
+ try {
+ var opts = Object.defineProperty({}, 'passive', {
+ get: function() {
+ supportsPassiveOption = true;
+ }
+ });
+ window.addEventListener('test', null, opts);
+ } catch (e) {}
+
+ var handleTouchmove = function(evt) {
+ // Get the element that was scrolled upon
+ var el = evt.target;
+
+ // Allow zooming
+ var zoom = window.innerWidth / window.document.documentElement.clientWidth;
+ if (evt.touches.length > 1 || zoom !== 1) {
+ return;
+ }
+
+ // Check all parent elements for scrollability
+ while (el !== document.body && el !== document) {
+ // Get some style properties
+ var style = window.getComputedStyle(el);
+
+ if (!style) {
+ // If we've encountered an element we can't compute the style for, get out
+ break;
+ }
+
+ // Ignore range input element
+ if (el.nodeName === 'INPUT' && el.getAttribute('type') === 'range') {
+ return;
+ }
+
+ var scrolling = style.getPropertyValue('-webkit-overflow-scrolling');
+ var overflowY = style.getPropertyValue('overflow-y');
+ var height = parseInt(style.getPropertyValue('height'), 10);
+
+ // Determine if the element should scroll
+ var isScrollable = scrolling === 'touch' && (overflowY === 'auto' || overflowY === 'scroll');
+ var canScroll = el.scrollHeight > el.offsetHeight;
+
+ if (isScrollable && canScroll) {
+ // Get the current Y position of the touch
+ var curY = evt.touches ? evt.touches[0].screenY : evt.screenY;
+
+ // Determine if the user is trying to scroll past the top or bottom
+ // In this case, the window will bounce, so we have to prevent scrolling completely
+ var isAtTop = (startY <= curY && el.scrollTop === 0);
+ var isAtBottom = (startY >= curY && el.scrollHeight - el.scrollTop === height);
+
+ // Stop a bounce bug when at the bottom or top of the scrollable element
+ if (isAtTop || isAtBottom) {
+ evt.preventDefault();
+ }
+
+ // No need to continue up the DOM, we've done our job
+ return;
+ }
+
+ // Test the next parent
+ el = el.parentNode;
+ }
+
+ // Stop the bouncing -- no parents are scrollable
+ evt.preventDefault();
+ };
+
+ var handleTouchstart = function(evt) {
+ // Store the first Y position of the touch
+ startY = evt.touches ? evt.touches[0].screenY : evt.screenY;
+ };
+
+ var enable = function() {
+ // Listen to a couple key touch events
+ window.addEventListener('touchstart', handleTouchstart, supportsPassiveOption ? { passive : false } : false);
+ window.addEventListener('touchmove', handleTouchmove, supportsPassiveOption ? { passive : false } : false);
+ enabled = true;
+ };
+
+ var disable = function() {
+ // Stop listening
+ window.removeEventListener('touchstart', handleTouchstart, false);
+ window.removeEventListener('touchmove', handleTouchmove, false);
+ enabled = false;
+ };
+
+ var isEnabled = function() {
+ return enabled;
+ };
+
+ // Enable by default if the browser supports -webkit-overflow-scrolling
+ // Test this by setting the property with JavaScript on an element that exists in the DOM
+ // Then, see if the property is reflected in the computed style
+ var testDiv = document.createElement('div');
+ document.documentElement.appendChild(testDiv);
+ testDiv.style.WebkitOverflowScrolling = 'touch';
+ var scrollSupport = 'getComputedStyle' in window && window.getComputedStyle(testDiv)['-webkit-overflow-scrolling'] === 'touch';
+ document.documentElement.removeChild(testDiv);
+
+ if (scrollSupport) {
+ enable();
+ }
+
+ // A module to support enabling/disabling iNoBounce
+ var iNoBounce = {
+ enable: enable,
+ disable: disable,
+ isEnabled: isEnabled
+ };
+
+ if (typeof module !== 'undefined' && module.exports) {
+ // Node.js Support
+ module.exports = iNoBounce;
+ }
+ if (typeof global.define === 'function') {
+ // AMD Support
+ (function(define) {
+ define('iNoBounce', [], function() { return iNoBounce; });
+ }(global.define));
+ }
+ else {
+ // Browser support
+ global.iNoBounce = iNoBounce;
+ }
+}(this));
diff --git a/components/wyb-table/js/objEqual.js b/components/wyb-table/js/objEqual.js
new file mode 100644
index 0000000..f135845
--- /dev/null
+++ b/components/wyb-table/js/objEqual.js
@@ -0,0 +1,40 @@
+function isEqual(x, y) {
+ if (x === y) {
+ return true
+ }
+ if (!(x instanceof Object) || !(y instanceof Object)) {
+ return false
+ }
+ if (x.constructor !== y.constructor) {
+ return false
+ }
+ for (var p in x) {
+ if (x.hasOwnProperty(p)) {
+ if (!y.hasOwnProperty(p)) {
+ return false
+ }
+
+ if (x[p] === y[p]) {
+ continue
+ }
+
+ if (typeof(x[p]) !== "object") {
+ return false
+ }
+
+ if (!Object.equals(x[p], y[p])) {
+ return false
+ }
+ }
+ }
+ for (p in y) {
+ if (y.hasOwnProperty(p) && !x.hasOwnProperty(p)) {
+ return false
+ }
+ }
+ return true
+}
+
+module.exports = {
+ isEqual
+}
\ No newline at end of file
diff --git a/components/wyb-table/wyb-table.vue b/components/wyb-table/wyb-table.vue
new file mode 100644
index 0000000..9494abc
--- /dev/null
+++ b/components/wyb-table/wyb-table.vue
@@ -0,0 +1,1205 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ autoContentItem(cIndex, hIndex) }}
+
+
+
+
+
+ {{autoBottomComputedItem(index)}}
+
+
+
+
+
+
+
+
+
+
diff --git a/main.js b/main.js
index 6c139c5..1ac1a50 100644
--- a/main.js
+++ b/main.js
@@ -24,6 +24,9 @@ Vue.prototype.$http = $http;
// 将无数据组件注入全局
import lfNocontent from '@/components/lf-nocontent/lf-nocontent.vue';
Vue.component('lf-nocontent', lfNocontent);
+// 页面间隙修饰
+import selfLine from '@/components/self-line/self-line';
+Vue.component('self-line', selfLine);
const app = new Vue({
...App
diff --git a/pages.json b/pages.json
index 6d52950..7880227 100644
--- a/pages.json
+++ b/pages.json
@@ -4,17 +4,112 @@
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
- "path": "pages/index/index",
+ "path": "pages/supply/login/index",
"style": {
- "navigationBarTitleText": "首页",
+ "navigationBarTitleText": "登录",
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor":"#1833F2",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "pages/supply/index/index",
+ "style": {
+ "navigationBarTitleText": "供应端",
"enablePullDownRefresh": true
}
},
{
- "path": "pages/login/index",
+ "path": "pages/supply/offer/index",
+ "style": {
+ "navigationBarTitleText": "发起报价"
+ }
+ },
+ {
+ "path": "pages/supply/order/index",
+ "style": {
+ "navigationBarTitleText": "报价订单"
+ }
+ },
+ {
+ "path": "pages/supply/order/detail",
+ "style": {
+ "navigationBarTitleText": "订单详情"
+ }
+ },
+ {
+ "path": "pages/supply/gonghuo/order",
+ "style": {
+ "navigationBarTitleText": "供货订单"
+ }
+ },
+ {
+ "path": "pages/supply/gonghuo/detail",
+ "style": {
+ "navigationBarTitleText": "供货订单"
+ }
+ },
+ {
+ "path": "pages/canteen/login/index",
"style": {
"navigationBarTitleText": "登录",
- "enablePullDownRefresh": true
+ "enablePullDownRefresh": true,
+ "navigationBarBackgroundColor":"#11D189",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "pages/canteen/index/index",
+ "style": {
+ "navigationBarTitleText": "食堂端"
+ }
+ },
+ {
+ "path": "pages/canteen/purchase/launch",
+ "style": {
+ "navigationBarTitleText": "发起采购"
+ }
+ },
+ {
+ "path": "pages/canteen/purchase/order",
+ "style": {
+ "navigationBarTitleText": "采购订单"
+ }
+ },
+ {
+ "path": "pages/canteen/purchase/detail",
+ "style": {
+ "navigationBarTitleText": "采购订单"
+ }
+ },
+ {
+ "path": "pages/canteen/purchase/receipt",
+ "style": {
+ "navigationBarTitleText": "确认收货"
+ }
+ },
+ {
+ "path": "pages/canteen/classification/index",
+ "style": {
+ "navigationBarTitleText": "添加供应商"
+ }
+ },
+ {
+ "path": "pages/canteen/delivery/apply",
+ "style": {
+ "navigationBarTitleText": "申请出库"
+ }
+ },
+ {
+ "path": "pages/canteen/delivery/order",
+ "style": {
+ "navigationBarTitleText": "出库订单"
+ }
+ },
+ {
+ "path": "pages/canteen/delivery/detail",
+ "style": {
+ "navigationBarTitleText": "出库订单"
}
}
],
diff --git a/pages/canteen/classification/index.vue b/pages/canteen/classification/index.vue
new file mode 100644
index 0000000..07806c4
--- /dev/null
+++ b/pages/canteen/classification/index.vue
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+
+ {{ '分类'+ (item + 1) }}
+
+
+
+
+
+
+ 正在加载中...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/canteen/delivery/apply.vue b/pages/canteen/delivery/apply.vue
new file mode 100644
index 0000000..58f5776
--- /dev/null
+++ b/pages/canteen/delivery/apply.vue
@@ -0,0 +1,166 @@
+
+
+
+
+ 出库清单
+
+
+
+
+ 添加物资后可以编辑数量
+
+
+
+
+
+ 物资明细
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/canteen/delivery/detail.vue b/pages/canteen/delivery/detail.vue
new file mode 100644
index 0000000..c051fd8
--- /dev/null
+++ b/pages/canteen/delivery/detail.vue
@@ -0,0 +1,192 @@
+
+
+
+
+ 采购单 492461046128742764
+
+
+
+
+
+
+
+
+ 申请人
+ 李清玉
+
+
+ 联系电话
+ 13200000000
+
+
+
+
+ 物资明细
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/canteen/delivery/order.vue b/pages/canteen/delivery/order.vue
new file mode 100644
index 0000000..cbbfbf0
--- /dev/null
+++ b/pages/canteen/delivery/order.vue
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+ 申请人
+ 李清玉
+
+
+ 申请时间
+ 2021-07-23 17:24:23
+
+
+ 商品种类
+ 8类
+
+
+ 订单状态
+ 等待审核
+
+
+
+ {{ tabItem.loading_text }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/canteen/index/index.vue b/pages/canteen/index/index.vue
new file mode 100644
index 0000000..6a4c1e5
--- /dev/null
+++ b/pages/canteen/index/index.vue
@@ -0,0 +1,121 @@
+
+
+
+
+ 李青云
+ 食堂阿姨
+
+
+
+
+
+ 发起采购
+
+
+
+
+
+
+
+
+ 采购记录
+
+
+
+
+
+
+
+
+ 申请出库
+
+
+
+
+
+
+
+
+ 出库记录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/canteen/login/index.vue b/pages/canteen/login/index.vue
new file mode 100644
index 0000000..5a8de65
--- /dev/null
+++ b/pages/canteen/login/index.vue
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+
+ 登录账号
+
+
+
+
+
+ 登录密码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/canteen/purchase/detail.vue b/pages/canteen/purchase/detail.vue
new file mode 100644
index 0000000..148c4e4
--- /dev/null
+++ b/pages/canteen/purchase/detail.vue
@@ -0,0 +1,231 @@
+
+
+
+
+ 采购单 492461046128742764
+
+
+
+
+ 广西美味生活有限公司
+ 广西南宁青秀区民族大道118号可爱大厦A座0930室
+
+
+
+
+
+
+
+
+
+
+ 车辆
+ 桂AX2738
+
+
+ 司机
+ 李师傅
+
+
+ 联系电话
+ 13200000000
+
+
+ 证明材料
+
+
+
+
+
+
+
+ 物资明细
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/canteen/purchase/launch.vue b/pages/canteen/purchase/launch.vue
new file mode 100644
index 0000000..40897fd
--- /dev/null
+++ b/pages/canteen/purchase/launch.vue
@@ -0,0 +1,199 @@
+
+
+
+
+
+ 供应商
+
+
+
+
+
+
+
+ 采购清单
+
+
+
+
+ 添加物资后可以编辑数量
+
+
+
+
+
+
+ 收货时间
+ 2021-07-23
+
+
+
+
+ 物资明细
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/canteen/purchase/order.vue b/pages/canteen/purchase/order.vue
new file mode 100644
index 0000000..c89b961
--- /dev/null
+++ b/pages/canteen/purchase/order.vue
@@ -0,0 +1,149 @@
+
+
+
+
+
+
+
+
+
+
+ 采购方
+ 广西美味生活食堂有限公司
+
+
+ 发单时间
+ 2021-07-23 17:24:23
+
+
+ 送达时间
+ 2021-07-23 17:24:23
+
+
+ 商品种类
+ 8类
+
+
+ 订单状态
+ 等待接单
+
+
+
+ {{ tabItem.loading_text }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/canteen/purchase/receipt.vue b/pages/canteen/purchase/receipt.vue
new file mode 100644
index 0000000..691fe3b
--- /dev/null
+++ b/pages/canteen/purchase/receipt.vue
@@ -0,0 +1,110 @@
+
+
+
+ {{ item.title }}
+
+ 订购数
+ {{ item.orderNum }}
+
+
+ 实到数
+
+
+ 斤
+
+
+
+ 实收数
+
+
+ 斤
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/index/index.vue b/pages/index/index.vue
deleted file mode 100644
index d285715..0000000
--- a/pages/index/index.vue
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/pages/login/index.vue b/pages/login/index.vue
deleted file mode 100644
index e6ddb9b..0000000
--- a/pages/login/index.vue
+++ /dev/null
@@ -1,176 +0,0 @@
-
-
-
-
-
-
- {{ userInfo.nickname || '游客用户' }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 请认真阅读并同意
- 《{{ agreement.title }}》
- ,在小程序下单购买即表示您已默认同意
- 《{{ agreement.title }}》
- 的所有条款。
-
-
-
-
-
-
-
-
-
diff --git a/pages/supply/gonghuo/detail.vue b/pages/supply/gonghuo/detail.vue
new file mode 100644
index 0000000..9032ed1
--- /dev/null
+++ b/pages/supply/gonghuo/detail.vue
@@ -0,0 +1,196 @@
+
+
+
+
+ 采购单 492461046128742764
+
+
+
+
+ 广西美味生活有限公司
+ 广西南宁青秀区民族大道118号可爱大厦A座0930室
+
+
+
+
+
+
+
+
+
+
+
+ 物资明细
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supply/gonghuo/order.vue b/pages/supply/gonghuo/order.vue
new file mode 100644
index 0000000..a6a887a
--- /dev/null
+++ b/pages/supply/gonghuo/order.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+ 采购方
+ 广西美味生活食堂有限公司
+
+
+ 发单时间
+ 2021-07-23 17:24:23
+
+
+ 送达时间
+ 2021-07-23 17:24:23
+
+
+ 商品种类
+ 8类
+
+
+ 订单状态
+ 等待接单
+
+
+
+ {{ tabItem.loading_text }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supply/index/index.vue b/pages/supply/index/index.vue
new file mode 100644
index 0000000..7c8bf08
--- /dev/null
+++ b/pages/supply/index/index.vue
@@ -0,0 +1,111 @@
+
+
+
+
+ 广西美味餐厅供应链有限公司
+
+
+
+
+
+ 发起报价
+
+
+
+
+
+
+
+
+ 报价订单
+
+
+
+
+
+
+
+
+ 供货订单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supply/login/index.vue b/pages/supply/login/index.vue
new file mode 100644
index 0000000..fbce844
--- /dev/null
+++ b/pages/supply/login/index.vue
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+
+ 登录账号
+
+
+
+
+
+ 登录密码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supply/offer/index.vue b/pages/supply/offer/index.vue
new file mode 100644
index 0000000..9b4af6e
--- /dev/null
+++ b/pages/supply/offer/index.vue
@@ -0,0 +1,154 @@
+
+
+
+ 报价清单
+ 请在以下物资信息表内填写报价
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supply/order/detail.vue b/pages/supply/order/detail.vue
new file mode 100644
index 0000000..18612c7
--- /dev/null
+++ b/pages/supply/order/detail.vue
@@ -0,0 +1,116 @@
+
+
+
+
+ 订单编号
+ 2368492461046128742764
+
+
+ 订单状态
+ 已报价,等待审核
+
+
+ 报价商
+ 广西美味供应链有限公司
+
+
+
+
+ 报价明细
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supply/order/index.vue b/pages/supply/order/index.vue
new file mode 100644
index 0000000..402c0d6
--- /dev/null
+++ b/pages/supply/order/index.vue
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+ 订单状态
+ 已报价,等待审核
+
+
+ 报价单号 327684287343874
+ 2021-7-6 23:24:46
+
+
+
+ {{ tabItem.loading_text }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-icons/changelog.md b/uni_modules/uni-icons/changelog.md
new file mode 100644
index 0000000..204f31b
--- /dev/null
+++ b/uni_modules/uni-icons/changelog.md
@@ -0,0 +1,4 @@
+## 1.1.5(2021-05-12)
+- 新增 组件示例地址
+## 1.1.4(2021-02-05)
+- 调整为uni_modules目录规范
diff --git a/uni_modules/uni-icons/components/uni-icons/icons.js b/uni_modules/uni-icons/components/uni-icons/icons.js
new file mode 100644
index 0000000..60b7332
--- /dev/null
+++ b/uni_modules/uni-icons/components/uni-icons/icons.js
@@ -0,0 +1,132 @@
+export default {
+ "pulldown": "\ue588",
+ "refreshempty": "\ue461",
+ "back": "\ue471",
+ "forward": "\ue470",
+ "more": "\ue507",
+ "more-filled": "\ue537",
+ "scan": "\ue612",
+ "qq": "\ue264",
+ "weibo": "\ue260",
+ "weixin": "\ue261",
+ "pengyouquan": "\ue262",
+ "loop": "\ue565",
+ "refresh": "\ue407",
+ "refresh-filled": "\ue437",
+ "arrowthindown": "\ue585",
+ "arrowthinleft": "\ue586",
+ "arrowthinright": "\ue587",
+ "arrowthinup": "\ue584",
+ "undo-filled": "\ue7d6",
+ "undo": "\ue406",
+ "redo": "\ue405",
+ "redo-filled": "\ue7d9",
+ "bars": "\ue563",
+ "chatboxes": "\ue203",
+ "camera": "\ue301",
+ "chatboxes-filled": "\ue233",
+ "camera-filled": "\ue7ef",
+ "cart-filled": "\ue7f4",
+ "cart": "\ue7f5",
+ "checkbox-filled": "\ue442",
+ "checkbox": "\ue7fa",
+ "arrowleft": "\ue582",
+ "arrowdown": "\ue581",
+ "arrowright": "\ue583",
+ "smallcircle-filled": "\ue801",
+ "arrowup": "\ue580",
+ "circle": "\ue411",
+ "eye-filled": "\ue568",
+ "eye-slash-filled": "\ue822",
+ "eye-slash": "\ue823",
+ "eye": "\ue824",
+ "flag-filled": "\ue825",
+ "flag": "\ue508",
+ "gear-filled": "\ue532",
+ "reload": "\ue462",
+ "gear": "\ue502",
+ "hand-thumbsdown-filled": "\ue83b",
+ "hand-thumbsdown": "\ue83c",
+ "hand-thumbsup-filled": "\ue83d",
+ "heart-filled": "\ue83e",
+ "hand-thumbsup": "\ue83f",
+ "heart": "\ue840",
+ "home": "\ue500",
+ "info": "\ue504",
+ "home-filled": "\ue530",
+ "info-filled": "\ue534",
+ "circle-filled": "\ue441",
+ "chat-filled": "\ue847",
+ "chat": "\ue263",
+ "mail-open-filled": "\ue84d",
+ "email-filled": "\ue231",
+ "mail-open": "\ue84e",
+ "email": "\ue201",
+ "checkmarkempty": "\ue472",
+ "list": "\ue562",
+ "locked-filled": "\ue856",
+ "locked": "\ue506",
+ "map-filled": "\ue85c",
+ "map-pin": "\ue85e",
+ "map-pin-ellipse": "\ue864",
+ "map": "\ue364",
+ "minus-filled": "\ue440",
+ "mic-filled": "\ue332",
+ "minus": "\ue410",
+ "micoff": "\ue360",
+ "mic": "\ue302",
+ "clear": "\ue434",
+ "smallcircle": "\ue868",
+ "close": "\ue404",
+ "closeempty": "\ue460",
+ "paperclip": "\ue567",
+ "paperplane": "\ue503",
+ "paperplane-filled": "\ue86e",
+ "person-filled": "\ue131",
+ "contact-filled": "\ue130",
+ "person": "\ue101",
+ "contact": "\ue100",
+ "images-filled": "\ue87a",
+ "phone": "\ue200",
+ "images": "\ue87b",
+ "image": "\ue363",
+ "image-filled": "\ue877",
+ "location-filled": "\ue333",
+ "location": "\ue303",
+ "plus-filled": "\ue439",
+ "plus": "\ue409",
+ "plusempty": "\ue468",
+ "help-filled": "\ue535",
+ "help": "\ue505",
+ "navigate-filled": "\ue884",
+ "navigate": "\ue501",
+ "mic-slash-filled": "\ue892",
+ "search": "\ue466",
+ "settings": "\ue560",
+ "sound": "\ue590",
+ "sound-filled": "\ue8a1",
+ "spinner-cycle": "\ue465",
+ "download-filled": "\ue8a4",
+ "personadd-filled": "\ue132",
+ "videocam-filled": "\ue8af",
+ "personadd": "\ue102",
+ "upload": "\ue402",
+ "upload-filled": "\ue8b1",
+ "starhalf": "\ue463",
+ "star-filled": "\ue438",
+ "star": "\ue408",
+ "trash": "\ue401",
+ "phone-filled": "\ue230",
+ "compose": "\ue400",
+ "videocam": "\ue300",
+ "trash-filled": "\ue8dc",
+ "download": "\ue403",
+ "chatbubble-filled": "\ue232",
+ "chatbubble": "\ue202",
+ "cloud-download": "\ue8e4",
+ "cloud-upload-filled": "\ue8e5",
+ "cloud-upload": "\ue8e6",
+ "cloud-download-filled": "\ue8e9",
+ "headphones":"\ue8bf",
+ "shop":"\ue609"
+}
diff --git a/uni_modules/uni-icons/components/uni-icons/uni-icons.vue b/uni_modules/uni-icons/components/uni-icons/uni-icons.vue
new file mode 100644
index 0000000..6319565
--- /dev/null
+++ b/uni_modules/uni-icons/components/uni-icons/uni-icons.vue
@@ -0,0 +1,71 @@
+
+ {{icons[type]}}
+
+
+
+
+
diff --git a/uni_modules/uni-icons/components/uni-icons/uni.ttf b/uni_modules/uni-icons/components/uni-icons/uni.ttf
new file mode 100644
index 0000000..60a1968
Binary files /dev/null and b/uni_modules/uni-icons/components/uni-icons/uni.ttf differ
diff --git a/uni_modules/uni-icons/package.json b/uni_modules/uni-icons/package.json
new file mode 100644
index 0000000..c8e1224
--- /dev/null
+++ b/uni_modules/uni-icons/package.json
@@ -0,0 +1,82 @@
+{
+ "id": "uni-icons",
+ "displayName": "uni-icons 图标",
+ "version": "1.1.5",
+ "description": "图标组件,用于展示移动端常见的图标,可自定义颜色、大小。",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "icon",
+ "图标"
+],
+ "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": [],
+ "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"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-icons/readme.md b/uni_modules/uni-icons/readme.md
new file mode 100644
index 0000000..8d56f42
--- /dev/null
+++ b/uni_modules/uni-icons/readme.md
@@ -0,0 +1,46 @@
+
+
+## Icons 图标
+> **组件名:uni-icons**
+> 代码块: `uIcons`
+
+
+用于展示 icons 图标 。
+
+### 安装方式
+
+本组件符合[easycom](https://uniapp.dcloud.io/collocation/pages?id=easycom)规范,`HBuilderX 2.5.5`起,只需将本组件导入项目,在页面`template`中即可直接使用,无需在页面中`import`和注册`components`。
+
+如需通过`npm`方式使用`uni-ui`组件,另见文档:[https://ext.dcloud.net.cn/plugin?id=55](https://ext.dcloud.net.cn/plugin?id=55)
+
+### 基本用法
+
+在 ``template`` 中使用组件
+
+```html
+
+```
+
+
+
+## API
+
+### Icons Props
+
+|属性名 |类型 |默认值 |说明 |
+|:-: |:-: |:-: |:-: |
+|size |Number |24 |图标大小 |
+|type |String |- |图标图案,参考示例 |
+|color |String |- |图标颜色 |
+
+
+### Icons Events
+|事件名 |说明 |返回值|
+|:-: |:-: |:-: |
+|@click|点击 Icon 触发事件|- |
+
+
+
+## 组件示例
+
+点击查看:[https://hellouniapp.dcloud.net.cn/pages/extUI/icons/icons](https://hellouniapp.dcloud.net.cn/pages/extUI/icons/icons)
\ No newline at end of file
diff --git a/uni_modules/uni-search-bar/changelog.md b/uni_modules/uni-search-bar/changelog.md
new file mode 100644
index 0000000..1ab3128
--- /dev/null
+++ b/uni_modules/uni-search-bar/changelog.md
@@ -0,0 +1,18 @@
+## 1.0.9(2021-05-12)
+- 新增 项目示例地址
+## 1.0.8(2021-04-21)
+- 优化 添加依赖 uni-icons, 导入后自动下载依赖
+## 1.0.7(2021-04-15)
+- uni-ui 新增 uni-search-bar 的 focus 事件
+
+## 1.0.6(2021-02-05)
+- 优化 组件引用关系,通过uni_modules引用组件
+
+## 1.0.5(2021-02-05)
+- 调整为uni_modules目录规范
+- 新增 支持双向绑定
+- 更改 input 事件的返回值,e={value:Number} --> e=value
+- 新增 支持图标插槽
+- 新增 支持 clear、blur 事件
+- 新增 支持 focus 属性
+- 去掉组件背景色
diff --git a/uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.vue b/uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.vue
new file mode 100644
index 0000000..a0b0e53
--- /dev/null
+++ b/uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.vue
@@ -0,0 +1,254 @@
+
+
+
+
+
+
+
+
+
+ {{ placeholder }}
+
+
+
+
+
+
+ {{cancelText}}
+
+
+
+
+
+
diff --git a/uni_modules/uni-search-bar/package.json b/uni_modules/uni-search-bar/package.json
new file mode 100644
index 0000000..98f64a2
--- /dev/null
+++ b/uni_modules/uni-search-bar/package.json
@@ -0,0 +1,84 @@
+{
+ "id": "uni-search-bar",
+ "displayName": "uni-search-bar 搜索栏",
+ "version": "1.0.9",
+ "description": "搜索栏组件,通常用于搜索商品、文章等",
+ "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-icons"
+ ],
+ "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"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-search-bar/readme.md b/uni_modules/uni-search-bar/readme.md
new file mode 100644
index 0000000..b39d6cf
--- /dev/null
+++ b/uni_modules/uni-search-bar/readme.md
@@ -0,0 +1,86 @@
+
+
+## SearchBar 搜索栏
+
+> **组件名:uni-search-bar**
+> 代码块: `uSearchBar`
+
+
+评分组件
+
+### 安装方式
+
+本组件符合[easycom](https://uniapp.dcloud.io/collocation/pages?id=easycom)规范,`HBuilderX 2.5.5`起,只需将本组件导入项目,在页面`template`中即可直接使用,无需在页面中`import`和注册`components`。
+
+如需通过`npm`方式使用`uni-ui`组件,另见文档:[https://ext.dcloud.net.cn/plugin?id=55](https://ext.dcloud.net.cn/plugin?id=55)
+
+### 基本用法
+
+在 ``template`` 中使用组件
+
+```html
+
+
+
+
+
+
+
+
+
+
+
+```
+
+
+## API
+### SearchBar Props
+
+|属性名 |类型 |默认值 |说明 |
+|:-: |:-: |:-: |:-: |
+|value/v-model |StringNumber | |搜索栏绑定值 |
+|placeholder |String |搜索 |搜索栏Placeholder |
+|radius |Number |10 |搜索栏圆角,单位px |
+|clearButton |String |auto |是否显示清除按钮,可选值`always`-一直显示、`auto`-输入框不为空时显示、`none`-一直不显示 |
+|cancelButton |String |auto |是否显示取消按钮,可选值`always`-一直显示、`auto`-输入框不为空时显示、`none`-一直不显示 |
+|cancelText |String |取消 |取消按钮的文字 |
+|bgColor |String |#F8F8F8|输入框背景颜色 |
+|maxlength |Number |100 |输入最大长度 |
+|focus |Boolean |false | |
+
+
+### SearchBar Events
+
+|事件称名 |说明 |返回参数 |
+|:-: |:-: |:-: |
+|@confirm |uniSearchBar 的输入框 confirm 事件,返回参数为uniSearchBar的value |e={value:Number} |
+|@input |uniSearchBar 的 value 改变时触发事件,返回参数为uniSearchBar的value|e=value |
+|@cancel |点击取消按钮时触发事件,返回参数为uniSearchBar的value |e={value:Number} |
+|@clear |点击清除按钮时触发事件,返回参数为uniSearchBar的value |e={value:Number} |
+|@focus |input 获取焦点时触发事件,返回参数为uniSearchBar的value |e={value:Number} |
+|@blur |input 失去焦点时触发事件,返回参数为uniSearchBar的value |e={value:Number} |
+
+### 替换 icon 的 slot 插槽
+
+|插槽称名 |说明 |
+|:-: |:-: |
+|searchIcon |替换组件的搜索图标|
+|clearIcon |替换组件的清除图标|
+
+```html
+
+
+
+
+
+
+
+ X
+
+
+```
+
+
+## 组件示例
+
+点击查看:[https://hellouniapp.dcloud.net.cn/pages/extUI/search-bar/search-bar](https://hellouniapp.dcloud.net.cn/pages/extUI/search-bar/search-bar)
\ No newline at end of file