Commit 9e30d9dc by 李长胜

增加功能权限

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