3.19
This commit is contained in:
@@ -52,21 +52,21 @@
|
||||
</view>
|
||||
<view class="top-up-popup-type f-jcsb f-a-i">
|
||||
<view class="f-a-i">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image :src="`${config.aliyunOssUrl}/static/images/app/mine/zfb.png`" mode=""></image>
|
||||
<!-- #endif -->
|
||||
|
||||
<!-- <image :src="`${config.aliyunOssUrl}/static/images/app/mine/zfb.png`" mode=""></image> -->
|
||||
|
||||
<!-- #ifdef APP -->
|
||||
<image src="@/static/images/app/mine/zfb.png" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<view class="top-up-popup-type-zfb">支付宝</view>
|
||||
</view>
|
||||
<view class="f-a-i" @click="actTypeFn('zfb')">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image v-if="topUpType=='zfb'"
|
||||
|
||||
<!-- <image v-if="topUpType=='zfb'"
|
||||
:src="`${config.aliyunOssUrl}/static/images/app/mine/act.png`" mode=""></image>
|
||||
<image v-else :src="`${config.aliyunOssUrl}/static/images/app/mine/act_no.png`" mode="">
|
||||
</image>
|
||||
<!-- #endif -->
|
||||
</image> -->
|
||||
|
||||
<!-- #ifdef APP -->
|
||||
<image v-if="topUpType=='zfb'" src="@/static/images/app/mine/act.png" mode=""></image>
|
||||
<image v-else src="@/static/images/app/mine/act_no.png" mode=""></image>
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
module.exports = {
|
||||
//正式
|
||||
// baseUrl: 'https://mall.lianxianke.cn/car_app_api',
|
||||
baseUrl: 'https://wxapp.diyouzhijia.com/car_app_api',
|
||||
TOKENNAME: 'Authori-zation',
|
||||
//薛磊测试
|
||||
baseUrl: 'http://192.168.31.226:8081/car_app_api',
|
||||
fileUploadUrl: 'https://mall.lianxianke.cn/car_app_api/api/front/upload/image',
|
||||
// baseUrl: 'http://192.168.31.226:8081/car_app_api',
|
||||
fileUploadUrl: 'https://wxapp.diyouzhijia.com/car_app_api/api/front/upload/image',
|
||||
WebSocketUrl: 'ws://121.199.24.205:9107/lxk/websocket',
|
||||
WebSocketOpen: false,
|
||||
aliyunOssUrl: "https://qicheoss.oss-cn-shanghai.aliyuncs.com",
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
"path": "pages/serve/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "服务",
|
||||
"navigationStyle": "custom",
|
||||
// "navigationStyle": "custom",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}, {
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
</view>
|
||||
<view class="swiper-box" v-if="actTabType != 5">
|
||||
<u-swiper keyName="image" :list="brannerList" height="560rpx" @change="brannerChange"
|
||||
@click="brannerClick"></u-swiper>
|
||||
@click="brannerClick" radius='0'></u-swiper>
|
||||
</view>
|
||||
<view class="list-box">
|
||||
<view v-for="(item,index) in dataList" :key="index">
|
||||
@@ -152,7 +152,7 @@
|
||||
<view v-else class="image-list-box ">
|
||||
<view v-if="item.image.length==1">
|
||||
<view v-for="(itemImage,imageIndex) in item.image" :key="imageIndex">
|
||||
<image class="image-one" :src="itemImage" mode="cover"
|
||||
<image class="image-one" :src="itemImage" mode="aspectFill"
|
||||
@click.stop="examineFn(item.image,imageIndex)"></image>
|
||||
</view>
|
||||
</view>
|
||||
@@ -862,6 +862,7 @@
|
||||
height: 330rpx;
|
||||
box-shadow: 0rpx 0rpx 4rpx 0rpx rgba(0, 0, 0, 0.09);
|
||||
border-radius: 8rpx;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
|
||||
.image-three {
|
||||
@@ -869,6 +870,7 @@
|
||||
height: 218rpx;
|
||||
box-shadow: 0rpx 0rpx 4rpx 0rpx rgba(0, 0, 0, 0.09);
|
||||
border-radius: 8rpx;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -11,16 +11,17 @@
|
||||
<view class="">
|
||||
<u-form class="form-box" :model="form" :rules="rules" ref="uForm">
|
||||
<u-form-item border-bottom prop="phone">
|
||||
<u-input type="number" maxlength="11" placeholder="请输入手机号码" placeholder-class="placeholder-class"
|
||||
border="none" v-model="form.phone" />
|
||||
<u-input type="number" maxlength="11" placeholder="请输入手机号码" placeholder-class="placeholder-class" border="none" v-model="form.phone" />
|
||||
</u-form-item>
|
||||
<u-form-item border-bottom class="mt-44" prop="captcha">
|
||||
<u-input type="number" maxlength="6" placeholder="请输入验证码" placeholder-class="placeholder-class"
|
||||
border="none" v-model="form.captcha">
|
||||
<u-input type="number" maxlength="6" placeholder="请输入验证码" placeholder-class="placeholder-class" border="none" v-model="form.captcha">
|
||||
<text class="f-30 c111" v-show="!codeStatus" slot="suffix">{{resendCodeTime}}秒重新获取</text>
|
||||
<text class="f-30 c111" v-show="codeStatus" slot="suffix" @click="getCode">获取验证码</text>
|
||||
</u-input>
|
||||
</u-form-item>
|
||||
<u-form-item class="mt-44" border-bottom prop="spreadPid">
|
||||
<u-input type="number" maxlength="11" placeholder="请输入邀请码(选填)" placeholder-class="placeholder-class" border="none" v-model="form.spreadPid"></u-input>
|
||||
</u-form-item>
|
||||
</u-form>
|
||||
</view>
|
||||
<view class="agreement-box flex align-center" @click="agree = !agree">
|
||||
@@ -65,7 +66,8 @@
|
||||
timer: null,
|
||||
form: {
|
||||
phone: '',
|
||||
captcha: ''
|
||||
captcha: '',
|
||||
spreadPid:''
|
||||
},
|
||||
rules: {
|
||||
phone: [{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<view class="back-box" @click="$tab.navigateBack">
|
||||
<u-icon name="arrow-left" size="18" color="#fff"></u-icon>
|
||||
</view>
|
||||
<u-swiper :list="brannerList" height="612rpx"></u-swiper>
|
||||
<u-swiper :list="brannerList" height="612rpx" radius='0'></u-swiper>
|
||||
<view class="activity-info">
|
||||
<view class="f-28 c444 fw-5">
|
||||
{{detail.intro}}
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
carRentalProductId: this.carRentalProductId
|
||||
}
|
||||
getInformationReplyList(obj).then(res => {
|
||||
console.log(res.data.list);
|
||||
console.log(res.data.list,'123123');
|
||||
this.$refs.paging.complete(res.data.list);
|
||||
})
|
||||
},
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<!-- </view> -->
|
||||
<!-- 主图轮播图 -->
|
||||
<u-swiper height="750rpx" keyName="image" @change="e => currentNum = e.current" :list="branner" indicator
|
||||
:indicatorStyle="{bottom:'32rpx',right:'24rpx'}">
|
||||
:indicatorStyle="{bottom:'32rpx',right:'24rpx'}" radius='0'>
|
||||
<view slot="indicator" class="indicator-num">
|
||||
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ branner.length }}</text>
|
||||
</view>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="serve">
|
||||
<u-navbar safeAreaInsetTop placeholder>
|
||||
<!-- <u-navbar safeAreaInsetTop placeholder>
|
||||
<view class="u-nav-slot" slot="left" @click="selectCityBtn">
|
||||
<view class="posi_l">
|
||||
<u-icon name="map" size="16"></u-icon>
|
||||
@@ -8,80 +8,57 @@
|
||||
<u-icon name="arrow-right" size="12"></u-icon>
|
||||
</view>
|
||||
</view>
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<!-- class="administration" -->
|
||||
#ifdef MP-WEIXIN
|
||||
<view slot="right" @click="toMessagePages" :style="{'margin-right': `${menuWidth}px`}">
|
||||
<view class="posi_r">
|
||||
<image class="r_img" :src="`${config.aliyunOssUrl}/static/images/app/serve/serve_message.png`" mode=""></image>
|
||||
<view class="r_num" v-if="unreadNum>0"> {{unreadNum}} </view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
#endif
|
||||
#ifdef APP
|
||||
<view class="" slot="right" @click="toMessagePages">
|
||||
<view class="posi_r">
|
||||
<image class="r_img" src="@/static/images/app/serve/serve_message.png" mode=""></image>
|
||||
<view class="r_num" v-if="unreadNum>0">{{unreadNum}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
</u-navbar>
|
||||
<!-- 城市定位 -->
|
||||
<!-- <view class="positioningcity">
|
||||
<view class="posi_l">
|
||||
<image class="l_imgtop" src="@/static/images/app/serve/serve_positioning.png" mode=""></image>
|
||||
<view class="l_txt">杭州啊啊啊啊</view>
|
||||
<image class="l_imgfoot" src="@/static/images/app/serve/serve_blackr.png" mode=""></image>
|
||||
</view>
|
||||
<view class="posi_r" @click="toMessagePages">
|
||||
<image class="r_img" src="@/static/images/app/serve/serve_message.png" mode=""></image>
|
||||
<view class="r_num"> 3 </view>
|
||||
</view>
|
||||
</view> -->
|
||||
<!-- 搜索 -->
|
||||
<!-- <view class="search">
|
||||
#ifdef MP-WEIXIN
|
||||
<u-search placeholder="搜索" height="32" :showAction='false' :searchIcon="`${config.aliyunOssUrl}/static/images/app/serve/serve_search.png`"
|
||||
placeholderColor='#AAAAAA' :disabled='true' searchIconSize='16'></u-search>
|
||||
#endif
|
||||
#ifdef APP
|
||||
<u-search placeholder="搜索" height="32" :showAction='false' searchIcon='@/static/images/app/serve/serve_search.png'
|
||||
placeholderColor='#AAAAAA' :disabled='true' searchIconSize='16'></u-search>
|
||||
#endif
|
||||
</view> -->
|
||||
#endif
|
||||
</u-navbar> -->
|
||||
|
||||
<!-- 大图 轮播 -->
|
||||
<view class="displaydrawing">
|
||||
<u-swiper height="574rpx" keyName="image" :list="branner" indicator></u-swiper>
|
||||
<u-swiper height="574rpx" keyName="image" :list="branner" indicator radius='0'></u-swiper>
|
||||
</view>
|
||||
<!-- 三个 -->
|
||||
<view class="threeview">
|
||||
<view class="th_one" @click="toRepairPages">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image class="one_img" :src="`${config.aliyunOssUrl}/static/images/app/serve/serve_weixiu.png`" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
<image class="one_img" src="@/static/images/app/serve/serve_weixiu.png" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<view class="one_txt"> 维修 </view>
|
||||
</view>
|
||||
<view class="th_one" @click="toCouponsPages(0)">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image class="one_img" :src="`${config.aliyunOssUrl}/static/images/app/serve/serve_coupons.png`" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
<image class="one_img" src="@/static/images/app/serve/serve_coupons.png" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<view class="one_txt"> 卡券 </view>
|
||||
</view>
|
||||
<view class="th_one" @click="studyBtn">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image class="one_img" :src="`${config.aliyunOssUrl}/static/images/app/serve/serve_study.png`" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
<image class="one_img" src="@/static/images/app/serve/serve_study.png" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<view class="one_txt"> 学习 </view>
|
||||
</view>
|
||||
<view class="th_one" @click="toRepairPages">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image class="one_img" :src="`${config.aliyunOssUrl}/static/images/app/serve/serve_weixiu.png`" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
<image class="one_img" src="@/static/images/app/serve/serve_weixiu.png" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<view class="one_txt"> 维修 </view>
|
||||
</view>
|
||||
<view class="th_one" style="margin: 0 16rpx;" @click="toCouponsPages(0)">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image class="one_img" :src="`${config.aliyunOssUrl}/static/images/app/serve/serve_coupons.png`" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
<image class="one_img" src="@/static/images/app/serve/serve_coupons.png" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<view class="one_txt"> 卡券 </view>
|
||||
</view>
|
||||
<view class="th_one" @click="studyBtn">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image class="one_img" :src="`${config.aliyunOssUrl}/static/images/app/serve/serve_study.png`" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
<image class="one_img" src="@/static/images/app/serve/serve_study.png" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<view class="one_txt"> 学习 </view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 助力活动 -->
|
||||
<view class="activity">
|
||||
@@ -320,7 +297,7 @@
|
||||
|
||||
.activity{
|
||||
// border: 1px solid red;
|
||||
margin-top: 40rpx;
|
||||
margin-top: 35rpx;
|
||||
.ac_up{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -390,8 +367,10 @@
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
margin-top: 38rpx;
|
||||
margin-top: 25rpx;
|
||||
// border: 1px solid;
|
||||
.th_one{
|
||||
// border: 1px solid red;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
@@ -407,7 +386,6 @@
|
||||
}
|
||||
.one_txt{
|
||||
font-size: 20rpx;
|
||||
|
||||
font-weight: 400;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="con_imgview">
|
||||
<u-swiper height="370rpx" :list="branner" :circular="true" keyName="image" indicator></u-swiper>
|
||||
<u-swiper height="370rpx" :list="branner" :circular="true" keyName="image" indicator radius='0'></u-swiper>
|
||||
</view>
|
||||
<view class="con_type">
|
||||
<view class="title">
|
||||
@@ -91,7 +91,7 @@
|
||||
}else {
|
||||
// 获取我的汽车
|
||||
getMyCarAPI().then(car=>{
|
||||
console.log(car,'我的车辆');
|
||||
// console.log(car,'我的车辆');
|
||||
this.carInfo=car.data
|
||||
if(!this.carInfo){
|
||||
this.$refs.popupRef.showPopup = true;
|
||||
|
||||
@@ -28,23 +28,36 @@
|
||||
</u-navbar>
|
||||
<!-- 轮播图 -->
|
||||
<u-swiper height="750rpx" keyName="image" @change="e => currentNum = e.current" :list="branner" indicator
|
||||
:indicatorStyle="{bottom:'32rpx',right:'24rpx'}">
|
||||
:indicatorStyle="{bottom:'32rpx',right:'24rpx'}" radius='0'>
|
||||
</u-swiper>
|
||||
<view class="info-introduce">
|
||||
<view class="flex">
|
||||
<u--text :lines="1" bold size="16" :text="commodityDeta.brandName"></u--text>
|
||||
<view class="info-title">
|
||||
{{commodityDeta.brandName}}
|
||||
<!-- <u--text :lines="1" bold size="16" :text="commodityDeta.brandName"></u--text> -->
|
||||
</view>
|
||||
<view class="flex align-center shop-price">
|
||||
指导价 ¥{{commodityDeta.minGuidePrice}} - {{commodityDeta.maxGuidePrice}}
|
||||
<view class="flex align-center" style="margin-bottom: 20rpx;">
|
||||
<view class="price-title"> 指导价 </view>
|
||||
<view class="shop-price">
|
||||
¥{{commodityDeta.minGuidePrice}} - {{commodityDeta.maxGuidePrice}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="flex align-center shop-price">
|
||||
定金 ¥{{commodityDeta.depositPrice}}
|
||||
<view class="flex align-center" style="margin-bottom: 20rpx;">
|
||||
<view class="price-title"> 定金 </view>
|
||||
<view class="shop-price">
|
||||
¥{{commodityDeta.depositPrice}}
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="type==0" class="flex align-center shop-price">
|
||||
月供 ¥{{commodityDeta.monthTributePrice}} <text>x{{commodityDeta.monthTribute}}期</text>
|
||||
<view v-if="type==0" class="flex align-center" style="margin-bottom: 20rpx;">
|
||||
<view class="price-title"> 月供 </view>
|
||||
<view class="shop-price">
|
||||
¥{{commodityDeta.monthTributePrice}} <text> x{{commodityDeta.monthTribute}}期</text>
|
||||
</view>
|
||||
</view>
|
||||
<view v-else class="flex align-center shop-price">
|
||||
月租 ¥{{commodityDeta.monthRentPrice}} <text>x{{commodityDeta.monthRent}}期</text>
|
||||
<view v-else class="flex align-center">
|
||||
<view class="price-title"> 月租 </view>
|
||||
<view class="shop-price">
|
||||
¥{{commodityDeta.monthRentPrice}} <text> x{{commodityDeta.monthRent}}期</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -54,7 +67,12 @@
|
||||
<view class="btns fixed-bottom">
|
||||
<view class="comment-btn flex align-center justify-between">
|
||||
<view class="contact-icon flex-column align-center justify-between">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image :src="`${config.aliyunOssUrl}/static/images/app/icon/message.png`" mode="heightFix"></image>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
<image src="@/static/images/app/icon/message.png" mode="heightFix"></image>
|
||||
<!-- #endif -->
|
||||
咨询
|
||||
</view>
|
||||
<view class="right-btn flex align-center">
|
||||
@@ -208,28 +226,37 @@
|
||||
}
|
||||
|
||||
.info-introduce {
|
||||
padding: 40rpx 24rpx 32rpx 24rpx;
|
||||
padding: 24rpx 0 30rpx 40rpx;
|
||||
background: #FFFFFF;
|
||||
|
||||
.title-info {
|
||||
width: 572rpx;
|
||||
|
||||
.info-title {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight:bold;
|
||||
font-size: 32rpx;
|
||||
color: #111111;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
|
||||
.btns-box {
|
||||
height: 49rpx;
|
||||
font-size: 24rpx;
|
||||
|
||||
.price-title {
|
||||
font-size: 32rpx;
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #999999;
|
||||
line-height: 36rpx;
|
||||
color:#111111 ;
|
||||
margin-right: 12rpx;
|
||||
}
|
||||
|
||||
.shop-price {
|
||||
font-size: 28rpx;
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-size: 32rpx;
|
||||
font-family: Roboto, Roboto;
|
||||
font-weight: 400;
|
||||
color: #666666;
|
||||
margin-top: 32rpx;
|
||||
color:#000000 ;
|
||||
text{
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 26rpx;
|
||||
color: #666666;
|
||||
margin-left: 8rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -70,18 +70,18 @@
|
||||
<view class="swiper-box" v-if="showType == 1">
|
||||
<u-swiper circular imgMode="aspectFit" bgColor="transparent" height="604rpx"
|
||||
indicatorActiveColor="#13AFA8" keyName="image" @change="actTrimChengFn" :list="branner" indicator
|
||||
:indicatorStyle="{bottom:'0rpx'}">
|
||||
:indicatorStyle="{bottom:'0rpx'}" radius='0'>
|
||||
</u-swiper>
|
||||
</view>
|
||||
<!-- 内饰 -->
|
||||
<u-swiper v-if="showType == 3" circular :current="colorIndex" :autoplay="false" imgMode="aspectFit"
|
||||
bgColor="#D9D9D9" height="750rpx" keyName="image" :list="colorList" @change="actTrimChengFn">
|
||||
bgColor="#D9D9D9" height="750rpx" keyName="image" :list="colorList" @change="actTrimChengFn" radius='0'>
|
||||
</u-swiper>
|
||||
<view v-if="showType ==3" style="height: 108rpx;" />
|
||||
<!-- 外观 内饰 -->
|
||||
<view class="out-box" v-if="colorList.length&&showType == 2 || showType == 3">
|
||||
<u-swiper v-if="showType==2" circular :current="colorIndex" :autoplay="false" imgMode="aspectFit"
|
||||
bgColor="transparent" height="476rpx" keyName="image" :list="colorList" @change="actTrimChengFn">
|
||||
bgColor="transparent" height="476rpx" keyName="image" :list="colorList" @change="actTrimChengFn" radius='0'>
|
||||
</u-swiper>
|
||||
<view class="swiper-line-box">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
|
||||
@@ -8,15 +8,16 @@
|
||||
</view>
|
||||
<view slot="right">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<view class="flex collect-share1" :style="{'margin-right': `${menuWidth}px`}">
|
||||
<view class="flex collect-share1" :style="{'margin-right': `${menuWidth}px`}">
|
||||
<image v-if="commodityDeta.userIsCollect" @click="getIntegralOrderProductFn"
|
||||
:src="`${config.aliyunOssUrl}/static/images/app/serve/coupons_xingxing_end.png`" alt="">
|
||||
</image>
|
||||
<image v-else @click="getIntegralOrderProductFn"
|
||||
:src="`${config.aliyunOssUrl}/static/images/app/serve/coupons_xingxing.png`" mode=""></image>
|
||||
<view style=" position:relative;">
|
||||
<image :src="`${config.aliyunOssUrl}/static/images/app/serve/coupons_fenxiang.png`" mode=""></image>
|
||||
<button id="shareBtn" open-type="share"></button>
|
||||
<view style=" position:relative;">
|
||||
<image :src="`${config.aliyunOssUrl}/static/images/app/serve/coupons_fenxiang.png`" mode="">
|
||||
</image>
|
||||
<button id="shareBtn" open-type="share"></button>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
@@ -31,7 +32,7 @@
|
||||
</u-navbar>
|
||||
<!-- 轮播图 -->
|
||||
<u-swiper height="750rpx" keyName="image" @change="e => currentNum = e.current" :list="branner" indicator
|
||||
:indicatorStyle="{bottom:'32rpx',right:'24rpx'}">
|
||||
:indicatorStyle="{bottom:'32rpx',right:'24rpx'}" radius='0'>
|
||||
<view slot="indicator" class="indicator-num">
|
||||
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ branner.length }}</text>
|
||||
</view>
|
||||
@@ -48,7 +49,7 @@
|
||||
</view>
|
||||
<view class="flex align-center shop-price">
|
||||
{{commodityDeta.carDrive}} | {{commodityDeta.modelName}}
|
||||
|{{commodityDeta.powerType==1?'油电':commodityDeta.powerType==2?'油':'纯电'}}
|
||||
| {{commodityDeta.powerType==1?'油电':commodityDeta.powerType==2?'油':'纯电'}}
|
||||
</view>
|
||||
</view>
|
||||
<view v-if=""></view>
|
||||
@@ -67,7 +68,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="store-tags">
|
||||
<text v-for="tag in item.tags">{{tag.name}}</text>
|
||||
<view>{{item.carAge}}年车龄</view>
|
||||
<view v-for="tag in item.tags">{{tag.name}}</view>
|
||||
<!-- <text v-for="(item, index) in 3">2年车龄</text> -->
|
||||
</view>
|
||||
<view class="store-info">
|
||||
@@ -97,59 +99,43 @@
|
||||
{{commodityDeta.title}}
|
||||
</view>
|
||||
<view class="popup-content">
|
||||
<view class="popup-srcoll">
|
||||
<view class="popup-srcoll ">
|
||||
<view class="popup-srcoll-title">
|
||||
基本信息
|
||||
</view>
|
||||
<view class="popup-srcoll-content">
|
||||
<view class="item flex align-center">
|
||||
<view class="">
|
||||
<view class="flex justify-around">
|
||||
<view class="popup-srcoll-cont">
|
||||
<view class="popup-srcoll-list">
|
||||
<text>车型:</text>
|
||||
{{commodityDeta.modelName}}
|
||||
</view>
|
||||
<view class="">
|
||||
<text>车门:</text>
|
||||
{{commodityDeta.carDoor}}㎡
|
||||
</view>
|
||||
</view>
|
||||
<view class="item flex align-center">
|
||||
<view class="">
|
||||
<view class="popup-srcoll-list">
|
||||
<text>挡位:</text>
|
||||
{{commodityDeta.gearPosition=='voluntarily'?'自动挡':commodityDeta.gearPosition=='hand_movement'?'手动':'手自一体'}}
|
||||
</view>
|
||||
<view class="">
|
||||
<text>动力:</text>
|
||||
{{commodityDeta.powerType==1?'油电':commodityDeta.powerType==2?'油':'纯电'}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="item flex align-center">
|
||||
<view class="">
|
||||
<view class="popup-srcoll-list">
|
||||
<text>续航:</text>
|
||||
{{commodityDeta.enduranceKilometer}}Km
|
||||
</view>
|
||||
<view class="">
|
||||
</view>
|
||||
<view class="popup-srcoll-cont">
|
||||
<view class="popup-srcoll-list">
|
||||
<text>车门:</text>
|
||||
{{commodityDeta.carDoor}}㎡
|
||||
</view>
|
||||
<view class="popup-srcoll-list">
|
||||
<text>动力:</text>
|
||||
{{commodityDeta.powerType==1?'油电':commodityDeta.powerType==2?'油':'纯电'}}
|
||||
</view>
|
||||
<view class="popup-srcoll-list">
|
||||
<text>驱动:</text>
|
||||
{{commodityDeta.carDrive}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="popup-srcoll-title">
|
||||
配置信息
|
||||
</view>
|
||||
<view class="popup-srcoll-content">
|
||||
<view class="item flex align-center">
|
||||
<view class="">
|
||||
<text>车型:</text>
|
||||
舒适轿车
|
||||
</view>
|
||||
<view class="">
|
||||
<text>车门:</text>
|
||||
210㎡
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view style="height: 68rpx;" />
|
||||
</view>
|
||||
</u-popup>
|
||||
@@ -159,10 +145,12 @@
|
||||
<view :class="['popup-title', 'rel', scrollState && 'popup-title-active']">
|
||||
{{carDealerData.title}}
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image @click="closeStorePopup" v-if="scrollState" class="abs" :src="`${config.aliyunOssUrl}/static/images/app/icon/x_3.png`" mode=""></image>
|
||||
<image @click="closeStorePopup" v-if="scrollState" class="abs"
|
||||
:src="`${config.aliyunOssUrl}/static/images/app/icon/x_3.png`" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
<image @click="closeStorePopup" v-if="scrollState" class="abs" src="@/static/images/app/icon/x_3.png" mode=""></image>
|
||||
<image @click="closeStorePopup" v-if="scrollState" class="abs"
|
||||
src="@/static/images/app/icon/x_3.png" mode=""></image>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
<view class="popup-tabs-box">
|
||||
@@ -179,10 +167,12 @@
|
||||
</view>
|
||||
<view class="popup-tags-list">
|
||||
<text>{{carDealerData.carAge}}年车龄</text>
|
||||
<text v-for="tag in carDealerData.tags">{{tag.name}}</text>
|
||||
</view>
|
||||
<view class="popup-car-box">
|
||||
<view class="car-list">
|
||||
<view class="car-item" v-for="(item, index) in branner" :key="index">
|
||||
<view class="car-item" v-for="(item, index) in branner" :key="index"
|
||||
@click.stop="examineFn(branner,index)">
|
||||
<image :src="item" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
@@ -242,8 +232,9 @@
|
||||
</view>
|
||||
<view class="">
|
||||
<image v-for="(rules,index) in carDealerData.rulesImage" class="guize" :src="rules"
|
||||
:key="index" mode="" @click="examineFn(carDealerData.rulesImage,index)">
|
||||
:key="index" mode="widthFix" >
|
||||
</image>
|
||||
<!-- @click="examineFn(carDealerData.rulesImage,index)" -->
|
||||
<!-- <image class="guize" src="@/static/images/app/welfare/invite_btn.png" mode="">
|
||||
</image> -->
|
||||
</view>
|
||||
@@ -254,7 +245,9 @@
|
||||
</view>
|
||||
<view class="read-images flex align-center justify-between">
|
||||
<image v-for="(process, index) in carDealerData.processImage" :key="index"
|
||||
class="liucheng" :src="process" mode="" @click="examineFn(carDealerData.rulesImage,index)"></image>
|
||||
class="liucheng" :src="process" mode="widthFix"
|
||||
></image>
|
||||
<!-- @click="examineFn(carDealerData.rulesImage,index)" -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -274,8 +267,12 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="">
|
||||
<image class="problem-image" src="@/static/images/app/mine/gold_bg.png"
|
||||
mode="widthFix"></image>
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image class="problem-image" :src="`${config.aliyunOssUrl}/static/images/app/mine/gold_bg.png`" mode="widthFix"></image>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
<image class="problem-image" src="@/static/images/app/mine/gold_bg.png" mode="widthFix"></image>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -284,9 +281,15 @@
|
||||
<view class="comment-btns fixed-bottom">
|
||||
<view class="comment-btn flex align-center justify-between">
|
||||
<view class="contact-icon flex align-center">
|
||||
<image @click="phoneShow = true" src="@/static/images/app/icon/phone.png" mode="heightFix">
|
||||
</image>
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image @click="callPhone(carDealerData.carDealerPhone)" :src="`${config.aliyunOssUrl}/static/images/app/icon/phone.png`" mode="heightFix"></image>
|
||||
<image :src="`${config.aliyunOssUrl}/static/images/app/icon/message.png`" mode="heightFix"></image>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
<image @click="callPhone(carDealerData.carDealerPhone)" src="@/static/images/app/icon/phone.png" mode="heightFix"></image>
|
||||
<image src="@/static/images/app/icon/message.png" mode="heightFix"></image>
|
||||
<!-- #endif -->
|
||||
|
||||
</view>
|
||||
<view class="right-btn flex align-center">
|
||||
<view class="right-price flex-column align-end justify-between">
|
||||
@@ -311,7 +314,12 @@
|
||||
<u-popup :show="phoneShow" round="16" safeAreaInsetBottom>
|
||||
<view class="popup-phone-box">
|
||||
<view class="btn-item-1 btn-item flex align-center justify-center" @click="callPhone('18875843298')">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image :src="`${config.aliyunOssUrl}/static/images/app/icon/phone-black.png`" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
<image src="@/static/images/app/icon/phone-black.png" mode=""></image>
|
||||
<!-- #endif -->
|
||||
18875843298
|
||||
</view>
|
||||
<view @click="phoneShow = false" class="btn-item-2 btn-item flex align-center justify-center">
|
||||
@@ -382,11 +390,12 @@
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
//查看
|
||||
examineFn(arr,index){
|
||||
// //查看
|
||||
examineFn(urlList, index) {
|
||||
uni.previewImage({
|
||||
current:index,
|
||||
url:arr
|
||||
urls: urlList,
|
||||
current: index,
|
||||
loop: true
|
||||
})
|
||||
},
|
||||
//车商发布列表
|
||||
@@ -420,7 +429,7 @@
|
||||
promptlyCarFn(item) {
|
||||
this.storeShow = true;
|
||||
getInformationInfo(item.id).then(res => {
|
||||
console.log(res.data,'立即订车 获取--详情');
|
||||
console.log(res.data, '立即订车 获取--详情');
|
||||
this.carDealerData = res.data
|
||||
this.carDealerData.depositMoney = item.depositMoney
|
||||
console.log(this.carDealerData.replyResponse);
|
||||
@@ -522,7 +531,7 @@
|
||||
}
|
||||
},
|
||||
//去评论列表
|
||||
navEvaluateFn(item){
|
||||
navEvaluateFn(item) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/mine/my_order/evaluate_order/evaluate_list?id=${item.id}`
|
||||
})
|
||||
@@ -543,9 +552,10 @@
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
opacity: 0;
|
||||
width:60rpx;
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
}
|
||||
|
||||
page {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
@@ -557,6 +567,7 @@
|
||||
height: 56rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.collect-share {
|
||||
margin-right: 140rpx;
|
||||
|
||||
@@ -623,13 +634,20 @@
|
||||
}
|
||||
|
||||
.store-tags {
|
||||
marign-top: 12rpx;
|
||||
// margin-top: 12rpx;
|
||||
// padding: 5rpx;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
|
||||
text {
|
||||
margin-right: 16rpx;
|
||||
padding: 0 16rpx;
|
||||
// border: 1px solid;
|
||||
view {
|
||||
// border: 1px solid red;
|
||||
border-radius: 5rpx 5rpx 5rpx 5rpx;
|
||||
padding: 4rpx 16rpx;
|
||||
margin: 16rpx 16rpx 0 0;
|
||||
background-color: #f5f5f5;
|
||||
line-height: 42rpx;
|
||||
// line-height: 42rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -756,14 +774,15 @@
|
||||
|
||||
.popup-tags-list {
|
||||
margin-top: 16rpx;
|
||||
font-size: 24rpx;
|
||||
|
||||
text {
|
||||
border-radius: 5px;
|
||||
margin-right: 16rpx;
|
||||
padding: 0 16rpx;
|
||||
padding: 4rpx 16rpx;
|
||||
background: #f5f5f5;
|
||||
font-size: 24rpx;
|
||||
color: #444444;
|
||||
line-height: 42rpx;
|
||||
// line-height: 42rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -801,11 +820,13 @@
|
||||
.popup-read-title {
|
||||
font-size: 36rpx;
|
||||
color: #111111;
|
||||
line-height: 100rpx;
|
||||
// line-height: 100rpx;
|
||||
margin: 24rpx 0;
|
||||
}
|
||||
|
||||
.popup-read-content {
|
||||
margin-top: 24rpx;
|
||||
// border: 1px solid red;
|
||||
// margin-top: 24rpx;
|
||||
padding: 24rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 8rpx;
|
||||
@@ -824,13 +845,14 @@
|
||||
.guize {
|
||||
margin-top: 32rpx;
|
||||
width: 654rpx;
|
||||
height: 156rpx;
|
||||
// height: 156rpx;
|
||||
}
|
||||
|
||||
.liucheng {
|
||||
width: 128rpx;
|
||||
height: 128rpx;
|
||||
border-radius: 50%;
|
||||
width: 654rpx;
|
||||
// width: 128rpx;
|
||||
// height: 128rpx;
|
||||
// border-radius: 50%;
|
||||
}
|
||||
|
||||
.problem-tabs {
|
||||
@@ -985,25 +1007,29 @@
|
||||
overflow-y: auto;
|
||||
|
||||
.popup-srcoll {
|
||||
|
||||
.popup-srcoll-title {
|
||||
margin-top: 32rpx;
|
||||
font-size: 32rpx;
|
||||
color: #111111;
|
||||
line-height: 44rpx;
|
||||
font-weight: 600;
|
||||
|
||||
}
|
||||
|
||||
.popup-srcoll-content {
|
||||
.item {
|
||||
margin-top: 16rpx;
|
||||
.popup-srcoll-cont {
|
||||
width: 337rpx;
|
||||
|
||||
view {
|
||||
width: 50%;
|
||||
line-height: 36rpx;
|
||||
.popup-srcoll-list {
|
||||
margin-top: 24rpx;
|
||||
font-size: 28rpx;
|
||||
color: #111111;
|
||||
font-weight: 600;
|
||||
|
||||
text {
|
||||
font-weight: 500;
|
||||
color: #666666;
|
||||
font-size: 28rpx;
|
||||
|
||||
text {
|
||||
color: #666;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
</view>
|
||||
<u-swiper style="z-index: 888;" :height="`${height}rpx`" keyName="image" imgMode="widthFix" :list="branner"></u-swiper>
|
||||
<u-swiper style="z-index: 888;" :height="`${height}rpx`" keyName="image" imgMode="widthFix" :list="branner" radius='0'></u-swiper>
|
||||
<u-sticky zIndex="9999" @fixed="fixed" offsetTop="0" :customNavHeight="$u.sys().statusBarHeight + 42">
|
||||
<view class="tab-box-all rel">
|
||||
<view class="tabs-box flex align-center justify-between"
|
||||
@@ -45,7 +45,8 @@
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<view class="icons flex align-center">
|
||||
<image :src="`${config.aliyunOssUrl}/static/images/app/icon/search-black.png`" mode=""></image>
|
||||
<image @click="show = !show" :src="`${config.aliyunOssUrl}/static/images/app/icon/mune.png`" mode=""></image>
|
||||
<!-- <image @click="show = !show" :src="`${config.aliyunOssUrl}/static/images/app/icon/mune.png`" mode=""></image> -->
|
||||
<image @click="isshow" :src="`${config.aliyunOssUrl}/static/images/app/icon/mune.png`" mode=""></image>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP -->
|
||||
@@ -55,7 +56,7 @@
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
<view :class="['select-box', 'bg-white', 'abs']" :style="show && `height: ${form.type == 1 ? 800 : 1000}rpx; transition: 0.5s;`">
|
||||
<view id='titleBox' :class="['select-box', 'bg-white', 'abs']" :style="show && `height: ${form.type == 1 ? 800 : 1000}rpx; transition: 0.5s;`">
|
||||
<view class="select-car-box">
|
||||
<view class="brand">
|
||||
<view class="title">
|
||||
@@ -155,9 +156,13 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="btns flex align-center">
|
||||
<u-button @click="reset">重置</u-button>
|
||||
<u-button style="margin-left: 40rpx;" color="#333333" @click="navCarList()">确定</u-button>
|
||||
<view class="btns">
|
||||
<view class="btnOne" @click="reset"> 重置
|
||||
<!-- <u-button @click="reset">重置</u-button> -->
|
||||
</view>
|
||||
<view class="btnTwo" @click="navCarList()"> 确定
|
||||
<!-- <u-button color="#333333" @click="navCarList()">确定</u-button> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -190,6 +195,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="show" style="height: 600rpx;"></view>
|
||||
</z-paging>
|
||||
</view>
|
||||
<tabbar-driver class="fixed-bottom" current="/pages/showroom/index"></tabbar-driver>
|
||||
@@ -284,7 +290,35 @@
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
isshow(){
|
||||
this.show = !this.show
|
||||
if(this.show){
|
||||
uni.createSelectorQuery().select("#titleBox").boundingClientRect((res)=>{
|
||||
// console.log(res,'2222222222222')
|
||||
const scrollH = res.top;
|
||||
uni.pageScrollTo({
|
||||
duration: 300,
|
||||
scrollTop: scrollH,
|
||||
})
|
||||
}).exec()
|
||||
}else{
|
||||
uni.pageScrollTo({
|
||||
duration: 300,
|
||||
scrollTop: 0,
|
||||
})
|
||||
}
|
||||
|
||||
// const query = uni.createSelectorQuery().in(this);
|
||||
// query
|
||||
// .select("#titleBox")
|
||||
// .boundingClientRect((data) => {
|
||||
// console.log("得到布局位置信息" + JSON.stringify(data));
|
||||
// console.log("节点离页面顶部的距离为" + data.top);
|
||||
// })
|
||||
// .exec();
|
||||
},
|
||||
//筛选
|
||||
navCarList() {
|
||||
console.log('类型', this.form.type);
|
||||
@@ -337,10 +371,10 @@
|
||||
})
|
||||
}
|
||||
},
|
||||
fixed(e) {
|
||||
// console.log(e,'123321123');
|
||||
this.scrollTop = e
|
||||
},
|
||||
// fixed(e) {
|
||||
// console.log(e,'123321123');
|
||||
// this.scrollTop = e
|
||||
// },
|
||||
reset() {
|
||||
this.brandId = -1
|
||||
this.modelId = -1
|
||||
@@ -442,7 +476,7 @@
|
||||
|
||||
.tab-box-all {
|
||||
.select-box {
|
||||
top: 102rpx;
|
||||
// top: 102rpx;
|
||||
width: 750rpx;
|
||||
height: 0rpx;
|
||||
transition: height 0.5s;
|
||||
@@ -452,6 +486,7 @@
|
||||
width: 750rpx;
|
||||
padding: 32rpx;
|
||||
background-color: #fff;
|
||||
// border: 1px solid red;
|
||||
|
||||
.brand {
|
||||
font-size: 32rpx;
|
||||
@@ -494,7 +529,30 @@
|
||||
}
|
||||
|
||||
.btns {
|
||||
// border: 1px solid red;
|
||||
margin-top: 86rpx;
|
||||
// flex align-center
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
.btnOne {
|
||||
padding: 34rpx 130rpx;
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #111111;
|
||||
border: 1rpx solid #111111;
|
||||
}
|
||||
.btnTwo {
|
||||
margin-left: 40rpx;
|
||||
padding: 34rpx 130rpx;
|
||||
background: #333333;
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #FFFFFF;
|
||||
// text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -587,6 +645,7 @@
|
||||
margin-right: 16rpx;
|
||||
width: 202rpx;
|
||||
height: 150rpx;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="">
|
||||
<!-- 轮播图 -->
|
||||
<u-swiper height="750rpx" keyName="image" :list="branner" @click="clickImage" indicator></u-swiper>
|
||||
<u-swiper height="750rpx" keyName="image" :list="branner" @click="clickImage" indicator radius='0'></u-swiper>
|
||||
<!-- tab栏 -->
|
||||
<view class="tab-box flex align-center justify-between">
|
||||
<view class="tab-box-item rel" @click="$tab.navigateTo('./task/task')">
|
||||
|
||||
@@ -65,21 +65,21 @@
|
||||
</view>
|
||||
<view class="top-up-popup-type f-jcsb f-a-i">
|
||||
<view class="f-a-i">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image :src="`${config.aliyunOssUrl}/static/images/app/mine/zfb.png`" mode=""></image>
|
||||
<!-- #endif -->
|
||||
|
||||
<!-- <image :src="`${config.aliyunOssUrl}/static/images/app/mine/zfb.png`" mode=""></image> -->
|
||||
|
||||
<!-- #ifdef APP -->
|
||||
<image src="@/static/images/app/mine/zfb.png" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<view class="top-up-popup-type-zfb">支付宝</view>
|
||||
</view>
|
||||
<view class="f-a-i" @click="actTypeFn('zfb')">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image v-if="topUpType=='zfb'"
|
||||
|
||||
<!-- <image v-if="topUpType=='zfb'"
|
||||
:src="`${config.aliyunOssUrl}/static/images/app/mine/act.png`" mode=""></image>
|
||||
<image v-else :src="`${config.aliyunOssUrl}/static/images/app/mine/act_no.png`" mode="">
|
||||
</image>
|
||||
<!-- #endif -->
|
||||
</image> -->
|
||||
|
||||
<!-- #ifdef APP -->
|
||||
<image v-if="topUpType=='zfb'" src="@/static/images/app/mine/act.png" mode=""></image>
|
||||
<image v-else src="@/static/images/app/mine/act_no.png" mode=""></image>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- 轮播图 -->
|
||||
<u-swiper height="750rpx" keyName="image" :list="branner" indicator></u-swiper>
|
||||
<u-swiper height="750rpx" keyName="image" :list="branner" indicator radius='0'></u-swiper>
|
||||
<!-- 获得将来展示 -->
|
||||
<view class="reward-box flex align-center justify-between">
|
||||
<view class="item flex-column justify-between" @click="navRegisterFn">
|
||||
|
||||
@@ -116,31 +116,29 @@
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
</view>
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<view class="top-up-popup-type f-jcsb f-a-i">
|
||||
<view class="f-a-i">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image :src="`${config.aliyunOssUrl}/static/images/app/mine/zfb.png`" mode=""></image>
|
||||
<!-- #endif -->
|
||||
|
||||
<!-- <image :src="`${config.aliyunOssUrl}/static/images/app/mine/zfb.png`" mode=""></image> -->
|
||||
|
||||
<!-- #ifdef APP -->
|
||||
<image src="@/static/images/app/mine/zfb.png" mode=""></image>
|
||||
<!-- #endif -->
|
||||
<view class="top-up-popup-type-zfb">支付宝</view>
|
||||
</view>
|
||||
<view class="f-a-i" @click="actTypeFn('zfb')">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<image v-if="topUpType=='zfb'"
|
||||
|
||||
<!-- <image v-if="topUpType=='zfb'"
|
||||
:src="`${config.aliyunOssUrl}/static/images/app/mine/act.png`" mode=""></image>
|
||||
<image v-else :src="`${config.aliyunOssUrl}/static/images/app/mine/act_no.png`" mode="">
|
||||
</image>
|
||||
<!-- #endif -->
|
||||
</image> -->
|
||||
|
||||
<!-- #ifdef APP -->
|
||||
<image v-if="topUpType=='zfb'" src="@/static/images/app/mine/act.png" mode=""></image>
|
||||
<image v-else src="@/static/images/app/mine/act_no.png" mode=""></image>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
<view class="top-up-popup-button">
|
||||
<u-button color="#13AFA8" shape="circle"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</u-navbar>
|
||||
<!-- 轮播图 -->
|
||||
<u-swiper height="750rpx" keyName="image" @change="e => currentNum = e.current" :list="branner" indicator
|
||||
:indicatorStyle="{bottom:'32rpx',right:'24rpx'}">
|
||||
:indicatorStyle="{bottom:'32rpx',right:'24rpx'}" radius='0'>
|
||||
<view slot="indicator" class="indicator-num">
|
||||
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ branner.length }}</text>
|
||||
</view>
|
||||
|
||||
@@ -172,13 +172,13 @@
|
||||
uni.getLocation({
|
||||
type: 'gcj02',
|
||||
success: res => {
|
||||
console.log(res,'第一个success');
|
||||
// console.log(res,'第一个success');
|
||||
this.tabledata.latitude= res.latitude,
|
||||
this.tabledata.longitude= res.longitude,
|
||||
this.getStoreList();
|
||||
},
|
||||
fail: err => {
|
||||
console.log(err,'err--4567')
|
||||
// console.log(err,'err--4567')
|
||||
}
|
||||
}),
|
||||
this.getStoreList();
|
||||
@@ -194,7 +194,7 @@
|
||||
getStoreList(this.tabledata).then(res=>{
|
||||
res.data.list.forEach((ele) => {
|
||||
if (ele.id == this.merId) {
|
||||
console.log(ele,'reserva信息123');
|
||||
// console.log(ele,'reserva信息123');
|
||||
this.dataObj = ele;
|
||||
}
|
||||
});
|
||||
@@ -211,7 +211,7 @@
|
||||
}else {
|
||||
// 获取我的汽车
|
||||
getMyCarAPI().then(car=>{
|
||||
console.log(car,'我的车辆');
|
||||
// console.log(car,'我的车辆');
|
||||
if(car.data){
|
||||
this.formObj = car.data;
|
||||
this.createData.carId = car.data.id;
|
||||
@@ -259,7 +259,7 @@
|
||||
}
|
||||
},
|
||||
popupSubmit() {
|
||||
console.log("预约信息");
|
||||
// console.log("预约信息");
|
||||
this.popupShow = false;
|
||||
},
|
||||
callPhone(phoneNumber) {
|
||||
@@ -270,7 +270,7 @@
|
||||
},
|
||||
|
||||
sureBtn(){
|
||||
console.log('弹弹确认');
|
||||
// console.log('弹弹确认');
|
||||
if(this.whoBtn==1){
|
||||
uni.navigateTo({
|
||||
url: "/pages/serve/repair/realname",
|
||||
@@ -284,7 +284,7 @@
|
||||
}
|
||||
},
|
||||
cancel(){
|
||||
console.log('弹弹取消');
|
||||
// console.log('弹弹取消');
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<view class="content">
|
||||
<view style="height: 24rpx;" />
|
||||
<view class="con_imgview">
|
||||
<u-swiper height="370rpx" :list="branner" :circular="true" keyName="image" indicator></u-swiper>
|
||||
<u-swiper height="370rpx" :list="branner" :circular="true" keyName="image" indicator radius='0'></u-swiper>
|
||||
</view>
|
||||
<view class="positionview">
|
||||
<view class="postop">
|
||||
@@ -107,7 +107,7 @@
|
||||
uni.getLocation({
|
||||
type: 'gcj02',
|
||||
success: res => {
|
||||
console.log(res,'第一个success');
|
||||
// console.log(res,'第一个success');
|
||||
this.query.latitude= res.latitude,
|
||||
this.query.longitude= res.longitude,
|
||||
this.$refs.paging.reload()
|
||||
@@ -126,7 +126,7 @@
|
||||
// })
|
||||
},
|
||||
fail: err => {
|
||||
console.log(err,'err--4567')
|
||||
// console.log(err,'err--4567')
|
||||
}
|
||||
}),
|
||||
this.getBranner()
|
||||
@@ -139,7 +139,7 @@
|
||||
city: this.citySave,
|
||||
...this.query
|
||||
}).then(res => {
|
||||
console.log(res,'11111');
|
||||
// console.log(res,'11111');
|
||||
this.$refs.paging.complete(res.data.list)
|
||||
}).catch(err => {
|
||||
this.$refs.paging.complete(false)
|
||||
@@ -154,6 +154,8 @@
|
||||
this.$store.dispatch('MerId', id)
|
||||
}
|
||||
uni.navigateTo({ url, })
|
||||
this.$store.dispatch('WorkingDay', '')
|
||||
this.$store.dispatch('WorkingTime','')
|
||||
},
|
||||
// 获取轮播图
|
||||
getBranner() {
|
||||
|
||||
@@ -93,13 +93,13 @@
|
||||
// console.log(this.dateData,'123123123');
|
||||
// 当前时间
|
||||
getTimeAPI().then(res=>{
|
||||
console.log(res, '当前时间');
|
||||
// console.log(res, '当前时间');
|
||||
this.dateData.workingDay = res.data.day
|
||||
this.ofWeek = res.data.dayOfWeek
|
||||
this.getTime(res.data.day)
|
||||
// 时间块
|
||||
getDateListAPI(this.dateData).then(res1=>{
|
||||
console.log(res1,'时间段');
|
||||
// console.log(res1,'时间段');
|
||||
this.dateDataList = res1.data
|
||||
})
|
||||
})
|
||||
|
||||
@@ -73,17 +73,17 @@
|
||||
选择租期
|
||||
</view>
|
||||
<view class="">
|
||||
<u-radio-group v-model="formProductData.monthRent" activeColor="#13AFA8" placement="row"
|
||||
@change="groupChange" disabled>
|
||||
<u-radio-group v-model="monthRent" activeColor="#13AFA8" placement="row"
|
||||
@change="groupChange">
|
||||
<view style="width:638rpx" class="flex align-center justify-between mt-32">
|
||||
<!-- <u-radio iconSize="12" v-for="(item, index) in radiolist"
|
||||
:customStyle="{marginBottom: '8px'}" :key="index" :label="item.name"
|
||||
:name="item.name" @change="radioChange">
|
||||
</u-radio> -->
|
||||
<u-radio activeColor="#13AFA8" label="3个月" name="3">3个月</u-radio>
|
||||
<u-radio activeColor="#13AFA8" label="6个月" name="6">6个月</u-radio>
|
||||
<u-radio activeColor="#13AFA8" label="9个月" name="9">9个月</u-radio>
|
||||
<u-radio activeColor="#13AFA8" label="12个月" name="12">12个月</u-radio>
|
||||
<u-radio activeColor="#13AFA8" :disabled="formProductData.monthRent<3" label="3个月" name="3">3个月</u-radio>
|
||||
<u-radio activeColor="#13AFA8" :disabled="formProductData.monthRent<6" label="6个月" name="6">6个月</u-radio>
|
||||
<u-radio activeColor="#13AFA8" :disabled="formProductData.monthRent<9" label="9个月" name="9">9个月</u-radio>
|
||||
<u-radio activeColor="#13AFA8" :disabled="formProductData.monthRent<12" label="12个月" name="12">12个月</u-radio>
|
||||
</view>
|
||||
</u-radio-group>
|
||||
</view>
|
||||
@@ -438,6 +438,7 @@
|
||||
appearace: {},
|
||||
interior: {}
|
||||
},
|
||||
monthRent:'',
|
||||
//支付
|
||||
topUpTypeShow: false, // 支付
|
||||
topUpType: 'ye',
|
||||
@@ -501,7 +502,7 @@
|
||||
productId: this.formProductData.id,
|
||||
userCouponId: this.cardmoney ? this.cardmoney.id : '', //优惠券编号
|
||||
remark: this.formProductData.remark,
|
||||
monthRent: this.formProductData.monthRent,
|
||||
monthRent: this.monthRent,
|
||||
realName:this.formProductData.realName,
|
||||
idCard:this.formProductData.idCard,
|
||||
phone:this.formProductData.phone,
|
||||
@@ -682,8 +683,10 @@
|
||||
// 监听acceptDataFromOpenerPage事件,获取上一页面通过eventChannel传送到当前页面的数据
|
||||
const eventChannel = this.getOpenerEventChannel();
|
||||
eventChannel.on('form', (data) => {
|
||||
console.log(data,'1111133333');
|
||||
this.formProductData = data
|
||||
this.formProductData.monthRent = String(data.monthRent)
|
||||
this.monthRent = String(data.monthRent)
|
||||
// this.formProductData.monthRent = String(data.monthRent)
|
||||
this.attrListData = [data.attrList]
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user