|
|
@ -28,7 +28,7 @@ |
|
|
|
<view class="promotion_xg flleft" style="margin-left: -6px;"></view> |
|
|
|
<view class="promotion_xg flleft" style="margin-left: -6px;"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="promotion_kc width90 mart10" > |
|
|
|
<view class="promotion_kc width90 mart10"> |
|
|
|
<image class="flleft pro_img mart15 margle" src="../../../static/img/wenj.png"> |
|
|
|
<image class="flleft pro_img mart15 margle" src="../../../static/img/wenj.png"> |
|
|
|
</image> |
|
|
|
</image> |
|
|
|
<view class="pro_cont paddtop15"> |
|
|
|
<view class="pro_cont paddtop15"> |
|
|
@ -40,15 +40,15 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- //循环:class="[index==0?'colorfe':'']" --> |
|
|
|
<!-- //循环:class="[index==0?'colorfe':'']" --> |
|
|
|
<view v-for="(mers,index) in minepros" :key="mers.id" class="pro_mok marb10 colorfe" @click="jumpAgent"> |
|
|
|
<view v-for="(mers,index) in minepros" :key="mers.id" class="pro_mok marb10 colore7" @click="jumpAgent"> |
|
|
|
<view class="width100 font15 fcor333 fontwig6 fotct paddtop10"> |
|
|
|
<view class="width100 font14 fcor333 fontwig6 fotct paddtop10"> |
|
|
|
面额100.00 |
|
|
|
面额100 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width100 font14 fcor999 fotct mart10"> |
|
|
|
<view class="width100 font14 fcor999 fotct mart10"> |
|
|
|
13张 |
|
|
|
13张 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width100 font15 fcor333 fontwig6 fotct mart10"> |
|
|
|
<view class="width100 font15 fcor333 fontwig6 fotct mart10"> |
|
|
|
1300.00 |
|
|
|
1300 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -75,14 +75,14 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- //循环 --> |
|
|
|
<!-- //循环 --> |
|
|
|
<view v-for="(mers,index) in minepros" :key="mers.id" class="pro_mok marb10 colore9" @click="jumpAgent"> |
|
|
|
<view v-for="(mers,index) in minepros" :key="mers.id" class="pro_mok marb10 colore9" @click="jumpAgent"> |
|
|
|
<view class="width100 font15 fcor333 fontwig6 fotct paddtop10"> |
|
|
|
<view class="width100 font14 fcor333 fontwig6 fotct paddtop10"> |
|
|
|
面额100.00 |
|
|
|
面额100 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width100 font14 fcor999 fotct mart10"> |
|
|
|
<view class="width100 font14 fcor999 fotct mart10"> |
|
|
|
13张 |
|
|
|
13张 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width100 font15 fcor333 fontwig6 fotct mart10"> |
|
|
|
<view class="width100 font15 fcor333 fontwig6 fotct mart10"> |
|
|
|
1300.00 |
|
|
|
1300 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -90,21 +90,43 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
|
|
|
|
import { |
|
|
|
|
|
|
|
getAgentCount |
|
|
|
|
|
|
|
} from "../../../Utils/Api.js"; |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
minepros : [ |
|
|
|
minepros: [{ |
|
|
|
{id:1}, |
|
|
|
id: 1 |
|
|
|
{id:1}, |
|
|
|
}, |
|
|
|
{id:1} |
|
|
|
{ |
|
|
|
|
|
|
|
id: 1 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 1 |
|
|
|
|
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
onLoad() { |
|
|
|
|
|
|
|
this.getAgentCount(); |
|
|
|
|
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
//查询代理商信息 |
|
|
|
|
|
|
|
getAgentCount() { |
|
|
|
|
|
|
|
getAgentCount().then(res => { |
|
|
|
|
|
|
|
if (res.return_code == '000000') {} else { |
|
|
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
|
|
title: res.return_msg, |
|
|
|
|
|
|
|
icon: "none" |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
//跳转代理商卡券 |
|
|
|
//跳转代理商卡券 |
|
|
|
jumpAgent(){ |
|
|
|
jumpAgent() { |
|
|
|
uni.navigateTo({ |
|
|
|
uni.navigateTo({ |
|
|
|
url:'../agentCoupons/agentCoupons' |
|
|
|
url: '../agentCoupons/agentCoupons' |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -175,14 +197,16 @@ |
|
|
|
width: 30%; |
|
|
|
width: 30%; |
|
|
|
display: inline-block; |
|
|
|
display: inline-block; |
|
|
|
} |
|
|
|
} |
|
|
|
.colorfe{ |
|
|
|
|
|
|
|
|
|
|
|
.colorfe { |
|
|
|
background-color: #fef7e5; |
|
|
|
background-color: #fef7e5; |
|
|
|
} |
|
|
|
} |
|
|
|
.colore9{ |
|
|
|
|
|
|
|
|
|
|
|
.colore9 { |
|
|
|
background-color: #e9f3ff; |
|
|
|
background-color: #e9f3ff; |
|
|
|
} |
|
|
|
} |
|
|
|
.colore7{ |
|
|
|
|
|
|
|
|
|
|
|
.colore7 { |
|
|
|
background-color: #e7fcf3; |
|
|
|
background-color: #e7fcf3; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
</style> |
|
|
|