Commit 503e2c75 authored by 黄媛媛's avatar 黄媛媛

增加vip按钮

parent df1b664c
......@@ -282,6 +282,27 @@
</span>
</div>
</div>
<div class="title">会员购买</div>
<div class="form-body el-row fxzx">
<el-form label-width="150px" style="padding:20px;">
<el-form-item label="会员购买显示状态" size="small">
<el-switch v-model="addMsg.IsShowVIPBuyPic" :active-value="0" :inactive-value="1"></el-switch>
</el-form-item>
<el-form-item label="会员购买图片" size="small">
<div>
<el-button size="mini" @click="openChangeDig(10)">选择文件</el-button>
</div>
<div class="userCommonimg">
<img v-if="addMsg.VipBuyICO" :src="getIconLink(addMsg.VipBuyICO)" alt="" />
<img v-else src="../../assets/img/default.png" alt="" />
</div>
</el-form-item>
<el-form-item label="会员购买链接" size="small">
<el-input v-model="addMsg.VipBuyUrl" style="width:40%" size="small" placeholder="请输入内容"></el-input>
</el-form-item>
</el-form>
</div>
<div class="title">文字</div>
<el-form style="padding:20px 0;background:#fff" ref="addMsg" :model="addMsg" label-width="50px">
<el-form-item label="">
......@@ -700,7 +721,8 @@
</div>
</el-tab-pane>
<div style="padding-left:410px;padding-top:20px">
<el-button @click="saveVip" size="small" type="primary">保存</el-button>
<el-button @click="saveVip" size="small" type="primary" v-if="activeName == 'sixth' ">保存</el-button>
<el-button @click="save" size="small" type="primary" v-if="activeName != 'sixth' ">保存</el-button>
</div>
</el-tabs>
<!-- 选择文件 -->
......@@ -886,6 +908,8 @@
this.vipMsg.BackImage=msg.url;
}else if(this.imgType==9){
this.vipMsg.VipICO=msg.url;
}else if(this.imgType == 10){
this.addMsg.VipBuyICO = this.getIconLink(msg.url) ;
}
if (this.imgType > 2) {
this.iconMsg.Path = msg.url;
......@@ -1142,4 +1166,13 @@
text-align: center;
color:#DD6ADA;
}
.customSet .userCommonimg {
width: 80px;
height: 80px;
border-radius: 0%;
}
.customSet .userCommonimg img {
width: 100%;
height: 100%;
}
</style>
......@@ -152,10 +152,10 @@
<span style=" display: inline-block; width: 62px;">商品规格:</span>
<span v-for="(x,y) in item.SpecificationList" :key="y">{{x}} <span v-if="item.SpecificationList.length !== y+1"> , </span></span>
</div>
<div style='margin-top:3px'>
<!-- <div style='margin-top:3px'>
<span style=" display: inline-block; width: 62px;">成本价格:</span>
<span>{{item.CostMoney}}</span>
</div>
</div> -->
</div>
</div>
......
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