登录界面替换

This commit is contained in:
THK3121 2023-06-01 17:34:53 +08:00
commit c79ae68729
7 changed files with 702 additions and 655 deletions

View File

@ -36,7 +36,8 @@
<text class="text">提现管理</text>
</view>
<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>
<text class="text">视频教学</text>
</view>

View File

@ -167,8 +167,14 @@
graphicStartApi(item.community_id, {
status: status
}).then(res => {
Toast(res.message)
this.getGoods()
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
}
})
},
dianji() {

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
<template>
<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="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">
<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">&#xe646;</text>

View File

@ -467,6 +467,21 @@
},
onReady() {},
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) {
this.videoID = item.community_id
this.navTap(1)

View File

@ -422,6 +422,21 @@
},
onReady: function() {},
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
videoShare(item) {
if (item && item.status == 1) {
@ -693,7 +708,7 @@
is_star: that.isSatrt,
community_id: that.videoID
}).then(res => {
console.log(res);
console.log(res);
that.videoData(res.data.list)
}).catch(err => {
return uni.showToast({
@ -723,17 +738,17 @@
focusArticleLst({
page: that.page,
limit: that.limit,
type: 2
type: 2
}).then(res => {
console.log(res);
console.log(res);
that.loadVideo = false
// const arr=[]
// res.data.list.forEach(item=>{
// if(item.is_type == '2'){
// return arr.push(item)
// }
// })
// this.limit=arr.length
// const arr=[]
// res.data.list.forEach(item=>{
// if(item.is_type == '2'){
// return arr.push(item)
// }
// })
// this.limit=arr.length
that.videoData(res.data.list)
}).catch(err => {
return uni.showToast({

View File

@ -1,7 +1,7 @@
<template>
<view class="Circle_friends">
<view class="circle_friends_wrapper">
<zbpSwiper :isSelectPlace="true" @selectPlce="selectPlce" :location_Arr="locationArr"></zbpSwiper>
<zbpSwiper :isSelectPlace="true" @selectPlce="selectPlce" :location_Arr="locationArr"></zbpSwiper>
<view class="shop_wrapper">
<!-- locationArr.address_reference.town.id -->
<navigator class="l_yun" hover-class="none"
@ -53,10 +53,10 @@
class="g_img"></image>
<view class="g_name">{{item.author}}</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="collect">{{item.count_start}}</text>
</view>
</view> -->
</view>
</view>
</view>