Commit ffc79e32 authored by kisszxc's avatar kisszxc

修改轮播图

parent 2490f3d6
...@@ -6,9 +6,9 @@ import { ...@@ -6,9 +6,9 @@ import {
// 通常可以吧 baseUrl 单独放在一个 js 文件了 // 通常可以吧 baseUrl 单独放在一个 js 文件了
// const baseUrl = "http://172.16.224.178:7777/pmall"; // const baseUrl = "http://172.16.224.178:7777/pmall";
// const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境 // const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境
//const baseUrl = 'https://feihe.jzvcode.com/feihe' //生产环境 const baseUrl = 'https://feihe.jzvcode.com/feihe';
//const baseUrl = 'https://factory-walk-test.feihe.com/feihe'; //const baseUrl = 'https://factory-walk-test.feihe.com/feihe';
const baseUrl = 'https://factory-walk-uat.feihe.com/feihe'; //const baseUrl = 'https://factory-walk-uat.feihe.com/feihe';
const request = (options = {}) => { const request = (options = {}) => {
// 对options.data 进行一些处理 // 对options.data 进行一些处理
......
export const baseUrl = 'https://factory-walk-uat.feihe.com' export const baseUrl = 'https://feihe.jzvcode.com'
// 声明字体 // 声明字体
@font-face { @font-face {
font-family: 'fz'; font-family: 'fz';
src: url('https://factory-walk-uat.feihe.com/images/fz.ttf') format('truetype'); src: url('https://feihe.jzvcode.com/images/fz.ttf') format('truetype');
} }
@font-face { @font-face {
font-family: 'fz-bold'; font-family: 'fz-bold';
src: url('https://factory-walk-uat.feihe.com/images/fz-bold.ttf') format('truetype'); src: url('https://feihe.jzvcode.com/images/fz-bold.ttf') format('truetype');
} }
.blur-bg { .blur-bg {
......
// 声明字体 // 声明字体
@font-face { @font-face {
font-family: 'fz'; font-family: 'fz';
src: url('https://factory-walk-uat.feihe.com/images/fz.ttf') format('truetype'); src: url('https://feihe.jzvcode.com/images/fz.ttf') format('truetype');
} }
@font-face { @font-face {
font-family: 'fz-bold'; font-family: 'fz-bold';
src: url('https://factory-walk-uat.feihe.com/images/fz-bold.ttf') format('truetype'); src: url('https://feihe.jzvcode.com/images/fz-bold.ttf') format('truetype');
} }
.record { .record {
......
// 声明字体 // 声明字体
@font-face { @font-face {
font-family: 'fz'; font-family: 'fz';
src: url('https://factory-walk-uat.feihe.com/images/fz.ttf') format('truetype'); src: url('https://feihe.jzvcode.com/images/fz.ttf') format('truetype');
} }
@font-face { @font-face {
font-family: 'fz-bold'; font-family: 'fz-bold';
src: url('https://factory-walk-uat.feihe.com/images/fz-bold.ttf') format('truetype'); src: url('https://feihe.jzvcode.com/images/fz-bold.ttf') format('truetype');
} }
.record { .record {
......
// 声明字体 // 声明字体
@font-face { @font-face {
font-family: 'fz'; font-family: 'fz';
src: url('https://factory-walk-uat.feihe.com/images/fz.ttf') format('truetype'); src: url('https://feihe.jzvcode.com/images/fz.ttf') format('truetype');
} }
@font-face { @font-face {
font-family: 'fz-bold'; font-family: 'fz-bold';
src: url('https://factory-walk-uat.feihe.com/images/fz-bold.ttf') format('truetype'); src: url('https://feihe.jzvcode.com/images/fz-bold.ttf') format('truetype');
} }
.subscribe { .subscribe {
......
...@@ -13,37 +13,28 @@ ...@@ -13,37 +13,28 @@
</view> </view>
<view class="card"> <view class="card">
<view class="card-title">参观园区</view> <view class="card-title">参观园区</view>
<swiper <swiper circular class="card-swiper" :current="swiperIndex" @change="handleSwiperChange" :disable-touch="true">
circular <swiper-item class="swiper-item" v-for="(item, index) in cardList" :key="index" catch:touchmove="return false">
class="card-swiper" <view class="card-image">
:current="swiperIndex" <image :src="item.image" mode="widthFix" />
@change="handleSwiperChange" </view>
> </swiper-item>
<swiper-item </swiper>
class="swiper-item" <view class="name">
v-for="(item, index) in cardList" {{ currentGround.title }}
:key="index" <!-- <view class="swiper-left" @click="handleSwiperLeft">
> <image
<view class="card-image"> src="@/assets/reservation-images/icon-right-y.svg"
<image :src="item.image" mode="widthFix" /> mode="widthFix"
</view> />
</swiper-item> </view>
</swiper> <view class="swiper-right" @click="handleSwiperRight">
<view class="name"> <image
{{ currentGround.title }} src="@/assets/reservation-images/icon-right-y.svg"
<view class="swiper-left" @click="handleSwiperLeft"> mode="widthFix"
<image />
src="@/assets/reservation-images/icon-right-y.svg" </view> -->
mode="widthFix" </view>
/>
</view>
<view class="swiper-right" @click="handleSwiperRight">
<image
src="@/assets/reservation-images/icon-right-y.svg"
mode="widthFix"
/>
</view>
</view>
<view class="desc"> <view class="desc">
{{ currentGround.detail }} {{ currentGround.detail }}
</view> </view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment