Commit 9e30d9dc by 李长胜

增加功能权限

1 parent 89a2138a
......@@ -9,17 +9,20 @@
<div class="memberCardName">{{ ruleForm.cardName }}</div>
</div>
<div class="cardDetail" v-if="!isShowEditWrap">
<p>{{ ruleForm.cardName }}</p>
<img src="@/assets/edit.png" class="editIcon" @click="openEditWrap" alt="" />
<div>
<div class="flex-1"> <p>{{ ruleForm.cardName }}</p>
<GLButton @click="openEditWrap" fn="编辑" mode="div"> <img src="@/assets/edit.png" class="editIcon" @click="openEditWrap" alt="" /></GLButton>
</div>
<!-- <img src="@/assets/edit.png" class="editIcon" @click="openEditWrap" alt="" /> -->
<div class="row">
<span>售价:</span>
<span class="price" v-if="ruleForm.price">¥{{ ruleForm.price }}</span>
</div>
<div>
<div class="row">
<span>市场价:</span>
<span class="price" v-if="ruleForm.marketPrice">¥{{ ruleForm.marketPrice }}</span>
</div>
<div>
<div class="row">
<span>会员权益使用地址:</span>
<span class="address ellipsis-1" :title="ruleForm.linkUrl">{{ ruleForm.linkUrl }}</span>
</div>
......@@ -449,14 +452,17 @@ mounted () {
vertical-align: middle;
cursor: pointer;
}
> p {
.flex-1{
display: flex;
p {
display: inline-block;
font-weight: 600;
color: #333333;
font-size: 16px;
margin: 0;
}
> div {
}
.row {
margin-top: 15px;
font-weight: 400;
font-size: 14px;
......
......@@ -41,8 +41,10 @@
<img class="img-60" :src="scope.scope.shareImgUrl" />
</span> -->
<span class="table-btns" slot="auth-button" slot-scope="scope" :data="scope.scope">
<el-button type="text" @click="handleDetail(scope.scope)" v-if="scope.scope.orderType == 1">详情</el-button>
<el-button type="text" style="color:#eee" v-else>详情</el-button>
<!-- <el-button type="text" @click="handleDetail(scope.scope)" v-if="scope.scope.orderType == 1">详情</el-button>
<el-button type="text" style="color:#eee" v-else>详情</el-button> -->
<GLButton @click="handleDetail(scope.scope)" fn="订单详情" type="text" v-if="scope.scope.orderType == 1">详情</GLButton>
<GLButton style="color: #eee" fn="订单详情" type="text" v-else>详情</GLButton>
</span>
</GLTable>
</div>
......@@ -51,12 +53,12 @@
<script>
import { orderTypesList, orderStatusList } from '@/common/constant'
import url from "@/assets/empty.png"
import url from '@/assets/empty.png'
import { getOrderListApi } from '@/api/modules/order'
export default {
data() {
return {
url:url,
url: url,
isReload: true,
pickerOptions: {
disabledDate(time) {
......@@ -147,9 +149,7 @@ export default {
}
}
},
mounted () {
},
mounted() {},
methods: {
tabClick(index) {
this.currentIndex = index
......
......@@ -6,8 +6,8 @@
<el-form :inline="true" style="width:100%" :model="searchForm" label-width="100px" label-position="right">
<el-row>
<el-form-item size="small">
<el-button :size="size" type="primary" icon="el-icon-plus" @click="handleCreate">创建服务</el-button>
<!-- <GLButton type="primary" @click="handleCreate" size="small" icon="el-icon-plus" fn="创建服务" mode="el-button">创建服务</GLButton> -->
<!-- <el-button :size="size" type="primary" icon="el-icon-plus" @click="handleCreate">创建服务</el-button> -->
<GLButton type="primary" @click="handleCreate" size="small" icon="el-icon-plus" fn="创建服务" mode="el-button">创建服务</GLButton>
</el-form-item>
<el-form-item size="small" label="服务名称">
<el-input :size="size" v-model="searchForm.couponName" placeholder="请输入服务名称" clearable></el-input>
......
......@@ -3,8 +3,8 @@
<tip-panel panelWidth="616px" panelMinHeight="40px" :panelContent="panelContent" v-if="isFirstShow" @closePanel="closePanel"></tip-panel>
<div class="live-room container">
<div class="btnWrap">
<el-button :size="size" type="primary" @click="handleCreate" icon="el-icon-plus">创建套餐</el-button>
<!-- <GLButton type="primary" @click="handleCreate" size="small" icon="el-icon-plus" fn="创建套餐" mode="el-button">创建套餐</GLButton> -->
<!-- <el-button :size="size" type="primary" @click="handleCreate" icon="el-icon-plus">创建套餐</el-button> -->
<GLButton type="primary" @click="handleCreate" size="small" icon="el-icon-plus" fn="创建套餐" mode="el-button">创建套餐</GLButton>
<el-button :size="size" @click="showViewer=true">查看示例效果</el-button>
<el-image-viewer v-if="showViewer" :on-close="()=>{showViewer=false}" :url-list="srcList" style="padding:4%;"/>
</div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!