Commit 9df1550e by 李伟康

修复BUG

1 parent 8901f72a
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
method: 'scrm.api.coupon.list.merchant', method: 'scrm.api.coupon.list.merchant',
validType: 'valid', validType: 'valid',
directionalFlag: 1, directionalFlag: 1,
pageSize: 9, pageSize: 20,
discountTypes: [2, 3, 4], discountTypes: [2, 3, 4],
status: 2, status: 2,
...params ...params
......
...@@ -93,6 +93,14 @@ ...@@ -93,6 +93,14 @@
</template> </template>
<slot name="footer"></slot> <slot name="footer"></slot>
</el-form> </el-form>
<GLDialog v-if="isImgVisible" bigTitle="查看" mode="big" :visible.sync="isImgVisible" :close-on-click-modal="false" @onOk="isImgVisible = false" @onCancel="isImgVisible = false">
<div class="dialog-look">
<video v-if="dialogObj.uploadType == 'video'" class="dialog-video" controls>
<source :src="dialogObj.url" type="video/mp4" />
</video>
<img v-else class="dialog-img" width="100%" :src="dialogObj.url" alt="" />
</div>
</GLDialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -230,6 +238,7 @@ export default { ...@@ -230,6 +238,7 @@ export default {
}, },
// 图片查看 // 图片查看
handleImgLook(src, targetItem) { handleImgLook(src, targetItem) {
console.log(src, targetItem)
this.isImgVisible = true this.isImgVisible = true
this.dialogObj = { this.dialogObj = {
url: src, url: src,
......
...@@ -95,6 +95,7 @@ import { getMerchantListMixin } from '@/mixins' ...@@ -95,6 +95,7 @@ import { getMerchantListMixin } from '@/mixins'
import EquityItem from './EquityItem.vue' import EquityItem from './EquityItem.vue'
import CouponItem from './CouponItem.vue' import CouponItem from './CouponItem.vue'
import RedEnvelopeItem from './RedEnvelopeItem.vue' import RedEnvelopeItem from './RedEnvelopeItem.vue'
// import CombiForm from '@/components/glsx-combi-form/index.vue'
export default { export default {
name: 'StepOne', name: 'StepOne',
mixins: [getMerchantListMixin], mixins: [getMerchantListMixin],
...@@ -208,7 +209,7 @@ export default { ...@@ -208,7 +209,7 @@ export default {
{ total, pageNum } = _this.activityObj { total, pageNum } = _this.activityObj
if (condition) { if (condition) {
if (index == 2) { if (index == 2) {
if (Math.ceil(total / 9) > pageNum) { if (Math.ceil(total / 20) > pageNum) {
_this.activityObj.pageNum += 1 _this.activityObj.pageNum += 1
_this.getActivityList() _this.getActivityList()
} else { } else {
...@@ -285,7 +286,7 @@ export default { ...@@ -285,7 +286,7 @@ export default {
} }
/deep/.el-form-item__content { /deep/.el-form-item__content {
width: fit-content; width: fit-content;
max-width: calc(100% - 154px); max-width: calc(100% - 174px);
} }
/deep/.activity-img, /deep/.activity-img,
/deep/.muti-imgs { /deep/.muti-imgs {
...@@ -303,10 +304,11 @@ export default { ...@@ -303,10 +304,11 @@ export default {
height: 100%; height: 100%;
} }
} }
/deep/.activity-img { /deep/.activity-img ,/deep/.muti-imgs{
margin-bottom: 30px; margin-bottom: 30px;
&::before { &::before {
content: '图片大小10M以内'; // content: '图片大小10M以内';
content: '\56fe\7247\5927\5c0f\0031\0030M\4ee5\5185';
display: block; display: block;
font-size: 14px; font-size: 14px;
color: #999999; color: #999999;
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
> >
<el-popover <el-popover
placement="top" placement="top"
trigger="hover" trigger="click"
> >
<img <img
class="img-plus" class="img-plus"
......
...@@ -233,7 +233,7 @@ export default { ...@@ -233,7 +233,7 @@ export default {
activityTime: [dayjs(res.activityStartTime).toDate(), dayjs(res.activityEndTime).toDate()], activityTime: [dayjs(res.activityStartTime).toDate(), dayjs(res.activityEndTime).toDate()],
id id
} }
this.merchantObj.dat = [{ this.merchantObj.data = [{
confId: merchantId, confId: merchantId,
confName: res.merchantName confName: res.merchantName
}] }]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!