jiazhipeng 1 year ago
parent
commit
075616121a
  1. 14
      pages/info/showInfo/index.js
  2. 2
      pages/info/showInfo/index.wxml
  3. 6
      pages/info/showInfo/index.wxss
  4. 6
      pages/list/theatre/index.js
  5. 2
      pages/list/theatre/index.wxml
  6. 5
      pages/order/show/index.js
  7. 4
      utils/https.js

14
pages/info/showInfo/index.js

@ -292,13 +292,13 @@ Page({
})
},
showOrder: function () {
// if(this.data.info.sku.length==0){
// wx.showToast({
// title: '该演出暂时无法预约',
// icon:'none'
// })
// return;
// }
if(this.data.info.sku.length<=0){
wx.showToast({
title: '暂无绑定演出具体信息',
icon:'none'
})
return;
}
// app.globalData.couponInfo = null;
// app.globalData.productShow = this.data.info;
// app.globalData.retailId = this.data.retailId;

2
pages/info/showInfo/index.wxml

@ -107,7 +107,7 @@
<view style="height:140rpx"></view>
<view class="fixed-bottom">
<view class="['left-img',{{!iShop?'no-shop':''}}]">
<navigator url="/pages/index/index" class="shop-box">
<navigator url="/pages/index/index" open-type="switchTab" class="shop-box">
<view class="shop-box">
<image class="icon-shop" src="https://static.ticket.sz-trip.com/uploads/20241119/868addcaedbc5d63ebdfa150fcace34d.png" mode="aspectFill"/>
<view>首页</view>

6
pages/info/showInfo/index.wxss

@ -754,12 +754,16 @@ margin-right: 29rpx;
}
.pro-list{
display: flex;
justify-content: space-between;
/* justify-content: space-between; */
align-items: center;
flex-wrap: wrap;
}
.proitem{
width: 213rpx;
margin-right: 15rpx;
}
.proitem:last-of-type{
margin-right: 0;
}
.item-hd image{
width: 213rpx;

6
pages/list/theatre/index.js

@ -9,9 +9,9 @@ Page({
*/
data: {
list:[],
tagList: [], // 父标签278
tagList: [], // 父标签477
total:1,
type:278,
type:477,
sort:["","weight","distance","weight","price"],
order:['','desc',"asc","desc","asc"],
lat:"",
@ -107,7 +107,7 @@ Page({
// 获取子标签
getTags () {
commonApi._post("product/tag_list",{
pid:"278",
pid:"477",
}).then(res=>{
let resData = res.data || []
this.setData({

2
pages/list/theatre/index.wxml

@ -5,7 +5,7 @@
<image class="heaimg" src="https://static.ticket.sz-trip.com/uploads/20241118/5540525af7880d15a3899f56f9000237.png" mode="widthFix"></image>
<view class="sale-types no-scrollbar">
<view class="sale-type{{type==278?' active':''}}" bindtap="changeType" data-type="278">全部</view>
<view class="sale-type{{type==477?' active':''}}" bindtap="changeType" data-type="477">全部</view>
<view wx:for="{{tagList}}" wx:key="id" class="sale-type{{type==item.id?' active':''}}"
bindtap="changeType" data-type="{{item.id}}">{{item.name}}</view>

5
pages/order/show/index.js

@ -255,9 +255,10 @@ Page({
// app.globalData.retailId = this.data.retailId;
app.globalData.product = {
product: product,
product: {...product, price: skuSelect.price},
sku: sku
}
}
date.price = skuSelect.price
app.globalData.product.date = date
app.globalData.product.time = time

4
utils/https.js

@ -1,8 +1,8 @@
var app = getApp();
import util from "../utils/util"
// import userApi from "../utils/https/user.js";
const baseUrl = "https://test.api.cloud.sz-trip.com/api/";
// let baseUrl = "https://api.cloud.sz-trip.com/api/";
// const baseUrl = "https://test.api.cloud.sz-trip.com/api/";
let baseUrl = "https://api.cloud.sz-trip.com/api/";
const env = wx.getAccountInfoSync().miniProgram.envVersion
if (env == 'develop1') {
baseUrl = "https://test.api.cloud.sz-trip.com/api/"

Loading…
Cancel
Save