diff --git a/App.vue b/App.vue index 05c6e1a..088d48f 100644 --- a/App.vue +++ b/App.vue @@ -10,7 +10,7 @@ // +---------------------------------------------------------------------- // #ifdef APP-PLUS let jpushModule = uni.requireNativePlugin("JG-JPush"); - const mp = uni.requireNativePlugin('uniMP'); + const mp = uni.requireNativePlugin('uniMP'); // #endif import { checkLogin diff --git a/api/community.js b/api/community.js index 53e01e5..fe9ec77 100644 --- a/api/community.js +++ b/api/community.js @@ -82,11 +82,16 @@ export function videoList(data) { }); } /**自己的视频列表*/ +export function deoList(id) { + return request.get(`community/show/${id}`); +} + export function myVideoList(id,data) { return request.get(`community/user/community_video/${id}`, data, { noAuth: true }); } + /**文章点赞*/ export function graphicStartApi(id, status) { return request.post(`community/start/${id}`, status); diff --git a/api/product.js b/api/product.js index 002e2d7..547c66e 100644 --- a/api/product.js +++ b/api/product.js @@ -13,6 +13,13 @@ import request from "@/utils/request.js"; * 获取商品详情 */ export const getProductDetailsAPI = (data) => request.get('micro/product_details', data) + +/** + *商品列表 + */ +export const spuInfo = (id,data) => request.get('product/spu/street/'+id, data) + + /** * 线下导入 */ diff --git a/api/store.js b/api/store.js index 59a5c06..73d54da 100644 --- a/api/store.js +++ b/api/store.js @@ -5,14 +5,14 @@ import request from "@/utils/request.js"; * */ export function microSeachBarCode(data) { - return request.get('micro/seach_bar_code', data); + return request.get('micro/seach_bar_code', data); } /** * 获取收款二维码 * @returns {*} */ export function createtApi(data) { - return request.post('v2/micropay/create', data); + return request.post('v2/micropay/create', data); } /** @@ -20,7 +20,7 @@ export function createtApi(data) { * @returns {*} */ export function addCartApi(data) { - return request.post('v2/micropay/addCart', data); + return request.post('v2/micropay/addCart', data); } /** * 获取产品详情 @@ -28,9 +28,9 @@ export function addCartApi(data) { * */ export function getProductDetail(id, data) { - return request.get('store/product/detail/' + id, data, { - noAuth: true - }); + return request.get('store/product/detail/' + id, data, { + noAuth: true + }); } /** * 获取预览商品详情 @@ -38,16 +38,16 @@ export function getProductDetail(id, data) { * */ export function getPreviewProDetail(data) { - return request.get('store/product/preview', data, { - noAuth: true - }); + return request.get('store/product/preview', data, { + noAuth: true + }); } /** * 产品分享二维码 推广员 * @param int id */ export function getProductCode(id, data) { - return request.get('store/product/qrcode/' + id, data); + return request.get('store/product/qrcode/' + id, data); } /** * 添加收藏 @@ -55,7 +55,7 @@ export function getProductCode(id, data) { * @param string category product=普通产品,product_seckill=秒杀产品 */ export function collectAdd(data) { - return request.post('user/relation/create', data); + return request.post('user/relation/create', data); } /** * 删除收藏产品 @@ -63,14 +63,14 @@ export function collectAdd(data) { * @param string category product=普通产品,product_seckill=秒杀产品 */ export function collectDel(data) { - return request.post('user/relation/delete', data); + return request.post('user/relation/delete', data); } /** * 购车添加 * */ export function postCartAdd(data) { - return request.post('user/cart/create', data); + return request.post('user/cart/create', data); } /** @@ -78,73 +78,73 @@ export function postCartAdd(data) { * */ export function getCategoryList() { - return request.get('store/product/category/lst', {}, { - noAuth: true - }); + return request.get('store/product/category/lst', {}, { + noAuth: true + }); } /** * 获取产品列表 * @param object data */ export function getProductslist(data) { - if (data.brand_id && Array.isArray(data.brand_id)) { - data = { - ...data - } - data.brand_id = data.brand_id.toString() - } - return request.get('product/spu/lst', data, { - noAuth: true - }); + if (data.brand_id && Array.isArray(data.brand_id)) { + data = { + ...data + } + data.brand_id = data.brand_id.toString() + } + return request.get('product/spu/lst', data, { + noAuth: true + }); } /** * 获取优惠券商品列表 * @param object data */ export function getCouponProductlist(data) { - if (data.brand_id && Array.isArray(data.brand_id)) { - data = { - ...data - } - data.brand_id = data.brand_id.toString() - } - return request.get('product/spu/coupon_product', data, { - noAuth: true - }); + if (data.brand_id && Array.isArray(data.brand_id)) { + data = { + ...data + } + data.brand_id = data.brand_id.toString() + } + return request.get('product/spu/coupon_product', data, { + noAuth: true + }); } /** * 获取品牌列表 * @param object data */ export function getBrandlist(data) { - return request.get('store/product/brand/lst', data, { - noAuth: true - }); + return request.get('store/product/brand/lst', data, { + noAuth: true + }); } /** * 获取推荐产品 * */ export function getProductHot(page, limit) { - return request.get("product/spu/recommend", { - page: page === undefined ? 1 : page, - limit: limit === undefined ? 10 : limit - }, { - noAuth: true - }); + return request.get("product/spu/recommend", { + page: page === undefined ? 1 : page, + limit: limit === undefined ? 10 : limit + }, { + noAuth: true + }); } /** * 获取商户推荐产品 * */ export function getMerProductHot(id, data) { - return request.get(`product/spu/recommend`, { - page: data.page === undefined ? 1 : data.page, - limit: data.limit === undefined ? 10 : data.limit, - mer_id: id || '' - }, { - noAuth: true - }); + return request.get(`product/spu/recommend`, { + page: data.page === undefined ? 1 : data.page, + limit: data.limit === undefined ? 10 : data.limit, + mer_id: id || '' + }, { + noAuth: true + }); } /** * 批量收藏 @@ -153,7 +153,7 @@ export function getMerProductHot(id, data) { * @param string category */ export function collectAll(data) { - return request.post('user/relation/batch/create', data); + return request.post('user/relation/batch/create', data); } /** * 首页产品的轮播图和产品信息 @@ -161,23 +161,23 @@ export function collectAll(data) { * */ export function getGroomList(type, data) { - return request.get('product/spu/hot/' + type, data, { - noAuth: true - }); + return request.get('product/spu/hot/' + type, data, { + noAuth: true + }); } /** * 获取商品收藏列表 * @param object data */ -export function getCollectUserList(data) { - return request.get('user/relation/product/lst', data) +export function getCollectUserList(data) { + return request.get('user/relation/product/lst', data) } /** * 获取商品收藏列表 -- 删除 * @param object data */ export function userCollectDel(data) { - return request.post('user/relation/batch/delete', data) + return request.post('user/relation/batch/delete', data) } /** * 获取产品评论 @@ -186,43 +186,43 @@ export function userCollectDel(data) { * */ export function getReplyList(id, data) { - return request.get('store/product/reply/lst/' + id, data, { - noAuth: true - }) + return request.get('store/product/reply/lst/' + id, data, { + noAuth: true + }) } /** * 产品评价数量和好评度 * @param int id */ export function getReplyConfig(id) { - return request.get('reply/config/' + id); + return request.get('reply/config/' + id); } /** * 获取搜索关键字获取 * */ export function getSearchKeyword() { - return request.get('common/hot_keyword', {}, { - noAuth: true - }); + return request.get('common/hot_keyword', {}, { + noAuth: true + }); } /** * 门店列表 * @returns {*} */ export function storeListApi(data) { - return request.get("store_list", data, { - noAuth: true - }); + return request.get("store_list", data, { + noAuth: true + }); } /** * 商户列表 * @returns {*} */ export function storeMerchantList(data) { - return request.get("store/merchant/lst", data, { - noAuth: true - }); + return request.get("store/merchant/lst", data, { + noAuth: true + }); } /** * 获取商铺详情 @@ -230,9 +230,9 @@ export function storeMerchantList(data) { * @param {Object} data 商铺数据 */ export function getStoreDetail(id, data) { - return request.get("store/merchant/detail/" + id, data, { - noAuth: true - }); + return request.get("store/merchant/detail/" + id, data, { + noAuth: true + }); } /** * 获取商铺商品列表 @@ -240,9 +240,9 @@ export function getStoreDetail(id, data) { * @param {Object} data 商铺商品列表数据 */ export function getStoreGoods(id, data) { - return request.get("product/spu/merchant/" + id, data, { - noAuth: true - }); + return request.get("product/spu/merchant/" + id, data, { + noAuth: true + }); } /** * 获取商铺分类列表 @@ -250,77 +250,77 @@ export function getStoreGoods(id, data) { * @param {Object} data */ export function getStoreCategory(id, data) { - return request.get("store/merchant/category/lst/" + id, data, { - noAuth: true - }); + return request.get("store/merchant/category/lst/" + id, data, { + noAuth: true + }); } /** * 关注商铺 * @param {Object} type_id 商铺 id */ export function followStore(type_id) { - return request.post("user/relation/create", { - type: 10, - type_id: type_id - }); + return request.post("user/relation/create", { + type: 10, + type_id: type_id + }); } /** * 取消商铺关注 * @param {Object} type_id 商铺 id */ export function unfollowStore(type_id) { - return request.post("user/relation/delete", { - type: 10, - type_id: type_id - }); + return request.post("user/relation/delete", { + type: 10, + type_id: type_id + }); } /** * 获取商铺优惠券 * @param {Object} id */ export function getStoreCoupon(id) { - return request.get("coupon/store/" + id, { - noAuth: true - }); + return request.get("coupon/store/" + id, { + noAuth: true + }); } /** * 获取商铺优惠券 */ export function getMerchantLst(data) { - return request.get("user/relation/merchant/lst", data, { - noAuth: true - }); + return request.get("user/relation/merchant/lst", data, { + noAuth: true + }); } /** * 物流信息 */ export function express(id) { - return request.post("ordero/express/" + id, { - noAuth: true - }); + return request.post("ordero/express/" + id, { + noAuth: true + }); } /** * 子集分类 * @returns {*} */ export function storeCategory(pid) { - return request.get("store/product/category", pid, { - noAuth: true - }); + return request.get("store/product/category", pid, { + noAuth: true + }); } /** * 分销说明 * @returns {*} */ export function bagExplain() { - return request.get("store/product/bag/explain"); + return request.get("store/product/bag/explain"); } /** * 分销礼包推荐列表 * @returns {*} */ export function bagRecommend() { - return request.get("product/spu/bag/recommend"); + return request.get("product/spu/bag/recommend"); } /** * 分销礼包列表 @@ -328,56 +328,56 @@ export function bagRecommend() { */ export function productBag(data) { - return request.get("product/spu/bag", data, { - noAuth: true - }); + return request.get("product/spu/bag", data, { + noAuth: true + }); } /** * 商铺二维码 * @returns {*} */ export function merchantQrcode(id, data) { - return request.get("store/merchant/qrcode/" + id, data, { - noAuth: true - }); + return request.get("store/merchant/qrcode/" + id, data, { + noAuth: true + }); } /** * 推荐商品 * @returns {*} */ export function merchantProduct(id, data) { - if (data.brand_id && Array.isArray(data.brand_id)) { - data = { - ...data - } - data.brand_id = data.brand_id.toString() - } - return request.get("product/spu/merchant/" + id, data, { - noAuth: true - }); + if (data.brand_id && Array.isArray(data.brand_id)) { + data = { + ...data + } + data.brand_id = data.brand_id.toString() + } + return request.get("product/spu/merchant/" + id, data, { + noAuth: true + }); } /** * 推荐商品banner * @returns {*} */ export function getHotBanner(type) { - return request.get("common/hot_banner/" + type, {}, { - noAuth: true - }); + return request.get("common/hot_banner/" + type, {}, { + noAuth: true + }); } /** * 商户入驻表单 * @returns {*} */ export function create(data) { - return request.post("intention/create", data); + return request.post("intention/create", data); } /** * 商户入驻短信验证码 * @returns {*} */ export function verify(data) { - return request.post("auth/verify", data); + return request.post("auth/verify", data); } /** * 获取秒杀商品详情 @@ -385,36 +385,36 @@ export function verify(data) { * */ export function getSeckillProductDetail(id) { - return request.get('store/product/seckill/detail/' + id, {}, { - noAuth: true - }); + return request.get('store/product/seckill/detail/' + id, {}, { + noAuth: true + }); } /** * 直播推荐列表 * @returns {*} */ export function getLiveList(data) { - return request.get(`broadcast/hot`, data, { - noAuth: true - }); + return request.get(`broadcast/hot`, data, { + noAuth: true + }); } /** * 直播列表 * @returns {*} */ export function getBroadcastListApi(data) { - return request.get("broadcast/lst", data, { - noAuth: true - }); + return request.get("broadcast/lst", data, { + noAuth: true + }); } /** * 商户分类 * @returns {*} */ export function merClassifly() { - return request.get("intention/cate", {}, { - noAuth: true - }); + return request.get("intention/cate", {}, { + noAuth: true + }); } /** * 获取预售商品详情 @@ -422,9 +422,9 @@ export function merClassifly() { * */ export function getPresellProductDetail(id) { - return request.get('store/product/presell/detail/' + id, {}, { - noAuth: true - }); + return request.get('store/product/presell/detail/' + id, {}, { + noAuth: true + }); } /** * 获取商户申请记录 @@ -432,7 +432,7 @@ export function getPresellProductDetail(id) { * */ export function getApplicationRecordList(data) { - return request.get('intention/lst', data); + return request.get('intention/lst', data); } /** * 获取商户申请详情 @@ -440,7 +440,7 @@ export function getApplicationRecordList(data) { * */ export function getGoodsDetails(id) { - return request.get('intention/detail/' + id, {}); + return request.get('intention/detail/' + id, {}); } /** @@ -449,7 +449,7 @@ export function getGoodsDetails(id) { * */ export function updateGoodsRecord(id, data) { - return request.post('intention/update/' + id, data); + return request.post('intention/update/' + id, data); } /** * 获取定位详细地址 @@ -457,9 +457,9 @@ export function updateGoodsRecord(id, data) { * */ export function getGeocoder(data) { - return request.get(`lbs/geocoder?location=${data.lat},${data.long}`, {}, { - noAuth: true - }); + return request.get(`lbs/geocoder?location=${data.lat},${data.long}`, {}, { + noAuth: true + }); } /** * 获取店铺类型 @@ -467,80 +467,109 @@ export function getGeocoder(data) { * */ export function getStoreTypeApi() { - return request.get('intention/type', {sift_store:0}, { - noAuth: true - }); + return request.get('intention/type', { + sift_store: 0 + }, { + noAuth: true + }); } /** * 到货通知 * */ export function arrivalNoticeApi(data) { - return request.post('store/product/increase_take', data); + return request.post('store/product/increase_take', data); } /* 获取图片验证码 */ export function getCaptcha() { - return request.get('captcha'); + return request.get('captcha'); } /* 获取店铺资质 */ export function storeCertificate(data) { - return request.post(`store/certificate/${data.merId}`, data) + return request.post(`store/certificate/${data.merId}`, data) } /** * 本地服务列表 * @returns {*} */ export function storeServiceList(id, data) { - return request.get(`product/spu/local/${id}`, data, { - noAuth: true - }); + return request.get(`product/spu/local/${id}`, data, { + noAuth: true + }); } /** * 复制口令 * @returns {*} */ export function copyPasswordApi(data) { - return request.get(`product/spu/copy`, data, { - noAuth: true - }); + return request.get(`product/spu/copy`, data, { + noAuth: true + }); } /** * 口令搜索 * @returns {*} */ export function copyPasswordSearch(data) { - return request.get(`command/copy`, data, { - noAuth: true - }); + return request.get(`command/copy`, data, { + noAuth: true + }); } /** * 套餐列表 * @returns {*} */ export function getDiscountsLst(data) { - return request.get(`discounts/lst`, data, { - noAuth: true - }); + return request.get(`discounts/lst`, data, { + noAuth: true + }); } /** * 套餐--立即购买 * @returns {*} */ export function discountsCartAdd(data) { - return request.post('user/cart/batchCreate', data); + return request.post('user/cart/batchCreate', data); } /** * 商品--价格说明 * @returns {*} */ export function priceRuleApi(id) { - return request.get(`store/product/price_rule/${id}`, {}, { - noAuth: true - }); + return request.get(`store/product/price_rule/${id}`, {}, { + noAuth: true + }); +} +/** + * 供销市场标签 + * @returns {*} + */ +export function supMenuApi(data) { + return request.get('intention/cate', data); +} +/** + * 供销市场标签 + * @returns {*} + */ +export function supAgoodsApi(data) { + return request.get('store/merchant/lst', data); +} +// /api/store / merchant / lst ? page = 1 & limit = 10 & order = & category_id = 22 & type_id = 10 & street_id = & +// credit_buy = +// /api/region/:street_id/merchant +/** + * 附近商家 + * @returns {*} + */ +// export function supAgoodsApi(data) { +// return request.get('store/merchant/lst', data); +// } +export function vicinityStoreApi(data) { + return request.get(`region/${data}/merchant`); } \ No newline at end of file diff --git a/components/WaterfallsFlow/WaterfallsFlowo.vue b/components/WaterfallsFlow/WaterfallsFlowo.vue new file mode 100644 index 0000000..561592e --- /dev/null +++ b/components/WaterfallsFlow/WaterfallsFlowo.vue @@ -0,0 +1,208 @@ + + + + + diff --git a/components/WaterfallsFlow/WaterfallsFlows.vue b/components/WaterfallsFlow/WaterfallsFlows.vue new file mode 100644 index 0000000..17461f6 --- /dev/null +++ b/components/WaterfallsFlow/WaterfallsFlows.vue @@ -0,0 +1,210 @@ + + + + + diff --git a/components/WaterfallsFlowItem/WaterfallsFlowItemo.vue b/components/WaterfallsFlowItem/WaterfallsFlowItemo.vue new file mode 100644 index 0000000..d48faf1 --- /dev/null +++ b/components/WaterfallsFlowItem/WaterfallsFlowItemo.vue @@ -0,0 +1,206 @@ + + + + + \ No newline at end of file diff --git a/components/WaterfallsFlowItem/WaterfallsFlowItems.vue b/components/WaterfallsFlowItem/WaterfallsFlowItems.vue new file mode 100644 index 0000000..7e8b621 --- /dev/null +++ b/components/WaterfallsFlowItem/WaterfallsFlowItems.vue @@ -0,0 +1,138 @@ + + + + + \ No newline at end of file diff --git a/components/checkDelivery/index.vue b/components/checkDelivery/index.vue index 706c71c..f906f0b 100644 --- a/components/checkDelivery/index.vue +++ b/components/checkDelivery/index.vue @@ -9,9 +9,10 @@ - + {{item.title}} - + @@ -39,77 +40,79 @@ // +---------------------------------------------------------------------- // | Author: CRMEB Team // +---------------------------------------------------------------------- - import { mapGetters } from "vuex"; - export default{ - name:'checkDelivery', - props:{ - isShowBox:{ - type:Boolean, - default:false + import { + mapGetters + } from "vuex"; + export default { + name: 'checkDelivery', + props: { + isShowBox: { + type: Boolean, + default: false }, - activeObj:{ - type:Object, - default:function(){ + activeObj: { + type: Object, + default: function() { return {} } }, - deliveryName:{ - type:String, - default:'快递配送' + deliveryName: { + type: String, + default: '快递配送' }, - radioList:{ - type:Array, - default: [ - { - title:'快递配送', - check:true + radioList: { + type: Array, + default: [{ + title: '快递配送', + check: true }, { - title:'到店核销', - check:false + title: '到店核销', + check: false } ], }, }, computed: mapGetters(['viewColor']), - data(){ + data() { return { - radioIndex:0, - oldRadioIndex:'', //旧的索引 - newData:{} + radioIndex: 0, + oldRadioIndex: '', //旧的索引 + newData: {} } }, created() { this.newData = JSON.parse(JSON.stringify(this.activeObj)) }, - methods:{ + methods: { // 关闭配送方式弹窗 - closeShowBox(){ + closeShowBox() { this.$emit('close') }, // 选择配送方式 - bindCheck(item,index){ + bindCheck(item, index) { this.newData.order.isTake = index }, - confirmBtn(){ - this.$emit('confirmBtn',this.newData) + confirmBtn() { + this.$emit('confirmBtn', this.newData) } } } + \ No newline at end of file diff --git a/components/orderGoods/index.vue b/components/orderGoods/index.vue index d670711..f1c4653 100644 --- a/components/orderGoods/index.vue +++ b/components/orderGoods/index.vue @@ -45,6 +45,7 @@ {{item.product_num - item.refund_num}} 已退款 x {{item.product_num - item.refund_num}} + 去评价 已评价 @@ -114,9 +115,8 @@ 申请退款 - 去评价 已评价 diff --git a/components/zbpSwiper.vue b/components/zbpSwiper.vue index e9d0feb..dc15f5e 100644 --- a/components/zbpSwiper.vue +++ b/components/zbpSwiper.vue @@ -4,25 +4,23 @@ - - - - + - + @@ -33,8 +31,7 @@ indicator-active-color="#fff"> - + @@ -73,12 +70,18 @@ location_Arr: { type: Object, default: () => ({}) - } + }, + town: { + type: String, + default: false + }, + }, data() { return { defaInd: [0, 0], street: '', + showPicker: false, styleConfig: [], columnData: [], @@ -95,28 +98,29 @@ interval: 2000, // 自动切换时间间隔 duration: 400 // 滑动动画时长 }, + } }, watch: { - street: { - handler(newVal, oldVal) { - this.street = newVal - }, + street(nval, val) { + this.street = nval } }, created() { - this.getBanner() this.Area() }, mounted() { - this.appLocation() + this.$bus.$on('value-updated', (newValue) => { + // 更新组件的值 + this.street = newValue.split(',')[0] + }); }, - + methods: { swiperClick(item) { const url = item.info[1].value @@ -128,44 +132,20 @@ this.isSelectPlace ? this.showPicker = true : '' }, - appLocation() { - uni.getLocation({ - type: 'wgs84', - timeout: '10', - success: (res) => { - // console.log(res) - let latitude, longitude; - latitude = res.latitude.toString(); - longitude = res.longitude.toString(); - getGeocoder({ - lat: latitude, - long: longitude - }).then(res => { - this.street = res.data.address_component.street - Cache.set('ADRESS_LOCATION', this.street) - }).catch(err => { - uni.showToast({ - title: err, - icon: 'none' - }) - }) - }, - fail: (err) => { - - uni.showToast({ - title: "获取定位超时", - icon: 'none', - duration: 2000 - }); - } - }); - }, confirm(e) { - this.street = e.value[1].name + this.showPicker = false this.$emit('selectPlce', e) - Cache.set('ADRESS_LOCATION', e.value[1].name) + this.$emit('change', e) + this.street = e.value[1].name + this.$nextTick(() => { + this.$bus.$emit('value-updated',e.value[1].name + ',' +e.value[1].code); + + }) + + + }, changeHandler(e) { const { @@ -206,9 +186,11 @@ } = e.detail; if (source === 'autoplay' || source === 'touch') { this.bgColor = this.swiper.url[e.detail.current]['img'] - this.$emit('kkchange',this.bgColor) + this.$emit('kkchange', this.bgColor) } }, + + // 对象转数组 objToArr(data) { let obj = Object.keys(data).sort(); @@ -237,7 +219,7 @@ } - \ No newline at end of file diff --git a/pages/home/index.vue b/pages/home/index.vue index b869105..ec0df30 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -1,364 +1,377 @@ \ No newline at end of file diff --git a/pages/index/component/pictureCube.vue b/pages/index/component/pictureCube.vue index 6538d07..5840f27 100644 --- a/pages/index/component/pictureCube.vue +++ b/pages/index/component/pictureCube.vue @@ -28,7 +28,7 @@ - + diff --git a/pages/index/index.vue b/pages/index/index.vue index 7007b87..7f25d1b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,36 +1,79 @@ - + + \ No newline at end of file diff --git a/pages/nongKe/supply_chain/merchant.vue b/pages/nongKe/supply_chain/merchant.vue index b7e13a5..e137b68 100644 --- a/pages/nongKe/supply_chain/merchant.vue +++ b/pages/nongKe/supply_chain/merchant.vue @@ -20,7 +20,7 @@ - + {{ item.store_name }} diff --git a/pages/nongKe/supply_chain/supplier-copy.vue b/pages/nongKe/supply_chain/supplier-copy.vue index 2abb398..728e9ae 100644 --- a/pages/nongKe/supply_chain/supplier-copy.vue +++ b/pages/nongKe/supply_chain/supplier-copy.vue @@ -33,7 +33,7 @@ - + diff --git a/pages/nongKe/supply_chain/supplier.vue b/pages/nongKe/supply_chain/supplier.vue index dff372f..ed7a850 100644 --- a/pages/nongKe/supply_chain/supplier.vue +++ b/pages/nongKe/supply_chain/supplier.vue @@ -1,27 +1,108 @@ \ No newline at end of file diff --git a/pages/nongKe/supply_chain/suppliers.vue b/pages/nongKe/supply_chain/suppliers.vue new file mode 100644 index 0000000..d6dc7e4 --- /dev/null +++ b/pages/nongKe/supply_chain/suppliers.vue @@ -0,0 +1,1144 @@ + + + + + \ No newline at end of file diff --git a/pages/product/basicSet.vue b/pages/product/basicSet.vue index 7823fe0..aba5372 100644 --- a/pages/product/basicSet.vue +++ b/pages/product/basicSet.vue @@ -8,7 +8,7 @@ 上传店铺背景图 + @click="delImg(0)" mode="aspectFit"> @@ -20,7 +20,7 @@ 上传店铺头像 + radius="4px" @click="delImg(1)" mode="aspectFit"> diff --git a/pages/short_video/appSwiper/index.nvue b/pages/short_video/appSwiper/index.nvue index e18d577..952185d 100644 --- a/pages/short_video/appSwiper/index.nvue +++ b/pages/short_video/appSwiper/index.nvue @@ -1,6 +1,7 @@ - + // .video-list{ + // padding: 200rpx 28.07rpx 0 28.07rpx; + // display: flex; + // flex-direction: row; // 可以生效 + // direction: ltr; + // flex-wrap: wrap; + // justify-content: space-between; + // .goods_item{ + // height: 87.72upx; + // background-color: #999; + // } + // } + .video-list { + // margin: 0 auto; + // width: 750rpx; + padding: 200rpx 28.07rpx 0 28.07rpx; + /* #ifdef MP */ + padding-top: 200rpx; + /* #endif */ + // background-color: #000000; + background-color: #F5F5F5; + + .goods_item { + width: 342.11rpx; + height: 491.23rpx; + border-radius: 8px; + overflow: hidden; + // background-color: #000; + display: flex; + flex-direction: column; + padding-bottom: 10px; + + .goods_img { + width: 342.11rpx; + border-top-left-radius: 8px; + border-top-right-radius: 8px; + height: 294.74rpx; + } + + .botm { + flex: 1; + padding: 0 14.04rpx; + padding-bottom: 21.05rpx; + display: flex; + flex-direction: column; + justify-content: space-between; + background-color: #fff; + border-radius: 0 0 8px 8px; + + .title { + font-size: 26.32rpx !important; + margin: 12px 0; + width: 342.11rpx; + overflow: hidden; + text-overflow: ellipsis; + lines: 2; + } + + .goods_info { + display: flex; + flex-direction: row; + direction: ltr; + justify-content: space-between; + + .l_info { + flex-direction: row; // 可以生效 + direction: ltr; + display: flex; + align-items: center; + } + + .g_img { + width: 60rpx; + height: 60rpx; + border-radius: 50%; + } + + .g_name { + font-size: 26.32rpx !important; + margin-left: 8.77rpx; + width: 100.63rpx; + text-overflow: ellipsis; + lines: 1; + } + + .nice_box { + flex-direction: row; // 可以生效 + direction: ltr; + align-items: center; + + .isshow { + color: #FE3530 !important; + } + + .iconfont { + font-size: 30rpx; + } + + .icon-shoucang1 { + color: #F84221; + } + + .collect { + font-size: 24rpx; + margin-left: 5rpx; + } + } + } + } + } + } + + .noVideo { + position: fixed; + top: 400rpx; + z-index: 9; + width: 750rpx; + flex-direction: row; + justify-content: center; + + .pictrue { + width: 414rpx; + height: 256rpx; + } + + .tips { + text-align: center; + margin-top: 14rpx; + font-size: 26rpx; + color: #999; + } + } + + .fixed-head { + flex-direction: row; + justify-content: center; + align-items: center; + position: fixed; + left: 0; + top: 70rpx; + height: 86rpx; + + .icon-xiangzuo { + margin-left: 10px; + width: 20px; + height: 20px; + color: #ffffff; + } + } + + .header { + position: fixed; + z-index: 9; + width: 750rpx; + height: 186rpx; + flex-direction: row; + justify-content: center; + align-items: center; + padding-top: 70rpx; + + .items { + margin: 0 30rpx; + + .tName { + color: #000; + font-size: 32rpx; + + &.on { + font-size: 38rpx; + } + } + } + } + + .container { + background-color: #F5F5F5; + } + + .item { + position: relative; + } + + .videoHover { + position: absolute; + top: 0; + left: 0; + flex: 1; + background-color: rgba(0, 0, 0, 0.1); + justify-content: center; + align-items: center; + } + + .playState { + width: 160rpx; + height: 160rpx; + opacity: 0.2; + } + + .video-status { + width: 690rpx; + position: absolute; + left: 30rpx; + background: #000; + border-radius: 10rpx; + top: 150rpx; + padding: 30rpx; + + .status-title { + flex-direction: row; + align-items: center; + + .title { + margin-left: 20rpx; + color: #ffffff; + font-size: 28rpx; + } + } + + .refusal { + color: #ffffff; + font-size: 22rpx; + margin: 15rpx 0 0 48rpx; + } + + .image { + width: 28rpx; + height: 28rpx; + } + } + + .userInfo { + position: absolute; + bottom: 120px; + right: 10px; + display: flex; + align-items: center; + flex-direction: column; + + .pictrue { + flex-direction: column; + justify-content: center; + align-items: center; + position: relative; + + // margin-bottom: 18rpx; + .guanzhu { + width: 42rpx; + height: 42rpx; + display: flex; + align-items: center; + justify-content: center; + color: #fff; + background: #E93323; + border-radius: 100%; + position: relative; + top: -20rpx; + left: 3rpx; + + .iconfont { + font-size: 30rpx; + color: #fff; + } + } + + .yiguanzhu { + width: 42rpx; + height: 42rpx; + } + } + } + + .video-my { + position: relative; + align-items: center; + justify-content: center; + flex-direction: row; + + } + + .video-dian { + position: relative; + width: 33px; + height: 33px; + align-items: center; + justify-content: center; + flex-direction: row; + left: 3px; + + .dian { + width: 7px; + height: 7px; + background-color: #fff; + border-radius: 100%; + margin-right: 3px; + + &:last-child { + margin-right: 0; + } + } + } + + .manage { + width: 115px; + background: #ffffff; + box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + padding: 0 8px; + position: absolute; + bottom: 10px; + right: 60px; + border-radius: 8px; + + .manage-gou { + display: flex; + width: 13px; + height: 13px; + background: #ffffff; + transform: rotate(140deg); + position: absolute; + top: 30px; + right: -6px; + box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.05); + } + + .items { + border-bottom: 1px solid #EEEEEE; + padding: 10px 0; + display: flex; + align-items: center; + flex-direction: row; + + .text { + color: #282828; + font-size: 13px; + } + + &:last-child { + border-bottom-color: transparent; + } + + .image { + width: 32rpx; + height: 32rpx; + margin: 0 16rpx 0; + } + } + } + + .userAvatar { + border-radius: 500%; + border-style: solid; + border-width: 2px; + border-color: #ffffff; + width: 80rpx; + height: 80rpx; + } + + .info-text { + display: flex; + margin-top: 10rpx; + color: #ffffff; + font-size: 22rpx; + text-align: center; + + &.likeNumActive { + color: #E93323; + } + } + + .likeIco, + .shareIco, + .commentIco { + width: 60rpx; + height: 60rpx; + margin-top: 15px; + } + + .likeNum, + .commentNum, + .shareTex { + color: #ffffff; + font-size: 30rpx; + text-align: center; + margin: 5px; + } + + .mention { + width: 46px; + height: 46px; + position: relative; + + .image { + width: 30px; + height: 30px; + position: absolute; + right: 8px; + } + + .count { + padding: 2px 6px; + background: #fff; + border-radius: 100%; + display: flex; + align-items: center; + justify-content: center; + color: #E93323; + position: absolute; + right: 6px; + top: 0; + font-size: 10px; + } + } + + .content { + width: 325px; + position: absolute; + bottom: 15px; + /* justify-content: center; */ + padding: 15rpx; + flex-direction: column; + justify-content: flex-start; + color: #ffffff; + + .cart { + height: 48rpx; + flex-direction: row; + + .cartName { + font-size: 24rpx; + color: #fff; + } + } + + .product { + flex-direction: row; + margin-top: 27rpx; + + .scroll-view { + flex-direction: row; + } + + .product-item { + width: 444rpx; + height: 136rpx; + background: rgba(0, 0, 0, .55); + border-radius: 12rpx; + padding: 16rpx 15rpx; + margin-right: 30rpx; + } + + .swiper { + width: 500rpx !important; + height: 136rpx !important; + + .swiper-count { + width: 444rpx !important; + height: 136rpx !important; + background: rgba(0, 0, 0, .55); + border-radius: 12rpx; + padding: 16rpx 15rpx; + } + + .swiper-item { + flex-direction: row; + } + } + + .item-count { + flex-direction: row; + justify-content: space-between; + + .picture { + width: 104rpx; + height: 104rpx; + border-radius: 10rpx; + + .image { + width: 104rpx; + height: 104rpx; + border-radius: 10rpx; + } + } + + .product-text { + width: 286rpx; + justify-content: space-between; + + .name { + font-size: 24rpx; + width: 286rpx; + color: #fff; + } + + .product-price { + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + + .price { + display: flex; + flex-direction: row; + + .sm, + .money { + color: #ffffff; + font-size: 24rpx; + } + } + + .buy-btn { + padding: 6rpx 20rpx; + display: flex; + align-items: center; + justify-content: center; + color: #fff; + border-radius: 26rpx; + background: #E93323; + font-size: 20rpx; + } + } + } + } + } + } + + .product_cate { + margin: 20rpx 0; + flex-direction: row; + + .pro-view { + flex-direction: row; + align-items: center; + border-radius: 30rpx; + padding: 0 25rpx; + line-height: 40rpx; + border-radius: 29rpx; + border: 1rpx solid #ffffff; + + .text { + color: #ffffff; + font-size: 24rpx; + } + + .icon { + font-size: 26rpx; + font-weight: bold; + margin-right: 8rpx; + color: #ffffff; + } + } + } + + .timeCon { + flex-direction: row; + align-items: center; + + .userName { + font-size: 30rpx; + color: #ffffff; + } + } + + .words { + margin-top: 20rpx; + + .close { + display: flex; + flex-direction: row; + align-items: center; + justify-content: flex-end; + margin-right: 20rpx; + + .imgClose { + width: 18rpx; + height: 10rpx; + margin-left: 10rpx; + } + } + + .wordsCon { + position: relative; + + .more { + position: absolute; + bottom: 0; + right: 40rpx; + font-size: 26rpx; + color: #ffffff; + font-weight: bold; + } + + .img { + width: 18rpx; + height: 10rpx; + margin-left: 4rpx; + position: absolute; + bottom: 7rpx; + right: 20rpx; + } + } + + .info { + color: #fff; + font-size: 28rpx; + } + + .more { + font-size: 26rpx; + color: #ffffff; + font-weight: bold; + } + } + + .root { + background-color: #000000; + + } + \ No newline at end of file diff --git a/pages/short_video/nvueSwiper/index.nvue b/pages/short_video/nvueSwiper/index.nvue index 496f981..20e5574 100644 --- a/pages/short_video/nvueSwiper/index.nvue +++ b/pages/short_video/nvueSwiper/index.nvue @@ -15,7 +15,7 @@ - + @@ -54,6 +54,7 @@ 5.show-loading:这里默认去掉播放转圈的标志 v-if="Math.abs(k-index)<=1" --> + - 充值 + 充值 - 充值 + 充值 @@ -52,7 +52,7 @@ - + diff --git a/static/images/GXSC/BBY.png b/static/images/GXSC/BBY.png new file mode 100644 index 0000000..96afa8b Binary files /dev/null and b/static/images/GXSC/BBY.png differ diff --git a/static/images/GXSC/DH.png b/static/images/GXSC/DH.png new file mode 100644 index 0000000..40e5775 Binary files /dev/null and b/static/images/GXSC/DH.png differ diff --git a/static/images/GXSC/DW.png b/static/images/GXSC/DW.png new file mode 100644 index 0000000..9642609 Binary files /dev/null and b/static/images/GXSC/DW.png differ diff --git a/static/images/GXSC/GXZH.png b/static/images/GXSC/GXZH.png new file mode 100644 index 0000000..a372322 Binary files /dev/null and b/static/images/GXSC/GXZH.png differ diff --git a/static/images/GXSC/JDMS.png b/static/images/GXSC/JDMS.png new file mode 100644 index 0000000..5c5dc5a Binary files /dev/null and b/static/images/GXSC/JDMS.png differ diff --git a/static/images/GXSC/JJRB.png b/static/images/GXSC/JJRB.png new file mode 100644 index 0000000..ed30330 Binary files /dev/null and b/static/images/GXSC/JJRB.png differ diff --git a/static/images/GXSC/JYPX.png b/static/images/GXSC/JYPX.png new file mode 100644 index 0000000..e11270d Binary files /dev/null and b/static/images/GXSC/JYPX.png differ diff --git a/static/images/GXSC/MSGY.png b/static/images/GXSC/MSGY.png new file mode 100644 index 0000000..2a36c7f Binary files /dev/null and b/static/images/GXSC/MSGY.png differ diff --git a/static/images/GXSC/NFCP.png b/static/images/GXSC/NFCP.png new file mode 100644 index 0000000..347323e Binary files /dev/null and b/static/images/GXSC/NFCP.png differ diff --git a/static/images/GXSC/NMJD.png b/static/images/GXSC/NMJD.png new file mode 100644 index 0000000..97930a6 Binary files /dev/null and b/static/images/GXSC/NMJD.png differ diff --git a/static/images/GXSC/NYSC.png b/static/images/GXSC/NYSC.png new file mode 100644 index 0000000..bda55f5 Binary files /dev/null and b/static/images/GXSC/NYSC.png differ diff --git a/static/images/GXSC/PF.png b/static/images/GXSC/PF.png new file mode 100644 index 0000000..17eddea Binary files /dev/null and b/static/images/GXSC/PF.png differ diff --git a/static/images/GXSC/SCFW.png b/static/images/GXSC/SCFW.png new file mode 100644 index 0000000..37bc246 Binary files /dev/null and b/static/images/GXSC/SCFW.png differ diff --git a/static/images/GXSC/SHFW.png b/static/images/GXSC/SHFW.png new file mode 100644 index 0000000..0683d47 Binary files /dev/null and b/static/images/GXSC/SHFW.png differ diff --git a/static/images/GXSC/SJ.png b/static/images/GXSC/SJ.png new file mode 100644 index 0000000..690ee58 Binary files /dev/null and b/static/images/GXSC/SJ.png differ diff --git a/static/images/GXSC/SJicon.png b/static/images/GXSC/SJicon.png new file mode 100644 index 0000000..2dc4691 Binary files /dev/null and b/static/images/GXSC/SJicon.png differ diff --git a/static/images/GXSC/SS.png b/static/images/GXSC/SS.png new file mode 100644 index 0000000..3c02ebb Binary files /dev/null and b/static/images/GXSC/SS.png differ diff --git a/static/images/GXSC/WLSY.png b/static/images/GXSC/WLSY.png new file mode 100644 index 0000000..a227e3c Binary files /dev/null and b/static/images/GXSC/WLSY.png differ diff --git a/static/images/GXSC/WYLY.png b/static/images/GXSC/WYLY.png new file mode 100644 index 0000000..1fc137b Binary files /dev/null and b/static/images/GXSC/WYLY.png differ diff --git a/static/images/GXSC/YLBJ.png b/static/images/GXSC/YLBJ.png new file mode 100644 index 0000000..5d6ae23 Binary files /dev/null and b/static/images/GXSC/YLBJ.png differ diff --git a/static/images/GXSC/ZXJZ.png b/static/images/GXSC/ZXJZ.png new file mode 100644 index 0000000..3f218d4 Binary files /dev/null and b/static/images/GXSC/ZXJZ.png differ diff --git a/static/images/MYTC/BG.png b/static/images/MYTC/BG.png new file mode 100644 index 0000000..de535b1 Binary files /dev/null and b/static/images/MYTC/BG.png differ diff --git a/static/images/MYTC/PF.png b/static/images/MYTC/PF.png new file mode 100644 index 0000000..17eddea Binary files /dev/null and b/static/images/MYTC/PF.png differ diff --git a/static/images/MYTC/SCFW.png b/static/images/MYTC/SCFW.png new file mode 100644 index 0000000..37bc246 Binary files /dev/null and b/static/images/MYTC/SCFW.png differ diff --git a/static/images/MYTC/SHFW.png b/static/images/MYTC/SHFW.png new file mode 100644 index 0000000..0683d47 Binary files /dev/null and b/static/images/MYTC/SHFW.png differ diff --git a/static/images/MYTC/SJ.png b/static/images/MYTC/SJ.png new file mode 100644 index 0000000..690ee58 Binary files /dev/null and b/static/images/MYTC/SJ.png differ diff --git a/static/images/MYTC/SJicon.png b/static/images/MYTC/SJicon.png new file mode 100644 index 0000000..2dc4691 Binary files /dev/null and b/static/images/MYTC/SJicon.png differ diff --git a/static/images/MYTC/SS.png b/static/images/MYTC/SS.png new file mode 100644 index 0000000..c1e77dc Binary files /dev/null and b/static/images/MYTC/SS.png differ diff --git a/static/images/f1.png b/static/images/f1.png new file mode 100644 index 0000000..e0c77a8 Binary files /dev/null and b/static/images/f1.png differ diff --git a/static/images/f2.png b/static/images/f2.png new file mode 100644 index 0000000..5e12ffc Binary files /dev/null and b/static/images/f2.png differ diff --git a/static/images/f3.png b/static/images/f3.png new file mode 100644 index 0000000..7aa79f3 Binary files /dev/null and b/static/images/f3.png differ diff --git a/static/images/f4.png b/static/images/f4.png new file mode 100644 index 0000000..5745107 Binary files /dev/null and b/static/images/f4.png differ diff --git a/static/images/f5.png b/static/images/f5.png new file mode 100644 index 0000000..2e84ae3 Binary files /dev/null and b/static/images/f5.png differ diff --git a/static/images/f6.png b/static/images/f6.png new file mode 100644 index 0000000..c5c3f2a Binary files /dev/null and b/static/images/f6.png differ diff --git a/static/images/f7.png b/static/images/f7.png new file mode 100644 index 0000000..5f2f760 Binary files /dev/null and b/static/images/f7.png differ diff --git a/static/images/p8.png b/static/images/p8.png new file mode 100644 index 0000000..fc71d4a Binary files /dev/null and b/static/images/p8.png differ diff --git a/static/images/p9.png b/static/images/p9.png new file mode 100644 index 0000000..ca1eeb2 Binary files /dev/null and b/static/images/p9.png differ diff --git a/static/images/pj.png b/static/images/pj.png new file mode 100644 index 0000000..b190b23 Binary files /dev/null and b/static/images/pj.png differ diff --git a/static/images/pj1.png b/static/images/pj1.png new file mode 100644 index 0000000..4f84af6 Binary files /dev/null and b/static/images/pj1.png differ diff --git a/static/images/you.png b/static/images/you.png new file mode 100644 index 0000000..7dddb9b Binary files /dev/null and b/static/images/you.png differ