diff --git a/rc-busness/ajax/getData.js b/rc-busness/ajax/getData.js index b7300477..0c1a5e5d 100644 --- a/rc-busness/ajax/getData.js +++ b/rc-busness/ajax/getData.js @@ -31,13 +31,13 @@ export const courselist = (offset, courseId, type, sort, selectScreen = []) => { courseId, selectScreenStr } - return fetch('/api/courselist', data) + return fetch( '/api/courselist', data) } /** * 获取课程详情 */ export const getDetail = (id) => { - fetch('/api/courseDetail/index/' + id) + fetch( '/api/courseDetail/index/' + id) } /** @@ -56,40 +56,44 @@ export const getleckCourse = (name, offset) => { * 加入购物车 */ -export const postCourseId = (productCode, buyCount, memberId, mobile, productImg, productName, productPrice, specifications) => { +export const postCourseId = (productCode,buyCount,memberId, mobile,productImg,productName,productPrice,specifications) => { var data = { - buyCount: buyCount, + buyCount:buyCount, memberId: memberId, - mobile: mobile, - productCode: productCode, + mobile:mobile, + productCode:productCode, productImg: productImg, - productName: productName, - productPrice: productPrice, - specifications: specifications + productName:productName, + productPrice:productPrice, + specifications:specifications } - return fetch('/insertCartProductInfo', data, 'POST') + return fetch('/insertCartProductInfo', data,'POST') } /** * 是否存在购物车 */ -export const isexistCart = (id) => { + export const isexistCart = (id, pet,address) => { var data = { - + memberId: id, } - return fetch('getCartProductInfo', data, 'POST') + return fetch('getCartProductInfo?memberId='+id,data,'POST') } /** * 删除购物车 */ export const deleteCart = (memberId, productCode) => { - return fetch('cancelCartProductInfo?memberId=' + memberId, productCode, 'POST') + var data = { + memberId: memberId, + productCode:productCode + } + return fetch('cancelCartProductInfo',data,'POST') } /** * 购物车批量提交 */ export const mostAddClass = (id) => { - return fetch('/api/mostAddClass/', { id }) + return fetch('/api/mostAddClass/', {id}) } /** * 删除购物车 @@ -105,47 +109,47 @@ export const mostAddClass = (id) => { /** * 发送验证码 */ -export const sendMsg = (mobile, pet, address) => { + export const sendMsg = (mobile, pet,address) => { var data = { - phoneNumber: mobile, + phoneNumber:mobile, } - return fetch('sendMsg', data, 'POST') + return fetch('sendMsg', data, 'POST' ) } /** * 发送验证码数据 */ -export const vadatnmsg = (msgNum, hash, tamp) => { + export const vadatnmsg = (msgNum,hash,tamp) => { var data = { - msgNum: msgNum, - tamp: tamp, - hash: hash + msgNum:msgNum, + tamp:tamp, + hash:hash } - return fetch('validateNum', data, 'POST') + return fetch('validateNum', data, 'POST' ) } /** * 筛选标签 */ -export const userstype = (stype, pet, address) => { + export const userstype = (stype, pet,address) => { var data = { - petType: 0, + petType:0, } - return fetch('productSearchTag/query?petType=' + 0, data, 'POST') + return fetch('productSearchTag/query?petType=' + 0, data, 'POST' ) } /** * 登录 */ -export const userLongin = (mobile, pet, address) => { +export const userLongin = (mobile, pet,address) => { var data = { - id: '', - mobile: mobile, + id:'', + mobile:mobile, } - return fetch('member?type=get', data, 'POST') + return fetch('member?type=get', data, 'POST' ) } -//注册 -export const useredit = (mobile, pet, address) => { + //注册 +export const useredit = (mobile, pet,address) => { var data = { mobile:mobile, memberName:'', @@ -180,10 +184,10 @@ export const userquery = (stype) => { console.log(stype); var data = { - goodsName: stype + goodsName:stype } - return fetch('goods?goodsName=' + stype, data, 'POST') + return fetch('goods?goodsName='+stype, data, 'POST' ) } //商品全部信息 export const userque = (stype) => { @@ -191,7 +195,7 @@ export const userque = (stype) => { console.log(stype); var data = { } - return fetch('goods', data, 'POST') + return fetch('goods', data, 'POST' ) } @@ -230,14 +234,20 @@ export const searchchanpin = (stype,usertype,curPage,curRow) => { curRow=10; let queryTail='&page='+curPage+'&rows='+curRow; console.log(stype); - let list = {}; - stype.map(item => { + let list={}; + stype.map(item=>{ console.log(item); list=item }) var str = "&"; for(var key in list){ - str = str + key + "=" + list[key] + "&"; + + str = str + key + "=" + list[key] + "&"; + } + str = str.substr(0,str.length-1); + var data = { + page:1, + row:10 } return fetch('product/query?petType='+usertype+str+queryTail, data, 'POST' ) @@ -255,19 +265,19 @@ export const searchchanpin = (stype,usertype,curPage,curRow) => { //查询订单 -export const userindent = (phoneNumber, orderNumber,) => { - var data = { - phoneNumber: '18112621098', - orderNumber: orderNumber, +export const userindent = (phoneNumber,orderNumber,) => { + var data = { + phoneNumber:'18112621098', + orderNumber:orderNumber, } - return fetch('orderMaster/?type=query', data, 'POST') + return fetch('orderMaster/?type=query', data, 'POST' ) } //查询订单详情 export const userin = (orderNumber,) => { - var data = { - orderNumber: orderNumber, + var data = { + orderNumber:orderNumber, } - return fetch('orderMaster/?type=query', data, 'POST') + return fetch('orderMaster/?type=query', data, 'POST' ) } @@ -275,21 +285,21 @@ export const userin = (orderNumber,) => { //取消订单 export const canceldanhao = (orderNumber) => { var data = { - - orderNumber: orderNumber, + + orderNumber:orderNumber, } - return fetch('cancelOrder/', data, 'POST') + return fetch('cancelOrder/', data, 'POST' ) } export const biaomessa = (stype) => { console.log(stype); var data = { - name: stype, - page: 1, - row: 10 + name:stype, + page:1, + row:10 } - return fetch('product/query', data, 'POST') + return fetch('product/query', data, 'POST' ) } export const biaome = (usertype,stype,curPage,rows) => { @@ -301,9 +311,9 @@ export const biaome = (usertype,stype,curPage,rows) => { let username='&name='+stype console.log(stype); var data = { - name: stype, - rows: 10, - page: 1, + name:stype, + rows:10, + page:1, } return fetch('product/query?petType='+usertype+username+queryTail,data, 'POST' ) } @@ -314,9 +324,9 @@ export const biaome = (usertype,stype,curPage,rows) => { export const memberAccount = (stype) => { console.log(stype); var data = { - memberId: stype + memberId:stype } - return fetch('memberAccount?type=history', data, 'POST') + return fetch('memberAccount?type=history', data, 'POST' ) } @@ -324,20 +334,20 @@ export const memberAccount = (stype) => { export const ordermaster = (stype) => { console.log(stype); var data = { - - memberId: '223782' + + memberId:'223782' } - return fetch('memberAccount', data, 'POST') + return fetch('memberAccount', data, 'POST' ) } //微信支付 export const payOrderWX = (stype) => { console.log(stype); var data = { - - memberId: '223782' + + memberId:'223782' } - return fetch('memberAccount', data, 'POST') + return fetch('memberAccount', data, 'POST' ) } @@ -346,9 +356,9 @@ export const payOrderWX = (stype) => { export const insercar = (stype) => { console.log(stype); var data = { - petType: stype + petType:stype } - return fetch('product/insertCartProductInfo', data, 'POST') + return fetch('product/insertCartProductInfo', data, 'POST' ) } @@ -356,25 +366,25 @@ export const insercar = (stype) => { //查询猫狗商品信息 -export const catquery = (productCode, type) => { +export const catquery = (productCode,type) => { console.log(productCode); var data = { - - petType: 0 + + petType:0 } - return fetch('h5/product/query', data, 'POST') + return fetch('h5/product/query', data, 'POST' ) } //查询猫狗商品信息 -export const dogquery = (productCode, type) => { +export const dogquery = (productCode,type) => { console.log(productCode); var data = { - - petType: 1, - pet_type: 0 + + petType:1, + pet_type:0 } - return fetch('h5/product/query', data, 'POST') + return fetch('h5/product/query', data, 'POST' ) } @@ -385,11 +395,11 @@ export const dogquery = (productCode, type) => { export const oncequery = (productCode) => { var data = { - - productCode: productCode + + productCode:productCode } - return fetch("goodsByProductCode?productCode=" + productCode, data, 'POST') + return fetch( "goodsByProductCode?productCode="+productCode, data, 'POST' ) } @@ -397,173 +407,163 @@ export const oncequery = (productCode) => { export const goodsmessage = (productCode) => { var data = { - productCode: productCode + productCode:productCode } - return fetch("productMaster/query?productCode=" + productCode, data, 'POST') + return fetch( "productMaster/query?productCode="+productCode, data, 'POST' ) } -//优惠券的插入 -export const inserdiscount = (mobile, couponId) => { - var data = { - mobile: mobile, - couponId: couponId + //优惠券的插入 + export const inserdiscount = (mobile,couponId) => { + var data = { + mobile:mobile, + couponId:couponId + } + return fetch('coupon?type=fetch', data, 'POST' ) } - return fetch('coupon?type=fetch', data, 'POST') -} -//优惠券的查询 -export const getdiscount = (memberId, channelSecurity, mobile) => { - var data = { - memberId: memberId, - mobile: mobile + //优惠券的查询 + export const getdiscount = (memberId,channelSecurity,mobile) => { + var data = { + memberId:memberId, + mobile:mobile + } + return fetch('memberAddress?type=getAll', data, 'POST' ) + } + + //可用的优惠券 + export const alldiscount = (memberId,channelSecurity,mobile) => { + var data = { + memberId:memberId, + } + return fetch('couponConfig?type=getAll', data, 'POST' ) + } + + + //用户领取的优惠券 + export const getdraw = (mobile,states) => { + var data = { + mobile:mobile, + status:states + } + return fetch('coupon?type=getAll', data, 'POST' ) + } + + + //微信支付 + export const generateOrderWX = (list) => { + var data = [{ + + + }] + return fetch('generateOrderWX', list, 'POST' ) } - return fetch('memberAddress?type=getAll', data, 'POST') -} + //用户所有的优惠券 + export const allConfig = (memberId,channelSecurity,mobile) => { + var data = { + } + return fetch('couponConfig?type=getAll', data, 'POST' ) + } + -//可用的优惠券 -export const alldiscount = (memberId, channelSecurity, mobile) => { - var data = { - memberId: memberId, + //用户领取优惠券 + export const getConfig = (memberId,couponId) => { + var data = { + memberId:memberId, + couponId:couponId, + } + return fetch('coupon?type=fetch', data, 'POST' ) + } + + + //用户下的优惠券 + export const userConfig = (memberId,couponId) => { + var data = { + memberId:memberId, + couponId:couponId, + } + return fetch('coupon?type=fetch', data, 'POST' ) + } + + + + + //用户订单的查询 + // export const customerorders = (memberId,channelSecurity,mobile) => { + // var data = { + // productName:'幼猫全价粮', + // buyCount:'2', + // productId:'210352', + // payAmount:'517', + // memberId:'844350', + // phoneNumber:'18112621098', + // } + // return fetch('generateOrderWX', data, 'POST' ) + // } + + + //地址的查询 + export const selectaddress = (memberId, pet,address) => { + var data = { + memberId:memberId, + } + return fetch('memberAddress?type=getAll', data, 'POST' ) } - return fetch('couponConfig?type=getAll', data, 'POST') -} -//用户领取的优惠券 -export const getdraw = (mobile, states) => { - var data = { - mobile: mobile, - status: states + //地址的添加 //id/详细地址/ 收货人姓名/收货人电话号码/省份id/城市id/区域编码 + export const editaddress = (memberId, detailAddress,recipient,tel,provinceId,cityId,districtId) => { + var data = { + memberId:844350, + provinceId:25, + cityId:36, + districtId:418, + detailAddress:'古美路1455弄46号302', + recipient:'蒋缘缘2', + recipientPhone:'13671516167', + zipCode:'214423', + default:false, + } + return fetch('memberAddress?type=add', data, 'POST' ) } - return fetch('coupon?type=getAll', data, 'POST') -} + //删除 + export const editdelete = (memberId,ids) => { + var data = { + memberId:memberId, + ids:ids, + } + return fetch('memberAddress?type=delete', data, 'POST' ) + } -//微信支付 -export const generateOrderWX = (list) => { - return fetch('generateOrderWX', list, 'POST') -} -//微信支付返回 -export const updateOrderWX = (data) => { - return fetch('updateOrderWX', data, 'POST') -} -//支付宝支付 -export const generateOrderAlipay = (list) => { - return fetch('generateOrderAlipay', list, 'POST') -} - -//用户所有的优惠券 -export const allConfig = (memberId, channelSecurity, mobile) => { - var data = { - } - return fetch('couponConfig?type=getAll', data, 'POST') -} - - -//用户领取优惠券 -export const getConfig = (memberId, couponId) => { - var data = { - memberId: memberId, - couponId: couponId, - } - return fetch('coupon?type=fetch', data, 'POST') -} - - -//用户下的优惠券 -export const userConfig = (memberId, couponId) => { - var data = { - memberId: memberId, - couponId: couponId, - } - return fetch('coupon?type=fetch', data, 'POST') -} - - - - -//用户订单的查询 -// export const customerorders = (memberId,channelSecurity,mobile) => { -// var data = { -// productName:'幼猫全价粮', -// buyCount:'2', -// productId:'210352', -// payAmount:'517', -// memberId:'844350', -// phoneNumber:'18112621098', -// } -// return fetch('generateOrderWX', data, 'POST' ) -// } - -//地址的查询 -export const memberAddress = (type, data) => { - return fetch('memberAddress?type=' + type, data, 'POST') -} - - -//地址的查询 -export const selectaddress = (memberId, pet, address) => { - var data = { - memberId: memberId, - } - return fetch('memberAddress?type=getAll', data, 'POST') -} - - -//地址的添加 //id/详细地址/ 收货人姓名/收货人电话号码/省份id/城市id/区域编码 -export const editaddress = (memberId, detailAddress, recipient, tel, provinceId, cityId, districtId) => { - var data = { - memberId: 844350, - provinceId: 25, - cityId: 36, - districtId: 418, - detailAddress: '古美路1455弄46号302', - recipient: '蒋缘缘2', - recipientPhone: '13671516167', - zipCode: '214423', - default: false, - } - return fetch('memberAddress?type=add', data, 'POST') -} - -//删除 -export const editdelete = (memberId, ids) => { - var data = { - memberId: memberId, - ids: ids, - } - return fetch('memberAddress?type=delete', data, 'POST') -} - -//地址的编辑 -export const editupdate = (mobile, pet, address) => { - var data = { - - memberId: '3242', - id: '620111', - provinceId: '', - cityId: '', - districtId: '', - detailAddress: '江西省萍乡市', - recipient: '刘佳敏', - recipientPhone: '13407998521', - zipCode: '', - isDefault: '', - } - return fetch('memberAddress?type=update', data, 'POST') -} + //地址的编辑 + export const editupdate = (mobile, pet,address) => { + var data = { + + memberId:'3242', + id:'620111', + provinceId:'', + cityId:'', + districtId:'', + detailAddress:'江西省萍乡市', + recipient:'刘佳敏', + recipientPhone:'13407998521', + zipCode:'', + isDefault:'', + } + return fetch('memberAddress?type=update', data, 'POST' ) + } //修改密码 -export const userchange = (id, pet, address) => { +export const userchange = (id, pet,address) => { var data = { - id: id, + id:id, } - return fetch('member?type=update', data, 'POST') + return fetch('member?type=update', data, 'POST' ) } diff --git a/rc-busness/assets/css/addaddress.less b/rc-busness/assets/css/addaddress.less deleted file mode 100644 index 471c5f6f..00000000 --- a/rc-busness/assets/css/addaddress.less +++ /dev/null @@ -1,212 +0,0 @@ - - - -@media screen and (max-width:768px){ - .usercontend{ - display: flex; - align-items: center; - justify-content: center; - flex-direction: column; - .rc-useaddress{ - textarea{ - display: none; - } - } - .rc-button{ - display: flex; - justify-content: center; - font-size: 14px; - width: 100%; - box-shadow: 0px -3px 6px rgba(0, 0, 0, 0.1); - height: 80px; - align-items: center; - padding:0 20px 0 20px; - span - { - width: 160px; - height: 48px; - border: 2px solid #E2001A; - border-radius: 30px; - display: flex; - align-items: center; - justify-content: center; - color: #E2001A; - } - em{ - font-style: normal; - width: 164px; - height: 48px; - background: #E2001A; - cursor: pointer; - border-radius: 30px; - display: flex; - align-items: center; - justify-content: center; - color: #FFFFFF; - margin-left: 40px; - } - } - .rc-max-width--xl{ - h2{ - display: none; - } - } - - } - -.rc-max-width--xl{ - margin-top: 16px; - input{ - width: 258px; - height: 34px; - border: none; - border-bottom: 1px solid #808285; - color: #999999; - font-size: 16px; - margin-left: 2px; - } - span{ - font-size: 16px; - font-weight: bold; - width: 22%; - text-align: center; - color: #333333; - margin-top: 2px; - } - .rc-people{ - width: 100%; - display: flex; - align-items: center; - span{ - text-align: left; - } - } -// .rc-phone{ - -// } -// .rc-address{ - -// } -// .rc-useaddress{ - -// } - - - -} - - -} - -@media screen and (min-width: 769px) -{ - .usercontend{ - display: flex; - align-items: center; - justify-content: center; - position: relative; - flex-direction: column; - .rc-button{ - display: flex; - justify-content: center; - font-size: 14px; - width: 100%; - box-shadow: 0px -3px 6px rgba(0, 0, 0, 0.1); - height: 80px; - align-items: center; - - padding:0 20px 0 20px; - span - { - width: 160px; - height: 48px; - border: 2px solid #E2001A; - border-radius: 30px; - display: flex; - align-items: center; - justify-content: center; - color: #E2001A; - } - em{ - font-style: normal; - width: 164px; - height: 48px; - background: #E2001A; - cursor: pointer; - border-radius: 30px; - display: flex; - align-items: center; - justify-content: center; - color: #FFFFFF; - margin-left: 40px; - } - } - h2{ - font-size: 26px; - color: #333333; - text-align: center; - font-weight: bold; - } - .rc-useaddress{ - display: flex; - align-items: center; - textarea{ - width: 680px; - height: 118px; - background: #FFFFFF; - border: 1px solid #808285; - opacity: 1; - border-radius: 0px; - padding-top: 12px; - padding-left: 16px; - } - -.userinput{ - display: none; -} - } - } - - -.rc-max-width--xl{ - margin-top: 16px; - input{ - width: 680px; - height: 45px; - border: 1px solid #808285; - color: #999999; - font-size: 16px; - margin-left: 2px; - padding-left: 16px; - } - span{ - font-size: 16px; - font-weight: bold; - width: 10%; - text-align: center; - color: #333333; - margin-top: 2px; - } - .rc-people{ - width: 100%; - display: flex; - align-items: center; - - } - -// .rc-phone{ - -// } -// .rc-address{ - -// } -// .rc-useaddress{ - -// } - - - -} - - -} \ No newline at end of file diff --git a/rc-busness/assets/css/editaddress.less b/rc-busness/assets/css/editaddress.less deleted file mode 100644 index 269b6de2..00000000 --- a/rc-busness/assets/css/editaddress.less +++ /dev/null @@ -1,89 +0,0 @@ -@media screen and (max-width:768px){ - .rc-button{ - display: flex; - justify-content: center; - font-size: 14px; - width: 100%; - box-shadow: 0px -3px 6px rgba(0, 0, 0, 0.1); - height: 80px; - align-items: center; - position: absolute; - bottom: 0; - padding:0 20px 0 20px; - span - { - width: 160px; - height: 48px; - border: 2px solid #E2001A; - border-radius: 30px; - display: flex; - align-items: center; - justify-content: center; - color: #E2001A; - } - em{ - font-style: normal; - width: 164px; - height: 48px; - background: #E2001A; - cursor: pointer; - border-radius: 30px; - display: flex; - align-items: center; - justify-content: center; - color: #FFFFFF; - margin-left: 40px; - } - } -.rc-max-width--xl{ - margin-top: 16px; - input{ - width: 258px; - height: 34px; - border: none; - border-bottom: 1px solid #808285; - color: #999999; - font-size: 16px; - margin-left: 2px; - } - span{ - font-size: 16px; - font-weight: bold; - width: 22%; - text-align: center; - color: #333333; - margin-top: 2px; - } - .rc-people{ - width: 100%; - display: flex; - align-items: center; - span{ - text-align: left; - } - - - } -// .rc-phone{ - -// } -// .rc-address{ - -// } -// .rc-useaddress{ - -// } - - - -} - - -} - -@media screen and (min-width: 769px) -{ - - - -} \ No newline at end of file diff --git a/rc-busness/assets/css/global.less b/rc-busness/assets/css/global.less index 8da2ca1c..8a669da3 100644 --- a/rc-busness/assets/css/global.less +++ b/rc-busness/assets/css/global.less @@ -8,6 +8,30 @@ body{ .fade-leave-active { opacity: 0; } + +.ts-mask{ + width:100%; + height:100%; + position: fixed; + top:0; + left:0; + display:flex; + flex-direction: column; + justify-content: center; + align-items: center; + z-index:99; + + .ts-mask-bg{ + background-color:#000; + opacity:.6; + width:100%; + height:100%; + z-index:0; + position:absolute; + left:0; + top:0; + } +} .userloding { position: fixed; left: 50%; @@ -378,15 +402,12 @@ img, picture { } .ts-scrollable{ li{ - width: 6rem; - overflow: hidden; + // width: 4.125rem; padding: 0 0.62rem; height: 1.625rem; margin-left: .5rem; font-size:.75rem; - text-overflow:ellipsis; - white-space:nowrap; - line-height: 1.625rem; + line-height: 1.375rem; } &::-webkit-scrollbar{ display:none; @@ -398,7 +419,6 @@ img, picture { /* pc端 */ @media screen and (min-width: 769px) { - /deep/.van-tabs__wrap { max-width: 768px; diff --git a/rc-busness/assets/css/index.less b/rc-busness/assets/css/index.less index fc6f260e..67008c80 100644 --- a/rc-busness/assets/css/index.less +++ b/rc-busness/assets/css/index.less @@ -5,10 +5,29 @@ /deep/.van-swipe__indicator--active{ background-color: #E1001A; } -.rc-ma{ - .ul-zhuan{ - li{ - background: unset;; + +.ts-carousel-indicator{ + /deep/.swiper-pagination-bullet{ + margin-left:.5rem; + } + /deep/.swiper-pagination-bullet-active{ + background:#E2001A; + } + &.center{ + width:100%; + text-align: center; + } +} +.ts-position-identifier{ + +} +.ul-zhuan,.ul-dog{ + li{ + background: unset; + img{ + border-radius: 50%; + } + &.active { img{ border-radius: 50%; } @@ -35,6 +54,30 @@ width:auto; } } +.ul-dog{ + width: 100%; + display: flex; + justify-content: center; + flex-wrap: wrap; + flex-direction: row; + + span{ + margin-top: .5rem; + display: block; + } + img{ + width: 9.5rem; + height: auto; + display: block; + } + li{ + cursor: pointer; + font-size: 16px; + text-align: center; + margin-top:3rem; + margin-left:3rem; + } +} @media screen and (max-width:768px){ .ul-dog{ display: none; @@ -172,7 +215,6 @@ .uservideo{ width: 100%; height:auto; - max-height: 15.68rem; display: block; video{ max-width:100%; @@ -219,6 +261,10 @@ -webkit-box-orient: vertical; max-width: 60%; text-align: center; + word-break: keep-all; + height: 2.625rem; + display: flex; + align-items: center; } em{ font-style: normal; @@ -324,14 +370,21 @@ .rc-selection{ display: none; } - .sw-center{ - display: none; - } -.useraimg{ -width: 100%; -// height: 29.31rem; -object-fit: cover; -} + .sw-center{ + display: none; + } + .useraimg{ + width: 100%; + // height: 29.31rem; + object-fit: cover; + } + .ts-banner-swiper-container{ + position:relative; + .ts-carousel-indicator{ + position:absolute; + bottom:.4rem; + } + } .van-swipe-item { color: #fff; height: 100%; diff --git a/rc-busness/assets/css/integral.less b/rc-busness/assets/css/integral.less index cf1c9309..e461175d 100644 --- a/rc-busness/assets/css/integral.less +++ b/rc-busness/assets/css/integral.less @@ -26,7 +26,10 @@ span{ } } } -.rc-max-width--xl{ +.rc-usermain{ + width: 92%; + margin: 0 auto; + ul{ height: 70px; display: block; diff --git a/rc-busness/assets/css/product-list.less b/rc-busness/assets/css/product-list.less index b1fd2b92..cf1e3bef 100644 --- a/rc-busness/assets/css/product-list.less +++ b/rc-busness/assets/css/product-list.less @@ -9,18 +9,10 @@ ul li ol li em strong i { //rc-main start margin-top:.23rem; .usersearch { - .ts-scrollable-container{ - h2{ - font-weight: bold; - color: #333333; - } - } - margin: 0 auto; overflow: hidden; } - //rc-main end } @@ -32,53 +24,6 @@ ul li ol li em strong i { .usercontentshow{ position: relative; - .rc-productcat { - display: flex; - align-items: center; - flex-wrap: nowrap; - ol{ - display: flex; - align-items: center; - flex-flow: row; - .ts-standard-btn{ - width: 7.87rem; - height: 2.25rem; - background: #FFFFFF; - border-radius: 6.25rem; - background: none; - display: flex; - align-items: center; - justify-content: center; - margin-left: 1rem; - color: #999999; - img { - height: 1rem; - } - span { - margin-left: 0.18rem; - } - } - } - .userrccat{ - width: 32%; - height: 34px; - background: #ffffff; - border-radius: 100px; - display: flex; - align-items: center; - justify-content: center; - margin-left: 0; - font-size: 14px; - span { - margin-left: 3px; - } - img { - width: 24px; - height: 16px; - } - border: 2px solid #E2001A; - } - } .userrccat{ width: 32%; height: 34px; @@ -148,7 +93,48 @@ ul li ol li em strong i { height: 617px; background: white; z-index: 999; - + .rc-productcat { + display: flex; + align-items: center; + flex-wrap: nowrap; + .rc-cat { + width: 32%; + height: 34px; + background: #ffffff; + border-radius: 100px; + display: flex; + align-items: center; + justify-content: center; + margin-left: 0; + font-size: 14px; + span { + margin-left: 3px; + } + img { + width: 24px; + height: 16px; + } + } + .userrccat{ + width: 32%; + height: 34px; + background: #ffffff; + border-radius: 100px; + display: flex; + align-items: center; + justify-content: center; + margin-left: 0; + font-size: 14px; + span { + margin-left: 3px; + } + img { + width: 24px; + height: 16px; + } + border: 2px solid #E2001A; + } + } } @@ -233,7 +219,6 @@ ul li ol li em strong i { justify-content: center; font-size: .14rem; margin-right:.2rem; - margin-left: 16px; span { margin-left: 3px; } @@ -318,7 +303,6 @@ ul li ol li em strong i { //pc端 @media screen and (min-width: 768px){ - .userrccat{ width: 327px; height: 48px; @@ -344,7 +328,6 @@ ul li ol li em strong i { } .online{ width:100%; - margin-top: 17px; &.bold{ height:0.5rem; margin-top: 5rem; @@ -395,13 +378,7 @@ ul li ol li em strong i { } .rc-bottom{ - .rc-productcat { - ol{ - display: flex; - align-items: center; - flex-flow: row; - - } + .rc-productcat { display: flex; align-items: center; flex-wrap: nowrap; @@ -508,7 +485,7 @@ border-radius: 30px; margin-left: 16px; } span { - margin-left: 4px; + margin-left: 0px; } img { width: 24px; @@ -565,38 +542,18 @@ border-radius: 30px; } */ .ts-scrollable-container{ - + overflow-y: hidden; + overflow-x: clip; width: 100%; - margin-top: 18px; h2{ display: flex; align-items: center; width: 4%; } .ts-scrollable{ + overflow-y: hidden; + overflow-x: clip; width: 100%; - ol{ - display: flex; - align-items: center; - } - .ts-standard-btn{ - width: 237px; - height: 48px; -background: #FFFFFF; -border-radius: 30px; -background: none; -display: flex; -align-items: center; -justify-content: center; -margin-left: 40px; -img { -width: 24px; -height: 24px; -} -span { -margin-left: 8px; -} - } } } diff --git a/rc-busness/assets/css/search.less b/rc-busness/assets/css/search.less index e843f622..27cce00e 100644 --- a/rc-busness/assets/css/search.less +++ b/rc-busness/assets/css/search.less @@ -14,6 +14,15 @@ ul li ol li em strong i { position: relative; margin-top: 5.25rem; + .usersearch { + width: 100%; + margin: 0 auto; + overflow: hidden; + margin-top: 20px; + .rc-padding--md{ + padding: 0; + } + } .active{ border: 2px solid #E2001A; color: #E2001A; @@ -29,22 +38,6 @@ ul li ol li em strong i { } //手机端 @media screen and (max-width: 768px) { - .usersearch { - width: 100%; - margin: 0 auto; - overflow: hidden; - margin-top: 20px; - .ts-scrollable-container{ - h2{ - font-weight: bold; - color: #333333; - -} -} - .rc-padding--md{ - padding: 0; - } - } .rc-button { display: flex; @@ -54,9 +47,6 @@ ul li ol li em strong i { box-shadow: 0px -3px 6px rgba(0, 0, 0, 0.1); height: 80px; align-items: center; - position: absolute; - bottom: 0; - padding:0 20px 0 20px; span { width: 160px; @@ -139,9 +129,8 @@ strong{ color: #333333; margin-top: 1.5rem; h2{ - font-size: 16px; + font-size: 18px; font-weight: bold; - color: #333333; } span { font-size: 14px; @@ -179,9 +168,6 @@ strong{ // 我想搜 .usercontentshow{ position: relative; - .rc-column{ - padding-bottom: 0; - } .rc-productcat { display: flex; align-items: center; @@ -203,15 +189,13 @@ justify-content: center; margin-left: 1rem; color: #999999; img { +width: 1.5rem; height: 1rem; } span { margin-left: 0.18rem; } } - li:first-child{ - margin-left: 0; - } } //筛选 .userselect{ @@ -236,7 +220,7 @@ margin-left: 0.18rem; } .ts-scrollable-container{ - margin-top: 1rem; + margin-top: 0.93rem; } } @@ -252,7 +236,6 @@ margin-left: 0.18rem; } h2{ margin-left: 0; - font-weight: bold; } } @@ -292,10 +275,22 @@ border-radius: 100px; .rc-bottom{ position: fixed; background: white; - height: 617px; bottom: 0; left: 0; z-index: 9; + ol li{ + background: none; + width: 7.87rem; + height: 2.25rem; + background: #FFFFFF; + border-radius: 6.25rem; + background: none; + display: flex; + align-items: center; + justify-content: center; + margin-left: 1rem; + } + } .rc-bottoma{ @@ -381,25 +376,7 @@ border-radius: 100px; } //pc端 @media screen and (min-width: 768px){ - .usersearch { - width: 100%; - margin: 0 auto; - overflow: hidden; - margin-top: 40px; - .ts-scrollable-container{ - h2{ - font-weight: bold; - color: #333333; -} -} - .rc-padding--md{ - padding: 0; - } - } - .online{ - margin-top: 47px; - } /deep/.el-dialog__header { padding: 0; margin: 0; @@ -415,7 +392,6 @@ border-radius: 100px; display: flex; align-items: center; width: 6%; - color: #333333; } .ts-scrollable{ // overflow-y: hidden; @@ -525,10 +501,9 @@ margin-left: 8px; color: #333333; margin-top: 12px; h2 { - font-size: 26px; - font-weight: bold; + font-size: 18px; color: #333333; - margin: 0; + margin-left: 12px; } span { font-size: 14px; @@ -622,16 +597,13 @@ border-radius: 30px; /deep/.van-search__content--square{ background: white; } - /deep/.van-search{ - padding-left: 0; - } .van-search__content--square{ display: flex; align-items: center; justify-content: center; background: white; border: 1px solid #D7D7D7; - height: 50px; + height: 80px; width: 1200px; border-radius: 200px; } @@ -676,11 +648,9 @@ border-radius: 30px; } .rc-product { h2 { - font-size: 26px; - font-weight: bold; + font-size: 18px; color: #333333; - margin: 0; - + margin-left: 12px; } } .rc-productcat { diff --git a/rc-busness/assets/pay/fail.png b/rc-busness/assets/pay/fail.png deleted file mode 100644 index 71821a9b..00000000 Binary files a/rc-busness/assets/pay/fail.png and /dev/null differ diff --git a/rc-busness/assets/pay/wx.png b/rc-busness/assets/pay/wx.png deleted file mode 100644 index 7316a9d7..00000000 Binary files a/rc-busness/assets/pay/wx.png and /dev/null differ diff --git a/rc-busness/assets/pay/zfb.png b/rc-busness/assets/pay/zfb.png deleted file mode 100644 index c68db2ab..00000000 Binary files a/rc-busness/assets/pay/zfb.png and /dev/null differ diff --git a/rc-busness/assets/style/default.less b/rc-busness/assets/style/default.less deleted file mode 100644 index 530384c0..00000000 --- a/rc-busness/assets/style/default.less +++ /dev/null @@ -1,78 +0,0 @@ -* { - margin: 0; - padding: 0; -} - -html { - line-height: 160%; -} - -.rc_contline { - border-bottom: 3px solid #f6f6f6; - height: 0px; - margin: 0; - clear: both; -} - -.page_modules { - padding-top: 100px; -} - -.cont_modules { - margin: 0 auto; - max-width: 1400px; -} - -.inline_right { - display: flex; - justify-content: space-between; - width: 100%; -} - -.inline_mid { - display: flex; - justify-content: space-around; - width: 100%; -} - -.inline_left { - display: flex; - justify-content: space-evenly; - width: 100%; - -} - -.li_inline { - li { - display: inline-block; - vertical-align: middle; - } - -} - -.color_red { - color: #E2001A; -} - -.tc { - text-align: center; -} - -.tr { - text-align: right; -} -.el-dialog{ - width: 90%; - max-width: 440px; -} -#tns2-iw{ height: 90px;} -.rc-carousel:not(.rc-carousel--loaded){visibility:visible!important} -@media screen and (max-width: 768px) { - .el-message-box{ - width: 300px; - } - .el-dialog{ - width: 90%; - } - } - \ No newline at end of file diff --git a/rc-busness/components/addressInput.vue b/rc-busness/components/addressInput.vue index 8da3f31f..bb83bd81 100644 --- a/rc-busness/components/addressInput.vue +++ b/rc-busness/components/addressInput.vue @@ -10,10 +10,11 @@