소스 검색

upload

soldDate
HolyKnightIX 1 년 전
부모
커밋
32de07c0b7
5개의 변경된 파일18개의 추가작업 그리고 15개의 파일을 삭제
  1. +7
    -5
      ext.json
  2. +2
    -2
      index/index.ttml
  3. +2
    -1
      pages/couponorder/detail/index.js
  4. +5
    -6
      pages/couponorder/index/index.js
  5. +2
    -1
      pages/order/detail/index.js

+ 7
- 5
ext.json 파일 보기

@@ -1,21 +1,23 @@
{
"ext": {
"attr": {
"configUrl": "https://ctest.malls.iformall.com/C/api"
"configUrl": "https://c.malls.iformall.com/C/api"
},
"name": "富茂券券集团版",
"weappId": "tt620e14b3fd30264101"
"name": "吾悦广场",
"weappId": "tt48a23e1fd79d648801"
},
"window": {
"backgroundTextStyle": "light",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "Mini Program",
"navigationBarBackgroundColor": "#fff"
},
"extAppid": "tt620e14b3fd30264101",
"extAppid": "tt48a23e1fd79d648801",
"extEnable": true,
"directCommit": false,
"networkTimeout": {
"request": 30000,
"downloadFile": 10000
}
},
"requiredPrivateInfos": ["chooseLocation", "getLocation"]
}

+ 2
- 2
index/index.ttml 파일 보기

@@ -24,8 +24,8 @@
<view>
<image src="../assets/images/location.png" class="location"></image>
<text class="mallName">{{ shopList[index].name }}</text>
<text class="distance_str" wx:if="{{shopList[index].distance_str}}}">{{
shopList[index].distance_str}}</text>
<!-- <text class="distance_str" wx:if="{{shopList[index].distance_str}}}">距您{{
shopList[index].distance_str}}</text> -->
<image src="../assets/itemImg/arrow-right-l.png" class="right"></image>
</view>
</view>


+ 2
- 1
pages/couponorder/detail/index.js 파일 보기

@@ -189,7 +189,8 @@ Page({
Http.get({
url: config.api.couponOrderDetail,
data: {
couponOrderId: options.quancode
couponOrderId: options.quancode,
mallTenantId: options.mallTenantId
}
}).then(res => {
console.log(res.data, '1233211234567');


+ 5
- 6
pages/couponorder/index/index.js 파일 보기

@@ -30,8 +30,8 @@ Page({
allow_load: true,
list: [],
shopList: [],
index: 0,
mallTenantId: ''
mallTenantId: tt.getStorageSync('mallTenantId') || '',
index: tt.getStorageSync('mallIndex') || 0
},
setBoatFlag(e) {
let index = e.currentTarget.dataset.index
@@ -49,8 +49,8 @@ Page({
bindPickerChange(e) {
const index = e.detail.value
const mallTenantId = this.data.shopList[index].tenantId
// tt.setStorageSync('mallTenantId', mallTenantId)
// tt.setStorageSync('mallIndex', index)
tt.setStorageSync('mallTenantId', mallTenantId)
tt.setStorageSync('mallIndex', index)
this.setData({
index: index,
mallTenantId: mallTenantId,
@@ -137,8 +137,7 @@ Page({
}).then(res => {
this.setData({
shopList: res.data,
// tt.getStorageSync('mallTenantId') ||
mallTenantId: res.data[0].tenantId
mallTenantId: tt.getStorageSync('mallTenantId') || res.data[0].tenantId
});
console.log(this.data.shopList, 'list');



+ 2
- 1
pages/order/detail/index.js 파일 보기

@@ -660,7 +660,8 @@ Page({
Http.get({
url: config.api.getchanId,
data: {
id: _this.data.order.couponOrderId
id: _this.data.order.couponOrderId,
mallTenantId: tt.getStorageSync('mallTenantId')
}
}).then(res => {
tt.canRateAwemeOrders({


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