Commit 720d4e21 by 徐忆琳

Merge branch 'xuyl_dev_v4.19.0' into 'dev_v4.19.0'

更新4.19代码

See merge request !41
2 parents 2cc1b3cf e3de0394
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* 2测试 * 2测试
* 3生产环境 * 3生产环境
*/ */
let index = 1 let index = 0
const accountInfo = wx.getAccountInfoSync() const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync() const systemInfo = wx.getSystemInfoSync()
......
...@@ -32,5 +32,10 @@ module.exports = { ...@@ -32,5 +32,10 @@ module.exports = {
// 创建子订单(已收款补录订单) // 创建子订单(已收款补录订单)
creatFullPayOrderAPI(data) { creatFullPayOrderAPI(data) {
return api.post('dj.api.smartcarlife.shopmallSubOrder.createFullPayOrder', data) return api.post('dj.api.smartcarlife.shopmallSubOrder.createFullPayOrder', data)
},
// 获取活动的商品信息
getMerchandiseInformation(){
return api.post('dj.api.smartcarlife.shopmallActivity.selectSamePriceGoods', data)
} }
} }
...@@ -3,14 +3,21 @@ import Api from '../../api' ...@@ -3,14 +3,21 @@ import Api from '../../api'
Component({ Component({
options: { options: {
styleIsolation: 'apply-shared', styleIsolation: 'apply-shared',
},
properties: { properties: {
id: String, activityId: {
type: String,
observer: function (n) {
if (n) {
this.init()
}
} }
},
activityName: String
}, },
lifetimes: { lifetimes: {
attached() { attached() {
this.init()
} }
}, },
/** /**
...@@ -34,7 +41,7 @@ Component({ ...@@ -34,7 +41,7 @@ Component({
1: '已支付', 1: '已支付',
2: '已退款' 2: '已退款'
}, },
orderStatusList:[ orderStatusList: [
{ {
confName: '全部', confName: '全部',
confId: '' confId: ''
...@@ -52,7 +59,7 @@ Component({ ...@@ -52,7 +59,7 @@ Component({
], ],
searchObj: {}, searchObj: {},
flag: true, flag: true,
statisticsObj:{}, statisticsObj: {},
orderObj: [ orderObj: [
{ {
label: '活动名称', label: '活动名称',
...@@ -87,63 +94,68 @@ Component({ ...@@ -87,63 +94,68 @@ Component({
key: 'tailPayment' key: 'tailPayment'
} }
], ],
list: [{ list: []
customerName: '郝佳', // list: [{
tailOrderStatus: 0, // customerName: '郝佳',
activityName: "5555众筹", // tailOrderStatus: 0,
transfer: '嘀加4S店-李美丽', // activityName: "5555众筹",
referrer: '园区店名-销售顾问', // transfer: '嘀加4S店-李美丽',
goodsName: '汽车车膜', // referrer: '园区店名-销售顾问',
payTime: 399, // goodsName: '汽车车膜',
payedDate: '2023.03.01 16:30:52', // payTime: 399,
subOrderCode: 1025639521111, // payedDate: '2023.03.01 16:30:52',
tailPayment: 200, // subOrderCode: 1025639521111,
orderNum:'111111111' // tailPayment: 200,
}, { // orderNum:'111111111'
customerName: '李鹏', // }, {
tailOrderStatus: 1, // customerName: '李鹏',
activityName: "5555众筹", // tailOrderStatus: 1,
referrer: '嘀加4S店-李美丽', // activityName: "5555众筹",
transfer: '园区店名-销售顾问', // referrer: '嘀加4S店-李美丽',
goodsName: '汽车车膜', // transfer: '园区店名-销售顾问',
payTime: 399, // goodsName: '汽车车膜',
payedDate: '2023.03.01 16:30:52', // payTime: 399,
subOrderCode: 1025639521111, // payedDate: '2023.03.01 16:30:52',
balanceAmount: 200, // subOrderCode: 1025639521111,
tailPayedDate: 1000, // balanceAmount: 200,
tailPayment: 200, // tailPayedDate: 1000,
quotedPriceUpdate:'123', // tailPayment: 200,
orderNum:'111111111' // quotedPriceUpdate:'123',
}, // orderNum:'111111111'
{ // },
customerName: '李鹏', // {
tailOrderStatus: 2, // customerName: '李鹏',
activityName: "5555众筹", // tailOrderStatus: 2,
referrer: '嘀加4S店-李美丽', // activityName: "5555众筹",
transfer: '园区店名-销售顾问', // referrer: '嘀加4S店-李美丽',
goodsName: '汽车车膜', // transfer: '园区店名-销售顾问',
payTime: 399, // goodsName: '汽车车膜',
quotedPriceUpdate:1111, // payTime: 399,
payedDate: '2023.03.01 16:30:52', // quotedPriceUpdate:1111,
subOrderCode: 1025639521111, // payedDate: '2023.03.01 16:30:52',
balanceAmount: 200 // subOrderCode: 1025639521111,
} // balanceAmount: 200
], // }
// ],
}, },
methods: { methods: {
init(){ init() {
const {id} = this.data const {activityId} = this.data
Api.activityStatistics({activityId}).then(res=>{ Api.activityStatistics({activityId}).then(res => {
if (res.code == 0){ if (res.code == 0) {
this.setData({ this.setData({
statisticsObj:res.data statisticsObj: res.data
}) })
} else {
wx.$util.showToast(res.message || '接口异常')
} }
}) })
}, },
onBottomRefresh() { onBottomRefresh() {
console.log('?????')
this.getList() this.getList()
}, },
tabClick(e) { tabClick(e) {
let {searchObj} = this.data let {searchObj} = this.data
delete searchObj.statusList delete searchObj.statusList
...@@ -153,11 +165,12 @@ Component({ ...@@ -153,11 +165,12 @@ Component({
}) })
this.search() this.search()
}, },
handlefinalPayment(e) { handlefinalPayment(e) {
console.log(e.currentTarget.dataset)
const {target} = e.currentTarget.dataset const {target} = e.currentTarget.dataset
wx.$router.go('balanceNote',{list:target}) wx.$router.go('balanceNote', {list: target})
}, },
getTotal() { getTotal() {
let {storeInfo} = this.data let {storeInfo} = this.data
getQuotationStatistics({merchantId: storeInfo?.merchantId}).then(res => { getQuotationStatistics({merchantId: storeInfo?.merchantId}).then(res => {
...@@ -176,8 +189,9 @@ Component({ ...@@ -176,8 +189,9 @@ Component({
} }
}) })
}, },
getList(isReset = false) { getList(isReset = false) {
let {pageSize, pageNum, tabList, tabIndex, customerName, storeInfo, nothing,activityId,orderStatusList} = this.data let {pageSize, pageNum, tabList, tabIndex, customerName, nothing, activityId, orderStatusList} = this.data
if (nothing) { if (nothing) {
return return
} }
...@@ -187,43 +201,43 @@ Component({ ...@@ -187,43 +201,43 @@ Component({
customerName, customerName,
activityId, activityId,
tailOrderStatus: orderStatusList.find(item => item.confName == tabList[tabIndex])?.confId || '', tailOrderStatus: orderStatusList.find(item => item.confName == tabList[tabIndex])?.confId || '',
merchantId: storeInfo?.merchantId // merchantId: storeInfo?.merchantId
} }
Api.queryTheListOfSuborders(params).then(res => { Api.queryTheListOfSuborders(params).then(res => {
console.log(res) if (res.code == '0') {
// if (res.code == '0') { let {list, total} = res.data
// let {list, total} = res.data let tempList = isReset ? list : this.data.list.concat(list)
// let tempList = isReset ? list : this.data.list.concat(list) this.setData({
// this.setData({ list: tempList,
// list: tempList, pageNum: pageNum + 1,
// pageNum: pageNum + 1, total,
// total, nothing: total == tempList.length,
// nothing: total == tempList.length, triggered: false
// triggered: false })
// }) if (isReset) {
// if (isReset) { this.setData({
// this.setData({ scrollTop: 0
// scrollTop: 0 })
// }) }
// } // console.log(this.data.list)
// // console.log(this.data.list) } else {
// } else { this.setData({
// this.setData({ list: [],
// list: [], nothing: false,
// nothing: false, total: 0
// total: 0 })
// }) wx.$util.showToast(res.message || '接口异常')
// wx.$util.showToast(res.message || '接口异常') }
// }
}) })
}, },
handleClickBtn(e) { handleClickBtn(e) {
console.log(e.currentTarget.dataset.target) console.log(e.currentTarget.dataset.target)
const { tailOrderStatus,orderNum} = e.currentTarget.dataset.target const {tailOrderStatus, orderNum} = e.currentTarget.dataset.target
if ( tailOrderStatus == 0) { if (tailOrderStatus == 0) {
wx.$router.go('activityPay') wx.$router.go('activityPay')
} }
if ( tailOrderStatus == 1) { if (tailOrderStatus == 1) {
wx.showModal({ wx.showModal({
title: '温馨提示', title: '温馨提示',
content: '请确定将此订单状态标记为已退款', content: '请确定将此订单状态标记为已退款',
...@@ -232,7 +246,7 @@ Component({ ...@@ -232,7 +246,7 @@ Component({
confirmColor: '#3582EE', confirmColor: '#3582EE',
success(res) { success(res) {
if (res.confirm) { if (res.confirm) {
Api.markAsRefunded({orderCode:orderNum}).then(res=>{ Api.markAsRefunded({orderCode: orderNum}).then(res => {
console.log(res) console.log(res)
}) })
} }
...@@ -269,44 +283,11 @@ Component({ ...@@ -269,44 +283,11 @@ Component({
console.log('点击了订单') console.log('点击了订单')
// let { target } = e.currentTarget.dataset // let { target } = e.currentTarget.dataset
wx.$router.go('activityList') wx.$router.go('activityList')
// wx.$router.go('createOrderCarQuotation', {
// id: target.id
// })
// 0待报价、1待确认、2待支付、3已支付、-1战败
// switch (target. tailOrderStatus + '') {
// // schemeConfirmation
// case '0':
// wx.$router.go('createOrderCarQuotation', {
// id: target.id
// })
// break
// case '1':
// wx.$router.go('schemeConfirmation', {
// id: target.id
// })
// break
// case '2':
// wx.$router.go('CarQuotationPay', {
// id: target.id
// })
// break
// case '3':
// wx.$router.go('serviceInfo', {
// orderId: target.orderId,
// apiName: 'handler'
// })
// break
// case '-1':
// wx.$router.go('createOrderCarQuotation', {
// id: target.id
// })
// break
// }
}, },
back() { back() {
wx.$router.reLaunch('pages.sceneIndex') wx.$router.back()
}, },
}, },
......
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
</block> </block>
</block> </block>
<view class="no-data" wx:else> <view class="no-data" wx:else>
<image class="no-data-img" src="/packageEquity/images/noData.png" /> <image class="no-data-img" src="/packageCrowdFunding/images/noData.png" />
<view class="list-not">暂无数据</view> <view class="list-not">暂无数据</view>
</view> </view>
</scroll-view> </scroll-view>
......
import activityList from './constant/data' // import activityList from './constant/data'
import activityApi from '../../api' import activityApi from '../../api'
Component({ Component({
...@@ -51,6 +51,7 @@ Component({ ...@@ -51,6 +51,7 @@ Component({
}, },
onBottomRefresh() { onBottomRefresh() {
console.log('????????')
this.getActivityList() this.getActivityList()
}, },
...@@ -77,33 +78,29 @@ Component({ ...@@ -77,33 +78,29 @@ Component({
merchantId: storeInfo?.merchantId merchantId: storeInfo?.merchantId
} }
activityApi.queryActivityList(params).then(res => {
if (res.code == '0') {
let { list, total } = res.data
let tempList = isReset ? list : this.data.list.concat(list || [])
this.setData({ this.setData({
list: activityList.activityList list: tempList,
pageNum: pageNum + 1,
total,
nothing: total == tempList.length,
}) })
activityApi.queryActivityList(params).then(res => { if (isReset) {
console.log(res) this.setData({
// if (res.code == '0') { scrollTop: 0
// let { list, total } = res.data })
// let tempList = isReset ? list : this.data.list.concat(list || []) }
// this.setData({ } else {
// list: tempList, this.setData({
// pageNum: pageNum + 1, list: [],
// total, nothing: false,
// nothing: total == tempList.length, total: 0
// }) })
// if (isReset) { wx.$util.showToast(res.message || '接口异常')
// this.setData({ }
// scrollTop: 0
// })
// }
// } else {
// this.setData({
// list: [],
// nothing: false,
// total: 0
// })
// wx.$util.showToast(res.message || '接口异常')
// }
}) })
}, },
...@@ -142,9 +139,8 @@ Component({ ...@@ -142,9 +139,8 @@ Component({
handleOrderList(e) { handleOrderList(e) {
const {target} = e.target.dataset const {target} = e.target.dataset
console.log(target)
wx.$router.go('activityList', { wx.$router.go('activityList', {
id: target.id, activityId: target.id,
activityName:target.activityName activityName:target.activityName
}) })
}, },
......
...@@ -26,19 +26,21 @@ ...@@ -26,19 +26,21 @@
enable-back-to-top enable-back-to-top
refresher-enabled="{{true}}" refresher-enabled="{{true}}"
bindrefresherrefresh="search" bindrefresherrefresh="search"
bindscrolltolower="scrollonReachBottom" bindscrolltolower="onBottomRefresh"
class="list" class="list"
style="height:calc(100vh - {{navBarHeight + 104}}px);" style="height:calc(100vh - {{navBarHeight + 104}}px);"
refresher-threshold="104" refresher-threshold="104"
refresher-triggered="{{triggered}}"> refresher-triggered="{{triggered}}">
<block wx:if="{{list}}"> <block wx:if="{{list.length > 0}}">
<block> <block>
<block wx:for="{{list}}" wx:key="id"> <block wx:for="{{list}}" wx:key="id">
<view class="activity-box"> <view class="activity-box">
<view class="activity-name"> <view class="activity-name">
<image class="activity-avatar" src="{{item.activityImg}}" /> <view class="activity-avatar">
<image src="{{item.activityImg}}" />
</view>
<view class="activity-status"> <view class="activity-status">
<view> <view>
<view class="name">{{item.activityName}}</view> <view class="name">{{item.activityName}}</view>
...@@ -73,9 +75,10 @@ ...@@ -73,9 +75,10 @@
<view class="list-nothing">到底了~</view> <view class="list-nothing">到底了~</view>
</block> </block>
</block> </block>
<block wx:else> <view class="no-data" wx:else>
<image class="no-data-img" src="/packageCrowdFunding/images/noData.png" />
<view class="list-not">暂无数据</view> <view class="list-not">暂无数据</view>
</block> </view>
</scroll-view> </scroll-view>
</block> </block>
......
...@@ -189,8 +189,9 @@ ...@@ -189,8 +189,9 @@
} }
.activity-box .activity-name .activity-status { .activity-box .activity-name .activity-status {
width: 80%;
display: flex; display: flex;
padding-left: 35rpx; justify-content: space-around;
padding-top: 15rpx; padding-top: 15rpx;
} }
...@@ -261,3 +262,19 @@ ...@@ -261,3 +262,19 @@
.activity-box .activity-list .activity-pay .unpaid .unpaidNum { .activity-box .activity-list .activity-pay .unpaid .unpaidNum {
color: #EB4E4E; color: #EB4E4E;
} }
.no-data {
text-align: center;
margin-top: 128rpx;
}
.no-data-img {
width: 160rpx;
height: 160rpx;
}
.list-nothing,
.list-not {
text-align: center;
}
...@@ -5,6 +5,9 @@ Component({ ...@@ -5,6 +5,9 @@ Component({
}, },
activityName:{ activityName:{
type:String type:String
},
activityId:{
type:String
} }
}, },
data: { data: {
...@@ -36,7 +39,8 @@ Component({ ...@@ -36,7 +39,8 @@ Component({
}) })
} }
wx.$router.go(choiceList[0].url,{ wx.$router.go(choiceList[0].url,{
activityName: this.data.activityName activityName: this.data.activityName,
activityId: this.data.activityId
}) })
this.setData({ this.setData({
show: false show: false
......
<!--packageEquity/components/storePicker/storePicker.wxml--> <!--packageEquity/components/storePicker/storePicker.wxml-->
<!--<popup class="date-background" show="{{show}}" bindconfirm="confirm" height="460rpx">-->
<!-- <view class='date-container'>-->
<!-- <view class='date-confirm'>-->
<!-- 请选择创建订单方式-->
<!-- </view>-->
<!-- <view class="box">-->
<!-- <view class="view pickViewColumn">未收款新增订单</view>-->
<!-- <view class="view pickViewColumn">已收款补录订单</view>-->
<!-- <view class="icon">-->
<!-- <image src="../../../../images/choose.png" />-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<!--</popup>-->
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="480rpx"> <popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="480rpx">
<view class="sub-title text-center">请选择创建订单方式</view> <view class="sub-title text-center">请选择创建订单方式</view>
<block wx:for="{{optionList}}" wx:key="index"> <block wx:for="{{optionList}}" wx:key="index">
......
...@@ -10,16 +10,15 @@ Page({ ...@@ -10,16 +10,15 @@ Page({
defaultOderSelect:'', defaultOderSelect:'',
showPicker:false, showPicker:false,
oderSelectItem:[{merchantName:1},{merchantName:2}], oderSelectItem:[{merchantName:1},{merchantName:2}],
id:'', activityId:'',
activityName:'' activityName:''
}, },
onRoute(options) { onRoute(options) {
let id = options.id let activityId = options.activityId
let activityName = options.activityName let activityName = options.activityName
console.log(activityName)
this.setData({ this.setData({
id, activityId,
activityName activityName
}) })
}, },
......
...@@ -10,10 +10,10 @@ ...@@ -10,10 +10,10 @@
<view class="layout" style="padding-top:{{navBarHeight}}px;position: relative;"> <view class="layout" style="padding-top:{{navBarHeight}}px;position: relative;">
<block > <block >
<acitivity-detail activityId="{{id}}"></acitivity-detail> <acitivity-detail activityId="{{activityId}}" activityName="{{activityName}}"></acitivity-detail>
</block> </block>
</view> </view>
<image data-target="addOrder" bind:tap="showMannerPicker" class="addOrder" src="./../../images/addOrder.png" mode="scaleToFill|aspectFit|aspectFill|widthFix" binderror="" bindload="" /> <image data-target="addOrder" bind:tap="showMannerPicker" class="addOrder" src="./../../images/addOrder.png" mode="scaleToFill|aspectFit|aspectFill|widthFix" binderror="" bindload="" />
<popup-manner show="{{showPicker}}" activityName="{{activityName}}" bindconfirm="changePicker"></popup-manner> <popup-manner show="{{showPicker}}" activityName="{{activityName}}" activityId="{{activityId}}" bindconfirm="changePicker"></popup-manner>
...@@ -9,34 +9,10 @@ Page({ ...@@ -9,34 +9,10 @@ Page({
*/ */
data: { data: {
orderObj: constantData.orderObj, orderObj: constantData.orderObj,
// orderInfo: {orderNo: '52632145854', goodId: 2, referrerId: 2},
orderNoPopup: false, orderNoPopup: false,
// orderNoList: [{ orderNoList:[],
// orderNo: '52632145852', orderListInfo: {},
// payTime: '2023.03.01 16:30:52', orderNoInfo:{}
// payAmount: '100'
// }, {
// orderNo: '52632145854',
// payTime: '2023.03.01 16:30:52',
// payAmount: '100'
// }, {
// orderNo: '52632145853',
// payTime: '2023.03.01 16:30:52',
// payAmount: '100'
// }, {
// orderNo: '52632145855',
// payTime: '2023.03.01 16:30:52',
// payAmount: '100'
// }, {
// orderNo: '52632145856',
// payTime: '2023.03.01 16:30:52',
// payAmount: '100'
// }, {
// orderNo: '52632145857',
// payTime: '2023.03.01 16:30:52',
// payAmount: '100'
// }]
orderNoList:[]
}, },
handleTransaction() { handleTransaction() {
this.setData({ this.setData({
...@@ -44,7 +20,9 @@ Page({ ...@@ -44,7 +20,9 @@ Page({
}) })
}, },
confirm() { confirm() {
wx.$router.go('activityPay') const {orderInfo,orderListInfo} = this.data
let payParams = {...orderInfo,...orderListInfo}
wx.$router.go('activityPay',{payParams})
}, },
back() { back() {
wx.$router.back() wx.$router.back()
...@@ -53,21 +31,13 @@ Page({ ...@@ -53,21 +31,13 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad(options) { onLoad(options) {
Api.transactionSerialNumber({currentPage :1,pageSize :4}).then(res =>{
if (res.code == 0){
// const {}
this.setData({
orderNoList:res.data.list
})
}
})
}, },
onRoute(options) { onRoute(options) {
const { list} = options const { list} = options
this.setData({ this.setData({
orderInfo: list orderListInfo: list
}) })
console.log(this.data.orderInfo)
}, },
/** /**
......
...@@ -9,9 +9,10 @@ ...@@ -9,9 +9,10 @@
</view> </view>
</view> </view>
<view class="money">尾款金额 <view class="money">尾款金额
<view class="sum">¥1000</view> <view class="sum">¥{{orderListInfo.tailPayment}}</view>
</view> </view>
<view class="box" bind:tap="handleTransaction">交易流水号 <view class="box" bind:tap="handleTransaction">交易流水号
{{orderInfo.outTradeNo}}
<view class="right"> <view class="right">
<image src="../../../images/arrow-right.png"/> <image src="../../../images/arrow-right.png"/>
</view> </view>
...@@ -19,7 +20,7 @@ ...@@ -19,7 +20,7 @@
</view> </view>
<view class="infoBox"> <view class="infoBox">
<activity-info orderInfo="{{orderInfo}}"></activity-info> <activity-info orderInfo="{{orderListInfo}}"></activity-info>
</view> </view>
<view class="cofirm" bind:tap="confirm"> <view class="cofirm" bind:tap="confirm">
...@@ -29,5 +30,5 @@ ...@@ -29,5 +30,5 @@
<order-no-popup <order-no-popup
show="{{orderNoPopup}}" show="{{orderNoPopup}}"
title="请选择交易参考号" title="请选择交易参考号"
orderInfo="{{orderInfo}}" orderInfo="{{orderNoInfo}}"
orderNoList="{{orderNoList}}"/> orderNoList="{{orderNoList}}"/>
...@@ -39,7 +39,7 @@ const orderObj = { ...@@ -39,7 +39,7 @@ const orderObj = {
}, },
{ {
label: '商品名称', label: '商品名称',
name: 'shopName', name: 'goodsName',
type: 'select', type: 'select',
optionList: [{ optionList: [{
goodId: 1, goodId: 1,
......
// packageCrowdFunding/pages/newOrder/newOrder.js // packageCrowdFunding/pages/newOrder/newOrder.js
import constantData from './constant/data' import constantData from './constant/data'
import Api from '../../api'
const app = getApp() const app = getApp()
Page({ Page({
...@@ -16,18 +18,32 @@ Page({ ...@@ -16,18 +18,32 @@ Page({
*/ */
onLoad(options) { onLoad(options) {
// 推荐人 // 推荐人
let { orderObj } = this.data let {orderObj} = this.data
if (app.globalData?.staffListRange && orderObj?.orderFormList) { if (app.globalData?.staffListRange && orderObj?.orderFormList) {
orderObj.orderFormList[orderObj.orderFormList.length - 1].optionList = app.globalData.staffListRange orderObj.orderFormList[orderObj.orderFormList.length - 1].optionList = app.globalData.staffListRange
} }
this.setData({orderObj}) this.setData({orderObj})
console.log(options)
}, },
back(){ back() {
wx.$router.back() wx.$router.back()
}, },
confirm(e){ onRoute(options) {
const {target }= e.currentTarget.dataset const {activityName, activityId} = options
// this.setData({
// orderInfo:options
// })
this.getGoods(activityId)
},
getGoods(activityId) {
Api.getMerchandiseInformation({actid: '10228'}).then(res => {
console.log(res)
})
},
confirm(e) {
const {target} = e.currentTarget.dataset
console.log(this.data.orderInfo) console.log(this.data.orderInfo)
// if (target == 'wechat'){ // if (target == 'wechat'){
// let id = 1 // let id = 1
...@@ -37,58 +53,66 @@ Page({ ...@@ -37,58 +53,66 @@ Page({
// let id =2 // let id =2
// wx.$router.go('activityPay',{id}) // wx.$router.go('activityPay',{id})
// } // }
}, }
,
// 自定义picker选择器 // 自定义picker选择器
showPickerSelect(e) { showPickerSelect(e) {
this.setData({ this.setData({
showPickerSelect: true, showPickerSelect: true,
pickerTitle: e?.detail?.label, pickerTitle: e?.detail?.label,
pickerObj: e?.detail || {} pickerObj: e?.detail || {}
}) })
}, }
,
/** /**
* 生命周期函数--监听页面初次渲染完成 * 生命周期函数--监听页面初次渲染完成
*/ */
onReady() { onReady() {
}, }
,
/** /**
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
*/ */
onShow() { onShow() {
}, }
,
/** /**
* 生命周期函数--监听页面隐藏 * 生命周期函数--监听页面隐藏
*/ */
onHide() { onHide() {
}, }
,
/** /**
* 生命周期函数--监听页面卸载 * 生命周期函数--监听页面卸载
*/ */
onUnload() { onUnload() {
}, }
,
/** /**
* 页面相关事件处理函数--监听用户下拉动作 * 页面相关事件处理函数--监听用户下拉动作
*/ */
onPullDownRefresh() { onPullDownRefresh() {
}, }
,
/** /**
* 页面上拉触底事件的处理函数 * 页面上拉触底事件的处理函数
*/ */
onReachBottom() { onReachBottom() {
}, }
,
/** /**
* 用户点击右上角分享 * 用户点击右上角分享
......
{ {
"appid": "wx8c52883720153d59", "appid": "wx570d9331f9ace0bd",
"projectname": "%E7%B2%BE%E5%93%81%E5%8D%87%E7%BA%A7", "projectname": "%E7%B2%BE%E5%93%81%E5%8D%87%E7%BA%A7",
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.29.2", "libVersion": "2.29.2",
......
...@@ -50,8 +50,8 @@ const domain_items = { ...@@ -50,8 +50,8 @@ const domain_items = {
ip: { ip: {
// dj: 'http://192.168.1.165:8292', // dj: 'http://192.168.1.165:8292',
// dj: 'http://192.168.1.170:8292', // dj: 'http://192.168.1.170:8292',
// dj: 'http://192.168.1.169:8292',//蔡远明 dj: 'http://192.168.1.169:8292',//蔡远明
dj:'http://192.168.2.59:8292/',//周立明 // dj:'http://192.168.2.59:8292/',//周立明
scrm: 'http://192.168.1.165:8292' scrm: 'http://192.168.1.165:8292'
}, },
dev: { dev: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!