Commit 4d1978ec by 陈超

T

parent 30da5bd1
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<span class="text_16_600" :class="isYear ? 'color_999999' : 'color_primary'">{{monthPrice}}</span> <span class="text_16_600" :class="isYear ? 'color_999999' : 'color_primary'">{{monthPrice}}</span>
</div> </div>
<div @click="isYear = true" :class="yearFrame" class="layout_center"> <div @click="isYear = true" :class="yearFrame" class="layout_center">
<van-image height="100%" width="100%" v-if="!isYear" class="element_bg" src="__THEME__/img/KK@3x.png" ></van-image> <van-image height="100%" width="100%" v-if="isYear" class="element_bg" src="__THEME__/img/KK@3x.png" ></van-image>
<span class="text_16_600" :class="isYear ? 'color_primary' : 'color_999999'">{{yearPrice}}</span> <span class="text_16_600" :class="isYear ? 'color_primary' : 'color_999999'">{{yearPrice}}</span>
</div> </div>
</div> </div>
...@@ -189,6 +189,7 @@ ...@@ -189,6 +189,7 @@
}, },
created:function(){ created:function(){
this.vips = {:json_encode($user_vip)}; this.vips = {:json_encode($user_vip)};
console.log(this.vips)
this.vips.forEach( r => { this.vips.forEach( r => {
if(r.title == "乡试") { if(r.title == "乡试") {
r.color = { background: "#65C000" } r.color = { background: "#65C000" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment