Commit 98bb75c4 authored by 刘鑫鹏's avatar 刘鑫鹏

Merge remote-tracking branch 'origin/dev' into dev

parents e93ee0a4 05b96b41
......@@ -76,4 +76,14 @@ export function addUnifiedOrder(orderVo) {
method: 'post',
data: orderVo
})
}
//微信支付回调下
export function addUnifiedOrderWx(orderVo) {
return request({
url: 'http://bin001.free.idcfengye.com/dealFlow/stream/wxPayNotify',
method: 'post',
data: orderVo
})
}
\ No newline at end of file
import {
request
} from '../utils/request.js';
// 查询训练体验列表
export function listExercise(query) {
return request({
url: '/system/course/selectCourseList',
method: 'get',
})
}
// 查询热门活动列表
export function listActivityStart(query) {
return request({
url: '/tjt-activity/activity/selectActivityListStart',
method: 'get',
})
}
//有token时调用
// 查询训练体验列表
export function listExerciseHaveToken(query) {
return request({
url: '/system/course/selectCourseListToken',
method: 'get',
})
}
// 查询热门活动列表
export function listActivityStartHaveToken(query) {
return request({
url: '/tjt-activity/activity/selectActivityListStartToken',
method: 'get',
})
}
\ No newline at end of file
{
"pages": [{
"pages": [
{
"path" : "pages_home/tjty_home_page/tjty_home_page",
"style": {
"navigationBarTitleText": "天体运动"
}
},
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "天体运动"
......@@ -17,7 +25,7 @@
"navigationBarTitleText": "天体运动"
}
}
],
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "天体运动",
......
......@@ -220,8 +220,8 @@
.image {
position: absolute;
border-top-left-radius: 15rpx;
border-top-right-radius: 15rpx;
border-top-left-radius: 30rpx;
border-top-right-radius: 30rpx;
height: 400rpx;
width: 100%;
}
......@@ -230,6 +230,7 @@
// justify-content: end;
position: absolute;
padding-left: 86%;
// right: 0.01rpx;
top: 0rpx;
width: 98rpx;
height: 98rpx;
......
......@@ -104,6 +104,8 @@
export default {
data() {
return {
//加载一次导航
isGoNavigate: false,
activityId: null,
wechatId: 1,
activityObject:{},
......@@ -122,6 +124,7 @@
onLoad(options) {
console.log('onLoad')
this.activityId =Number.parseInt(options.activity_id)
this.isGoNavigate = true
console.log(this.activityId)
this.getList(this.activityId)
},
......@@ -264,39 +267,21 @@
for (var i = 0; i < this.activityObject.tjtActivityProjectVoList.length; i++) {
limitSum = limitSum + this.activityObject.tjtActivityProjectVoList[i].limitPeople
}
console.log(signInSum)
console.log(limitSum)
if(signInSum === limitSum)
return uni.$showMsg('报名人数已满1!')
return uni.$showMsg('报名人数已满!')
if (this.activityObject.activityStatus === '2') {
return uni.$showMsg('活动已结束!')
}
// let signupTime = Date.parse(this.activityObject.signupTime)
// console.log('signupTime'+signupTime)
// console.log('now'+Date.parse(new Date))
// if(signupTime <= Date.parse(new Date)){
// return uni.$showMsg('报名已结束!')}
console.log(Date.parse(this.activityObject.signupTime))
console.log(Date.parse(new Date()))
if (Date.parse(this.activityObject.signupTime.replace(/-/g, '/')) < Date.parse(new Date())) {
return wx.showToast({
title: '报名已结束!',
icon: 'none',
duration: 2000})
}
else{
uni.navigateTo({
url: '/pages_activity/activity_immedSignIn/activity_immedSignIn?activity_id=' + this.activityId
})
}
return uni.$showMsg('报名已结束!')}
if(Date.parse(this.activityObject.activityEnd.replace(/-/g, '/'))< new Date()){
return uni.$showMsg('报名已结束!')}
else{
uni.navigateTo({
url: '/pages_activity/activity_immedSignIn/activity_immedSignIn?activity_id=' + this.activityId
})
}
this.isGoNavigate = false
},
}
}
......
......@@ -59,7 +59,7 @@ import {
mapState
} from 'vuex'
import {
getProjectInfo,addsignInInfo,addUnifiedOrder
getProjectInfo,addsignInInfo,addUnifiedOrder,addUnifiedOrderWx
} from "@/api/activity.js";
export default {
data() {
......@@ -243,12 +243,11 @@ import {
if(this.projectFee !== 0){
this.info.status = '0'
addsignInInfo(this.info).then(response=>{
console.log(response)
if(response.data.status ==='1')
console.log(response) //存在的话就返回报错
if(response.data.code === 500)
return uni.$showMsg(response.msg)
this.orderVo.signupId = response.data.signupId
this.orderVo.wechatId = this.info.wechatId
if(response.data.status === '0'){
addUnifiedOrder(this.orderVo).then(response =>{
console.log(response)
uni.requestPayment({
......@@ -274,7 +273,7 @@ import {
}
})
})
}
})
}else{
this.info.status = '1'
......
......@@ -86,12 +86,12 @@
/* 主view css */
.review-main {
width: 660rpx;
min-height: 1400rpx;
min-height: 1420rpx;
height: auto;
background-color: white;
border-radius: 32rpx;
margin: 29.5rpx 21rpx 166rpx 21rpx;
padding: 40rpx 24rpx 0 24rpx;
margin: 29.5rpx 21rpx 32rpx 21rpx;
padding: 40rpx 30rpx 0 30rpx;
}
.agreement-item-1 {
......@@ -126,9 +126,4 @@
float: right;
margin-bottom: 40rpx;
}
/* 隐藏滚动条,但依旧具备可以滚动的功能 */
/deep/.uni-scroll-view::-webkit-scrollbar {
display: none
}
</style>
<template>
<view class="review-main">
<rich-text :nodes="agreement">
</rich-text>
</view>
......@@ -67,49 +66,13 @@
/* 主view css */
.review-main {
width: 660rpx;
min-height: 1400rpx;
min-height: 1430rpx;
height: auto;
background-color: white;
border-radius: 32rpx;
margin: 29.5rpx 21rpx 166rpx 21rpx;
padding: 40rpx 24rpx 0 24rpx;
}
.agreement-item-1 {
font-size: 32rpx;
line-height: 44rpx;
color: #333333;
text-align: left;
font-family: 'Source Han Sans CN';
font-weight: regular;
}
.agreement-item {
font-size: 32rpx;
line-height: 44rpx;
color: #333333;
text-align: left;
font-family: 'Source Han Sans CN';
font-weight: regular;
margin-bottom: 40rpx;
margin: 30rpx 21rpx 30rpx 21rpx;
padding: 40rpx 24rpx 40rpx 24rpx;
}
.aboutForm-item {
font-size: 32rpx;
line-height: 44rpx;
color: #333333;
text-align: right;
font-family: 'Source Han Sans CN';
font-weight: regular;
}
.aboutForm-view {
float: right;
margin-bottom: 40rpx;
}
/* 隐藏滚动条,但依旧具备可以滚动的功能 */
/deep/.uni-scroll-view::-webkit-scrollbar {
display: none
}
</style>
......@@ -69,7 +69,8 @@
getAreaList,
getPeople,
dailyQuestion,
selectexamType
selectexamType,
selectRegisterList
} from '@/api/dailyAnswer.js'
import {
getActivity
......@@ -81,6 +82,7 @@
export default {
data() {
return {
registerPeopleNum: 0, //本微信报名人数
examCount: '', //题库试卷判断
idFlag: '',
color: 'background:#EEEEEE',
......@@ -219,20 +221,56 @@
},
computed: {
...mapState('m_user', ['userInfo'])
},
onLoad(options) {
this.info.activityId = options.activityId
this.info.wechatId = this.userInfo.wechatId
this.getArea()
this.getActivityDetial(options.activityId)
this.getPerson()
uni.setStorageSync('pages', 'ans_info')
},
onShow() {
this.getPerson()
this.getRegisterListLength()
},
onHide() {
this.info.areaId = 1
this.getArea()
this.cityIndex = this.cityList.length - 1
this.cityCode = ''
this.info.cityId = ''
this.areaIndex = 16
this.areaDisable = true
this.areaCode = ''
this.info.cityAreaId = ''
this.schoolIndex = -1
this.schoolCode = ''
this.info.schoolId = ''
this.schoolDisable = true
this.info.idFlag = false
this.info.areaId = 1
this.info.parentName = ''
this.info.name = ''
this.info.phone = ''
this.info.idCard = ''
this.info.cityId = ''
this.info.cityAreaId = ''
this.info.schoolId = ''
},
onReady() {
this.$refs.form.setRules(this.rules)
},
methods: {
//获取报名人数
getRegisterListLength() {
selectRegisterList(this.info.wechatId, this.info.activityId).then(res => {
if (res.code === 200) {
console.log("本微信号报名信息", res);
this.registerPeopleNum = res.data.length
}
})
},
IdChange(e) {
// console.log(e);
let idCareReg =
......@@ -295,6 +333,29 @@
if (this.info.idFlag) {
return
}
if (this.registerPeopleNum === 3) {
return uni.$showMsg('每个答题活动最多只能报名三人!')
this.cityIndex = this.cityList.length - 1
this.cityCode = ''
this.info.cityId = ''
this.areaIndex = 16
this.areaDisable = true
this.areaCode = ''
this.info.cityAreaId = ''
this.schoolIndex = -1
this.schoolCode = ''
this.info.schoolId = ''
this.schoolDisable = true
this.info.idFlag = false
this.info.areaId = 1
this.info.parentName = ''
this.info.name = ''
this.info.phone = ''
this.info.idCard = ''
this.info.cityId = ''
this.info.cityAreaId = ''
this.info.schoolId = ''
}
addTjtActivitySignupExams(this.info).then(res => {
console.log(res);
if (res >= 0 && res !== '') {
......@@ -311,9 +372,9 @@
dailyQuestion(res, time).then(res1 => {
console.log("试卷", res1);
if (res1.data.length > 0) {
if(this.examCount === 0){
if (this.examCount === 0) {
return uni.$showMsg('报名成功,暂无试卷!')
}else{
} else {
uni.showToast({
title: '报名成功!',
icon: 'none'
......@@ -339,6 +400,7 @@
}).catch(err => {
this.info.idFlag = this.idFlag
console.log(this.info.idFlag);
this.getPerson()
console.log('表单错误信息:', err);
})
},
......
<template>
<view class="home_container">
<view class="home_content_head">
<image src="../../static/home-imgs/home_bg@2x.png"></image>
<view class="headMenu">
<ul>
<li>
<navigator url="" hover-class="none" open-type="navigate">
<view style="text-align: center;">
<view>
<image src="../../static/home-imgs/home_icon_fengcai@2x.png"></image>
</view>
<view style="color: #1F86EE; line-height: 21px;height: 100%;width: 100%;">天体风采</view>
</view>
</navigator>
</li>
<li>
<navigator url="../../pages_activity/activity/activity" hover-class="none" open-type="navigate">
<view style="text-align: center;">
<view>
<image src="../../static/home-imgs/home_icon_saishi@2x.png"></image>
</view>
<view style="color: #EC6669; line-height: 21px;height: 100%;width: 100%;">赛事活动</view>
</view>
</navigator>
</li>
<li>
<navigator url="../../pages_course/tjty_course_course/course" hover-class="none"
open-type="navigate">
<view style="text-align: center;">
<view>
<image src="../../static/home-imgs/home_icon_xunlian@2x.png"></image>
</view>
<view style="color: #FCA624; line-height: 21px;height: 100%;width: 100%;">训练体验</view>
</view>
</navigator>
</li>
<li>
<navigator url="../../pages_service/tjty_customer/tjty_customer" hover-class="none"
open-type="navigate">
<view style="text-align: center;">
<view>
<image src="../../static/home-imgs/home_icon_kefu@2x.png"></image>
</view>
<view style="color: #6951E3; line-height: 21px;height: 100%;width: 100%;">天体客服</view>
</view>
</navigator>
</li>
</ul>
</view>
</view>
<view class="home_content_body">
<view class="home_activity">
<view class="home_activity_title">
<image style="width: 80px; height: 20px; margin-left: 11px;"
src="../../static/home-imgs/home_pic_remen@2x.png"></image>
<image style="width: 51px; height: 16px; float: right; margin-right: 11px;"
src="../../static/home-imgs/home_pic_gengduo@2x.png" @click="toActMore()"></image>
</view>
<view class="home_activity_item" v-for="(item1,index1) in activityList" :key="index1"
@click="goActDetil(item1)">
<view class="activity_image">
<image class="image" :src="item1.bannerImage"></image>
</view>
<view class="activity-body">
<view class="activity_image_title">
<view style="padding: 2% 4%;">{{item1.activityName}}</view>
</view>
</view>
</view>
</view>
<view class="home_exercise">
<view class="home_exercise_title">
<image style="width: 80px; height: 20px; margin-left: 11px;"
src="../../static/home-imgs/home_pic_xunlian@2x.png"></image>
<image style="width: 51px; height: 16px; float: right; margin-right: 11px;"
src="../../static/home-imgs/home_pic_gengduo@2x.png" @click="toExeMore()"></image>
</view>
<view class="home_exercise_item" v-for="(item,index) in exerciseList" :key="index">
<view class="ima">
<image style="width: 116px;height:116px;border-radius:16px "
:src="item.image"></image>
</view>
<view>
<view style="height: 80px;width: 265px">
<view class="a-card">
{{item.mechanismName}}
</view>
<view class="c-card">
适用人群:&nbsp;&nbsp;{{item.propertyPeople}}
</view>
</view>
<view style="width: 265px;">
<button class="b-card" @click="toAppoint(item)">
详情
</button>
</view>
</view>
</view>
</view>
</view>
<view class="home_content_footer">
<view>
<view class="line"></view>
<view>
<navigator url="" hover-class="none" open-type="navigate">
<view style="text-align: center;">
<view>
<image src="../../static/home-imgs/tab_icon_home_selected@2x.png"></image>
</view>
<view style="color: #3B7CDE; line-height: 10px;height: 100%;width: 100%; font-size: 10px;">
首页</view>
</view>
</navigator>
<navigator url="../../pages_new_media/tity_new_media/tity_new_media" hover-class="none"
open-type="navigate">
<view style="text-align: center;">
<view>
<image src="../../static/home-imgs/tab_icon_xinmeiti_default@2x.png"></image>
</view>
<view style="color: #333333; line-height: 10px;height: 100%;width: 100%; font-size: 10px;">
新媒体服务</view>
</view>
</navigator>
<navigator url="../../pages_my/my/my" hover-class="none" open-type="navigate">
<view style="text-align: center;">
<view>
<image src="../../static/home-imgs/tab_icon_geren_default@2x.png"></image>
</view>
<view style="color: #333333; line-height: 10px;height: 100%;width: 100%; font-size: 10px;">
个人中心</view>
</view>
</navigator>
</view>
</view>
</view>
</view>
</template>
<script>
import {
listExercise,
listActivityStart,
listExerciseHaveToken,
listActivityStartHaveToken
} from "@/api/homePage.js";
import {
getToken
} from '@/api/login.js';
import {
mapMutations,
mapState
} from 'vuex';
export default {
data() {
return {
activityList: [],
exerciseList: []
};
},
computed: {
...mapState('m_user', ['userInfo']),
...mapState('m_user', ['token'])
},
methods: {
...mapMutations('m_user', ['updateToken']),
...mapMutations('m_user', ['updateUserInfo']),
//登录判断
login() {
if (!this.token) {
this.getActivityList()
this.getExerciseList()
} else {
this.getExerciseListHaveToken()
this.getActivityListHaveToken()
}
},
getExerciseListHaveToken() {
listExerciseHaveToken().then(res => {
this.exerciseList = [...this.exerciseList, ...res.data] || []
}).catch(err => {
})
},
getActivityListHaveToken() {
listActivityStartHaveToken().then(res => {
this.activityList = [...this.activityList, ...res.data] || []
}).catch(err => {
})
},
getActivityList() {
listActivityStart().then(res => {
this.activityList = [...this.activityList, ...res.data] || []
}).catch(err => {
})
},
getExerciseList() {
listExercise().then(res => {
this.exerciseList = [...this.exerciseList, ...res.data] || []
}).catch(err => {
})
},
toAppoint(item) {
if (!this.token) {
uni.reLaunch({
url: '/pages/login/login?url=' + this.url
})
} else {
uni.navigateTo({
url: '/pages_course/tjty_course_appointment/appointment?id=' + item.courseId
})
}
},
toActMore() {
uni.navigateTo({
url: '/pages_activity/activity/activity'
})
},
toExeMore() {
uni.navigateTo({
url: '/pages_course/tjty_course_course/course'
})
},
goActDetil(item) {
if (!this.token) {
console.log("没有token")
uni.reLaunch({
url: '/pages/login/login?url=' + this.url
})
} else {
if (item.type == '1') {
uni.navigateTo({
url: '/pages_activity/activity_detail/activity_detail?activity_id=' + item.activityId
})
}
if (item.type == '2') {
uni.navigateTo({
url: `/pages_events/tjty_ans_detail/tjty_ans_detail?activityId=${item.activityId}`
})
}
}
}
},
created() {
this.login()
}
}
</script>
<style lang="scss" scoped>
.home_container {
width: 100%;
height: 100%;
.home_content_head {
width: 100%;
height: 212px;
position: relative;
overflow-x: hidden;
.headMenu {
z-index: 1;
position: absolute;
width: 100%;
top: 35%;
}
}
.home_content_head image {
width: 100%;
height: 212px;
}
.headMenu ul {
width: 100%;
padding-top: 10rpx;
}
.headMenu ul li {
width: 25%;
font-size: 14px;
font-family: Source Han Sans CN;
display: inline-block;
}
.headMenu ul li navigator {
width: 95%;
}
.headMenu image {
width: 58px;
height: 58px;
}
.home_content_body {
width: 100%;
height: calc(100% - 272px);
overflow: auto;
.home_activity {
margin-top: 30px;
.home_activity_item {
margin: 30rpx 30rpx 30rpx 30rpx;
background: #ffffff;
border-radius: 16px;
box-shadow: 0rpx 6rpx 20rpx 0rpx #dddddd;
:nth-child(1) {
position: relative;
}
.image {
border-top-left-radius: 15rpx;
border-top-right-radius: 15rpx;
width: 100%;
}
}
}
.home_exercise {
margin-top: 32px;
.home_exercise_item {
display: flex;
margin: 10rpx;
width: 96%;
margin: 3% 2% 4% 2%;
min-height: 130px;
height: auto;
background: #ffffff;
border-radius: 16px;
box-shadow: 0px 3px 10px 0px #dddddd;
text-align: right;
button {
margin-right: 5%;
}
.ima {
margin: 8px;
width: 116px;
height: 116px;
background: rgba(0, 0, 0, 0.00);
}
.c-card {
font-size: 32rpx;
width: 500rpx;
height: 80rpx;
font-family: Source Han Sans CN, Source Han Sans CN-Regular;
font-weight: 400;
text-align: left;
color: #666666;
line-height: 50px;
}
.a-card {
font-size: 32rpx;
width: 500rpx;
font-family: Source Han Sans CN, Source Han Sans CN-Bold;
font-weight: 700;
text-align: left;
color: #333333;
line-height: 42px;
}
.b-card {
// left: 132px;
top: 25rpx;
width: 152rpx;
height: 64rpx;
right: 0%;
// height: auto;
text-align: center;
color: #ffffff;
font-size: 14px;
line-height: 32px;
background: #3b7cde;
border-radius: 16px;
// margin-top: -100rpx;
// margin-right: 100rpx;
}
}
}
}
.home_content_footer {
.line {
width: 100%;
height: 1px;
background: #333333
}
width: 100%;
// position: fixed;
bottom: 0;
left: 0;
height: 60px;
navigator {
margin-top: 7px;
display: inline-block;
width: 33%;
}
image {
width: 24px;
height: 24px;
}
}
}
</style>
......@@ -167,7 +167,7 @@
this.updateToken('')
this.updateUserInfo('')
uni.navigateTo({
url: '/pages/index/index'
url: '/pages_home/tjty_home_page/tjty_home_page'
})
},
......
<template>
<view>
<noData v-if="flag == 0"></noData>
<uni-card class="newMedia-card-main" v-if="flag == 1">
<view class="newMedia-card-main" v-if="flag == 1">
<text class="title-text">{{!issue.titleName ? '--' : issue.titleName}}</text>
<view class="message-view">
<text style="color: #3B7CDE">{{!issueBranch ? "--" : issueBranch}}</text>
......@@ -12,11 +12,11 @@
<!-- <view v-for="item in listImg">
<image :src="base_url + item" :webp="true"></image>
</view> -->
<view style="width: 650rpx;">
<!-- <view style="width: 630rpx;"> -->
<rich-text :nodes="issue.detail"></rich-text>
</view>
<!-- </view> -->
</view>
</uni-card>
</view>
<view class="newMedia-button-view">
<button style="background-color: #3B7CDE; margin-left: 40rpx;" class="newMedia-button"
@click="goPhoneBtn(phoneNumber)">咨询电话</button>
......@@ -46,8 +46,8 @@
phoneNumber: '188222333444',
issue: {},
listImg: [],
address:'天津',
detail:'',
address: '天津',
detail: '',
pushTime: '',
base_url: 'https://www.aiwanyundong.com/api',
// base_url: 'http://192.168.0.97:8080',
......@@ -100,7 +100,7 @@
},
messageConsult(e) {
uni.navigateTo({
url: '/pages_new_media/tity_message_consult/tity_message_consult?consultType=' + '0'
url: '/pages_new_media/tity_message_consult/tity_message_consult?consultType=' + 0
})
},
......@@ -117,14 +117,15 @@
// if(this.issue.pushTime){
// this.pushTime = this.issue.pushTime.substring(0, 16).replace('T', ' ')
// }
if(this.issue.updateTime){
if (this.issue.updateTime) {
this.pushTime = this.issue.updateTime.substring(0, 16).replace('T', ' ')
if(this.issue.address){
this.address = this.issue.address
}}
var reg = new RegExp('<body*>','gi')
var reg1 = new RegExp('</body*>','gi')
if (this.issue.address) {
this.address = this.issue.address
}
}
var reg = new RegExp('<body*>', 'gi')
var reg1 = new RegExp('</body*>', 'gi')
this.issue.detail = this.issue.detail.replace(reg, '')
this.issue.detail = this.issue.detail.replace(reg1, '')
console.log("处理后的内容--->", this.issue.detail)
......@@ -163,18 +164,31 @@
</script>
<style scoped>
/*
/deep/.uni-card {
display: flex;
/* margin-top: -20rpx; */
margin-top: -20rpx;
margin: 10.5rpx;
border-radius: 32rpx 32rpx 0 0;
min-height: 1330rpx;
height: auto;
width: 670rpx;
margin-bottom: 166px;
margin-bottom: 166px;
transform: translateX(-12rpx);
}
*/
.newMedia-card-main{
background-color: #fff;
margin: 30rpx 20rpx 0 20rpx;
padding: 35rpx 30rpx 30rpx 30rpx;
border-radius: 32rpx 32rpx 0 0;
/* min-height: 1330rpx; */
height: auto;
/* width: 670rpx; */
margin-bottom: 170rpx;
}
.newMedia-button-view {
display: flex;
/* margin-bottom: 50rpx; */
......@@ -196,10 +210,9 @@
}
.button-hover {
background-color: rgba(144, 238, 144, 0.5);
opacity: 0.7;
background-color: rgba(144, 238, 144, 0.5);
opacity: 0.7;
}
/* 标题css */
......@@ -221,13 +234,9 @@
/* 正文样式 */
.content-view {
margin-bottom: 150rpx;
margin-right: 20rpx;
}
margin-top: 30rpx;
/* margin-bottom: 120rpx; */
/* margin-right: 20rpx; */
/* 隐藏滚动条,但依旧具备可以滚动的功能 */
/deep/.uni-scroll-view::-webkit-scrollbar {
display: none
}
</style>
......@@ -15,11 +15,9 @@
</view>
<noData v-if="!customerListLength" :style="fullHeight"></noData>
<!-- 选项卡内容轮播滑动显示,current为当前第几个swiper子项 -->
<!-- <swiper @change="change" :current="isActive" class="swiper-content" :style="fullHeight"
<swiper @change="change" :current="isActive" class="swiper-content" :style="fullHeight"
v-if="customerList.length !== 0">
<swiper-item class="swiperitem-content"> -->
<view class="swiper-content" :style="fullHeight" v-if="customerList.length !== 0">
<view class="swiperitem-content">
<swiper-item class="swiperitem-content" @touchmove.stop="stopTouchMove">
<scroll-view scroll-y style="height: 100%;" @scrolltolower="lowerBottom" lower-threshold="150px"
refresher-enabled="true" @refresherrefresh="refresh" :refresher-triggered="triggered">
<view class="nav_item">
......@@ -34,11 +32,8 @@
</view>
</view>
</scroll-view>
</view>
</view>
<!-- </swiper-item>
</swiper> -->
</swiper-item>
</swiper>
<view class="nav_item_bottom">
<button style="background-color:#3b7cde; color:white;" @click="goPhoneBtn(phoneNumber)">咨询电话</button>
<button type="primary" @click="gotoMessageConsult">留言咨询</button>
......@@ -158,6 +153,10 @@
}
});
},
//限制页面左右滑动
stopTouchMove() {
return true
},
//留言咨询
gotoMessageConsult() {
console.log("准备进入到留言咨询。。。。")
......@@ -357,7 +356,7 @@
min-height: calc(100% - 10%);
padding: 5rpx;
height: auto;
padding-bottom: 20%;
padding-bottom: 35%;
.customer-item {
margin: 20rpx 5%;
......
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