소스 검색

C端优化-停用商户,在劵列表显示问题

tags/C.10.02
meo 5 년 전
부모
커밋
60198fedd9
1개의 변경된 파일15개의 추가작업 그리고 0개의 파일을 삭제
  1. +15
    -0
      pages/index/searchbar/detail/index.js

+ 15
- 0
pages/index/searchbar/detail/index.js 파일 보기

@@ -125,6 +125,21 @@ Page({
url: config.api.merchantList,
data: data
}).then(res => {
if (res.data.list.length==0){
wx.showModal({
title: '提示',
content: '此商户已经停用',
confirmText: "返回",
showCancel:false,
success: function (res) {
if (res.confirm) {
wx.navigateBack({
url: '/index/searchbar',
})
}
}
})
}
let imgList = [];
imgList.push(res.data.list[0].merchantImgUrl)
that.setData({


불러오는 중...
취소
저장