登录界面替换
This commit is contained in:
commit
c79ae68729
@ -36,7 +36,8 @@
|
|||||||
<text class="text">提现管理</text>
|
<text class="text">提现管理</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="examine" @click="navigator(`/pages/nongKe/teach_video/teach_video`)">
|
<view class="examine" @click="navigator(`/pages/nongKe/teach_video/teach_video`)">
|
||||||
<image class="icon_img" :src="`${prefix}txgl.png`" mode="aspectFill">
|
<image class="icon_img" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/spjs.png"
|
||||||
|
mode="aspectFill">
|
||||||
</image>
|
</image>
|
||||||
<text class="text">视频教学</text>
|
<text class="text">视频教学</text>
|
||||||
</view>
|
</view>
|
||||||
|
@ -167,8 +167,14 @@
|
|||||||
graphicStartApi(item.community_id, {
|
graphicStartApi(item.community_id, {
|
||||||
status: status
|
status: status
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
Toast(res.message)
|
if (item.relevance_id) {
|
||||||
this.getGoods()
|
item.count_start--;
|
||||||
|
item.count_start = item.count_start == 0 ? 0 : item.count_start
|
||||||
|
item.relevance_id = false
|
||||||
|
} else {
|
||||||
|
item.count_start++;
|
||||||
|
item.relevance_id = true
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
dianji() {
|
dianji() {
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
<view class="select_warehouse">
|
<view class="select_warehouse">
|
||||||
<view class="wrapper flex_a_c_j_sb">
|
<view class="wrapper flex_a_c_j_sb">
|
||||||
<block v-for="item in goodsData" :key="item.name">
|
<block v-for="item in goodsData" :key="item.name">
|
||||||
<view class="select_item" @click="navigato(item.type)"
|
<view class="select_item" @click="navigato(item.type)" :style="{'background-image': `url(${item.src})`}">
|
||||||
:style="{'background-image': `url(${item.src})`}">
|
|
||||||
<view class="title">{{ item.name }}</view>
|
<view class="title">{{ item.name }}</view>
|
||||||
<view class="iconfont icon-jiantou"></view>
|
<view class="iconfont icon-jiantou"></view>
|
||||||
</view>
|
</view>
|
||||||
@ -48,11 +47,9 @@
|
|||||||
<u-popup :show="searchGoodsShow" @close="searchGoodsClose" :round="18" mode="center">
|
<u-popup :show="searchGoodsShow" @close="searchGoodsClose" :round="18" mode="center">
|
||||||
<view class="search_goods_box">
|
<view class="search_goods_box">
|
||||||
<input type="text" v-model="searchGoodsName" class="searchGoods" placeholder="请输入商品名称">
|
<input type="text" v-model="searchGoodsName" class="searchGoods" placeholder="请输入商品名称">
|
||||||
<view class="edit_goods_btn">
|
<view class="search_goods_btn">
|
||||||
<u-button type="error" text="取消" class="edit_btn" @click="searchGoodsShow=false">
|
<view class="cancel edit_btn" @click="searchGoodsShow=false">取消</view>
|
||||||
</u-button>
|
<view class="search edit_btn" @click="searchGoodsClose">搜索</view>
|
||||||
<u-button type="primary" text="搜索" class="edit_btn" @click="searchGoodsClose">
|
|
||||||
</u-button>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
@ -301,14 +298,27 @@
|
|||||||
margin: 21.05rpx 0;
|
margin: 21.05rpx 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit_goods_btn {
|
.search_goods_btn {
|
||||||
margin-top: 28.07rpx;
|
margin-top: 28.07rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
.edit_btn {
|
.edit_btn {
|
||||||
|
color: #fff;
|
||||||
|
border-radius: 8px;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 70.18rpx;
|
||||||
|
height: 70.18rpx;
|
||||||
width: 210.53rpx;
|
width: 210.53rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cancel {
|
||||||
|
background-color: $u-error;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search {
|
||||||
|
background-color: $u-primary;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="container_input">
|
<view class="container_input">
|
||||||
<view class="container_input_item" v-for="(item, index) in platformClassification" :key="index" @click="selectItem(item)" v-if="!item.DoNotShow">
|
<view class="container_input_item" v-for="(item, index) in platformClassification" :key="index" @click="selectItem(item)" v-if="!item.DoNotShow">
|
||||||
<view class="select_and_input" v-if="item.type == 'select' || item.type == 'input' || item.type == 'switch' || item.type == 'number'">
|
<view class="select_and_input" v-if="item.type == 'select' || item.type == 'input' || item.type == 'switch' || item.type == 'number' || item.type == 'digit'">
|
||||||
<view class="container_input_item_label">
|
<view class="container_input_item_label">
|
||||||
<text class="select_check" :class="{ select: item.select }" @click.stop="selectRadio(item)" v-if="Object.keys(item).indexOf('select') != -1">
|
<text class="select_check" :class="{ select: item.select }" @click.stop="selectRadio(item)" v-if="Object.keys(item).indexOf('select') != -1">
|
||||||
<text v-if="item.select" class="iconfont"></text>
|
<text v-if="item.select" class="iconfont"></text>
|
||||||
|
@ -467,6 +467,21 @@
|
|||||||
},
|
},
|
||||||
onReady() {},
|
onReady() {},
|
||||||
methods: {
|
methods: {
|
||||||
|
giveStart(item) {
|
||||||
|
let status = item.relevance_id ? 0 : 1
|
||||||
|
graphicStartApi(item.community_id, {
|
||||||
|
status: status
|
||||||
|
}).then(res => {
|
||||||
|
if (item.relevance_id) {
|
||||||
|
item.count_start--;
|
||||||
|
item.count_start = item.count_start == 0 ? 0 : item.count_start
|
||||||
|
item.relevance_id = false
|
||||||
|
} else {
|
||||||
|
item.count_start++;
|
||||||
|
item.relevance_id = true
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
gogogo(item) {
|
gogogo(item) {
|
||||||
this.videoID = item.community_id
|
this.videoID = item.community_id
|
||||||
this.navTap(1)
|
this.navTap(1)
|
||||||
|
@ -422,6 +422,21 @@
|
|||||||
},
|
},
|
||||||
onReady: function() {},
|
onReady: function() {},
|
||||||
methods: {
|
methods: {
|
||||||
|
giveStart(item) {
|
||||||
|
let status = item.relevance_id ? 0 : 1
|
||||||
|
graphicStartApi(item.community_id, {
|
||||||
|
status: status
|
||||||
|
}).then(res => {
|
||||||
|
if (item.relevance_id) {
|
||||||
|
item.count_start--;
|
||||||
|
item.count_start = item.count_start == 0 ? 0 : item.count_start
|
||||||
|
item.relevance_id = false
|
||||||
|
} else {
|
||||||
|
item.count_start++;
|
||||||
|
item.relevance_id = true
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
//#ifdef MP
|
//#ifdef MP
|
||||||
videoShare(item) {
|
videoShare(item) {
|
||||||
if (item && item.status == 1) {
|
if (item && item.status == 1) {
|
||||||
|
@ -53,10 +53,10 @@
|
|||||||
class="g_img"></image>
|
class="g_img"></image>
|
||||||
<view class="g_name">{{item.author}}</view>
|
<view class="g_name">{{item.author}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="nice_box" @click.stop="giveStart(item)">
|
<!-- <view class="nice_box" @click.stop="giveStart(item)">
|
||||||
<text class="iconfont" :class="item.relevance_id ? 'icon-shoucang1' : 'icon-dianzan'"></text>
|
<text class="iconfont" :class="item.relevance_id ? 'icon-shoucang1' : 'icon-dianzan'"></text>
|
||||||
<text class="collect">{{item.count_start}}</text>
|
<text class="collect">{{item.count_start}}</text>
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user