交易规则list
This commit is contained in:
parent
ff43780f12
commit
bc07aeb462
3
js/my.js
3
js/my.js
@ -274,6 +274,9 @@ var localAuthType = localStorage.getItem("authType");
|
||||
$('.mydata-content').on('tap', '.setting', function() {
|
||||
JZL.openWindow('setting.html', 'setting.html')
|
||||
})
|
||||
$('.mydata-content').on('tap', '.tradeRule', function() {
|
||||
JZL.openWindow('trade_rule.html', 'trade_rule.html')
|
||||
})
|
||||
$('.mydata-content').on('tap', '.shoppingcart', function() {
|
||||
JZL.openWindow('shoppingcart_warp.html', 'shoppingcart_warp.html')
|
||||
})
|
||||
|
@ -38,7 +38,12 @@ const app = new Vue({
|
||||
var localData = localStorage.getItem("LOCAL_RULE");
|
||||
this.loadData();
|
||||
if(localData){
|
||||
this.noteData = JSON.parse(localData);
|
||||
try {
|
||||
JSON.parse(localData);
|
||||
this.ruleData = JSON.parse(localData);
|
||||
} catch (e) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
@ -113,11 +113,11 @@
|
||||
<p>微吧</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="mydata-table-view-cell userPaymentvoucher">
|
||||
<div class="mydata-table-view-cell tradeRule">
|
||||
<a href="javascript:;">
|
||||
<div class="orderimg">
|
||||
<img src="../img/pingzheng.png" /></div>
|
||||
<p>付款凭证</p>
|
||||
<p>交易规则</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="mydata-table-view-cell shoppingcart">
|
||||
|
@ -20,8 +20,8 @@
|
||||
<div class="block" id="app" v-cloak>
|
||||
<div class="row shadown_wai" v-for="(each, index) in ruleData" :data-id="index" @click="detail(index)">
|
||||
<div class="left">
|
||||
<div class="name">{{each.name}}</div>
|
||||
<div class="small_title">在{{each.announced_at}}时发布</div>
|
||||
<div class="name" style="height: 2.2rem;">{{each.title}}</div>
|
||||
<div class="small_title">在{{each.create_time}}时发布</div>
|
||||
</div>
|
||||
<img class="right youjiantou" src="../img/youjiantou.png" />
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user