Browse Source

修复bug

master
前端-胡立永 1 month ago
parent
commit
d254b01c11
20 changed files with 267 additions and 104 deletions
  1. +23
    -0
      common.scss
  2. +8
    -0
      components/active/active-item.vue
  3. +1
    -1
      components/cart/CardList.vue
  4. +71
    -0
      components/travel/travelList.vue
  5. +2
    -1
      components/zhaomu/zlx-item.vue
  6. +3
    -4
      config.js
  7. +1
    -1
      manifest.json
  8. +1
    -1
      pages/index/center.vue
  9. +41
    -9
      pages/index/index.vue
  10. +7
    -0
      pages/index/member.vue
  11. +1
    -0
      pages_login/fuwutiaokuan.vue
  12. +1
    -1
      pages_login/wxLogin.vue
  13. +12
    -8
      pages_my/qiandao-list.vue
  14. +10
    -49
      pages_my/travelList.vue
  15. +27
    -2
      pages_my/zlx-qiandao.vue
  16. +50
    -22
      pages_order/huodong-detail.vue
  17. +1
    -1
      pages_order/invoiceRecords.vue
  18. +1
    -1
      pages_order/orderDetails.vue
  19. +1
    -3
      pages_order/payOrder.vue
  20. +5
    -0
      pages_zlx/zlx-form.vue

+ 23
- 0
common.scss View File

@ -81,6 +81,10 @@
font-size: 32rpx; font-size: 32rpx;
color: #fff; color: #fff;
padding-top: 11rpx; padding-top: 11rpx;
width: 380rpx;
overflow:hidden; //超出的文本隐藏
text-overflow:ellipsis; //溢出用省略号显示
white-space:nowrap; //溢出不换行
} }
.date { .date {
padding: 25rpx 0 19rpx; padding: 25rpx 0 19rpx;
@ -97,9 +101,28 @@
flex-shrink: 0; flex-shrink: 0;
} }
} }
.emil {
padding: 25rpx 0 19rpx;
display: flex;
align-items: center;
// &::before {
// content: '';
// display: block;
// background: url('@/static/image/cart/timeIcon.png') no-repeat;
// background-size: 100% 100%;
// width: 24rpx;
// height: 24rpx;
// margin-right: 10rpx;
// flex-shrink: 0;
// }
}
.address { .address {
display: flex; display: flex;
align-items: center; align-items: center;
width: 360rpx;
overflow:hidden; //超出的文本隐藏
text-overflow:ellipsis; //溢出用省略号显示
white-space:nowrap; //溢出不换行
&::before { &::before {
content: ''; content: '';
display: block; display: block;


+ 8
- 0
components/active/active-item.vue View File

@ -107,6 +107,10 @@
font-size: 32rpx; font-size: 32rpx;
color: #fff; color: #fff;
padding-top: 11rpx; padding-top: 11rpx;
width: 380rpx;
overflow:hidden; //
text-overflow:ellipsis; //
white-space:nowrap; //
} }
.date { .date {
@ -128,6 +132,10 @@
.address { .address {
display: flex; display: flex;
align-items: center; align-items: center;
width: 360rpx;
overflow:hidden; //
text-overflow:ellipsis; //
white-space:nowrap; //
&::before { &::before {
content: ''; content: '';


+ 1
- 1
components/cart/CardList.vue View File

@ -27,7 +27,7 @@
class="mini-btn" size="mini">取消活动</button> class="mini-btn" size="mini">取消活动</button>
<button @click.stop="skip(item,1)" <button @click.stop="skip(item,1)"
v-if="item.state == 1 && item.type == 0"
v-if="item.state == 1"
:style="{background: '#492623;', color: '#FF3E3F',margin:'0 30rpx 0 0'}" :style="{background: '#492623;', color: '#FF3E3F',margin:'0 30rpx 0 0'}"
class="mini-btn" size="mini">活动签到</button> class="mini-btn" size="mini">活动签到</button>


+ 71
- 0
components/travel/travelList.vue View File

@ -0,0 +1,71 @@
<template>
<view>
<view class="info cardStyle_"
v-for="(item, index) in cardListData"
:key="index" @click="toDetail(item)">
<view class="left">
<image :src="item.image" alt="">
</view>
<view class="right">
<view class="detailed">
<view class="title">{{item.title}}</view>
<view class="date">{{item.startTime}}</view>
<view class="address">{{item.address}}</view>
</view>
<view class="data">
<text>¥{{item.price}}</text>
<text>{{item.num}}/{{item.sum}}</text>
<text class="btn" v-if="item.state == 0">报名中</text>
<text class="btn-2" v-if="item.state == 1">已结束</text>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
name:"travelList",
props : ['cardListData'],
data() {
return {
};
},
methods : {
toDetail({ id }) {
uni.navigateTo({
url:`/pages_order/lvyou-detail?travelId=${id}`
})
},
}
}
</script>
<style scoped lang="scss">
.info {
position: relative;
margin: 20rpx 0;
padding: 35rpx 0 35rpx 24rpx;
border-radius: 26rpx;
.right {
.data {
display: flex;
justify-content: space-between;
align-items: center;
.btn {
background: #381615;
color: $uni-color-primary;
padding: 10rpx 40rpx;
border-radius: 30rpx 0px 0px 30rpx;
}
.btn-2 {
background: #333;
color: #999;
padding: 10rpx 40rpx;
border-radius: 30rpx 0px 0px 30rpx;
}
}
}
}
</style>

+ 2
- 1
components/zhaomu/zlx-item.vue View File

@ -12,7 +12,8 @@
</view> </view>
<view class="price" v-if="showBottom"> <view class="price" v-if="showBottom">
<view class="num-box">{{ item.doNum }}/{{ item.num }}</view> <view class="num-box">{{ item.doNum }}/{{ item.num }}</view>
<view class="btn-box" @click="qiandaoClick">开始签到</view>
<view class="btn-box" @click="qiandaoClick"
>开始签到</view>
<!-- <view class="btn-box jieshu-btn" v-else>已结束</view> --> <!-- <view class="btn-box jieshu-btn" v-else>已结束</view> -->
</view> </view>
</view> </view>


+ 3
- 4
config.js View File

@ -7,15 +7,14 @@ import uvUI from '@/uni_modules/uv-ui-tools'
Vue.use(uvUI); Vue.use(uvUI);
// 当前环境 // 当前环境
const type = 'dev'
const type = 'prod'
// 环境配置 // 环境配置
const config = { const config = {
dev : { dev : {
baseUrl : 'http://test-lzx.natapp1.cc/popularize-admin',
// baseUrl : 'https://popularize-admin.hhlm1688.com/popularize-admin',
// baseUrl : 'http://h5.xzaiyp.top/popularize-admin',
// baseUrl : 'http://test-lzx.natapp1.cc/popularize-admin',
baseUrl : 'http://h5.xzaiyp.top/popularize-admin',
}, },
prod : { prod : {
// baseUrl : 'http://test-lzx.natapp1.cc/popularize-admin', // baseUrl : 'http://test-lzx.natapp1.cc/popularize-admin',


+ 1
- 1
manifest.json View File

@ -1,6 +1,6 @@
{ {
"name" : "vtrip", "name" : "vtrip",
"appid" : "__UNI__53D8233",
"appid" : "__UNI__197A38F",
"description" : "", "description" : "",
"versionName" : "1.0.0", "versionName" : "1.0.0",
"versionCode" : "100", "versionCode" : "100",


+ 1
- 1
pages/index/center.vue View File

@ -123,7 +123,7 @@
src:require('@/static/image/center/line-7.png'), src:require('@/static/image/center/line-7.png'),
name:'主理人签到', name:'主理人签到',
url:'/pages_my/zlx-qiandao', url:'/pages_my/zlx-qiandao',
// role : true,
role : true,
} }
], ],
vipType : ['普通会员', '黄金会员', '渠道商'], vipType : ['普通会员', '黄金会员', '渠道商'],


+ 41
- 9
pages/index/index.vue View File

@ -74,7 +74,8 @@
itemStyle="padding-left: 15px; padding-right: 15px; height: 44px;" itemStyle="padding-left: 15px; padding-right: 15px; height: 44px;"
></uv-tabs> ></uv-tabs>
<active-item :cardListData="cardListData"/>
<active-item :cardListData="cardListData" v-if="params.state != 2"/>
<travelList :cardListData="travelList" v-else/>
<uv-load-more :status="status" fontSize="24rpx" dashed line /> <uv-load-more :status="status" fontSize="24rpx" dashed line />
</view> </view>
@ -122,11 +123,13 @@
// import Position from '@/utils/position.js' // import Position from '@/utils/position.js'
import tabber from '@/components/base/tabbar.vue' import tabber from '@/components/base/tabbar.vue'
import activeItem from '@/components/active/active-item.vue' import activeItem from '@/components/active/active-item.vue'
import travelList from '@/components/travel/travelList.vue'
import { mapState } from 'vuex' import { mapState } from 'vuex'
export default { export default {
components:{ components:{
tabber, tabber,
activeItem
activeItem,
travelList,
}, },
data() { data() {
return { return {
@ -145,10 +148,12 @@
hdList: [ hdList: [
{ id: 0, name: '近期活动' }, { id: 0, name: '近期活动' },
{ id: 1, name: '往期活动' }, { id: 1, name: '往期活动' },
{ id: 2, name: '旅行' },
], ],
lineBg: require('@/static/image/cart/tabIcon.png'), lineBg: require('@/static/image/cart/tabIcon.png'),
cardListData: [], cardListData: [],
city : '定位中', city : '定位中',
travelList : [],
} }
}, },
onPageScroll(e) { onPageScroll(e) {
@ -185,9 +190,7 @@
} }
}, },
onPullDownRefresh() { onPullDownRefresh() {
this.params.pageNo = 1
this.cardListData = []
this.getActivityPageList()
this.search()
}, },
methods:{ methods:{
getLocationDetail(){ getLocationDetail(){
@ -199,9 +202,10 @@
search() { search() {
this.params.pageNo = 1 this.params.pageNo = 1
this.cardListData = [] this.cardListData = []
this.travelList = []
this.getActivityPageList() this.getActivityPageList()
}, },
getActivityPageList() {
async getActivityPageList() {
this.$api('activityPageList', { this.$api('activityPageList', {
...this.params, ...this.params,
cityId : this.selectArea.id cityId : this.selectArea.id
@ -217,6 +221,36 @@
} }
} }
}) })
this.$api('travelPageList', {
// ...this.params,
pageNo: this.params.pageNo,
pageSize: this.params.pageSize,
title: this.params.title,
}, res=>{
uni.stopPullDownRefresh()
if(res.code == 200) {
this.totalPage = res.result.pages
this.travelList = [...this.travelList,...res.result.records]
}
})
// let list1 = await this.getApi('activityPageList')
// let list2 = await this.getApi('travelPageList')
// console.log(list1, list2);
},
getApi(api){
return new Promise((success, error) => {
this.$api(api, {
...this.params,
cityId : this.selectArea.id
}, res => {
if(res.code == 200) {
success(res.result.records)
}
})
})
}, },
getBanner() { getBanner() {
this.$api('banner',res=>{ this.$api('banner',res=>{
@ -226,10 +260,8 @@
}) })
}, },
tabs(val) { tabs(val) {
this.params.pageNo = 1
this.cardListData = []
this.params.state = val.id this.params.state = val.id
this.getActivityPageList()
this.search()
}, },
skip(val) { skip(val) {
if(!val) { if(!val) {


+ 7
- 0
pages/index/member.vue View File

@ -118,6 +118,13 @@
}, },
getList() { getList() {
this.status = "loading" this.status = "loading"
let data = {
...this.params
}
// if(!uni.getStorageSync('to'))
this.$api('recruitPageList',this.params,res=>{ this.$api('recruitPageList',this.params,res=>{
uni.stopPullDownRefresh() uni.stopPullDownRefresh()
if(res.code == 200) { if(res.code == 200) {


+ 1
- 0
pages_login/fuwutiaokuan.vue View File

@ -46,6 +46,7 @@
top: 0; top: 0;
} }
.content { .content {
margin-top: 40rpx;
padding: 0 30rpx; padding: 0 30rpx;
padding-top: calc(var(--status-bar-height) + 110rpx); padding-top: calc(var(--status-bar-height) + 110rpx);
} }

+ 1
- 1
pages_login/wxLogin.vue View File

@ -11,7 +11,7 @@
<!-- 登录按钮 --> <!-- 登录按钮 -->
<view @click="login" class="login-btn"> <view @click="login" class="login-btn">
<uni-icons type="weixin" size="30" color="#fff"></uni-icons> <uni-icons type="weixin" size="30" color="#fff"></uni-icons>
<text class="wx">微信登录</text>
<text class="wx">微信授权登录</text>
</view> </view>
<view @click="toHome" <view @click="toHome"


+ 12
- 8
pages_my/qiandao-list.vue View File

@ -5,16 +5,16 @@
<view class="content"> <view class="content">
<zlx-item <zlx-item
:item="detail.activityInfo"
:item="detail.activityInfo || detail.travel"
:showBottom="false"></zlx-item> :showBottom="false"></zlx-item>
<view class="xie-box-val" v-for="(item,i) in list" :key="i"> <view class="xie-box-val" v-for="(item,i) in list" :key="i">
<view class="val-text"> <view class="val-text">
<view>{{item.name}}</view> <view>{{item.name}}</view>
<view class="phone-box">{{item.phone}}</view> <view class="phone-box">{{item.phone}}</view>
<view class="type-box">{{typeList[item.typeprice].name}}X{{item.num}}</view>
<view class="type-box">{{typeList[item.typePrice].name}}X{{item.num}}</view>
</view> </view>
<view class="choose-box"> <view class="choose-box">
<view class="normol-box" v-if="item.state == 0"></view>
<view class="normol-box" v-if="item.open == 'N'"></view>
<image src="./static/choose-icon.png" mode="widthFix" v-else></image> <image src="./static/choose-icon.png" mode="widthFix" v-else></image>
</view> </view>
</view> </view>
@ -58,6 +58,7 @@
price:268 price:268
} }
], ],
type : 0,
} }
}, },
onPageScroll(e) { onPageScroll(e) {
@ -67,9 +68,11 @@
this.bgColor = 'transparent' this.bgColor = 'transparent'
} }
}, },
onLoad({id}) {
onLoad({id, type}) {
this.queryParams.recruitId = id this.queryParams.recruitId = id
this.queryParams.pageSize = 20 this.queryParams.pageSize = 20
this.queryParams.type = type
this.type = type
this.getActivityInfo() this.getActivityInfo()
}, },
methods:{ methods:{
@ -81,9 +84,9 @@
orderId: code.result orderId: code.result
}, res => { }, res => {
if (res.code == 200) { if (res.code == 200) {
self.$refs.toast.show({
type: 'success',
message: res.result
uni.showToast({
title: res.message,
icon: 'none'
}) })
} }
self.getData() self.getData()
@ -93,8 +96,9 @@
}) })
}, },
getActivityInfo(){ getActivityInfo(){
this.$api('activityInfo', {
this.$api(['activityInfo', 'travelInfo'][this.type], {
activityId : this.queryParams.recruitId, activityId : this.queryParams.recruitId,
travelId : this.queryParams.recruitId,
}, res => { }, res => {
if(res.code == 200){ if(res.code == 200){
this.detail = res.result this.detail = res.result


+ 10
- 49
pages_my/travelList.vue View File

@ -38,24 +38,12 @@
@popupChange="change" @popupChange="change"
></uv-drop-down-popup> ></uv-drop-down-popup>
</view> </view>
<view class="info cardStyle_" v-for="(item, index) in cardListData" :key="index" @click="toDetail(item)">
<view class="left">
<image :src="item.image" alt="">
</view>
<view class="right">
<view class="detailed">
<view class="title">{{item.title}}</view>
<view class="date">{{item.startTime}}</view>
<view class="address">{{item.address}}</view>
</view>
<view class="data">
<text>¥{{item.price}}</text>
<text>{{item.num}}/{{item.sum}}</text>
<text class="btn" v-if="item.state == 0">报名中</text>
<text class="btn-2" v-if="item.state == 1">已结束</text>
</view>
</view>
</view>
<view class=""
style="padding: 0 20rpx;">
<travelList :cardListData="cardListData"/>
</view>
</view> </view>
<uv-calendars ref="calendars" <uv-calendars ref="calendars"
@ -67,6 +55,7 @@
<script> <script>
import Navbar from '@/pages/components/Navbar.vue' import Navbar from '@/pages/components/Navbar.vue'
import { globalMixin } from '../pages/mixins/globalMixin'; import { globalMixin } from '../pages/mixins/globalMixin';
import travelList from '@/components/travel/travelList.vue'
export default{ export default{
onPageScroll() { onPageScroll() {
// //
@ -74,7 +63,8 @@
}, },
mixins: [globalMixin], mixins: [globalMixin],
components:{ components:{
Navbar
Navbar,
travelList,
}, },
computed: { computed: {
dropItem(name) { dropItem(name) {
@ -170,11 +160,6 @@
} }
}) })
}, },
toDetail({ id }) {
uni.navigateTo({
url:`/pages_order/lvyou-detail?travelId=${id}`
})
},
change(e) { change(e) {
console.log('弹窗打开状态:',e); console.log('弹窗打开状态:',e);
}, },
@ -260,31 +245,7 @@
.content { .content {
margin-top: 40rpx; margin-top: 40rpx;
.info {
position: relative;
margin: 10rpx 32rpx 36rpx;;
padding: 35rpx 0 35rpx 24rpx;
border-radius: 26rpx;
.right {
.data {
display: flex;
justify-content: space-between;
align-items: center;
.btn {
background: #381615;
color: $uni-color-primary;
padding: 10rpx 40rpx;
border-radius: 30rpx 0px 0px 30rpx;
}
.btn-2 {
background: #333;
color: #999;
padding: 10rpx 40rpx;
border-radius: 30rpx 0px 0px 30rpx;
}
}
}
}
} }
} }

+ 27
- 2
pages_my/zlx-qiandao.vue View File

@ -2,7 +2,15 @@
<view> <view>
<view class="head-box"></view> <view class="head-box"></view>
<uv-navbar autoBack title="主理人签到" leftIconColor="#fff" :bgColor="bgColor" height="100rpx" :titleStyle="{color:'#fff'}"></uv-navbar> <uv-navbar autoBack title="主理人签到" leftIconColor="#fff" :bgColor="bgColor" height="100rpx" :titleStyle="{color:'#fff'}"></uv-navbar>
<uv-sticky offsetTop="350rpx" :bgColor="bgColor">
<uv-tabs :scrollable="false" @click="tabs" :list="tabList" lineWidth="40" :current="tabCurrent"
:lineColor="`url(${lineBg}) 100% 100%`"
:activeStyle="{color: '#FD5C5C', fontWeight: 'bold',transform: 'scale(1.05)'}"
:inactiveStyle="{color: '#999', transform: 'scale(1)'}"
itemStyle="padding-left: 15px; padding-right: 15px; height: 44px;"></uv-tabs>
</uv-sticky>
<view class="content"> <view class="content">
<zlx-item <zlx-item
v-for="(item, index) in list" v-for="(item, index) in list"
@ -24,8 +32,20 @@
}, },
data() { data() {
return { return {
lineBg: require('@/static/image/cart/tabIcon.png'),
bgColor:'transparent', bgColor:'transparent',
mixinsListApi : 'activityMemberPageList',//activityMemberPageList getTwoPageList mixinsListApi : 'activityMemberPageList',//activityMemberPageList getTwoPageList
tabCurrent : 0,
tabList: [
{
id: 0,
name: '活动'
},
{
id: 1,
name: '旅行'
},
],
} }
}, },
onPageScroll(e) { onPageScroll(e) {
@ -39,9 +59,14 @@
this.queryParams.type = 0 this.queryParams.type = 0
}, },
methods:{ methods:{
tabs(e) {
this.tabCurrent = e.index
this.queryParams.type = e.id
this.getData()
},
qiandaoClick(id) { qiandaoClick(id) {
uni.navigateTo({ uni.navigateTo({
url:'/pages_my/qiandao-list?id=' + id
url:`/pages_my/qiandao-list?id=${id}&type=${this.queryParams.type}`
}) })
}, },
} }


+ 50
- 22
pages_order/huodong-detail.vue View File

@ -103,7 +103,9 @@
<uv-icon name="close" color="#fff" @click="$refs.popup.close();"></uv-icon> <uv-icon name="close" color="#fff" @click="$refs.popup.close();"></uv-icon>
</view> </view>
<view class="popup-list"> <view class="popup-list">
<view class="list-item" v-for="(item,i) in typeList" :key="i" @click="chooseClick(item,i)">
<view class="list-item"
v-for="(item,i) in typeList" :key="i"
@click="chooseClick(item,i)">
<view class="item-l" :class="chooseIndex == i ? 'chooose-class' : ''"> <view class="item-l" :class="chooseIndex == i ? 'chooose-class' : ''">
<view>{{item.name}}</view> <view>{{item.name}}</view>
<view class="item-l-val">{{item.price}}</view> <view class="item-l-val">{{item.price}}</view>
@ -141,18 +143,18 @@
numValue:0, numValue:0,
ewmImg:'', ewmImg:'',
typeList:[ typeList:[
{
name:'早鸟票',
price:168
},
{
name:'单人票',
price:198.01
},
{
name:'尊享票',
price:268
}
// {
// name:'',
// price: 0
// },
// {
// name:'',
// price: 0
// },
// {
// name:'',
// price: 0
// }
], ],
activityId:'', activityId:'',
isCollect : false, isCollect : false,
@ -193,9 +195,7 @@
} }
}, },
fail: function(res) { fail: function(res) {
console.log("失败", res)
console.log("失败", res)
} }
} }
}, },
@ -230,14 +230,42 @@
} }
this.$api('activityInfo', data,res=> { this.$api('activityInfo', data,res=> {
if(res.code==200) { if(res.code==200) {
let adminUser = res.result.adminUser || {}
this.activityDetails = res.result.activityInfo this.activityDetails = res.result.activityInfo
this.numValue = res.result.adminUser.num
this.ewmImg = res.result.adminUser.img
this.numValue = adminUser.num
this.ewmImg = adminUser.img
this.adminUserInfo = res.result.adminUserInfo this.adminUserInfo = res.result.adminUserInfo
this.isCollect = res.result.collect this.isCollect = res.result.collect
this.typeList[0].price = res.result.activityInfo.birdPrice;
this.typeList[1].price = res.result.activityInfo.personPrice;
this.typeList[2].price = res.result.activityInfo.expensivePrice;
this.typeList = []
if(res.result.activityInfo.birdPrice){
this.typeList.push({
price : res.result.activityInfo.birdPrice,
name : '早鸟票',
type : 0,
})
}
if(res.result.activityInfo.personPrice){
this.typeList.push({
price : res.result.activityInfo.personPrice,
name : '单人票',
type : 1,
})
}
if(res.result.activityInfo.expensivePrice){
this.typeList.push({
price : res.result.activityInfo.expensivePrice,
name : '尊享票',
type : 2,
})
}
// this.typeList[0].price = res.result.activityInfo.birdPrice;
// this.typeList[1].price = res.result.activityInfo.personPrice;
// this.typeList[2].price = res.result.activityInfo.expensivePrice;
} }
}) })
}, },
@ -264,7 +292,7 @@
confirmClick(typePrice) { confirmClick(typePrice) {
this.$api('createOrder',{ this.$api('createOrder',{
id:this.activityId, id:this.activityId,
typePrice:typePrice,
typePrice: this.typeList[typePrice].type,
type:0 type:0
},res=>{ },res=>{
if(res.code === 200) { if(res.code === 200) {


+ 1
- 1
pages_order/invoiceRecords.vue View File

@ -25,7 +25,7 @@
<view class="date">{{item.createTime}}</view> <view class="date">{{item.createTime}}</view>
<view class="date" <view class="date"
style="padding-top: 0;">{{item.name}}</view> style="padding-top: 0;">{{item.name}}</view>
<view class="address">{{item.emil}}</view>
<view class="emil">{{item.emil}}</view>
</view> </view>
<view class="data"> <view class="data">
<text>标准票</text> <text>标准票</text>


+ 1
- 1
pages_order/orderDetails.vue View File

@ -53,7 +53,7 @@
</view> </view>
<view style="padding: 65rpx 35rpx;" <view style="padding: 65rpx 35rpx;"
@click="open" @click="open"
v-if="dataInfo.state == 1 && dataInfo.type == 0">
v-if="dataInfo.state == 1">
<uv-button :custom-style="customStyle" type="primary" shape="circle" color="#381615" text="活动签到"></uv-button> <uv-button :custom-style="customStyle" type="primary" shape="circle" color="#381615" text="活动签到"></uv-button>
</view> </view>


+ 1
- 3
pages_order/payOrder.vue View File

@ -158,9 +158,7 @@
}) })
}).catch(n => { }).catch(n => {
setTimeout(uni.switchTab, 800, {
url: '/pages/index/cart'
})
setTimeout(uni.navigateBack, 800, -1)
}) })
} }
}) })


+ 5
- 0
pages_zlx/zlx-form.vue View File

@ -109,6 +109,10 @@
<view class="btn-box" v-if="info.state != 1"> <view class="btn-box" v-if="info.state != 1">
<uv-button text="保存" color="#381615" shape="circle" :customStyle="btnCustomStyle" @click="confrim"></uv-button> <uv-button text="保存" color="#381615" shape="circle" :customStyle="btnCustomStyle" @click="confrim"></uv-button>
</view> </view>
<view class="btn-box" v-else>
<uv-button text="已审核通过" color="#381615" shape="circle" :customStyle="btnCustomStyle"></uv-button>
</view>
</view> </view>
</template> </template>
@ -294,6 +298,7 @@
} }
.content { .content {
margin-top: 40rpx; margin-top: 40rpx;
padding-bottom: 100rpx;
padding: 0 30rpx; padding: 0 30rpx;
padding-top: calc(var(--status-bar-height) + 110rpx); padding-top: calc(var(--status-bar-height) + 110rpx);


Loading…
Cancel
Save