|
|
@ -194,7 +194,27 @@ |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<view class="split-line"></view> |
|
|
|
<view class="history-record-content"> |
|
|
|
|
|
|
|
<view class="history-record-content" |
|
|
|
v-if="historyRecordConfig && |
|
|
|
historyRecordConfig.length > 0"> |
|
|
|
<view class="history-record-content-image"> |
|
|
|
<view class="history-record-content-image-1" |
|
|
|
v-for="(item, index) in historyRecordConfig" |
|
|
|
:key="index" |
|
|
|
:style="'background-image: url(' + item.image + '); background-size: cover;'"> |
|
|
|
<view class="history-record-content-image-1-text"> |
|
|
|
<view class="history-record-content-image-1-text-1">{{ item.count }}</view> |
|
|
|
<view class="history-record-content-image-1-text-2">{{ item.time }}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="history-record-content-text"> |
|
|
|
<text>*数据来源于猫妈狗爸平台</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="history-record-content" v-else> |
|
|
|
<view class="history-record-content-image"> |
|
|
|
<view class="history-record-content-image-1"> |
|
|
|
<view class="history-record-content-image-1-text"> |
|
|
@ -375,6 +395,7 @@ |
|
|
|
num: "47131", |
|
|
|
numTime: "2024.12.12", |
|
|
|
}, |
|
|
|
historyRecordConfig : [], |
|
|
|
currentCoupon: null, |
|
|
|
companionList: [], |
|
|
|
isMember: false, |
|
|
@ -387,9 +408,10 @@ |
|
|
|
CouponItem, |
|
|
|
CouponRulePopup |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.getCalendarDate(); |
|
|
|
}, |
|
|
|
// onLoad() { |
|
|
|
// this.getCalendarDate(); |
|
|
|
|
|
|
|
// }, |
|
|
|
methods: { |
|
|
|
closeNewUserPopup() { |
|
|
|
this.isNewUser = false; |
|
|
@ -900,6 +922,23 @@ |
|
|
|
longitude: 121.49857, |
|
|
|
latitude: 31.22514 |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
uni.$on('initConfig', r => { |
|
|
|
|
|
|
|
let homejson = this.$store.state.configMap.home_config |
|
|
|
|
|
|
|
console.log('homejson', homejson); |
|
|
|
|
|
|
|
if(homejson && homejson.paramValueText){ |
|
|
|
try{ |
|
|
|
let home = JSON.parse(homejson.paramValueText) |
|
|
|
this.historyRecordConfig = home && home.historyRecords || [] |
|
|
|
}catch(e){} |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
this.getCalendarDate() |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|