This commit is contained in:
lnn19986213 2023-03-28 13:39:41 +08:00
parent dba4713fa1
commit ce56d02e9f
10 changed files with 375 additions and 256 deletions

View File

@ -24,15 +24,15 @@
可用积分 可用积分
</view> </view>
<view class="tt2"> <view class="tt2">
586 {{userPoint}}
</view> </view>
</view> </view>
<view class="points_count_itm" style="margin-left:200rpx ;"> <view class="points_count_itm" style="margin-left:200rpx ;">
<view class="tt1"> <view class="tt1">
年度积分总量 历史积分总量
</view> </view>
<view class="tt2"> <view class="tt2">
6853 {{userPointCount}}
</view> </view>
</view> </view>
</view> </view>
@ -57,7 +57,7 @@
</view> </view>
</view> </view>
<view class="operation"> <view class="operation">
<u-button v-if="v.state==1" type="default" plain size="small" color="#AFADB0"> 已完成 <u-button v-if="v.finish" type="default" plain size="small" color="#AFADB0"> 已完成
</u-button> </u-button>
<u-button v-else type="default" plain size="small" color="#99241B"> 未完成</u-button> <u-button v-else type="default" plain size="small" color="#99241B"> 未完成</u-button>
</view> </view>
@ -82,9 +82,7 @@
</view> </view>
</view> </view>
<view class="operation"> <view class="operation">
<u-button v-if="v.state==1" type="default" plain size="small" color="#AFADB0"> 已完成 <u-button type="default" plain size="small" color="#99241B">已完成{{v.cfCount}}</u-button>
</u-button>
<u-button v-else type="default" plain size="small" color="#99241B"> 未完成</u-button>
</view> </view>
</view> </view>
</view> </view>
@ -106,7 +104,7 @@
</view> </view>
</view> </view>
<view class="operation"> <view class="operation">
<u-button v-if="v.state==1" type="default" plain size="small" color="#AFADB0"> 已完成 <u-button v-if="v.finish" type="default" plain size="small" color="#AFADB0"> 已完成
</u-button> </u-button>
<u-button v-else type="default" plain size="small" color="#99241B"> 未完成</u-button> <u-button v-else type="default" plain size="small" color="#99241B"> 未完成</u-button>
</view> </view>
@ -133,80 +131,16 @@
return { return {
statusHeight: 0, statusHeight: 0,
titleHeight: 50, titleHeight: 50,
dayWork: [{ dayWork: [],
name: '查看政策', reWorks: [],
point: '2', onlyWorks: [],
state: 0 userPoint: 0,
}, { userPointCount: 0,
name: '查看动态',
point: '2',
state: 0
}, {
name: '查看作品',
point: '2',
state: 1
}, {
name: '收藏作品',
point: '2',
state: 1
}, {
name: '点赞作品',
point: '2',
state: 1
}, {
name: '关注作者',
point: '2',
state: 0
}, {
name: '购买商品',
point: '50',
state: 0
},
],
reWorks: [{
name: '上传一件作品',
point: '10',
state: 0
},
{
name: '参加一次文艺活动',
point: '50',
state: 0
},
{
name: '点单大厅接单一次',
point: '50',
state: 0
},
],
onlyWorks: [{
name: '上传头像',
point: '20',
state: 1
},
{
name: '首次上传作品',
point: '100',
state: 1
},
{
name: '首次参加活动',
point: '100',
state: 1
},
{
name: '首次购买商品',
point: '100',
state: 1
},
{
name: '首次文艺接单',
point: '100',
state: 1
},
]
}; };
}, },
onLoad() {
this.getPoint()
},
methods: { methods: {
back() { back() {
uni.navigateBack() uni.navigateBack()
@ -215,6 +149,32 @@
uni.navigateTo({ uni.navigateTo({
url: '/pages/MyPoints/pointDetail' url: '/pages/MyPoints/pointDetail'
}) })
},
getPoint() {
let _this = this
this.dayWork = []
this.onlyWorks = []
this.reWorks = []
this.http.request('/pointRule/list', {}, "GET").then(res => {
if (res.code == 200) {
res.data.forEach(function(item) {
if(item.ruleType == 1){
_this.dayWork.push(item)
}else if(item.ruleType == 2){
_this.onlyWorks.push(item)
}else if(item.ruleType == 3){
_this.reWorks.push(item)
}
})
this.userPoint = res.data[0].userPoint
this.userPointCount = res.data[0].userPointCount
}
}).catch(e => {
uni.showToast({
title: e.data.message,
icon: "none",
});
})
} }
}, },
onReady() { onReady() {

View File

@ -28,8 +28,7 @@
v-if="serveList.moneyPrice > 0"> v-if="serveList.moneyPrice > 0">
{{serveList.moneyPrice}} <text style="font-size: 24rpx;"></text> {{serveList.moneyPrice}} <text style="font-size: 24rpx;"></text>
</view> </view>
<view style="font-weight: bold;font-size: 44rpx;color: #FF6600;" <view style="font-weight: bold;font-size: 44rpx;color: #FF6600;" v-else>
v-else>
{{serveList.pointPrice}} <text style="font-size: 24rpx;">积分</text> {{serveList.pointPrice}} <text style="font-size: 24rpx;">积分</text>
</view> </view>
<view class="" style="display: flex; align-items: center; justify-content: center;"> <view class="" style="display: flex; align-items: center; justify-content: center;">
@ -95,8 +94,7 @@
v-if="serveList.moneyPrice > 0"> v-if="serveList.moneyPrice > 0">
{{serveList.moneyPrice}} <text style="font-size: 24rpx;"></text> {{serveList.moneyPrice}} <text style="font-size: 24rpx;"></text>
</view> </view>
<view style="font-weight: bold;font-size: 44rpx;color: #FF6600;" <view style="font-weight: bold;font-size: 44rpx;color: #FF6600;" v-else>
v-else>
{{serveList.pointPrice}} <text style="font-size: 24rpx;">积分</text> {{serveList.pointPrice}} <text style="font-size: 24rpx;">积分</text>
</view> </view>
</view> </view>
@ -112,10 +110,12 @@
</view> </view>
</u-number-box> </u-number-box>
</view> </view>
<view class="order_itm" style=" border-top: solid 1rpx #E0E0E0; border-bottom: 1rpx solid #E0E0E0 ; " v-if="serveList.moneyPrice > 0"> <view class="order_itm" style=" border-top: solid 1rpx #E0E0E0; border-bottom: 1rpx solid #E0E0E0 ; "
v-if="serveList.moneyPrice > 0">
<text class="order_itm_t">商品总价</text> <text>{{serveList.moneyPrice * orderDet[0].count}}积分</text> <text class="order_itm_t">商品总价</text> <text>{{serveList.moneyPrice * orderDet[0].count}}积分</text>
</view> </view>
<view class="order_itm" style=" border-top: solid 1rpx #E0E0E0; border-bottom: 1rpx solid #E0E0E0 ; " v-else> <view class="order_itm" style=" border-top: solid 1rpx #E0E0E0; border-bottom: 1rpx solid #E0E0E0 ; "
v-else>
<text class="order_itm_t">商品总价</text> <text>{{serveList.pointPrice * orderDet[0].count}}积分</text> <text class="order_itm_t">商品总价</text> <text>{{serveList.pointPrice * orderDet[0].count}}积分</text>
</view> </view>
<view class="order_itm" style="position: relative;"> <view class="order_itm" style="position: relative;">
@ -147,8 +147,10 @@
<image src="../../static/star.png" style="width: 100%; height: 100%;" v-else></image> <image src="../../static/star.png" style="width: 100%; height: 100%;" v-else></image>
</view> </view>
</view> </view>
<view v-if="buyType == '4'">
<view class="btn_contain" style="display: flex;"> <button type="default" class="buy" @click="goTalk" style="width: 500rpx;">联系作者</button>
</view>
<view class="btn_contain" style="display: flex;" v-else>
<button type="default" class="addCar" @click="addCarClick">加入购物车</button> <button type="default" class="addCar" @click="addCarClick">加入购物车</button>
<button type="default" class="buy" @click="ImdeiaBuy">立即购买</button> <button type="default" class="buy" @click="ImdeiaBuy">立即购买</button>
</view> </view>
@ -180,23 +182,22 @@
img: [], img: [],
FetchGoodMethod: "1", FetchGoodMethod: "1",
count: 1, count: 1,
allScor:[], allScor: [],
scores: [], scores: [],
scoresLen: '', scoresLen: '',
orderDet:[ orderDet: [{
{ address: "",
address: "", count: 1,
count: 1, goodsId: "",
goodsId: "", money: 0,
money: 0, mType: '',
mType:'', goodsName: '',
goodsName: '', img: '',
img: '', userName: '',
userName: '', userImg: '',
userImg: '', id: '',
id:'', }],
} buyType: ''
]
} }
}, },
onLoad(option) { onLoad(option) {
@ -219,7 +220,7 @@
_this.img.push(item) _this.img.push(item)
} }
}) })
if(this.img < 1){ if (this.img < 1) {
this.img.push('../../static/fileImg/pdfS.png') this.img.push('../../static/fileImg/pdfS.png')
} }
this.goodInfo = res.data.domainInfo this.goodInfo = res.data.domainInfo
@ -228,18 +229,19 @@
this.orderDet[0].goodsName = res.data.domainInfo.name this.orderDet[0].goodsName = res.data.domainInfo.name
this.orderDet[0].img = this.img[0] this.orderDet[0].img = this.img[0]
this.orderDet[0].userName = res.data.shopInfo.userName this.orderDet[0].userName = res.data.shopInfo.userName
this.buyType = res.data.domainInfo.buy
let src = res.data.shopInfo.images.split(',') let src = res.data.shopInfo.images.split(',')
this.orderDet[0].userImg = src[0] this.orderDet[0].userImg = src[0]
this.serveList = res.data this.serveList = res.data
res.data.scores.forEach(function(item){ res.data.scores.forEach(function(item) {
let img = item.avatar.split(',') let img = item.avatar.split(',')
item.avatar = img[0] item.avatar = img[0]
}) })
this.allScor = res.data.scores this.allScor = res.data.scores
this.scoresLen = res.data.scores.length this.scoresLen = res.data.scores.length
if(this.scoresLen > 5){ if (this.scoresLen > 5) {
this.writerList = res.data.scores.slice(0,5) this.writerList = res.data.scores.slice(0, 5)
}else{ } else {
this.scores = res.data.scores this.scores = res.data.scores
} }
this.load = false this.load = false
@ -265,20 +267,20 @@
// //
DoBuy(num) { DoBuy(num) {
this.showBuy = false this.showBuy = false
if(this.serveList.moneyPrice > 0){ if (this.serveList.moneyPrice > 0) {
this.orderDet[0].mType = '0' this.orderDet[0].mType = '0'
this.orderDet[0].money = this.serveList.moneyPrice this.orderDet[0].money = this.serveList.moneyPrice
}else{ } else {
this.orderDet[0].mType = '1' this.orderDet[0].mType = '1'
this.orderDet[0].money = this.serveList.pointPrice this.orderDet[0].money = this.serveList.pointPrice
} }
if(this.orderDet[0].mType == 0){ if (this.orderDet[0].mType == 0) {
// uni.navigateTo({ // uni.navigateTo({
// url:'/pages/ConfirmOrder/ConfirmOrder?data=' + encodeURIComponent(JSON.stringify(this.orderDet)) // url:'/pages/ConfirmOrder/ConfirmOrder?data=' + encodeURIComponent(JSON.stringify(this.orderDet))
// }) // })
}else if(this.orderDet[0].mType == 1){ } else if (this.orderDet[0].mType == 1) {
uni.navigateTo({ uni.navigateTo({
url:'/pages/ConfirmOrder/fictitiousOrder?data=' + JSON.stringify(this.orderDet) url: '/pages/ConfirmOrder/fictitiousOrder?data=' + JSON.stringify(this.orderDet)
}) })
} }
}, },
@ -352,8 +354,13 @@
// //
plusNum(val1, ) { plusNum(val1, ) {
this.orderDet[0].count = val1 + 1 this.orderDet[0].count = val1 + 1
},
goTalk() {
uni.navigateTo({
url: "/pagesA/msg/chat/chat?name=" + this.orderDet[0].userName + '&linkId=' + '' + '&toUser=' +
this.orderDet[0].id + '&toUserImg=' + this.orderDet[0].userImg
})
} }
} }
} }
</script> </script>
@ -542,4 +549,4 @@
height: 1000rpx; height: 1000rpx;
} }
</style> </style>

View File

@ -9,7 +9,22 @@
{{v.title}} {{v.title}}
</view> </view>
<view class="express_contain_sub"> <view class="express_contain_sub">
{{v.username}} {{v.fbsj}} <view class="det_box">
<view class="box_left">
<image src="../../static/workDetail/seen.png" class="img"></image>
</view>
<view class="box_right">
{{v.view}}浏览
</view>
</view>
<view class="det_box">
<view class="box_left">
<image src="../../static/workDetail/time.png" class="img"></image>
</view>
<view class="box_right">
{{v.fbsj}}
</view>
</view>
</view> </view>
</view> </view>
<u-gap height="16" bgColor="#ffffff"></u-gap> <u-gap height="16" bgColor="#ffffff"></u-gap>
@ -97,6 +112,29 @@
font-weight: 500; font-weight: 500;
color: #8E8F9E; color: #8E8F9E;
font-size: 12px; font-size: 12px;
overflow: hidden;
.det_box {
float: left;
margin-right: 20px;
overflow: hidden;
.box_left {
width: 16px;
height: 16px;
float: left;
.img {
width: 100%;
height: 100%;
}
}
.box_right {
margin-left: 2px;
float: left;
}
}
} }
} }
</style> </style>

View File

@ -17,7 +17,7 @@
inputAlign="right"> inputAlign="right">
<u-icon slot="suffix" name="arrow-right" style="margin-right: 10px;"></u-icon> <u-icon slot="suffix" name="arrow-right" style="margin-right: 10px;"></u-icon>
</u--input> </u--input>
</view> </view>
<!-- 作品标签 --> <!-- 作品标签 -->
<view class="rightBox" @click="showTab=true"> <view class="rightBox" @click="showTab=true">
<text class="right_titl" style="color: #c0c4cc; font-size: 15px;margin-left: 32rpx;">请选择作品标签</text> <text class="right_titl" style="color: #c0c4cc; font-size: 15px;margin-left: 32rpx;">请选择作品标签</text>
@ -30,6 +30,8 @@
<view style="display: flex; padding: 20rpx 0; color: #3c9cff;" @click="addNewTab"> <view style="display: flex; padding: 20rpx 0; color: #3c9cff;" @click="addNewTab">
添加标签<u-icon name="plus-circle" color="#3c9cff"></u-icon> 添加标签<u-icon name="plus-circle" color="#3c9cff"></u-icon>
</view> </view>
<u--input placeholder="请输入内容" border="surround" v-model="valueTab" @change="change"></u--input>
<u-gap height="12"></u-gap>
<scroll-view style='height: 500rpx;' scroll-y="true"> <scroll-view style='height: 500rpx;' scroll-y="true">
<u-checkbox-group @change="selectForm2" v-model="radiovalue2" :borderBottom="true" <u-checkbox-group @change="selectForm2" v-model="radiovalue2" :borderBottom="true"
placement="column" iconPlacement="right"> placement="column" iconPlacement="right">
@ -73,8 +75,8 @@
</u-upload> </u-upload>
<view style="position: relative; width: 100%; height: 50px;"> <view style="position: relative; width: 100%; height: 50px;">
<uni-data-picker ref="picker" style="border: 0px; position: absolute; " :localdata="radiolist1" v-model="radiovalue1" <uni-data-picker ref="picker" style="border: 0px; position: absolute; " :localdata="radiolist1"
:map="{text:'title',value:'id'}" popup-title="请选择作品类型" @change="selectForm1"> v-model="radiovalue1" :map="{text:'title',value:'id'}" popup-title="请选择作品类型" @change="selectForm1">
</uni-data-picker> </uni-data-picker>
<view style="position: absolute; width: 100%; height: 100%; background-color: #FFFFFF;"> <view style="position: absolute; width: 100%; height: 100%; background-color: #FFFFFF;">
</view> </view>
@ -122,6 +124,7 @@
wpPath: "", wpPath: "",
}, },
newTab: '', newTab: '',
valueTab: '',
}; };
}, },
onShow() { onShow() {
@ -156,7 +159,7 @@
}, },
getTab() { getTab() {
let _this = this let _this = this
this.http.request('/works/tag', {}, "GET").then(res => { this.http.request('/works/tag', {name:this.valueTab}, "GET").then(res => {
if (res.code == 200) { if (res.code == 200) {
_this.radiolist2 = res.data _this.radiolist2 = res.data
_this.load = false _this.load = false
@ -168,6 +171,10 @@
}); });
}) })
}, },
change(e) {
this.radiolist2 = []
this.getTab()
},
next() { next() {
let _this = this let _this = this
if (this.name == '') { if (this.name == '') {
@ -332,7 +339,7 @@
}); });
}) })
}, },
} }
} }
</script> </script>
@ -403,4 +410,4 @@
height: 460rpx; height: 460rpx;
} }
</style> </style>

View File

@ -5,7 +5,7 @@
</view> </view>
<view v-if="load == false"> <view v-if="load == false">
<view class="bg"> <view class="bg">
<image :src="image" mode="widthFix"></image> <image :src="image" style="width: 100%;" mode="widthFix"></image>
</view> </view>
<u-gap height="1" bgColor="#fff"></u-gap> <u-gap height="1" bgColor="#fff"></u-gap>
@ -36,7 +36,7 @@
</u--input> <text style="margin-left: 16rpx;"></text> </u--input> <text style="margin-left: 16rpx;"></text>
</view> </view>
<view class="sub_ti_box" v-if="v2=='可购买'" @click="showType=true"> <view class="sub_ti_box" v-if="v2=='可购买' && v1!='面议'" @click="showType=true">
<text class="right_titl">发货方式</text> <text class="right_titl">发货方式</text>
<u--input fontSize="28rpx" border="none" readonly v-model="v3" disabledColor="#ffffff" <u--input fontSize="28rpx" border="none" readonly v-model="v3" disabledColor="#ffffff"
placeholder="请选择发货方式" inputAlign="right"> placeholder="请选择发货方式" inputAlign="right">
@ -44,12 +44,12 @@
</u--input> </u--input>
</view> </view>
<view class="sub_ti_box" v-if="v2=='可购买' && v3=='虚拟物品'"> <view class="sub_ti_box" v-if="v2=='可购买' && v3=='虚拟物品' && v1!='面议'">
<text class="right_titl">网盘地址</text> <text class="right_titl">网盘地址</text>
<u--input placeholder="请输入网盘地址" inputAlign="right" border="none" v-model="wpPath"></u--input> <text <u--input placeholder="请输入网盘地址" inputAlign="right" border="none" v-model="wpPath"></u--input> <text
style="margin-left: 16rpx;"></text> style="margin-left: 16rpx;"></text>
</view> </view>
<view class="sub_ti_box" v-if="v2=='可购买' && v3=='虚拟物品'"> <view class="sub_ti_box" v-if="v2=='可购买' && v3=='虚拟物品' && v1!='面议'">
<text class="right_titl">提取码</text> <text class="right_titl">提取码</text>
<u--input placeholder="请输入提取码" inputAlign="right" border="none" v-model="code"></u--input> <text <u--input placeholder="请输入提取码" inputAlign="right" border="none" v-model="code"></u--input> <text
style="margin-left: 16rpx;"></text> style="margin-left: 16rpx;"></text>
@ -154,7 +154,6 @@
this.image = '../../static/fileImg/pdfS.png' this.image = '../../static/fileImg/pdfS.png'
} }
} }
console.log(this.image)
}, },
onShow() { onShow() {
// this.getQx() // this.getQx()
@ -217,21 +216,21 @@
if (this.v2 == '可购买' && this.v1 == '免费使用') { if (this.v2 == '可购买' && this.v1 == '免费使用') {
this.price = '0' this.price = '0'
} }
if (this.v2 == '可购买' && this.v1 != '' && this.price == '') { if (this.v2 == '可购买' && this.v1 != '' && this.v1 != '面议' && this.price == '') {
uni.showToast({ uni.showToast({
title: '价格不能为空', title: '价格不能为空',
icon: "none", icon: "none",
}); });
return return
} }
if (this.v2 == '可购买' && this.v1 != '' && this.wpPath == '') { if (this.v2 == '可购买' && this.v1 != '' && this.v1 != '面议' && this.wpPath == '') {
uni.showToast({ uni.showToast({
title: '网盘地址不能为空', title: '网盘地址不能为空',
icon: "none", icon: "none",
}); });
return return
} }
if (this.v2 == '可购买' && this.v1 != '' && this.code == '') { if (this.v2 == '可购买' && this.v1 != '' && this.v1 != '面议' && this.code == '') {
uni.showToast({ uni.showToast({
title: '提取码不能为空,若不需要提取码请填‘无’', title: '提取码不能为空,若不需要提取码请填‘无’',
icon: "none", icon: "none",
@ -274,20 +273,20 @@
this.worksVo.code = this.code this.worksVo.code = this.code
if (this.wpPath != '') { if (this.wpPath != '') {
this.load = true
this.http.request('/works/isValid?strLink=' + this.wpPath, "POST").then(res => { this.http.request('/works/isValid?strLink=' + this.wpPath, "POST").then(res => {
if (res.code == 200) { if (res.code == 200) {
uni.redirectTo({
url: "/pages/pageHome/pageHome"
})
this.pushWork() this.pushWork()
} }
}).catch(e => { }).catch(e => {
this.load = false
uni.showToast({ uni.showToast({
title: e.data.message, title: e.data.message,
icon: "none", icon: "none",
}); });
}) })
} else { } else {
this.load = true
this.pushWork() this.pushWork()
} }
@ -306,6 +305,7 @@
}, 1000) }, 1000)
} }
}).catch(e => { }).catch(e => {
this.load = false
uni.showToast({ uni.showToast({
title: e.data.message, title: e.data.message,
icon: "none", icon: "none",
@ -347,7 +347,7 @@
} }
.bg { .bg {
height: 500rpx; width: 750rpx;
} }
.rightBox { .rightBox {

View File

@ -87,25 +87,25 @@
this.getEnjoy() this.getEnjoy()
}, },
methods: { methods: {
getEnjoy(){ getEnjoy() {
let _this = this let _this = this
this.http.request('/indexImage/recommend', {}, "GET").then(res => { this.http.request('/indexImage/recommend', {}, "GET").then(res => {
if (res.code == 200) { if (res.code == 200) {
res.data.forEach(function(item){ res.data.forEach(function(item) {
if (item.file) { if (item.file) {
let fileArr = item.file.split(',') let fileArr = item.file.split(',')
let gs = fileArr[0].substr(fileArr[0].lastIndexOf(".") + 1) let gs = fileArr[0].substr(fileArr[0].lastIndexOf(".") + 1)
if (gs == 'jpg' || gs == 'jpeg' || gs == 'png' || gs == 'bmp' || gs == 'gif' || gs == 'tif' || gs == 'tiff') { if (gs == 'jpg' || gs == 'jpeg' || gs == 'png' || gs == 'bmp' || gs ==
'gif' || gs == 'tif' || gs == 'tiff') {
item.file = fileArr[0] item.file = fileArr[0]
} } else if (gs == 'pdf') {
else if (gs == 'pdf') {
item.file = '../../static/fileImg/pdfS.png' item.file = '../../static/fileImg/pdfS.png'
} }
} }
}) })
this.enjoyList = res.data this.enjoyList = res.data
this.doList() this.doList()
} }
}).catch(e => { }).catch(e => {
uni.showToast({ uni.showToast({
@ -114,7 +114,7 @@
}); });
}) })
}, },
ToEnjoy(val){ ToEnjoy(val) {
uni.navigateTo({ uni.navigateTo({
url: "/pages/ArtWorks/artWorkDetail?id=" + val url: "/pages/ArtWorks/artWorkDetail?id=" + val
}) })
@ -152,60 +152,62 @@
<style lang="scss"> <style lang="scss">
.layout { .layout {
padding: 16rpx 32rpx; padding: 16rpx 32rpx;
.container { .container {
font-size: 14rpx; font-size: 14rpx;
line-height: 24rpx; line-height: 24rpx;
.right, .right,
.left { .left {
display: inline-block; display: inline-block;
width: 49%; width: 49%;
vertical-align: top; vertical-align: top;
.scroll-list { .scroll-list {
display: flex; display: flex;
&__goods-item { &__goods-item {
width: 100%; width: 100%;
margin: 20rpx 10rpx; margin: 20rpx 10rpx;
&__image { &__image {
width: 100%; width: 100%;
border-radius: 8px; border-radius: 8px;
} }
&__title { &__title {
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
padding: 10rpx 24rpx; padding: 10rpx 24rpx;
} }
&__text { &__text {
text-align: center;
margin-top: 3px; margin-top: 3px;
height: 16px; padding: 0 24rpx 10rpx;
padding: 0 24rpx; font-size: 12px;
color: #AFADB0; color: #AFADB0;
.det-type{ overflow: hidden;
.det-type {
float: left; float: left;
line-height: 16px; line-height: 16px;
} }
.det_box { .det_box {
float: right; float: right;
overflow: hidden; overflow: hidden;
.box_left { .box_left {
width: 16px; width: 16px;
height: 16px; height: 16px;
float: left; float: left;
.img { .img {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
} }
.box_right { .box_right {
margin-left: 2px; margin-left: 2px;
line-height: 16px; line-height: 16px;
@ -213,14 +215,15 @@
} }
} }
} }
} }
} }
} }
.left { .left {
margin-right: 2%; margin-right: 2%;
} }
.left image, .left image,
.right image { .right image {
width: 100%; width: 100%;
@ -252,4 +255,4 @@
} }
} }
} }
</style> </style>

View File

@ -27,6 +27,11 @@
</view> </view>
<u-popup :show="showTab" @close="close" closeOnClickOverlay :round="5" <u-popup :show="showTab" @close="close" closeOnClickOverlay :round="5"
customStyle="padding: 16px;"> customStyle="padding: 16px;">
<view style="display: flex; padding: 20rpx 0; color: #3c9cff;" @click="addNewTab">
添加标签<u-icon name="plus-circle" color="#3c9cff"></u-icon>
</view>
<u--input placeholder="请输入内容" border="surround" v-model="valueTab" @change="change"></u--input>
<u-gap height="12"></u-gap>
<scroll-view style='height: 500rpx;' scroll-y="true"> <scroll-view style='height: 500rpx;' scroll-y="true">
<u-checkbox-group @change="selectForm2" v-model="radiovalue2" :borderBottom="true" <u-checkbox-group @change="selectForm2" v-model="radiovalue2" :borderBottom="true"
placement="column" iconPlacement="right"> placement="column" iconPlacement="right">
@ -39,6 +44,15 @@
<u-button class="custom-style" style="background-color:#99241B ; color: #FFFFFF; margin-top: 32rpx;" <u-button class="custom-style" style="background-color:#99241B ; color: #FFFFFF; margin-top: 32rpx;"
type="default" @click="showTab=false">确认</u-button> type="default" @click="showTab=false">确认</u-button>
</u-popup> </u-popup>
<u-popup :show="addTab" @close="closeAdd" closeOnClickOverlay :round="5" customStyle="padding: 16px;">
<view style="display: flex; padding: 20rpx 0; font-size: 36rpx;">
添加标签
</view>
<u--input placeholder="请输入标签" v-model="newTab" clearable>
</u--input>
<u-button class="custom-style" style="background-color:#99241B ; color: #FFFFFF; margin-top: 32rpx;"
type="default" @click="upDataTab">确认添加</u-button>
</u-popup>
<u--textarea style="padding: 32rpx;" v-model="detailValue" placeholder="请输入作品说明" border="none"> <u--textarea style="padding: 32rpx;" v-model="detailValue" placeholder="请输入作品说明" border="none">
</u--textarea> </u--textarea>
@ -86,6 +100,7 @@
iswx: null, iswx: null,
showType: false, showType: false,
showTab: false, showTab: false,
addTab: false,
v1: "", v1: "",
v2: "", v2: "",
tabs:[], tabs:[],
@ -106,7 +121,9 @@
types: "", types: "",
usePermission: "", usePermission: "",
wpPath: "", wpPath: "",
} },
newTab: '',
valueTab: '',
}; };
}, },
onShow() { onShow() {
@ -165,7 +182,7 @@
}, },
getTab() { getTab() {
let _this = this let _this = this
this.http.request('/works/tag', {}, "GET").then(res => { this.http.request('/works/tag', {name:this.valueTab}, "GET").then(res => {
if (res.code == 200) { if (res.code == 200) {
_this.radiolist2 = res.data _this.radiolist2 = res.data
_this.load = false _this.load = false
@ -177,6 +194,10 @@
}); });
}) })
}, },
change(e) {
this.radiolist2 = []
this.getTab()
},
next() { next() {
let _this = this let _this = this
if(this.name == ''){ if(this.name == ''){
@ -308,7 +329,40 @@
let data = form let data = form
this.tabs = form this.tabs = form
this.v2 = data.join(',') this.v2 = data.join(',')
} },
addNewTab() {
this.showTab = false
this.addTab = true
},
closeAdd() {
this.addTab = false
this.getTab()
this.showTab = true
},
upDataTab() {
let data = {
tagName: this.newTab
}
this.http.request('/works/addTag', data, "POST").then(res => {
if (res.code == 200) {
uni.showToast({
title: '添加成功',
icon: "none",
});
setTimeout(() => {
this.newTab = ''
this.closeAdd()
}, 1200)
}
}).catch(e => {
uni.showToast({
title: e.data.message,
icon: "none",
});
})
},
} }
} }
</script> </script>

View File

@ -5,9 +5,10 @@
</view> </view>
<view v-if="load == false"> <view v-if="load == false">
<view class="bg"> <view class="bg">
<image :src="image" mode="widthFix"></image> <image :src="image" style="width: 100%;" mode="widthFix"></image>
</view> </view>
<u-gap height="1" bgColor="#fff"></u-gap>
<view class="rightBox" @click="showBuy=true"> <view class="rightBox" @click="showBuy=true">
<text class="right_titl" style="color: #251B1D; font-weight: 600;margin-left: 32rpx;">作品使用权限</text> <text class="right_titl" style="color: #251B1D; font-weight: 600;margin-left: 32rpx;">作品使用权限</text>
<u--input fontSize="28rpx" border="none" readonly v-model="v2" disabledColor="#ffffff" <u--input fontSize="28rpx" border="none" readonly v-model="v2" disabledColor="#ffffff"
@ -15,7 +16,7 @@
<u-icon slot="suffix" name="arrow-right"></u-icon> <u-icon slot="suffix" name="arrow-right"></u-icon>
</u--input> </u--input>
</view> </view>
<view class="rightBox" @click="showSex=true" v-if="v2=='可购买'"> <view class="rightBox" @click="showSex=true" v-if="v2=='可购买'">
<text class="right_titl" style="color: #251B1D; font-weight: 600;margin-left: 32rpx;">支付方式</text> <text class="right_titl" style="color: #251B1D; font-weight: 600;margin-left: 32rpx;">支付方式</text>
<u--input fontSize="28rpx" border="none" readonly v-model="v1" disabledColor="#ffffff" <u--input fontSize="28rpx" border="none" readonly v-model="v1" disabledColor="#ffffff"
@ -23,84 +24,121 @@
<u-icon slot="suffix" name="arrow-right"></u-icon> <u-icon slot="suffix" name="arrow-right"></u-icon>
</u--input> </u--input>
</view> </view>
<view class="sub_ti_box" v-if="v2=='可购买' && v1=='付费购买'"> <view class="sub_ti_box" v-if="v2=='可购买' && v1=='付费购买'">
<text class="right_titl">使用费用</text> <text class="right_titl">使用费用</text>
<u--input placeholder="请输入使用费用" inputAlign="right" border="none" type="number" v-model="price"></u--input> <text <u--input placeholder="请输入使用费用" inputAlign="right" border="none" type="number" v-model="price">
style="margin-left: 16rpx;"></text> </u--input> <text style="margin-left: 16rpx;"></text>
</view> </view>
<view class="sub_ti_box" v-if="v2=='可购买' && v1=='积分购买'"> <view class="sub_ti_box" v-if="v2=='可购买' && v1=='积分兑换'">
<text class="right_titl">使用积分</text> <text class="right_titl">使用积分</text>
<u--input placeholder="请输入使用积分" inputAlign="right" type="number" border="none" v-model="price"></u--input> <text <u--input placeholder="请输入使用积分" inputAlign="right" type="number" border="none" v-model="price">
style="margin-left: 16rpx;">积分</text> </u--input> <text style="margin-left: 16rpx;"></text>
</view> </view>
<view class="sub_ti_box" v-if="v2=='可购买'"> <view class="sub_ti_box" v-if="v2=='可购买' && v1!='面议'" @click="showType=true">
<text class="right_titl">发货方式</text>
<u--input fontSize="28rpx" border="none" readonly v-model="v3" disabledColor="#ffffff"
placeholder="请选择发货方式" inputAlign="right">
<u-icon slot="suffix" name="arrow-right"></u-icon>
</u--input>
</view>
<view class="sub_ti_box" v-if="v2=='可购买' && v3=='虚拟物品' && v1!='面议'">
<text class="right_titl">网盘地址</text> <text class="right_titl">网盘地址</text>
<u--input placeholder="请输入网盘地址" inputAlign="right" border="none" v-model="wpPath"></u--input> <text <u--input placeholder="请输入网盘地址" inputAlign="right" border="none" v-model="wpPath"></u--input> <text
style="margin-left: 16rpx;"></text> style="margin-left: 16rpx;"></text>
</view> </view>
<view class="sub_ti_box" v-if="v2=='可购买'"> <view class="sub_ti_box" v-if="v2=='可购买' && v3=='虚拟物品' && v1!='面议'">
<text class="right_titl">提取码</text> <text class="right_titl">提取码</text>
<u--input placeholder="请输入提取码" inputAlign="right" border="none" v-model="code"></u--input> <text <u--input placeholder="请输入提取码" inputAlign="right" border="none" v-model="code"></u--input> <text
style="margin-left: 16rpx;"></text> style="margin-left: 16rpx;"></text>
</view> </view>
<u-popup :show="showBuy" @close="close" closeOnClickOverlay :round="5" <u-popup :show="showBuy" @close="close" closeOnClickOverlay :round="5" customStyle="padding: 16px;">
customStyle="padding: 16px;">
<u-radio-group @change="selectFormB" v-model="radiovalue1" :borderBottom="true" placement="column" <u-radio-group @change="selectFormB" v-model="radiovalue1" :borderBottom="true" placement="column"
iconPlacement="right"> iconPlacement="right">
<u-radio :customStyle="{marginBottom: '16px' }" v-for="(item, index) in radiolist1" :key="index" <u-radio :customStyle="{marginBottom: '16px' }" v-for="(item, index) in radiolist1" :key="index"
:label="item.label" labelSize="28rpx" labelColor="#231F1C" :name="item.label" activeColor="#99241B "> :label="item.label" labelSize="28rpx" labelColor="#231F1C" :name="item.label"
activeColor="#99241B ">
</u-radio> </u-radio>
<u-button class="custom-style" style="background-color:#99241B ; color: #FFFFFF; margin-top: 32rpx;" <u-button class="custom-style" style="background-color:#99241B ; color: #FFFFFF; margin-top: 32rpx;"
type="default" @click="showBuy=false">确认</u-button> type="default" @click="showBuy=false">确认</u-button>
</u-radio-group> </u-radio-group>
</u-popup> </u-popup>
<u-popup :show="showSex" @close="close" closeOnClickOverlay :round="5" <u-popup :show="showSex" @close="close" closeOnClickOverlay :round="5" customStyle="padding: 16px;">
customStyle="padding: 16px;">
<u-radio-group @change="selectForm" v-model="radiovalue7" :borderBottom="true" placement="column" <u-radio-group @change="selectForm" v-model="radiovalue7" :borderBottom="true" placement="column"
iconPlacement="right"> iconPlacement="right">
<u-radio :customStyle="{marginBottom: '16px' }" v-for="(item, index) in radiolist7" :key="index" <u-radio :customStyle="{marginBottom: '16px' }" v-for="(item, index) in radiolist7" :key="index"
:label="item.label" labelSize="28rpx" labelColor="#231F1C" :name="item.label" activeColor="#99241B "> :label="item.label" labelSize="28rpx" labelColor="#231F1C" :name="item.label"
activeColor="#99241B ">
</u-radio> </u-radio>
<u-button class="custom-style" style="background-color:#99241B ; color: #FFFFFF; margin-top: 32rpx;" <u-button class="custom-style" style="background-color:#99241B ; color: #FFFFFF; margin-top: 32rpx;"
type="default" @click="showSex=false">确认</u-button> type="default" @click="showSex=false">确认</u-button>
</u-radio-group> </u-radio-group>
</u-popup> </u-popup>
<u-popup :show="showType" @close="close" closeOnClickOverlay :round="5" customStyle="padding: 16px;">
<u-radio-group @change="selectFormC" v-model="radiovalue2" :borderBottom="true" placement="column"
iconPlacement="right">
<u-radio :customStyle="{marginBottom: '16px' }" v-for="(item, index) in radiolist2" :key="index"
:label="item.name" labelSize="28rpx" labelColor="#231F1C" :name="item.name"
:disabled="item.disabled" activeColor="#99241B ">
</u-radio>
<u-button class="custom-style" style="background-color:#99241B ; color: #FFFFFF; margin-top: 32rpx;"
type="default" @click="showType=false">确认</u-button>
</u-radio-group>
</u-popup>
<view style="height: 160rpx; width: 750rpx;"></view> <view style="height: 160rpx; width: 750rpx;"></view>
<view class="operation"> <view class="operation">
<button type="default" class="collection" @click="goPre">上一步</button> <button type="default" class="collection" @click="goPre">上一步</button>
<button type="default" class="apply" @click="cfmPub()">确认修改</button> <button type="default" class="apply" @click="cfmPub()">确认修改</button>
</view> </view>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
load:true, load: true,
showBuy: false, showBuy: false,
showSex: false, showSex: false,
showType: false,
v1: "", v1: "",
v2: "", v2: "",
price:'', v3: "",
wpPath:'', price: '',
code:'', wpPath: '',
code: '',
radiovalue1: '', radiovalue1: '',
radiolist1: [], radiolist1: [{
label: '可购买',
value: '1',
}, {
label: '不可购买',
value: '2',
}],
radiovalue7: '', radiovalue7: '',
radiolist7: [], radiolist7: [],
radio: '', radio: '',
switchVal: false, switchVal: false,
worksVo: {}, worksVo: {},
image: '', radiovalue2: '',
radiolist2: [{
name: '虚拟物品',
disabled: false
},
{
name: '实物发货',
disabled: true
},
],
image: ''
}; };
}, },
onLoad(op) { onLoad(op) {
@ -108,40 +146,41 @@
this.price = this.worksVo.price this.price = this.worksVo.price
this.wpPath = this.worksVo.wpPath this.wpPath = this.worksVo.wpPath
this.code = this.worksVo.code this.code = this.worksVo.code
if(this.worksVo.usePermission == 2){ this.v3 = '虚拟物品'
this.radiovalue2 = '虚拟物品'
if (this.worksVo.usePermission == 2) {
this.radiovalue1 = '不可购买' this.radiovalue1 = '不可购买'
this.v2 = '不可购买' this.v2 = '不可购买'
}else if(this.worksVo.usePermission == 1){ } else if (this.worksVo.usePermission == 1) {
this.radiovalue1 = '可购买' this.radiovalue1 = '可购买'
this.v2 = '可购买' this.v2 = '可购买'
} }
if(this.worksVo.buy == 1){ if (this.worksVo.buy == 1) {
this.radiovalue7 = '免费使用' this.radiovalue7 = '免费使用'
this.v1 = '免费使用' this.v1 = '免费使用'
}else if(this.worksVo.buy == 2){ } else if (this.worksVo.buy == 2) {
this.radiovalue7 = '积分购买' this.radiovalue7 = '积分购买'
this.v1 = '积分购买' this.v1 = '积分购买'
}else if(this.worksVo.buy == 3){ } else if (this.worksVo.buy == 3) {
this.radiovalue7 = '付费购买' this.radiovalue7 = '付费购买'
this.v1 = '付费购买' this.v1 = '付费购买'
}else if(this.worksVo.buy == 4){ } else if (this.worksVo.buy == 4) {
this.radiovalue7 = '面议' this.radiovalue7 = '面议'
this.v1 = '面议' this.v1 = '面议'
} }
if (this.worksVo.file) { if (this.worksVo.file) {
let fileArr = this.worksVo.file.split(',') let fileArr = this.worksVo.file.split(',')
let gs = fileArr[0].substr(fileArr[0].lastIndexOf(".") + 1) let gs = fileArr[0].substr(fileArr[0].lastIndexOf(".") + 1)
if (gs == 'jpg' || gs == 'jpeg' || gs == 'png' || gs == 'bmp' || gs == 'gif' || gs == 'tif' || gs == 'tiff') { if (gs == 'jpg' || gs == 'jpeg' || gs == 'png' || gs == 'bmp' || gs == 'gif' || gs == 'tif' || gs ==
'tiff') {
this.image = fileArr[0] this.image = fileArr[0]
} } else if (gs == 'pdf') {
else if (gs == 'pdf') {
this.image = '../../static/fileImg/pdfS.png' this.image = '../../static/fileImg/pdfS.png'
} }
} }
console.log(this.worksVo)
}, },
onShow() { onShow() {
this.getQx() // this.getQx()
this.getFs() this.getFs()
}, },
methods: { methods: {
@ -181,41 +220,41 @@
}, },
cfmPub() { cfmPub() {
let _this = this let _this = this
if(this.v2 == ''){ if (this.v2 == '') {
uni.showToast({ uni.showToast({
title: '使用权限不能为空', title: '使用权限不能为空',
icon: "none", icon: "none",
}); });
return return
} }
if(this.v2 == '可购买' && this.v1 == ''){ if (this.v2 == '可购买' && this.v1 == '') {
uni.showToast({ uni.showToast({
title: '支付方式不能为空', title: '支付方式不能为空',
icon: "none", icon: "none",
}); });
return return
} }
if(this.v2 == '可购买' && this.v1 == '面议'){ if (this.v2 == '可购买' && this.v1 == '面议') {
this.price = '0' this.price = '0'
} }
if(this.v2 == '可购买' && this.v1 == '免费使用'){ if (this.v2 == '可购买' && this.v1 == '免费使用') {
this.price = '0' this.price = '0'
} }
if(this.v2 == '可购买' && this.v1 != '' && this.price == ''){ if (this.v2 == '可购买' && this.v1 != '' && this.v1 != '面议' && this.price == '') {
uni.showToast({ uni.showToast({
title: '价格不能为空', title: '价格不能为空',
icon: "none", icon: "none",
}); });
return return
} }
if(this.v2 == '可购买' && this.v1 != '' && this.wpPath == ''){ if (this.v2 == '可购买' && this.v1 != '' && this.v1 != '面议' && this.wpPath == '') {
uni.showToast({ uni.showToast({
title: '网盘地址不能为空', title: '网盘地址不能为空',
icon: "none", icon: "none",
}); });
return return
} }
if(this.v2 == '可购买' && this.v1 != '' && this.code == ''){ if (this.v2 == '可购买' && this.v1 != '' && this.v1 != '面议' && this.code == '') {
uni.showToast({ uni.showToast({
title: '提取码不能为空,若不需要提取码请填‘无’', title: '提取码不能为空,若不需要提取码请填‘无’',
icon: "none", icon: "none",
@ -243,38 +282,41 @@
// }); // });
// return // return
// } // }
this.radiolist1.forEach((item) =>{ this.radiolist1.forEach((item) => {
if(_this.v2 == item.label){ if (_this.v2 == item.label) {
_this.worksVo.usePermission = item.value _this.worksVo.usePermission = item.value
} }
}) })
this.radiolist7.forEach((item) =>{ this.radiolist7.forEach((item) => {
if(_this.v1 == item.label){ if (_this.v1 == item.label) {
_this.worksVo.buy = item.value _this.worksVo.buy = item.value
} }
}) })
this.worksVo.price = this.price this.worksVo.price = this.price
this.worksVo.wpPath = this.wpPath this.worksVo.wpPath = this.wpPath
this.worksVo.code = this.code this.worksVo.code = this.code
if(this.wpPath != ''){ if (this.wpPath != '') {
this.http.request('/works/isValid?strLink='+this.wpPath, "POST").then(res => { this.load = true
this.http.request('/works/isValid?strLink=' + this.wpPath, "POST").then(res => {
if (res.code == 200) { if (res.code == 200) {
this.pushWork() this.pushWork()
} }
}).catch(e => { }).catch(e => {
this.load = false
uni.showToast({ uni.showToast({
title: e.data.message, title: e.data.message,
icon: "none", icon: "none",
}); });
}) })
}else{ } else {
this.load = true
this.pushWork() this.pushWork()
} }
}, },
pushWork() { pushWork() {
this.http.request('/works/edit', this.worksVo, "POST").then(res => { this.http.request('/works/addWork', this.worksVo, "POST").then(res => {
if (res.code == 200) { if (res.code == 200) {
uni.showToast({ uni.showToast({
title: '修改成功', title: '修改成功',
@ -282,12 +324,12 @@
}); });
setTimeout(() => { setTimeout(() => {
uni.redirectTo({ uni.redirectTo({
// url: "/pages/my/myWorkDetail?id=" + this.worksVo.workId
url: "/pages/my/My" url: "/pages/my/My"
}) })
}, 1200) }, 1000)
} }
}).catch(e => { }).catch(e => {
this.load = false
uni.showToast({ uni.showToast({
title: e.data.message, title: e.data.message,
icon: "none", icon: "none",
@ -313,7 +355,11 @@
close() { close() {
this.showSex = false this.showSex = false
this.showBuy = false this.showBuy = false
} this.showType = false
},
selectFormC(form) {
this.v3 = form
},
} }
} }
</script> </script>
@ -325,7 +371,7 @@
} }
.bg { .bg {
// height: 520rpx; width: 750rpx;
} }
.rightBox { .rightBox {
@ -391,4 +437,4 @@
.ff { .ff {
padding-top: 16px; padding-top: 16px;
} }
</style> </style>

View File

@ -139,7 +139,7 @@
<u-gap height="12"></u-gap> <u-gap height="12"></u-gap>
<view class="not"> <view class="not">
<view class="notice"> <view class="notice">
本服务由浙江政务服务网象山县文学艺术界联合会提供 本服务由象山县文学艺术界联合会提供
</view> </view>
<view class="notice"> <view class="notice">
服务咨询热线 服务咨询热线
@ -199,11 +199,11 @@
// imgUrl: '../../static/icon7.png', // imgUrl: '../../static/icon7.png',
// title: '' // title: ''
// }, // },
// { {
// id: 7, id: 7,
// imgUrl: '../../static/icon5.png', imgUrl: '../../static/icon5.png',
// title: '使' title: '积分使用'
// }, },
// { // {
// id: 8, // id: 8,
// imgUrl: '../../static/icon1.png', // imgUrl: '../../static/icon1.png',
@ -394,11 +394,11 @@
// url: "/pages/literHelp/literHelp" // url: "/pages/literHelp/literHelp"
// }) // })
// break; // break;
// case 7: case 7:
// uni.navigateTo({ uni.navigateTo({
// url: "/pages/MyPoints/MyPoints" url: "/pages/MyPoints/MyPoints"
// }) })
// break; break;
// case 8: // case 8:
// uni.navigateTo({ // uni.navigateTo({
// url: "/pages/moreFun/moreFun" // url: "/pages/moreFun/moreFun"
@ -536,59 +536,61 @@
.container { .container {
font-size: 14rpx; font-size: 14rpx;
line-height: 24rpx; line-height: 24rpx;
.right, .right,
.left { .left {
display: inline-block; display: inline-block;
width: 49%; width: 49%;
vertical-align: top; vertical-align: top;
.scroll-list { .scroll-list {
display: flex; display: flex;
&__goods-item { &__goods-item {
width: 100%; width: 100%;
margin: 20rpx 0rpx; margin: 20rpx 0rpx;
background-color: #ffffff; background-color: #ffffff;
box-shadow: 0px 2px 12px 0px rgba(70,86,124,0.09); box-shadow: 0px 2px 12px 0px rgba(70, 86, 124, 0.09);
border-radius: 8px; border-radius: 8px;
&__image { &__image {
width: 100%; width: 100%;
border-radius: 8px; border-radius: 8px;
} }
&__title { &__title {
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
padding: 10rpx 24rpx; padding: 10rpx 24rpx;
} }
&__text { &__text {
text-align: center;
margin-top: 3px; margin-top: 3px;
height: 16px; padding: 0 24rpx 10rpx;
padding: 0 24rpx; font-size: 12px;
color: #AFADB0; color: #AFADB0;
.det-type{ overflow: hidden;
.det-type {
float: left; float: left;
line-height: 16px; line-height: 16px;
} }
.det_box { .det_box {
float: right; float: right;
overflow: hidden; overflow: hidden;
.box_left { .box_left {
width: 16px; width: 16px;
height: 16px; height: 16px;
float: left; float: left;
.img { .img {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
} }
.box_right { .box_right {
margin-left: 2px; margin-left: 2px;
line-height: 16px; line-height: 16px;
@ -596,21 +598,23 @@
} }
} }
} }
} }
} }
} }
.left { .left {
margin-right: 2%; margin-right: 2%;
} }
.left image, .left image,
.right image { .right image {
width: 100%; width: 100%;
margin-bottom: 10rpx; margin-bottom: 10rpx;
} }
} }
.scrollEle { .scrollEle {
padding-top: 14px; padding-top: 14px;
@ -657,4 +661,4 @@
} }
} }
} }
</style> </style>

View File

@ -7,8 +7,8 @@ export default {
config: { config: {
// baseUrl: "http://192.168.0.57:8080/h5/api", //王锡 // baseUrl: "http://192.168.0.57:8080/h5/api", //王锡
// baseUrl: "/pre", //俞燕红-跨域 // baseUrl: "/pre", //俞燕红-跨域
baseUrl: "https://yxx.ydool.net/h5/api", // // baseUrl: "https://yxx.ydool.net/h5/api", // 小程序线上
// baseUrl: "/h5/api", //俞燕红 线上 baseUrl: "/h5/api", //H5线上
header: { header: {
'Content-Type': 'application/json;charset=UTF-8', 'Content-Type': 'application/json;charset=UTF-8',
// 'Content-Type':'application/x-www-form-urlencoded' // 'Content-Type':'application/x-www-form-urlencoded'