diff --git a/pages.json b/pages.json index d9b68c8..3cbe8ed 100644 --- a/pages.json +++ b/pages.json @@ -5,6 +5,7 @@ "style": { "navigationBarTitleText": "首页", "navigationStyle": "custom", + "enablePullDownRefresh": true, // #ifdef APP-PLUS "enablePullDownRefresh": true, // #endif @@ -17,14 +18,16 @@ "path": "pages/gather/gather", "style": { "navigationBarTitleText": "工作台", - "navigationStyle": "custom" + "navigationStyle": "custom", + "enablePullDownRefresh": true } }, { "path": "pages/plant_release/index", "style": { "navigationBarTitleText": "常用", - "navigationStyle": "custom" + "navigationStyle": "custom", + "enablePullDownRefresh": true } }, { @@ -699,7 +702,16 @@ "navigationBarTitleText": "店铺资质信息" } } - ] + ,{ + "path" : "settledApply/settledApply", + "style" : + { + "navigationBarTitleText": "入驻申请", + "enablePullDownRefresh": true + } + + } + ] }, { "root": "pages/admin", diff --git a/pages/home/index.vue b/pages/home/index.vue index 5a30c6a..20eee64 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -14,7 +14,7 @@ - + {{street}} @@ -58,6 +58,10 @@ + + + @@ -76,6 +80,7 @@ import { graphicLstApi, getTopicList, graphicStartApi } from '@/api/community.js' import { getIndexData } from '@/api/api.js' import { getGeocoder, merClassifly } from '@/api/store.js'; + import { getArea, getStreet } from '@/api/article.js'; import { Toast } from '@/libs/uniApi' export default { components: { @@ -83,6 +88,8 @@ }, data() { return { + showPicker: false, + columnData: [], show: false, swiper: { url: [{ @@ -127,9 +134,33 @@ this.getCateList() this.getGoods() this.selfLocation() + this.Area() }, onShow() {}, methods: { + confirm(e) { + this.where.street_id = e.value[1].code + this.showPicker = false + }, + changeHandler(e) { + const { columnIndex, value, values, index, picker = this.$refs.uPicker } = e; + if (columnIndex === 0) { + getStreet({ area_code: value[0]['code'] }).then(res => { + this.$refs.uPicker.setColumnValues(1, res); + }); + } + }, + Area() { + getArea({ city_code: 510500 }).then(res => { + this.$refs.uPicker.setColumnValues(0, res.data); + this.Street(res.data[0]['code']); + }); + }, + Street(code) { + getStreet({ area_code: code }).then(res => { + this.$refs.uPicker.setColumnValues(1, res.data); + }); + }, gogogo(item) { uni.navigateTo({ url: '/pages/plantGrass/plant_detail/index?id=' + item.community_id diff --git a/pages/nongKe/supply_chain/component/shop_card.vue b/pages/nongKe/supply_chain/component/shop_card.vue index ddaa1a1..bc82b0a 100644 --- a/pages/nongKe/supply_chain/component/shop_card.vue +++ b/pages/nongKe/supply_chain/component/shop_card.vue @@ -87,9 +87,10 @@ /* box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.25); */ border-radius: 28.07rpx; margin-bottom: 17.54rpx; - background-image: url('https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/2/storeBg.png'); + // background-image: url('https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/2/storeBg.png'); background-size: 100% 100%; background-repeat: no-repeat; + background-color: #f5f5f5; .merchant_msg { display: flex; diff --git a/pages/nongKe/supply_chain/merchant.vue b/pages/nongKe/supply_chain/merchant.vue index ff542f0..0789af1 100644 --- a/pages/nongKe/supply_chain/merchant.vue +++ b/pages/nongKe/supply_chain/merchant.vue @@ -19,6 +19,9 @@ + + + {{ item.store_name }} @@ -99,6 +102,7 @@ onShow() {}, methods: { async searchBtn() { + this.infoData.page = 1 const res = await getStoreGoods(this.id, this.infoData) this.list = res.data.list }, @@ -316,14 +320,27 @@ width: 694.74rpx; background: #FFFFFF; border-radius: 8px; + font-size: 24.56rpx; + + .goods_image { + width: 119.3rpx; + height: 119.3rpx; + border-radius: 8px; + margin-right: 26.32rpx; + } .left_goods_msg { width: 100%; flex: 1; .name { - font-size: 31.58rpx; - font-weight: bold; + font-size: 28.07rpx; + font-weight: 700; + width: 315.79rpx; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } .price { @@ -340,7 +357,7 @@ align-items: flex-end; .num { - font-size: 31.58rpx; + font-size: 24.56rpx; color: $uni-theme-color; } @@ -357,7 +374,7 @@ width: 180rpx; height: 60rpx; line-height: 60rpx; - background-color: $uni-theme-color; + background: $uni-theme-bg-color; border-radius: 100px; color: #fff; } diff --git a/pages/store/settledApply/settledApply.vue b/pages/store/settledApply/settledApply.vue new file mode 100644 index 0000000..767648d --- /dev/null +++ b/pages/store/settledApply/settledApply.vue @@ -0,0 +1,484 @@ + + + + + \ No newline at end of file diff --git a/pages/supply_chains/supply_chains.vue b/pages/supply_chains/supply_chains.vue index ce5f167..9555952 100644 --- a/pages/supply_chains/supply_chains.vue +++ b/pages/supply_chains/supply_chains.vue @@ -81,7 +81,7 @@ - + {{item.title}} @@ -214,6 +214,11 @@ onShow() {}, computed: mapGetters(['location']), methods: { + navigat() { + uni.navigateTo({ + url: '/pages/store/settledApply/settledApply' + }) + }, async articleHotList() { const res = await getArticleList(19) this.ArticleHotList = res.data.list