相册驳回图片更改
This commit is contained in:
parent
a592cd9af8
commit
227b63b6bf
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "mrr.sj.front.app",
|
"name": "mrr.sj.front",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "mrr.sj.front.app",
|
"name": "mrr.sj.front",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
|
|
||||||
|
|
@ -34,11 +34,11 @@
|
||||||
<view class="content-photo-title">
|
<view class="content-photo-title">
|
||||||
{{ getItem(item2).name }}
|
{{ getItem(item2).name }}
|
||||||
</view>
|
</view>
|
||||||
<view class="content-photo-mask" v-if="item2.apply_state==1">
|
<view class="content-photo-mask" v-if="item2.apply_state==1 && item2.id==0">
|
||||||
<image class="photo-mask-img" mode="aspectFill" src="/static/images/icons/time.png"></image>
|
<image class="photo-mask-img" mode="aspectFill" src="/static/images/icons/time.png"></image>
|
||||||
<text class="photo-mask-text">审核中…</text>
|
<text class="photo-mask-text">审核中…</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="content-photo-mask" v-if="item2.apply_state==3">
|
<view class="content-photo-mask" v-if="item2.apply_state==3 && item2.id==0">
|
||||||
<image class="photo-mask-img" mode="aspectFill" src="/static/images/icons/close2.png"></image>
|
<image class="photo-mask-img" mode="aspectFill" src="/static/images/icons/close2.png"></image>
|
||||||
<view class="photo-mask-text">已驳回</view>
|
<view class="photo-mask-text">已驳回</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -64,11 +64,11 @@
|
||||||
<!-- <video class="content-photo-video" loop="true" :controls="false" :autoplay="true" :muted="true"
|
<!-- <video class="content-photo-video" loop="true" :controls="false" :autoplay="true" :muted="true"
|
||||||
:src="item2.url || item2.auth_url">
|
:src="item2.url || item2.auth_url">
|
||||||
</video> -->
|
</video> -->
|
||||||
<view class="content-photo-mask" v-if="item2.apply_state==1">
|
<view class="content-photo-mask" v-if="item2.apply_state==1 && item2.id==0">
|
||||||
<image class="photo-mask-img" mode="aspectFill" src="/static/images/icons/time.png"></image>
|
<image class="photo-mask-img" mode="aspectFill" src="/static/images/icons/time.png"></image>
|
||||||
<view class="photo-mask-text">审核中…</view>
|
<view class="photo-mask-text">审核中…</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="content-photo-mask" v-if="item2.apply_state==3">
|
<view class="content-photo-mask" v-if="item2.apply_state==3 && item2.id==0">
|
||||||
<image class="photo-mask-img" mode="aspectFill" src="/static/images/icons/close2.png"></image>
|
<image class="photo-mask-img" mode="aspectFill" src="/static/images/icons/close2.png"></image>
|
||||||
<view class="photo-mask-text">已驳回</view>
|
<view class="photo-mask-text">已驳回</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -135,9 +135,9 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
todetail() {
|
todetail() {
|
||||||
console.log('详情');
|
console.log('详情');
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:'/pages/shop/skill-detail'
|
url: '/pages/shop/skill-detail'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getItem(item) {
|
getItem(item) {
|
||||||
|
|
@ -152,6 +152,10 @@
|
||||||
obj.url = item.url || item.auth_url
|
obj.url = item.url || item.auth_url
|
||||||
obj.name = item.name || item.auth_name
|
obj.name = item.name || item.auth_name
|
||||||
}
|
}
|
||||||
|
if (item.id == 0) {
|
||||||
|
obj.url = item.url
|
||||||
|
obj.name = item.name
|
||||||
|
}
|
||||||
if (item.type == 2) {
|
if (item.type == 2) {
|
||||||
obj.url = obj.url + `?x-oss-process=video/snapshot,t_1000,m_fast,f_jpg,w_600,ar_auto`
|
obj.url = obj.url + `?x-oss-process=video/snapshot,t_1000,m_fast,f_jpg,w_600,ar_auto`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -135,12 +135,12 @@ const request = async (options, isUpdate) => {
|
||||||
|
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。
|
baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。
|
||||||
//baseURL = 'http://60.247.146.5:93'; // 发布到生产环境时,此处代码会被摇树移除掉。
|
baseURL = 'http://60.247.146.5:93'; // 发布到生产环境时,此处代码会被摇树移除掉。
|
||||||
//baseURL = 'http://60.247.146.5:96'; // 发布到生产环境时,此处代码会被摇树移除掉。
|
//baseURL = 'http://60.247.146.5:96'; // 发布到生产环境时,此处代码会被摇树移除掉。
|
||||||
//baseURL = 'https://app.mrrweb.com.cn';
|
//baseURL = 'https://app.mrrweb.com.cn';
|
||||||
} else {
|
} else {
|
||||||
baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。
|
baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。
|
||||||
//baseURL = 'http://60.247.146.5:93'; // 发布到生产环境时,此处代码会被摇树移除掉。
|
baseURL = 'http://60.247.146.5:93'; // 发布到生产环境时,此处代码会被摇树移除掉。
|
||||||
//baseURL = 'http://60.247.146.5:96'; // 发布到生产环境时,此处代码会被摇树移除掉。
|
//baseURL = 'http://60.247.146.5:96'; // 发布到生产环境时,此处代码会被摇树移除掉。
|
||||||
//baseURL = 'https://app.mrrweb.com.cn';
|
//baseURL = 'https://app.mrrweb.com.cn';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue