Parcourir la source

[拼团和活动报名][修复];[bug的修复]

tags/C.7.1.0
meo il y a 6 ans
Parent
révision
47df1fd94a
6 fichiers modifiés avec 35 ajouts et 33 suppressions
  1. +19
    -24
      ext.json
  2. +10
    -3
      pages/acSignIn/index.js
  3. +1
    -1
      pages/radetail/index.wxml
  4. +3
    -3
      pages/radetail/index.wxss
  5. +1
    -1
      pages/spellGroup/mySpellGroup/index.wxml
  6. +1
    -1
      project.config.json

+ 19
- 24
ext.json Voir le fichier

@@ -1,35 +1,30 @@
{ {
"ext": { "ext": {
"attr": { "attr": {
"configUrl": "https://ciformall.youlane.cn/C/api",
"etcpAppId": "wx192b7d2e8dcbefd0",
"socketUrl": "wss://mp.youlane.cn/W/ws",
"etcpVersion": "release",
"etcpCallbackUrl": "https://ciformall.youlane.cn/api/carCallback/etcpPaidCallback",
"ifHaveWebSocket": "0",
"ifHaveCarModular": "1",
"imgProxy": [ "imgProxy": [
{ {
"orgUrl": "https://iformall-net.s3.cn-northwest-1.amazonaws.com.cn",
"newUrl": "https://ciformall.youlane.cn/img"
},
{
"orgUrl": "https://s3.cn-northwest-1.amazonaws.com.cn",
"newUrl": "https://ciformall.youlane.cn/img1"
"newUrl": "https://ctest.malls.iformall.com/img",
"orgUrl": "https://iformall-net.s3.cn-northwest-1.amazonaws.com.cn"
}, },
{ {
"orgUrl": "https://wx.qlogo.cn",
"newUrl": "https://ciformall.youlane.cn/img2"
"newUrl": "https://ctest.malls.iformall.com/img1",
"orgUrl": "https://s3.cn-northwest-1.amazonaws.com.cn"
}, },
{ {
"orgUrl": "http://thirdwx.qlogo.cn",
"newUrl": "https://ciformall.youlane.cn/img3"
"newUrl": "https://ctest.malls.iformall.com/img2",
"orgUrl": "https://wx.qlogo.cn"
} }
]
],
"configUrl": "https://ctest.malls.iformall.com/C/api",
"etcpAppId": "wx192b7d2e8dcbefd0",
"etcpVersion": "release",
"etcpCallbackUrl": "https://admintest.malls.iformall.com/api/carCallback/etcpPaidCallback",
"ifHaveWebSocket": "0",
"ifHaveCarModular": "1"
}, },
"name": "富茂客官开发",
"weappId": "wxea71200db93d756b",
"appVersion": "C.4.5.106"
"name": "富茂客",
"weappId": "wx649b3be73c1afe47",
"appVersion": "C.test.5.2.0"
}, },
"debug": false, "debug": false,
"tabBar": { "tabBar": {
@@ -65,10 +60,10 @@
"window": { "window": {
"backgroundTextStyle": "dark", "backgroundTextStyle": "dark",
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "WeChat",
"navigationBarBackgroundColor": "#fff"
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#FFFFFF"
}, },
"extAppid": "wxea71200db93d756b",
"extAppid": "wx649b3be73c1afe47",
"extEnable": true, "extEnable": true,
"permission": { "permission": {
"scope.userLocation": { "scope.userLocation": {


+ 10
- 3
pages/acSignIn/index.js Voir le fichier

@@ -43,9 +43,16 @@ Page({
//跳转到报名详情页 //跳转到报名详情页
goSignUp(e) { goSignUp(e) {
let activityId = e.currentTarget.dataset.id; let activityId = e.currentTarget.dataset.id;
wx.navigateTo({
url: `/pages/radetail/index?id=${activityId}`,
})
if (activityId){
wx.navigateTo({
url: `/pages/radetail/index?id=${activityId}`,
})
}else{
wx.showToast({
title: '此活动报名已结束',
})
}
}, },
goback: function () { goback: function () {
wx.switchTab({ wx.switchTab({


+ 1
- 1
pages/radetail/index.wxml Voir le fichier

@@ -6,7 +6,7 @@
<view class='coupons' style='{{data.type!=2?"padding-bottom: 160rpx":0}}'> <view class='coupons' style='{{data.type!=2?"padding-bottom: 160rpx":0}}'>
<view class="coupons-body"> <view class="coupons-body">
<view class='banner'> <view class='banner'>
<image src='{{data.coverImg}}'></image>
<image src='{{data.coverImg}}' mode='widthFix'></image>
</view> </view>
<view class='act'> <view class='act'>
<text class='txt001'>{{data.title}}</text> <text class='txt001'>{{data.title}}</text>


+ 3
- 3
pages/radetail/index.wxss Voir le fichier

@@ -18,7 +18,7 @@


.banner image { .banner image {
width: 750rpx; width: 750rpx;
height: 280rpx;
/* height: 280rpx; */
} }


.act { .act {
@@ -565,13 +565,13 @@ button::after{ border: none; }
.banner { .banner {
position: relative; position: relative;
width: 750rpx; width: 750rpx;
height: 280rpx;
/* height: 280rpx; */
overflow: hidden; overflow: hidden;
} }


.banner image { .banner image {
width: 750rpx; width: 750rpx;
height: 280rpx;
/* height: 280rpx; */
} }


.act { .act {


+ 1
- 1
pages/spellGroup/mySpellGroup/index.wxml Voir le fichier

@@ -65,7 +65,7 @@
</view> </view>
</view> </view>
<view class='detailImg' wx:if="{{detailPicture.length>0}}"> <view class='detailImg' wx:if="{{detailPicture.length>0}}">
<image wx:for="{{detailPicture}}" wx:key="{{index}}" wx:for-item="item" src='{{item}}'></image>
<image mode='widthFix' wx:for="{{detailPicture}}" wx:key="{{index}}" wx:for-item="item" src='{{item}}'></image>
</view> </view>
<view class='edit'> <view class='edit'>
<button class='goback' bindtap='gotoIndex'><image src='{{wmhome}}' mode="widthFix"></image></button> <button class='goback' bindtap='gotoIndex'><image src='{{wmhome}}' mode="widthFix"></image></button>


+ 1
- 1
project.config.json Voir le fichier

@@ -14,7 +14,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.5.0", "libVersion": "2.5.0",
"appid": "wxb11603577a84a86d",
"appid": "wxfa336cad86ed598d",
"projectname": "C%E7%AB%AF%E5%B0%8F%E7%A8%8B%E5%BA%8F", "projectname": "C%E7%AB%AF%E5%B0%8F%E7%A8%8B%E5%BA%8F",
"isGameTourist": false, "isGameTourist": false,
"simulatorType": "wechat", "simulatorType": "wechat",


Chargement…
Annuler
Enregistrer