adding JiaMin coding

This commit is contained in:
Carl 2022-01-05 16:14:02 +08:00
parent 5001e96ab7
commit 4afa25d02b
116 changed files with 32119 additions and 52 deletions

69
rc-busness/README.md Normal file
View File

@ -0,0 +1,69 @@
# rc-busness
## Build Setup
```bash
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start
# generate static project
$ npm run generate
```
For detailed explanation on how things work, check out the [documentation](https://nuxtjs.org).
## Special Directories
You can create the following extra directories, some of which have special behaviors. Only `pages` is required; you can delete them if you don't want to use their functionality.
### `assets`
The assets directory contains your uncompiled assets such as Stylus or Sass files, images, or fonts.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/assets).
### `components`
The components directory contains your Vue.js components. Components make up the different parts of your page and can be reused and imported into your pages, layouts and even other components.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/components).
### `layouts`
Layouts are a great help when you want to change the look and feel of your Nuxt app, whether you want to include a sidebar or have distinct layouts for mobile and desktop.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/layouts).
### `pages`
This directory contains your application views and routes. Nuxt will read all the `*.vue` files inside this directory and setup Vue Router automatically.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/get-started/routing).
### `plugins`
The plugins directory contains JavaScript plugins that you want to run before instantiating the root Vue.js Application. This is the place to add Vue plugins and to inject functions or constants. Every time you need to use `Vue.use()`, you should create a file in `plugins/` and add its path to plugins in `nuxt.config.js`.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/plugins).
### `static`
This directory contains your static files. Each file inside this directory is mapped to `/`.
Example: `/static/robots.txt` is mapped as `/robots.txt`.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/static).
### `store`
This directory contains your Vuex store files. Creating a file in this directory automatically activates Vuex.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/store).

527
rc-busness/ajax/getData.js Normal file
View File

@ -0,0 +1,527 @@
import fetch from '../config/async/fetch'
/**
* 点击对应课程请求三级分类
* @param {*一级课程id} classId
*/
export const syncClass = classId => fetch('/api/listhome/' + classId)
/**
* 筛选条件下拉的展示请求
*/
export const filter = () => fetch('/api/listhome/filter/data')
/**
* 获取课程列表
*/
export const courselist = (offset, courseId, type, sort, selectScreen = []) => {
var selectScreenStr = ''
// 过滤请求数组
selectScreen.forEach(function (element) {
for (var i = 0; i < element.classlist.length; i++) {
if (element.classlist[i].status) {
selectScreenStr += element.classlist[i].id + '/'
}
}
})
var data = {
offset,
limit: '15',
type,
sort,
courseId,
selectScreenStr
}
return fetch( '/api/courselist', data)
}
/**
* 获取课程详情
*/
export const getDetail = (id) => {
fetch( '/api/courseDetail/index/' + id)
}
/**
* 模糊查询
*/
export const getleckCourse = (name, offset) => {
let data = {
limit: '15',
offset,
name
}
return fetch('/api/getleckCourse', data)
}
/**
* 加入购物车
*/
export const postCourseId = (productCode,buyCount,memberId, mobile,productImg,productName,productPrice,specifications) => {
var data = {
buyCount:buyCount,
memberId: memberId,
mobile:mobile,
productCode:productCode,
productImg: productImg,
productName:productName,
productPrice:productPrice,
specifications:specifications
}
return fetch('/insertCartProductInfo', data,'POST')
}
/**
* 是否存在购物车
*/
export const isexistCart = (id, pet,address) => {
var data = {
memberId: id,
}
return fetch('getCartProductInfo?memberId='+id,data,'POST')
}
/**
* 删除购物车
*/
export const deleteCart = (memberId, productCode) => {
var data = {
memberId: memberId,
productCode:productCode
}
return fetch('cancelCartProductInfo',data,'POST')
}
/**
* 购物车批量提交
*/
export const mostAddClass = (id) => {
return fetch('/api/mostAddClass/', {id})
}
/**
* 删除购物车
*/
// export const deleteCart = (deleteArr = []) => {
// // 拿到数组处理一下把
// let id = deleteArr.join('-')
// return fetch('/api/deleteCart/', {id})
// }
/**
* 发送验证码
*/
export const sendMsg = (mobile, pet,address) => {
var data = {
phoneNumber:mobile,
}
return fetch('sendMsg', data, 'POST' )
}
/**
* 发送验证码数据
*/
export const vadatnmsg = (msgNum,hash,tamp) => {
var data = {
msgNum:msgNum,
tamp:tamp,
hash:hash
}
return fetch('validateNum', data, 'POST' )
}
/**
* 筛选标签
*/
export const userstype = (mobile, pet,address) => {
var data = {
}
return fetch('productSearchTag/query', data, 'POST' )
}
/**
* 登录
*/
export const userLongin = (mobile, pet,address) => {
var data = {
id:'',
mobile:mobile,
}
return fetch('member?type=get', data, 'POST' )
}
//注册
export const useredit = (mobile, pet,address) => {
var data = {
mobile:mobile,
memberName:'',
realName:'',
gender:'',
email:'',
openId:'',
unionId:'',
birthday:'',
provinceId:'',
cityId:'',
districtId:'',
storeCode:'',
remark:'',
memberMark:'',
remark:''
}
return fetch('member?type=add', data, 'POST' )
}
//查询标品全部信息
// export const userquery = (mobile, pet,address) => {
// var data = {
// channelId:"15",
// secret:'H5@2021'
// }
// return fetch('h5/brand/query', data, 'POST' )
// }
//点击商品全部信息
export const userquery = (stype) => {
console.log(stype);
var data = {
goodsName:stype
}
return fetch('goods?goodsName='+stype, data, 'POST' )
}
//商品全部信息
export const userque = (stype) => {
console.log(stype);
var data = {
}
return fetch('goods', data, 'POST' )
}
//标品全部信息
export const biaomessage = (stype) => {
console.log(stype);
var data = {
petType:stype
}
return fetch('product/query?petType='+stype, data, 'POST' )
}
export const biaomessa = (stype) => {
console.log(stype);
var data = {
name:stype
}
return fetch('product/query', data, 'POST' )
}
export const biaome = (stype) => {
console.log(stype);
var data = {
name:stype,
rows:10,
page:1,
}
return fetch('product/query?name='+stype,data, 'POST' )
}
//会员积分
export const memberAccount = (stype) => {
console.log(stype);
var data = {
memberId:stype
}
return fetch('memberAccount?type=history', data, 'POST' )
}
//查询订单信息
export const ordermaster = (stype) => {
console.log(stype);
var data = {
memberId:'223782'
}
return fetch('memberAccount', data, 'POST' )
}
//微信支付
export const payOrderWX = (stype) => {
console.log(stype);
var data = {
memberId:'223782'
}
return fetch('memberAccount', data, 'POST' )
}
export const insercar = (stype) => {
console.log(stype);
var data = {
petType:stype
}
return fetch('product/insertCartProductInfo', data, 'POST' )
}
//查询猫狗商品信息
export const catquery = (productCode,type) => {
console.log(productCode);
var data = {
petType:0
}
return fetch('h5/product/query', data, 'POST' )
}
//查询猫狗商品信息
export const dogquery = (productCode,type) => {
console.log(productCode);
var data = {
petType:1,
pet_type:0
}
return fetch('h5/product/query', data, 'POST' )
}
//查询单个商品
export const oncequery = (productCode) => {
var data = {
productCode:productCode
}
return fetch( "goodsByProductCode?productCode="+productCode, data, 'POST' )
}
//查询单个商品
export const goodsmessage = (productCode) => {
var data = {
productCode:productCode
}
return fetch( "productMaster/query?productCode="+productCode, data, 'POST' )
}
//优惠券的插入
export const inserdiscount = (mobile,couponId) => {
var data = {
mobile:mobile,
couponId:couponId
}
return fetch('coupon?type=fetch', data, 'POST' )
}
//优惠券的查询
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 = {
channelSecurity:'H5@2021',
mobile:mobile,
status:states
}
return fetch('coupon?type=getAll', data, 'POST' )
}
//微信支付
export const generateOrderWX = (list) => {
var data = [{
}]
return fetch('generateOrderWX', 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 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 userchange = (id, pet,address) => {
var data = {
id:id,
}
return fetch('member?type=update', data, 'POST' )
}
/**
* 登录
*/
export const getCartList = (user) => {
var data = {
user
}
return fetch('/api/cartList', data)
}
/**
* 提交订单
*/
export const submitOrder = (phone, id, total, oldOrder) => {
var data = {
phone,
id,
total,
oldOrder
}
return fetch('/api/submitOrder', data)
}
/**
* 支付成功
*/
export const paySuccess = (id, uers) => {
var data = {
id,
uers
}
return fetch('/api/paySuccess', data)
}
/**
* 请求订单列表
*/
export const getOrderList = (user, status) => {
var data = {
user,
status
}
return fetch('/api/getOrderList', data)
}

BIN
rc-busness/assets/buy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
rc-busness/assets/cat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -0,0 +1,936 @@
@media screen and (max-width:768px){
.rc-login{
width: 92%;
margin:0 auto;
}
.userunlogin{
width: 100%;
height: 0.60rem;
display: flex;
justify-content: space-between;
align-items: center;
.user-left{
display: flex;
align-items: center;
img{
width: 0.16rem;
height: 0.16rem;
display: block;
}
span{
color: #444444;
font-size: 0.16rem;
margin-left: 0.06rem;
}
}
.user-right{
img{
width: 8px;
height: 16px;
display: block;
}
}
}
.van-swipe{
z-index: 9998;
}
.rc-usermessage{
width: 80%;
margin: 0 auto;
text-align: center;
em{
font-style: normal;
font-size: 0.3rem;
display: block;
padding-top: 0.8rem;
color: #E1001A;
}
span{
font-size: 0.16rem;
margin-top: 0.17rem;
color: #666666;
display: flex;
align-items: center;
justify-content: center;
}
i{
font-style: normal;
width: 1.57rem;
height: 0.48rem;
border: 2px solid #E2001A;
border-radius: 0.30rem;
display: block;
line-height: 0.48rem;
font-size: 0.16rem;
color: #E2001A;
margin: 0 auto;
margin-top: 0.32rem;
margin-bottom: 0.80rem;
}
}
.rc-video{
display: none;
}
.useraimg{
width: 100%;
height: 4.69rem;
}
.van-swipe-item {
color: #fff;
height: 4.69rem;
width: 100%;
font-size: 0.20px;
line-height: 1.50rem;
text-align: center;
position: relative;
z-index: 9998;
}
.rc-fixright{
width: 0.60rem;
height: 1.81rem;
position: fixed;
right: 0;
top: 30%;
z-index: 9999;
ul{
width: 60px;
height: 181px;
box-shadow: 0px 0px 6px rgb(0 0 0 / 10%);
background-color: white;
display: flex;
flex-direction: column;
li{
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 0.18rem;
}
li:last-child{
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 0.18rem;
margin-bottom: 0.2rem;
}
}
img{
width: 0.19rem;
height: 0.20rem;
display: block;
}
span{
font-size: 0.12rem;
color: #666666;
}
.tuntop{
width: 60px;
height: 60px;
background: #FFFFFF;
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.1);
opacity: 1;
display: block;
color: #666666;
font-size: 12px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 8px;
img{
width: 0.19rem;
height: 0.32rem;
display: block;
}
}
}
.rc-lunbo{
width: 100%;
margin-top: 0.46rem;
.rc-selection{
display: none;
}
h2{
text-align: center;
font-size: 0.26rem;
color: #E2001A;
}
#xxxFullScreen {
background-color: white;
margin-top: 0.40rem;
#swiper1 {
width: 100%;
overflow: hidden;
padding: 0 0 0.10rem 0;
}
.swiper-container{
height: 6.45rem;
}
.swiper-container, .swiper-container2 {
width: 100%;
// overflow: visible !important;
height: 100%;
position: relative;
}
#swiper1 .swiper-container .swiper-wrapper .swiper-slide {
width: 3rem;
height: 6.45rem !important;
}
/* 上一张 */
#swiper1 .swiper-container .swiper-wrapper .swiper-slide-prev {
margin-top: 0.05rem;
height: 100%;
}
/* 下一张 */
#swiper1 .swiper-container .swiper-wrapper .swiper-slide-next {
margin-top: 0.05rem;
height: 100%;
}
.swiper-container .swiper-wrapper .swiper-slide-active {
height: 100%;
}
.uservideo{
width: 100%;
height: 2.51rem;
display: block;
}
}
.sw-center{
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
height: 100%;
border: 1px solid #d7d7d7;
.rc-click{
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
img{
width: 1.77rem;
height: 100px;
display: block;
margin-top: 0.20rem;
}
span{
font-size: 0.18rem;
color: #E2001A;
display: block;
margin-top: 0.20rem;
}
p{
font-size: 0.14rem;
color: #666666;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
width: 60%;
}
em{
font-style: normal;
font-size: 0.20rem;
color: #666666;
}
.sw-cen{
width: 100%;
display: flex;
justify-content: center;
position: relative;
z-index: 9999;
i{
font-style: normal;
width: 1.30rem;
height: 0.40rem;
border: 2px solid #E2001A;
border-radius: 0.30rem;
line-height: 0.40rem;
text-align: center;
color: #E2001A;
font-size: 0.14rem;
margin-top: 0.32rem;
display: block;
}
}
}
}
/* 中间的图片 */
.swiper-container .swiper-wrapper .swiper-slide-active {
height: 165px !important;
}
.swiperWrap{
height: 469px;
width: 100%;
img{
height: 469px;
width: 100%;
}
/deep/.swiper-pagination-bullet-active{
background: red;
width: 8px;
height: 8px;
}
/deep/.swiper-pagination-bullet{
width: 8px;
height: 8px;
background: #d7d7d7;
}
/deep/.swiper-pagination-bullet-active {
opacity: 1;
background-color: red!important;
}
}
.rc-main{
width: 100%;
margin-top: 0.40rem;
overflow-x: hidden;
overflow: hidden;
.ul-zhuan{
width: 100%;
overflow-x: auto;
white-space: nowrap;
span{
margin-top: 0.08rem;
display: block;
}
img{
width: 0.64rem;
height: 0.64rem;
display: block;
}
li{
display: inline-block;
margin-left: 0.20rem;
width: 0.64rem;
text-align: center;
height: 0.64rem;
background: #F6F6F6;
border-radius: 50%;
opacity: 1;
}
}
.selectionswitch{
.rc-conta{
max-height: 1.9rem;
}
width: 100%;
margin-top: 0.45rem;
h2{
text-align: center;
font-size: 0.26rem;
color: #E2001A;
}
.rc-contair{
margin-top: 0.24rem;
.rc-rccontair{
height:1.60rem;display:flex;align-items: center
}
ul{
text-align: center;
align-items: center;
li{
width: 43%;
margin-top: 0.16rem;
flex-direction: column;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: inline-flex;
background: #FFFFFF;
border: 1px solid #D7D7D7;
margin-left: 0.15rem;
border-radius: 0.03rem;
}
img{
width: 0.85rem;
display: flex;
margin: 0 auto;
height: 1.14rem
;
}
i{
font-style: normal;
font-size: 0.18rem;
margin-top: 0.08rem;
color: #666666;
display: block;
}
}
span{
font-size: 0.16rem;
color: #666666;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
word-break: break-all;
white-space: normal;
height: 0.25rem;
}
strong{
width: 1.30rem;
height: 0.40rem;
border: 2px solid #E2001A;
display: flex;
align-items: center;
justify-content: center;
border-radius: 30px;
margin: 0 auto;
font-size: 0.14rem;
color: #E2001A;
margin-top: 0.2rem;
margin-bottom: 0.3rem;
}
.userserlect{
display: flex;
width: 100%;
justify-content: center;
align-items: center;
margin-top: 0.40rem;
span{
width: 1.30rem;
height: 0.40rem;
background: #E2001A;
text-align: center;
line-height: 0.40rem;
border-radius: 0.30rem;
font-size: 0.14rem;
color: #FFFFFF;
}
}
}
}
}
.active {
font-size: 0.14rem;
border: 1px solid red;
color: red;
}
.unactive {
font-size: 0.14rem;
color: #444444;
border: 1px solid #D7D7D7;
}
}
@media screen and (min-width: 768px) and (max-width: 1920px) {
.sw-center{
display: none;
}
.useraimg{
width: 100%;
height: 4.69rem;
}
.van-swipe-item {
color: #fff;
height: 4.69rem;
width: 100%;
font-size: 0.20rem;
line-height: 1.50rem;
text-align: center;
}
.rc-fixright{
width: 0.60rem;
height: 1.81rem;
background: #FFFFFF;
box-shadow: 0px 0px 0.10rem rgba(0, 0, 0, 0.16);
border-radius: 0.04rem;
position: fixed;
right: 0;
top: 30%;
display: flex;
flex-direction: column;
z-index: 9999;
ul{
height: 100%;
li{
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 0.08rem;
}
}
img{
width: 0.30rem;
height: 0.30rem;
display: block;
}
span{
font-size: 0.12rem;
color: #666666;
}
}
.rc-lunbo{
width: 90%;
margin-top: 0.46rem;
margin: 0 auto;
position: relative;
margin-top: 1.50rem;
h2{
text-align: center;
font-size: 0.40rem;
color: #E2001A;
}
#xxxFullScreen {
background-color: white;
margin-top: 100px;
#swiper1 {
width: 100%;
overflow: hidden;
}
.swiper-container, .swiper-container2 {
width: 100%;
height: 6.18rem;
// overflow: visible !important;
position: relative;
}
#swiper1 .swiper-container .swiper-wrapper .swiper-slide {
width: 100%;
border-radius: 0.10rem;
height: 6.18rem;
}
/* 上一张 */
#swiper1 .swiper-container .swiper-wrapper .swiper-slide-prev {
margin-top: 5px;
height: 6.18rem !important;
}
/* 下一张 */
#swiper1 .swiper-container .swiper-wrapper .swiper-slide-next {
margin-top: 0.05rem;
height: 6.18rem !important;
}
.swiper-container .swiper-wrapper .swiper-slide-active {
height: 6.18rem !important;
}
.rc-video{
position: relative;
display: flex;
.rc-right{
width: 4.40rem;
height: 4.76rem;
display: flex;
margin-left: 1.95rem;
align-items: center;
justify-content: center;
flex-direction: column;
img{
width: 3.38rem;
height: 2.01rem;
display: block;
}
span{
font-size: 0.26rem;
display: block;
margin-top: 0.46rem;
color: #E2001A;
}
p{
font-size: 0.16rem;
width: 2rem;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2; /* 这里是超出几行省略 */
overflow: hidden;
color: #666666;
margin-top: 0.16rem;
}
em{
font-style: normal;
font-size: 0.22rem;
color: #666666;
display: block;
margin-top: 0.16rem;
}
strong{
font-style: normal;
list-style: none;
width: 1.30rem;
height: 0.40rem;
border: 2px solid #E2001A;
border-radius: 0.30rem;
display: block;
line-height: 0.40rem;
text-align: center;
color:#E2001A;
font-size: 0.14rem;
margin-top: 0.16rem;
}
}
.uservideo{
width: 5.60rem;
height: 5.06rem;
display: block;
border: 1px solid red;
}
.userleft{
position: absolute;
top: 50%;
left:0;
margin-top: -0.115rem;
img{
width: 0.11rem;
height: 0.22rem;
display: block;
}
}
.userright{
position: absolute;
top: 50%;
right:0;
margin-top: -0.115rem;
img{
width: 0.11rem;
height: 0.22rem;
display: block;
}
}
}
}
}
/* 中间的图片 */
.swiper-container .swiper-wrapper .swiper-slide-active {
height: 1.65rem !important;
}
.swiperWrap{
height: 4.69rem;
width: 100%;
img{
height: 4.69rem;
width: 100%;
}
/deep/.swiper-pagination-bullet-active{
background: red;
width: 0.08rem;
height: 0.08rem;
}
/deep/.swiper-pagination-bullet{
width: 8rem;
height: 8px;
background: #d7d7d7;
}
/deep/.swiper-pagination-bullet-active {
opacity: 1;
background-color: red!important;
}
}
.rc-main{
width: 100%;
margin-top: 0.40rem;
.van-tabs{
display: none;
}
ul{
width: 90%;
display: flex;
justify-content: center;
span{
margin-top: 0.08rem;
display: block;
}
img{
width: 1.58rem;
height: 1.58rem;
display: block;
}
li{
display: inline-flex;
cursor: pointer;
font-size: 16px;
margin-left: 0.40rem;
width: 1.58rem;
text-align: center;
height: 1.58rem;
background: #F6F6F6;
border-radius: 50%;
}
}
.selectionswitch{
width: 100%;
h2{
text-align: center;
font-size: 0.40rem;
color: #E2001A;
}
.van-tabs{
display: none;
}
}
.rc-selection{
width: 100%;
ol{
width: 100%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
li{
font-size: 0.16rem;
margin-left: 0.40rem;
}
}
.rc-contair{
margin-top: 0.24rem;
ul{
text-align: center;
margin-top: 0.77rem;
display: block;
width: 100%;
float: left;
li{
width: 3.20rem;
height: 5.60rem;
border-radius: 0.03rem;
display: inline-flex;
background: #FFFFFF;
flex-direction: column;
justify-content: center;
align-items: center;
border: 1px solid #D7D7D7;
margin-top: 0.40rem;
}
img{
width: 1.69rem;
height: 2.28rem;
display: flex;
margin: 0 auto;
;
}
i{
font-style: normal;
font-size: 0.18rem;
margin-top: 0.08rem;
color: #666666;
display: block;
font-size: 0.22rem;
color: #666666;
}
}
span{
font-size: 0.30rem;
color: #E2001A;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
margin-top:0.16rem;
-webkit-box-orient: vertical;
}
strong{
width: 1.30rem;
height: 0.40rem;
border: 2px solid #E2001A;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0.30rem;
margin: 0 auto;
font-size: 0.14rem;
color: #E2001A;
margin-top: 0.24rem;
}
.userserlect{
display: flex;
width: 100%;
justify-content: center;
align-items: center;
padding-bottom: 0.88rem;
padding-top: 0.80rem;
span{
width: 1.30rem;
height: 0.40rem;
background: #E2001A;
text-align: center;
line-height: 0.40rem;
border-radius: 0.30rem;
font-size: 0.14rem;
color: #FFFFFF;
}
}
}
}
}
.active {
font-size: 0.16rem;
border: 1px solid red;
color: red;
}
.unactive {
font-size: 0.16rem;
color: #444444;
border: 1px solid #D7D7D7;
}
.rc-maa{
ul{
width: 100%;
display: flex;
justify-content: center;
align-items: center;
margin-top: 0.77rem;
span{
margin-top: 0.08rem;
display: block;
}
img{
width: 1.58rem;
height: 1.58rem;
display: block;
}
li{
display: inline-block;
cursor: pointer;
font-size: 0.16rem;
margin-left: 0.40rem;
width: 1.58rem;
text-align: center;
height: 1.58rem;
background: #F6F6F6;
border-radius: 50%;
}
}
}
.userselection {
font-size: 0.16rem;
color: #E2001A;
}
.unselection {
font-size: 0.16rem;
}
.rc-usermessage{
width: 50%;
margin: 0 auto;
text-align: center;
em{
font-style: normal;
font-size: 0.30rem;
display: block;
padding-top: 0.80rem;
color: #E1001A;
}
span{
font-size: 0.16rem;
margin-top: 0.17rem;
color: #666666;
display: flex;
align-items: center;
justify-content: center;
}
i{
font-style: normal;
width: 1.57rem;
height: 0.48rem;
border: 2px solid #E2001A;
border-radius: 0.30rem;
display: block;
line-height: 0.48rem;
font-size: 0.16rem;
color: #E2001A;
margin: 0 auto;
margin-top: 0.32rem;
margin-bottom: 0.80rem;
}
}
}

View File

@ -0,0 +1,680 @@
.rc-top{
position: relative;
}
/deep/ .el-drawer{
height: 60%;
}
ul li ol li em strong i {
list-style: none;
font-style: normal;
}
.rc-main {
width: 100%;
overflow: hidden;
.usersearch {
width: 93%;
margin: 0 auto;
overflow: hidden;
}
.active{
border: 2px solid #E2001A;
color: #E2001A;
cursor: pointer;
}
.unactive{
border: 2px solid #d7d7d7;
color:#999999;
cursor: pointer;
}
}
//手机端
@media screen and (max-width: 768px) {
.usercontentshow{
position: relative;
z-index: 995;
}
.rc-mubu{
height: 100%;
background: #333333;
opacity: 0.6;
position: absolute;
bottom: 0;
width: 100%;
z-index: 998;
}
.rc-bottom{
.rc-footer{
position: absolute;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
span{
width: 1.55rem;
height: 0.48rem;
border: 2px solid #E1001A;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.14rem;
color: #E1001A;
border-radius: 0.30rem;
}
em{
width: 1.55rem;
margin-left: 0.25rem;
height: 0.48rem;
background: #E2001A;
border-radius: 0.30rem;
font-size: 0.14rem;
color:#FFFFFF;
display: flex;
align-items: center;
font-style: normal;
justify-content: center;
list-style: none;
}
}
.rc-cat{
margin-top: 0.24rem;
}
.active{
border: 2px solid #E2001A;
color: #E2001A;
cursor: pointer;
}
.unactive{
border: 2px solid #d7d7d7;
color:#999999;
cursor: pointer;
}
position: relative;
height: 100%;
height: 6.17rem;
background: white;
z-index: 999;
.rc-productcat {
display: flex;
align-items: center;
flex-wrap: nowrap;
.rc-cat {
width: 32%;
height: 0.34rem;
background: #ffffff;
border-radius: 1rem;
display: flex;
align-items: center;
justify-content: center;
margin-left: 0.16rem;
font-size: 0.14rem;
span {
margin-left: 0.03rem;
}
img {
width: 0.24rem;
height: 0.16rem;
}
}
}
}
/deep/ .van-search__content {
width: 2.50rem;
height: 0.32rem;
border: 1px solid #d7d7d7;
border-radius: 2rem;
background: white;
}
.rc-search {
width: 0.69rem;
height: 0.32rem;
background: #e1001a;
border-radius: 2rem;
text-align: center;
color: white;
}
.rc-title {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 auto;
color: #333333;
margin-top: 12px;
h2 {
font-size: 18px;
color: #333333;
margin-left: 12px;
}
span {
font-size: 14px;
color: #666666;
border-bottom: 1px solid #666666;
display: block;
margin-right: 8px;
}
}
.rc-variety {
ul {
display: flex;
align-items: center;
flex-wrap: nowrap;
overflow: hidden;
width: 100%;
}
ul li {
width: 80px;
height: 32px;
background: #ffffff;
border: 1px solid #d7d7d7;
border-radius: 100px;
text-align: center;
font-size: 14px;
float: left;
line-height: 32px;
margin-left: 11px;
}
}
.rc-product {
h2 {
font-size: 18px;
color: #333333;
margin-left: 12px;
}
}
.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: 16px;
font-size: 14px;
span {
margin-left: 3px;
}
img {
width: 24px;
height: 16px;
}
}
}
.rc-productright {
display: flex;
align-items: center;
img {
width: 24px;
height: 20px;
margin-left: 15px;
}
span {
font-size: 14px;
color: #666666;
margin-left: 8px;
}
}
.rc-prefecture{
display: flex;
h2{
font-size: 16px;
color: #333333;
margin-left: 12px;
}
ol{
display: flex;
align-items: center;
flex-wrap: nowrap;
font-size: 12px;
text-align: center;
width: 80%;
}
li{
width: 40%;
height: 26px;
background: #FFFFFF;
border: 1px solid #D7D7D7;
line-height: 26px;
float: left;
border-radius: 100px;
margin-left: 9px;
}
}
.rc-age{
display: flex;
h2{
font-size: 16px;
color: #333333;
margin-left: 12px;
}
ol{
display: flex;
align-items: center;
flex-wrap: nowrap;
font-size: 12px;
text-align: center;
width: 80%;
}
li{
width: 40%;
height: 26px;
background: #FFFFFF;
border: 1px solid #D7D7D7;
line-height: 26px;
float: left;
border-radius: 100px;
margin-left: 9px;
}
}
.rc-contair{
margin-top: 24px;
.rc-rccontair{
height:160px;display:flex;align-items: center
}
ul{
text-align: center;
align-items: center;
flex-wrap: nowrap;
li{
width: 43%;
margin-top: 16px;
background: #FFFFFF;
border: 1px solid #D7D7D7;
margin-left: 15px;
display: inline-flex;
flex-direction: column;
border-radius: 3px;
}
img{
width: 85px;
display: flex;
margin: 0 auto;
height: 114px
;
}
i{
font-style: normal;
font-size: 18px;
margin-top: 8px;
color: #666666;
display: block;
}
}
span{
font-size: 0.16rem;
color: #666666;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
word-break: break-all;
white-space: normal;
}
strong{
width: 130px;
height: 40px;
border: 2px solid #E2001A;
display: flex;
align-items: center;
justify-content: center;
border-radius: 30px;
margin: 0 auto;
font-size: 14px;
margin-bottom: 0.32rem;
margin-top: 20px;
color: #E2001A;
margin-top: 20px;
}
.rc-click{
max-height: 1.9rem;
}
}
}
//pc端
@media screen and (min-width: 768px) and (max-width: 1920px) {
/deep/.el-dialog {
width: 920px;
height: 570px;
background: #FFFFFF;
}
.rc-button{
display: flex;
justify-content: center;
font-size: 16px;
width: 100%;
padding: 40px 0 40px 0;
span{
width: 160px;
height: 48px;
border: 2px solid #E2001A;
border-radius: 30px;
display: flex;
align-items: center;
justify-content: center;
color: #E2001A;
cursor: pointer;
}
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-bottom{
.rc-cat{
margin-top: 24px;
}
.active{
border: 2px solid #E2001A;
color: #E2001A;
cursor: pointer;
}
.unactive{
border: 2px solid #d7d7d7;
color:#999999;
cursor: pointer;
}
.rc-productcat {
display: flex;
align-items: center;
flex-wrap: nowrap;
.rc-cat {
width: 237px;
height: 48px;
border-radius: 30px;
background: #ffffff;
display: flex;
align-items: center;
justify-content: center;
margin-left: 16px;
font-size: 14px;
span {
margin-left: 3px;
}
img {
width: 24px;
height: 16px;
}
}
}
}
.form-search {
display: none;
}
.rc-title {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 auto;
color: #333333;
margin-top: 12px;
h2 {
font-size: 18px;
color: #333333;
margin-left: 12px;
}
span {
font-size: 14px;
color: #666666;
border-bottom: 1px solid #666666;
display: block;
margin-right: 8px;
}
.rc-change{
display: none;
}
}
.rc-variety {
margin-top: 30px;
ul {
display: flex;
align-items: center;
flex-wrap: nowrap;
overflow: hidden;
width: 100%;
}
ul li {
width: 80px;
height: 32px;
background: #ffffff;
border: 1px solid #d7d7d7;
border-radius: 100px;
text-align: center;
font-size: 14px;
// color: #999999;
float: left;
line-height: 32px;
margin-left: 11px;
}
}
.rc-product {
margin-top: 30px;
h2 {
font-size: 18px;
color: #333333;
margin-left: 12px;
}
}
.rc-productcat {
display: flex;
align-items: center;
flex-wrap: nowrap;
.rc-cat {
width: 237px;
height: 48px;
border-radius: 30px;
background: #ffffff;
border-radius: 100px;
display: flex;
align-items: center;
justify-content: center;
margin-left: 16px;
font-size: 14px;
span {
margin-left: 3px;
}
img {
width: 24px;
height: 16px;
}
}
}
.rc-productright {
display: flex;
align-items: center;
img {
width: 24px;
height: 20px;
margin-left: 15px;
}
span {
font-size: 14px;
color: #666666;
margin-left: 8px;
}
}
.rc-prefecture{
display: flex;
margin-top: 47px;
h2{
font-size: 20px;
color: #333333;
margin-left: 12px;
}
ol{
display: flex;
align-items: center;
flex-wrap: nowrap;
font-size: 12px;
text-align: center;
width: 80%;
}
li{
width: 130px;
height: 40px;
border: 2px solid #D7D7D7;
opacity: 1;
border-radius: 30px;
background: #FFFFFF;
line-height: 40px;
float: left;
margin-left: 40px;
color: #999999;
}
}
.rc-age{
display: flex;
h2{
font-size: 20px;
color: #333333;
margin-left: 12px;
}
ol{
display: flex;
align-items: center;
flex-wrap: nowrap;
font-size: 12px;
text-align: center;
width: 80%;
}
li{
margin-left: 40px;
width: 130px;
height: 40px;
border: 2px solid #D7D7D7;
border-radius: 30px;
background: #FFFFFF;
line-height: 40px;
float: left;
color: #999999;
}
}
.rc-contair{
margin-top: 40px;
ul{
text-align: center;
align-items: center;
flex-wrap: nowrap;
width: 100%;
overflow: hidden;
li{
float: left;
width: 21%;
margin-top: 16px;
height: 560px;
background: #FFFFFF;
border: 1px solid #D7D7D7;
margin-left: 40px;
border-radius: 3px;
}
img{
width: 85px;
display: flex;
margin: 0 auto;
height: 114px
;
}
i{
font-style: normal;
font-size: 22px;
margin-top: 8px;
color: #666666;
display: block;
}
}
span{
overflow:hidden;
text-overflow:ellipsis;
-webkit-box-orient:vertical;
-webkit-line-clamp:2;
display: flex;
font-size: 30px;
color: #E2001A;
margin-top: 8px;
width: 256px;
text-align: center;
margin: 0 auto;
}
strong{
width: 134px;
height: 40px;
border: 2px solid #E2001A;
display: flex;
align-items: center;
justify-content: center;
border-radius: 30px;
margin: 0 auto;
font-size: 14px;
color: #E2001A;
margin-top: 8px;
}
.rc-rccontair{
height:320px;display:flex;align-items: center
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Binary file not shown.

BIN
rc-busness/assets/error.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

BIN
rc-busness/assets/five.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
rc-busness/assets/four.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 740 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1013 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 747 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
rc-busness/assets/one.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
rc-busness/assets/six.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
rc-busness/assets/three.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
rc-busness/assets/two.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

89
rc-busness/nuxt.config.js Normal file
View File

@ -0,0 +1,89 @@
const rem = '!function(e){var t,n=document,i=window,o=n.documentElement;function u(){var t=o.getBoundingClientRect().width/e*100;o.style.fontSize=t+"px"}u(),i.addEventListener("resize",function(){clearTimeout(t),t=setTimeout(u,300)},!1),i.addEventListener("pageshow",function(e){e.persisted&&(clearTimeout(t),t=setTimeout(u,300))},!1)}(750);';
export default {
// Global page headers: https://go.nuxtjs.dev/config-head
head: {
title: 'rc-busness',
htmlAttrs: {
lang: 'en'
},
script: [
{ src: '/js/rem.js' },
// { src: '/js/flexible.js', type: 'text/javascript', charset: 'utf-8'},
{ src: 'https://ocstest.royalcanin.com.cn:8081/livechat/chatapp/customer/branch/RoyalCanin/14053/index.js' },
{ src: '"https://ocstest.royalcanin.com.cn:8081/livechat/chatapp/customer/branch/RoyalCanin/14054/index.js"' }
// { innerHTML: rem, type: 'text/javascript', charset: 'utf-8'}
],
__dangerouslyDisableSanitizers: ['script'],
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1,target-densitydpi =1' },
{ hid: 'description', name: 'description', content: '' },
{ name: 'format-detection', content: 'telephone=no' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
},
// Global CSS: https://go.nuxtjs.dev/config-css
css: [
'vant/lib/index.css',
'element-ui/lib/theme-chalk/index.css',
{ src: "swiper/css/swiper.css" }
],
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [
'@/plugins/vant',
'@/plugins/ElementUI',
{ src: "~/plugins/swiper.js", ssr: false },
{ src: '@/plugins/localStorage', ssr: false }
],
// Auto import components: https://go.nuxtjs.dev/config-components
components: true,
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
buildModules: [
],
// Modules: https://go.nuxtjs.dev/config-modules
modules: [
'@nuxtjs/axios',
['nuxt-tailvue', {toast: true}],
],
styleResources: {
less: '@/assets/style/less/default.less' // less文件路径
},
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {
},
// axios: {
// proxy: true,
// // prefix: '/api/',
// credentials: true
// // See https://github.com/nuxt-community/axios-module#options
// },
// proxy: {
// '/api/': {
// target: 'http://47.96.75.242:10086/smart-admin-api',//这个网站是开源的可以请求到数据的
// pathRewrite: {
// '^/api/': '/',
// changeOrigin: true
// },
// }
// },
}

28673
rc-busness/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More