diff --git a/App.vue b/App.vue index 830974e..b5e17ed 100644 --- a/App.vue +++ b/App.vue @@ -78,7 +78,7 @@ page { padding: 0; border: none; font-size: 16px; - background-color: #F3F3F3; + background-color: white; line-height: 1.6; } .globalColor { diff --git a/common/styles/iconfont.css b/common/styles/iconfont.css index 1d70412..089002b 100644 --- a/common/styles/iconfont.css +++ b/common/styles/iconfont.css @@ -1,11 +1,11 @@ @font-face { - font-family: "lf-iconfont"; /* Project id 2651793 */ - src: url('//at.alicdn.com/t/font_2651793_09yxtzk2asib.woff2?t=1627553466179') format('woff2'), - url('//at.alicdn.com/t/font_2651793_09yxtzk2asib.woff?t=1627553466179') format('woff'), - url('//at.alicdn.com/t/font_2651793_09yxtzk2asib.ttf?t=1627553466179') format('truetype'); + font-family: "lf-iconfont"; /* Project id 2779107 */ + src: url('//at.alicdn.com/t/font_2779107_i410qmxy80m.woff2?t=1630489955128') format('woff2'), + url('//at.alicdn.com/t/font_2779107_i410qmxy80m.woff?t=1630489955128') format('woff'), + url('//at.alicdn.com/t/font_2779107_i410qmxy80m.ttf?t=1630489955128') format('truetype'); } -.lf-iconfont { +.iconfont { font-family: "lf-iconfont" !important; font-size: 16px; font-style: normal; @@ -13,34 +13,26 @@ -moz-osx-font-smoothing: grayscale; } -.lf-icon-cuo:before { - content: "\e600"; +.icon-xiangyou:before { + content: "\e6af"; } -.lf-icon-xiangyou:before { - content: "\e6d8"; +.icon-zhankaishangxia:before { + content: "\e7b1"; } -.lf-icon-dui:before { - content: "\e64d"; +.icon-fabu:before { + content: "\e62f"; } -.lf-icon-jia:before { - content: "\e606"; +.icon-shoucang:before { + content: "\e61a"; } -.lf-icon-dui1:before { - content: "\e609"; +.icon-fenxiang:before { + content: "\e612"; } -.lf-icon-weixin:before { +.icon-sousuo:before { content: "\e61c"; } - -.lf-icon-cuowu:before { - content: "\e60c"; -} - -.lf-icon-tongzhi:before { - content: "\e60d"; -} diff --git a/common/styles/theme.css b/common/styles/theme.css index bfd1b09..5ccb8ac 100644 --- a/common/styles/theme.css +++ b/common/styles/theme.css @@ -80,6 +80,10 @@ radio:not([disabled]) .wx-radio-input:hover checkbox:not([disabled]) .wx-checkbo color: #222222 !important; } +.lf-color-777 { + color: #777777 !important; +} + .lf-bg-black { background: #222222 !important; } diff --git a/components/lf-nocontent/lf-nocontent.vue b/components/lf-nocontent/lf-nocontent.vue new file mode 100644 index 0000000..5129fa3 --- /dev/null +++ b/components/lf-nocontent/lf-nocontent.vue @@ -0,0 +1,31 @@ + + + + + diff --git a/components/lf-price/lf-price.vue b/components/lf-price/lf-price.vue new file mode 100644 index 0000000..f4816d8 --- /dev/null +++ b/components/lf-price/lf-price.vue @@ -0,0 +1,46 @@ + + + + + diff --git a/components/lf-waterfall-shopdetails/lf-waterfall.vue b/components/lf-waterfall-shopdetails/lf-waterfall.vue new file mode 100644 index 0000000..e707c3e --- /dev/null +++ b/components/lf-waterfall-shopdetails/lf-waterfall.vue @@ -0,0 +1,220 @@ + + + + + diff --git a/components/self-line/self-line.vue b/components/self-line/self-line.vue new file mode 100644 index 0000000..07d36b5 --- /dev/null +++ b/components/self-line/self-line.vue @@ -0,0 +1,16 @@ + + + + + diff --git a/main.js b/main.js index aed3983..998f9db 100644 --- a/main.js +++ b/main.js @@ -18,6 +18,11 @@ import store from '@/store/index.js'; Vue.config.productionTip = false import uView from 'uview-ui'; Vue.use(uView); + +// 将无数据组件注入全局 +import lfNocontent from '@/components/lf-nocontent/lf-nocontent.vue'; +Vue.component('lf-nocontent', lfNocontent); + Vue.prototype.$shared = $shared; Vue.prototype.$http = sandBox; Vue.prototype.$cookieStorage = cookieStorage; diff --git a/pages.json b/pages.json index 710ea86..4efd8a4 100644 --- a/pages.json +++ b/pages.json @@ -4,10 +4,9 @@ }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { - "path": "pages/index/index/index", + "path": "pages/discover/discover", "style": { - "navigationBarTitleText": "首页", - "enablePullDownRefresh":true, + "navigationBarTitleText": "", "navigationStyle": "custom" } }, @@ -18,6 +17,28 @@ "navigationStyle": "custom" } }, + { + "path": "pages/user/my/my", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "pages/discover/discoverdetails", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "pages/index/index/index", + "style": { + "navigationBarTitleText": "首页", + "enablePullDownRefresh":true, + "navigationStyle": "custom" + } + }, { "path": "pages/index/microPages/microPages", "style": { diff --git a/pages/discover/discover.vue b/pages/discover/discover.vue new file mode 100644 index 0000000..297a763 --- /dev/null +++ b/pages/discover/discover.vue @@ -0,0 +1,127 @@ + + + + + + + diff --git a/pages/discover/discoverdetails.vue b/pages/discover/discoverdetails.vue new file mode 100644 index 0000000..e5ed563 --- /dev/null +++ b/pages/discover/discoverdetails.vue @@ -0,0 +1,236 @@ + + + + + diff --git a/pages/shop/shopdetail.vue b/pages/shop/shopdetail.vue index fb581c3..cbf8264 100644 --- a/pages/shop/shopdetail.vue +++ b/pages/shop/shopdetail.vue @@ -1,13 +1,13 @@ - + + diff --git a/pages/user/my/my.vue b/pages/user/my/my.vue new file mode 100644 index 0000000..37fe497 --- /dev/null +++ b/pages/user/my/my.vue @@ -0,0 +1,139 @@ + + + + + + + diff --git a/static/images/empty.png b/static/images/empty.png new file mode 100644 index 0000000..1c480e2 Binary files /dev/null and b/static/images/empty.png differ