bug修改
This commit is contained in:
parent
0d66d41f15
commit
f5e3e96be8
|
|
@ -10,13 +10,13 @@
|
||||||
"usingComponents" : true,
|
"usingComponents" : true,
|
||||||
"nvueStyleCompiler" : "uni-app",
|
"nvueStyleCompiler" : "uni-app",
|
||||||
"compilerVersion" : 3,
|
"compilerVersion" : 3,
|
||||||
"screenOrientation" : [
|
"screenOrientation" : [
|
||||||
//可选,字符串数组类型,应用支持的横竖屏
|
//可选,字符串数组类型,应用支持的横竖屏
|
||||||
"portrait-primary", //可选,字符串类型,支持竖屏
|
"portrait-primary", //可选,字符串类型,支持竖屏
|
||||||
"portrait-secondary", //可选,字符串类型,支持反向竖屏
|
"portrait-secondary", //可选,字符串类型,支持反向竖屏
|
||||||
"landscape-primary", //可选,字符串类型,支持横屏
|
"landscape-primary", //可选,字符串类型,支持横屏
|
||||||
"landscape-secondary" //可选,字符串类型,支持反向横屏
|
"landscape-secondary" //可选,字符串类型,支持反向横屏
|
||||||
],
|
],
|
||||||
"compatible" : {
|
"compatible" : {
|
||||||
"ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
|
"ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
|
||||||
},
|
},
|
||||||
|
|
@ -76,6 +76,7 @@
|
||||||
},
|
},
|
||||||
/* ios打包配置 */
|
/* ios打包配置 */
|
||||||
"ios" : {
|
"ios" : {
|
||||||
|
"UIRequiresFullScreen" : false, // 允许非全屏模式
|
||||||
"urlschemewhitelist" : [ "iosmap" ],
|
"urlschemewhitelist" : [ "iosmap" ],
|
||||||
"dSYMs" : false,
|
"dSYMs" : false,
|
||||||
"plistcmds" : [
|
"plistcmds" : [
|
||||||
|
|
|
||||||
|
|
@ -599,6 +599,8 @@
|
||||||
{
|
{
|
||||||
"path": "pages/shop/photoAlbum/videoplayer",
|
"path": "pages/shop/photoAlbum/videoplayer",
|
||||||
"style": {
|
"style": {
|
||||||
|
"navigationBarTitleText": "全屏视频播放",
|
||||||
|
"pageOrientation": "auto",
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -969,7 +971,8 @@
|
||||||
"selectedIconPath": "/static/images/tabbar/home_icon_active.png",
|
"selectedIconPath": "/static/images/tabbar/home_icon_active.png",
|
||||||
"pagePath": "pages/home/home"
|
"pagePath": "pages/home/home"
|
||||||
},
|
},
|
||||||
{ "iconPath": "/static/images/tabbar/new_message_gray.png",
|
{
|
||||||
|
"iconPath": "/static/images/tabbar/new_message_gray.png",
|
||||||
"text": "消息",
|
"text": "消息",
|
||||||
"selectedIconPath": "/static/images/tabbar/new_message.png",
|
"selectedIconPath": "/static/images/tabbar/new_message.png",
|
||||||
"pagePath": "pages/message/message"
|
"pagePath": "pages/message/message"
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -134,9 +134,9 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="detail-row">
|
<view class="detail-row">
|
||||||
<text class="form-label required">服务功效</text>
|
<text class="form-label required">服务内容</text>
|
||||||
<view class="detail-textarea-wrap">
|
<view class="detail-textarea-wrap">
|
||||||
<textarea class="detail-textarea" v-model="detailForm.effect" placeholder="请输入服务功效"
|
<textarea class="detail-textarea" v-model="detailForm.effect" placeholder="请输入服务内容"
|
||||||
placeholder-class="placeholder" maxlength="200"></textarea>
|
placeholder-class="placeholder" maxlength="200"></textarea>
|
||||||
<text class="detail-count">{{(detailForm.effect || '').length}}/200</text>
|
<text class="detail-count">{{(detailForm.effect || '').length}}/200</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -442,7 +442,7 @@
|
||||||
// 如果新字段都为空,则尝试从旧的 detail 数组中提取(兼容旧数据)
|
// 如果新字段都为空,则尝试从旧的 detail 数组中提取(兼容旧数据)
|
||||||
if (!this.formData.efficacy && !this.formData.crowd && !this.formData.product) {
|
if (!this.formData.efficacy && !this.formData.crowd && !this.formData.product) {
|
||||||
(detail || []).forEach((item) => {
|
(detail || []).forEach((item) => {
|
||||||
if (item.title === "服务功效") {
|
if (item.title === "服务内容" || item.title === "服务功效") {
|
||||||
this.detailForm.effect = item.text || "";
|
this.detailForm.effect = item.text || "";
|
||||||
} else if (item.title === "适用人群") {
|
} else if (item.title === "适用人群") {
|
||||||
this.detailForm.crowd = item.text || "";
|
this.detailForm.crowd = item.text || "";
|
||||||
|
|
@ -475,7 +475,7 @@
|
||||||
checkDetailForm() {
|
checkDetailForm() {
|
||||||
if (!this.detailForm.effect || !this.detailForm.effect.trim()) {
|
if (!this.detailForm.effect || !this.detailForm.effect.trim()) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "请输入服务功效",
|
title: "请输入服务内容",
|
||||||
icon: "none",
|
icon: "none",
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
|
|
@ -166,8 +166,8 @@
|
||||||
obj.name = item.name || item.auth_name
|
obj.name = item.name || item.auth_name
|
||||||
}
|
}
|
||||||
if (item.id == 0) {
|
if (item.id == 0) {
|
||||||
obj.url = item.url
|
obj.url = item.url || item.auth_url
|
||||||
obj.name = item.name
|
obj.name = item.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`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue