This commit is contained in:
parent
5a3b1a35fe
commit
0fe24ea848
|
|
@ -2,8 +2,8 @@
|
||||||
"name" : "护理单元",
|
"name" : "护理单元",
|
||||||
"appid" : "__UNI__FB2D473",
|
"appid" : "__UNI__FB2D473",
|
||||||
"description" : "护理单元",
|
"description" : "护理单元",
|
||||||
"versionName" : "1.0.041",
|
"versionName" : "1.0.042",
|
||||||
"versionCode" : 10041,
|
"versionCode" : 10042,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
|
|
||||||
|
|
@ -120,9 +120,10 @@
|
||||||
@click="zldex(i)">
|
@click="zldex(i)">
|
||||||
<image :src="serverUrl+(fwzldex!=i?v.immediateFile:v.immediateFileFocus)" mode="aspectFill">
|
<image :src="serverUrl+(fwzldex!=i?v.immediateFile:v.immediateFileFocus)" mode="aspectFill">
|
||||||
</image>
|
</image>
|
||||||
<text
|
<text style="white-space: nowrap;width: 100%;text-overflow: ellipsis;overflow: hidden;" >
|
||||||
style="white-space: nowrap;width: 100%;text-overflow: ellipsis;overflow: hidden;">{{v.directiveName?.substring(0,5)}}</text>
|
{{v.obj.mainName}}
|
||||||
<view>{{v.directiveName?.substring(5,12)}}</view>
|
</text>
|
||||||
|
<view v-if="v.obj.subName">( {{v.obj.subName}} )</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view style="width: 13vw;height: 13vw;margin: 7vw 0 0 23.5vw;display: block;background: none;"
|
<view style="width: 13vw;height: 13vw;margin: 7vw 0 0 23.5vw;display: block;background: none;"
|
||||||
|
|
@ -420,7 +421,7 @@
|
||||||
const fwzlindex = ref(0);
|
const fwzlindex = ref(0);
|
||||||
const fwzldex = ref(-1);
|
const fwzldex = ref(-1);
|
||||||
|
|
||||||
const fwzlarr = ref(0);
|
const fwzlarr = ref([]);
|
||||||
const zlarr = ref({});
|
const zlarr = ref({});
|
||||||
const zlfunc = (e) => {
|
const zlfunc = (e) => {
|
||||||
let data = {
|
let data = {
|
||||||
|
|
@ -428,15 +429,35 @@
|
||||||
instructionTagId: e
|
instructionTagId: e
|
||||||
}
|
}
|
||||||
queryAll(data).then(res => {
|
queryAll(data).then(res => {
|
||||||
// console.log(res)
|
|
||||||
fwzlarr.value = res.result.jsList;
|
fwzlarr.value = res.result.jsList;
|
||||||
|
fwzlarr.value.forEach(item=>{
|
||||||
|
item.obj = parseDirectiveName(item.directiveName)
|
||||||
|
})
|
||||||
|
console.log(fwzlarr.value)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
const parseDirectiveName=(directiveName)=> {
|
||||||
|
if (!directiveName) return { mainName: '', subName: '' }
|
||||||
|
const reg = /^(.+)((.+))$/
|
||||||
|
const match = directiveName.match(reg)
|
||||||
|
if (match) {
|
||||||
|
return {
|
||||||
|
mainName: match[1].trim(), // 协助饮水
|
||||||
|
subName: match[2].trim() // 饮水
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
return {
|
||||||
|
mainName: directiveName.trim(),
|
||||||
|
subName: ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
const shtab = (e) => {
|
const shtab = (e) => {
|
||||||
fwzlindex.value = e;
|
fwzlindex.value = e;
|
||||||
zlfunc(typearra.value[e].instructionType)
|
zlfunc(typearra.value[e].instructionType)
|
||||||
fwzldex.value = -1
|
fwzldex.value = -1
|
||||||
}
|
}
|
||||||
|
|
||||||
const zldex = (e) => {
|
const zldex = (e) => {
|
||||||
if (e > -1 && e == fwzldex.value) {
|
if (e > -1 && e == fwzldex.value) {
|
||||||
fwzldex.value = -1
|
fwzldex.value = -1
|
||||||
|
|
@ -465,7 +486,7 @@
|
||||||
})
|
})
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
inits(uni.getStorageSync('nuId'))
|
inits(uni.getStorageSync('nuId'))
|
||||||
},800)
|
},1500)
|
||||||
} else {
|
} else {
|
||||||
error.value = true;
|
error.value = true;
|
||||||
msg.value = res.message
|
msg.value = res.message
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
url:'/pages/watch/settings/settings'
|
url:'/pages/watch/settings/settings'
|
||||||
})">
|
})">
|
||||||
<view class="tp">
|
<view class="tp">
|
||||||
<image :src="userInfo.avatar?serverUrl+'/sys/common/static/'+userInfo.avatar:'/static/shouye/xd.png'" mode="aspectFill"></image>
|
<image :src="userInfo.avatar?media_url+userInfo.avatar:'/static/shouye/xd.png'" mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
<text>{{uni.getStorageSync('realname')}}</text>
|
<text>{{uni.getStorageSync('realname')}}</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -41,6 +41,7 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
|
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
|
||||||
|
import { media_url } from '@/request/index.js'
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
list: {
|
list: {
|
||||||
type: Array
|
type: Array
|
||||||
|
|
@ -135,6 +136,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 6.2vw;
|
height: 6.2vw;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
view{
|
view{
|
||||||
width: 3.8vw;
|
width: 3.8vw;
|
||||||
|
|
|
||||||
|
|
@ -113,21 +113,19 @@
|
||||||
|
|
||||||
<view class="left-menu">
|
<view class="left-menu">
|
||||||
<view @click="errmsgclk(0,1,indexmessage)">
|
<view @click="errmsgclk(0,1,indexmessage)">
|
||||||
<view class="left-ball" :style="indexmessage?.serviceContent!=''?' ':'opacity: 0.4'">
|
<view class="left-ball" >
|
||||||
<image class="left-menu-img"
|
<image class="left-menu-img"
|
||||||
:src="'/static/index/newindex/leftmenu/left'+0+'.png'" />
|
:src="'/static/index/newindex/leftmenu/left'+0+'.png'" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view @click="errmsgclk(1,1,indexmessage)">
|
<view @click="errmsgclk(1,1,indexmessage)">
|
||||||
<view class="left-ball"
|
<view class="left-ball" >
|
||||||
:style="indexmessage?.mp3File!=''?' ':'opacity: 0.4'">
|
|
||||||
<image class="left-menu-img"
|
<image class="left-menu-img"
|
||||||
:src="'/static/index/newindex/leftmenu/left'+1+'.png'" />
|
:src="'/static/index/newindex/leftmenu/left'+1+'.png'" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view @click="errmsgclk(2,1,indexmessage)">
|
<view @click="errmsgclk(2,1,indexmessage)">
|
||||||
<view class="left-ball"
|
<view class="left-ball" >
|
||||||
:style="indexmessage?.mp4File!=''?' ':'opacity: 0.4'">
|
|
||||||
<image class="left-menu-img"
|
<image class="left-menu-img"
|
||||||
:src="'/static/index/newindex/leftmenu/left'+2+'.png'" />
|
:src="'/static/index/newindex/leftmenu/left'+2+'.png'" />
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -234,21 +232,19 @@
|
||||||
|
|
||||||
<view class="left-menu">
|
<view class="left-menu">
|
||||||
<view @click="errmsgclk(0,1,indexmessage?.directiveList[swipdcurrent])">
|
<view @click="errmsgclk(0,1,indexmessage?.directiveList[swipdcurrent])">
|
||||||
<view class="left-ball" :style="indexmessage?.directiveList[swipdcurrent]?.serviceContent!=''?' ':'opacity: 0.4'">
|
<view class="left-ball" >
|
||||||
<image class="left-menu-img"
|
<image class="left-menu-img"
|
||||||
:src="'/static/index/newindex/leftmenu/left'+0+'.png'" />
|
:src="'/static/index/newindex/leftmenu/left'+0+'.png'" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view @click="errmsgclk(1,1,indexmessage?.directiveList[swipdcurrent])">
|
<view @click="errmsgclk(1,1,indexmessage?.directiveList[swipdcurrent])">
|
||||||
<view class="left-ball"
|
<view class="left-ball" >
|
||||||
:style="indexmessage?.directiveList[swipdcurrent]?.mp3File!=''?' ':'opacity: 0.4'">
|
|
||||||
<image class="left-menu-img"
|
<image class="left-menu-img"
|
||||||
:src="'/static/index/newindex/leftmenu/left'+1+'.png'" />
|
:src="'/static/index/newindex/leftmenu/left'+1+'.png'" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view @click="errmsgclk(2,1,indexmessage?.directiveList[swipdcurrent])">
|
<view @click="errmsgclk(2,1,indexmessage?.directiveList[swipdcurrent])">
|
||||||
<view class="left-ball"
|
<view class="left-ball" >
|
||||||
:style="indexmessage?.directiveList[swipdcurrent]?.mp4File!=''?' ':'opacity: 0.4'">
|
|
||||||
<image class="left-menu-img"
|
<image class="left-menu-img"
|
||||||
:src="'/static/index/newindex/leftmenu/left'+2+'.png'" />
|
:src="'/static/index/newindex/leftmenu/left'+2+'.png'" />
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -336,7 +332,7 @@
|
||||||
:style="v.flag?{borderColor: `rgba(1, 125, 233, 0.3)`}:''">
|
:style="v.flag?{borderColor: `rgba(1, 125, 233, 0.3)`}:''">
|
||||||
<image
|
<image
|
||||||
style="width: 5.5vw;height: 5.5vw;border-radius: 50%;margin: 0 auto;margin-bottom: 1.5vw;margin-top: 2.2vw;"
|
style="width: 5.5vw;height: 5.5vw;border-radius: 50%;margin: 0 auto;margin-bottom: 1.5vw;margin-top: 2.2vw;"
|
||||||
:src="v.headPath?serverpicUrl+v.headPath:'/static/shouye/xd.png'" />
|
:src="v.headPath?media_url+v.headPath:'/static/shouye/xd.png'" />
|
||||||
<view class="name-weight">
|
<view class="name-weight">
|
||||||
{{v.name }}
|
{{v.name }}
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -414,7 +410,28 @@
|
||||||
</view>
|
</view>
|
||||||
<tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del1()"> </tanchuang>
|
<tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del1()"> </tanchuang>
|
||||||
<tanchuang :show="zxzd>0" :font="zdcont" @back="zxzd = 0" @right="tijiaozx()"> </tanchuang>
|
<tanchuang :show="zxzd>0" :font="zdcont" @back="zxzd = 0" @right="tijiaozx()"> </tanchuang>
|
||||||
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" style="left: 44%;z-index: 9999;" />
|
<errorshow :show="openerror" :font="errmsg" @close="openerror=false;icons = true" :icons="icons" style="left: 44%;z-index: 9999;" />
|
||||||
|
|
||||||
|
<view class="mengban" @click="mp4url = ''" v-if="mp4url!=''"></view>
|
||||||
|
<view class="mp4ziyuan" v-if="mp4url!=''">
|
||||||
|
<view style="width: 100%;height: 100%;border-radius: 30rpx ;position: relative;" v-if="mp4url!=''">
|
||||||
|
<video style="width: 100%;height: 80%;border-radius: 30rpx;margin: 10% auto 0;" :id="'myVideomp4'"
|
||||||
|
:src="mp4url" direction="180" mode="aspectFill"></video>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="mengban" @click="mp3url=''" v-if="mp3url!=''"></view>
|
||||||
|
<view class="mp3ziyuan" v-if="mp3url!=''">
|
||||||
|
<view style="width: 100%;height: 100%;border-radius: 30rpx ;position: relative;" v-if="mp3url!=''">
|
||||||
|
<view style="text-align: center;width: 100%;font-weight: bold;margin-top: 40rpx;font-size: 44rpx;">{{mp3obj.name}}</view>
|
||||||
|
<audio style="width: 100%;height: 50%;border-radius: 30rpx; "
|
||||||
|
:src="mp3url"
|
||||||
|
:poster="mp3obj.poster" :name="mp3obj.name"
|
||||||
|
:action="mp3obj.audioAction"
|
||||||
|
controls></audio>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -423,7 +440,7 @@
|
||||||
import { onBackPress, onShow, onHide } from "@dcloudio/uni-app"
|
import { onBackPress, onShow, onHide } from "@dcloudio/uni-app"
|
||||||
import timeing from './sxy-Timeing.vue'
|
import timeing from './sxy-Timeing.vue'
|
||||||
import swipecard from './swipecard.vue'
|
import swipecard from './swipecard.vue'
|
||||||
import { base_url } from '@/request/index.js'
|
import { base_url,media_url } from '@/request/index.js'
|
||||||
import {preupload, queryOrderList, queryOrderInfoList, startOrder, endOrder, editSubPicPath, editSubMp4, queryEmpList, transferOrder, assistOrder, generateInstant } from '../../component/doctorask/api/api.js'
|
import {preupload, queryOrderList, queryOrderInfoList, startOrder, endOrder, editSubPicPath, editSubMp4, queryEmpList, transferOrder, assistOrder, generateInstant } from '../../component/doctorask/api/api.js'
|
||||||
|
|
||||||
const open = ref(0)
|
const open = ref(0)
|
||||||
|
|
@ -439,6 +456,7 @@
|
||||||
const current = ref(-1)
|
const current = ref(-1)
|
||||||
const current2 = ref(0)
|
const current2 = ref(0)
|
||||||
const autoplay = ref(false)
|
const autoplay = ref(false)
|
||||||
|
const icons = ref(true)
|
||||||
const init = (e) => {
|
const init = (e) => {
|
||||||
firstgetqueryCgdList(e);
|
firstgetqueryCgdList(e);
|
||||||
}
|
}
|
||||||
|
|
@ -582,6 +600,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const zhixingsub = () => {
|
const zhixingsub = () => {
|
||||||
|
let a = zdxzarr.value.find(item=>item.flag==true)
|
||||||
|
if(!a){
|
||||||
|
errmsg.value = '请选择人员';
|
||||||
|
openerror.value = true;
|
||||||
|
return
|
||||||
|
}
|
||||||
zxzd.value = zdxzdex.value
|
zxzd.value = zdxzdex.value
|
||||||
if (zdxzdex.value == 1) {
|
if (zdxzdex.value == 1) {
|
||||||
zdcont.value = "确认转单执行?"
|
zdcont.value = "确认转单执行?"
|
||||||
|
|
@ -960,6 +984,7 @@
|
||||||
endobj.value = v;
|
endobj.value = v;
|
||||||
open.value = 3;
|
open.value = 3;
|
||||||
} else {
|
} else {
|
||||||
|
if(v.izFinish == "Y"){return}
|
||||||
errmsg.value = "服务尚未开始!"
|
errmsg.value = "服务尚未开始!"
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
}
|
}
|
||||||
|
|
@ -982,6 +1007,18 @@
|
||||||
}
|
}
|
||||||
const errmsg = ref('')
|
const errmsg = ref('')
|
||||||
const openerror = ref(false);
|
const openerror = ref(false);
|
||||||
|
const clickAudio = ref(null)
|
||||||
|
const audioplay = ref(false)
|
||||||
|
const mp4url = ref("");
|
||||||
|
const mp3url = ref("");
|
||||||
|
const mp3obj = reactive({
|
||||||
|
poster: '',
|
||||||
|
name: '',
|
||||||
|
audioAction: {
|
||||||
|
method: 'play'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
const errmsgclk = (e, k, indexmessage) => {
|
const errmsgclk = (e, k, indexmessage) => {
|
||||||
// font.value = '敬请期待~'
|
// font.value = '敬请期待~'
|
||||||
// open.value = 3
|
// open.value = 3
|
||||||
|
|
@ -1010,14 +1047,39 @@
|
||||||
case 0:
|
case 0:
|
||||||
errmsg.value = !indexmessage?.serviceContent?'暂无数据':indexmessage?.serviceContent
|
errmsg.value = !indexmessage?.serviceContent?'暂无数据':indexmessage?.serviceContent
|
||||||
openerror.value = true;
|
openerror.value = true;
|
||||||
|
if(errmsg.value != "暂无数据"){
|
||||||
|
icons.value = false;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
errmsg.value = !indexmessage?.mp3File?'暂无数据':indexmessage?.mp3File
|
errmsg.value = !indexmessage?.mp3File?'暂无数据':indexmessage?.mp3File
|
||||||
openerror.value = true;
|
if(errmsg.value != "暂无数据"){
|
||||||
|
// clickAudio.value = uni.createInnerAudioContext('myVideomp3')
|
||||||
|
// clickAudio.value.src = clickaudio.value + indexmessage?.mp3File;
|
||||||
|
// clickAudio.value.volume = 0.4;
|
||||||
|
// console.log(clickAudio.value.src ,uni.getStorageSync('serverUrl'))
|
||||||
|
// clickAudio.value.stop()
|
||||||
|
// clickAudio.value.play()
|
||||||
|
mp3obj.poster =serverUrl.value + indexmessage.previewFile;
|
||||||
|
mp3obj.name = indexmessage.directiveName;
|
||||||
|
mp3url.value = media_url + indexmessage?.mp3File;
|
||||||
|
audioplay.value = true;
|
||||||
|
}else{
|
||||||
|
openerror.value = true;
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
errmsg.value = !indexmessage?.mp4File?'暂无数据':indexmessage?.mp4File
|
errmsg.value = !indexmessage?.mp4File?'暂无数据':indexmessage?.mp4File
|
||||||
openerror.value = true;
|
if(errmsg.value != "暂无数据"){
|
||||||
|
mp4url.value = media_url + indexmessage?.mp4File;
|
||||||
|
videoContext.value = uni.createVideoContext('myVideomp4');
|
||||||
|
videoContext.value.play()
|
||||||
|
}else{
|
||||||
|
openerror.value = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
@ -1987,6 +2049,34 @@
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
background: RGBA(239, 240, 244, 0.55);
|
background: RGBA(239, 240, 244, 0.55);
|
||||||
}
|
}
|
||||||
|
.mp3ziyuan{
|
||||||
|
position: fixed;
|
||||||
|
top: 50%;
|
||||||
|
left: 49.5%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
width: 55.5vw;
|
||||||
|
height: 28%;
|
||||||
|
border-radius: 40rpx;
|
||||||
|
background-color: #fff;
|
||||||
|
transition: all 0.3s;
|
||||||
|
z-index: 9990;
|
||||||
|
box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
|
||||||
|
padding: 0 90rpx;
|
||||||
|
}
|
||||||
|
.mp4ziyuan{
|
||||||
|
position: fixed;
|
||||||
|
top: 50%;
|
||||||
|
left: 49.5%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
width: 55.5vw;
|
||||||
|
height: 65%;
|
||||||
|
border-radius: 40rpx;
|
||||||
|
background-color: #fff;
|
||||||
|
transition: all 0.3s;
|
||||||
|
z-index: 9990;
|
||||||
|
box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
|
||||||
|
padding: 0 90rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.photowall {
|
.photowall {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
indicator-active-color="#0081ff">
|
indicator-active-color="#0081ff">
|
||||||
<swiper-item v-for="(item,index) in indexmessage.directiveList" :key="index" :class="cardCur==index?'cur':''">
|
<swiper-item v-for="(item,index) in indexmessage.directiveList" :key="index" :class="cardCur==index?'cur':''">
|
||||||
<view class="swiper-item">
|
<view class="swiper-item">
|
||||||
|
<view class="ico">{{index+1}}/{{indexmessage.directiveList.length}}</view>
|
||||||
<image :src="uni.getStorageSync('imagebase')+item.previewFile" mode="aspectFill" ></image>
|
<image :src="uni.getStorageSync('imagebase')+item.previewFile" mode="aspectFill" ></image>
|
||||||
</view>
|
</view>
|
||||||
</swiper-item>
|
</swiper-item>
|
||||||
|
|
@ -142,6 +143,12 @@ swiper.round-dot .uni-swiper-dot.uni-swiper-dot-active {
|
||||||
transition: all 0.2s ease-in 0s;
|
transition: all 0.2s ease-in 0s;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: #f6f9ff;
|
background: #f6f9ff;
|
||||||
|
position: relative;
|
||||||
|
.ico{
|
||||||
|
position: absolute;
|
||||||
|
right: 0.7vw;
|
||||||
|
top: 0.7vw;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-swiper swiper-item.cur .swiper-item {
|
.card-swiper swiper-item.cur .swiper-item {
|
||||||
|
|
|
||||||
|
|
@ -116,14 +116,14 @@
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
<view class="right-order" @click="clickrighttoclean();">
|
<view class="right-order" @click="clickrighttoclean();">
|
||||||
<view class="right-tags" @click="clicktags()">
|
<view class="right-tags">
|
||||||
<view class="right-tags-title">
|
<view class="right-tags-title">
|
||||||
<view class="blue-shu" style="margin-left: 35rpx;"></view>
|
<view class="blue-shu" style="margin-left: 35rpx;"></view>
|
||||||
<view class="blue-font">
|
<view class="blue-font" @click.stop="clicktags(0)">
|
||||||
体型标签
|
体型标签
|
||||||
</view>
|
</view>
|
||||||
<view class="blue-shu" style="margin-left: 92rpx;"></view>
|
<view class="blue-shu" style="margin-left: 92rpx;"></view>
|
||||||
<view class="blue-font">
|
<view class="blue-font" @click.stop="clicktags(1)">
|
||||||
情绪标签
|
情绪标签
|
||||||
</view>
|
</view>
|
||||||
<image class="blue-icon" @click.stop="clicktagsopen()"
|
<image class="blue-icon" @click.stop="clicktagsopen()"
|
||||||
|
|
@ -139,7 +139,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="right-contont">
|
<view class="right-contont">
|
||||||
<view class="tags-leftmenu">
|
<view class="tags-leftmenu" @click.stop="clicktags(0)">
|
||||||
<view class="leftmenu-shu"></view>
|
<view class="leftmenu-shu"></view>
|
||||||
<view class="tags-img-father">
|
<view class="tags-img-father">
|
||||||
<view v-for="(item,index) in bodyTagListLook" :key="index" class="tags-img-view"
|
<view v-for="(item,index) in bodyTagListLook" :key="index" class="tags-img-view"
|
||||||
|
|
@ -156,7 +156,7 @@
|
||||||
src="/static/index/procurement/haven.png" mode="aspectFill"></image>
|
src="/static/index/procurement/haven.png" mode="aspectFill"></image>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="tags-rightmenu">
|
<view class="tags-rightmenu" @click.stop="clicktags(1)">
|
||||||
<view class="tags-img-father" style="margin-left: 10rpx;">
|
<view class="tags-img-father" style="margin-left: 10rpx;">
|
||||||
<view v-for="(item,index) in emotionTagListLook" :key="index"
|
<view v-for="(item,index) in emotionTagListLook" :key="index"
|
||||||
class="tags-img-view" @click.stop="clickbody(item,index+2)">
|
class="tags-img-view" @click.stop="clickbody(item,index+2)">
|
||||||
|
|
@ -2061,7 +2061,7 @@
|
||||||
bodyTagListLooksave.value = JSON.parse(JSON.stringify(bodyTagList.value));
|
bodyTagListLooksave.value = JSON.parse(JSON.stringify(bodyTagList.value));
|
||||||
emotionTagListLooksave.value = JSON.parse(JSON.stringify(emotionTagList.value));
|
emotionTagListLooksave.value = JSON.parse(JSON.stringify(emotionTagList.value));
|
||||||
listsave.value = bodyTagListLooksave.value
|
listsave.value = bodyTagListLooksave.value
|
||||||
menutype.value = 0
|
// menutype.value = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const saverightclick = () => {
|
const saverightclick = () => {
|
||||||
|
|
@ -2079,8 +2079,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
const clicktags = () => {
|
const clicktags = (e) => {
|
||||||
if (editingmode.value && !tagsopen.value) {
|
if (editingmode.value && !tagsopen.value) {
|
||||||
|
menutype.value = e
|
||||||
clickopen()
|
clickopen()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -135,7 +135,7 @@
|
||||||
})
|
})
|
||||||
const kf = ref('0')
|
const kf = ref('0')
|
||||||
onLoad((e)=>{
|
onLoad((e)=>{
|
||||||
console.log(e)
|
// console.log(e)
|
||||||
kf.value = e.kf;
|
kf.value = e.kf;
|
||||||
})
|
})
|
||||||
const listarr = ref([]);
|
const listarr = ref([]);
|
||||||
|
|
|
||||||
|
|
@ -227,6 +227,7 @@
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
uni.setStorageSync('serverUrl', res.result.orgList[0].serverUrl);
|
uni.setStorageSync('serverUrl', res.result.orgList[0].serverUrl);
|
||||||
|
// uni.setStorageSync('mediaUrl', 'https://www.focusnu.com/media/');
|
||||||
uni.setStorageSync('orgList', res.result.orgList);
|
uni.setStorageSync('orgList', res.result.orgList);
|
||||||
uni.setStorageSync('orgListName', res.result.orgList[0].departName);
|
uni.setStorageSync('orgListName', res.result.orgList[0].departName);
|
||||||
uni.setStorageSync('orgListCode', res.result.orgList[0].orgCode);
|
uni.setStorageSync('orgListCode', res.result.orgList[0].orgCode);
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
<image class="right-icon" :src="`/static/index/settings/00.png`" />
|
<image class="right-icon" :src="`/static/index/settings/00.png`" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item" @click="jumpToTarget(8)">
|
<!-- <view class="item" @click="jumpToTarget(8)">
|
||||||
<view class="left-item">
|
<view class="left-item">
|
||||||
<image class="left-icon" :src="`/static/index/settings/6.png`" />
|
<image class="left-icon" :src="`/static/index/settings/6.png`" />
|
||||||
<view class="left-font">
|
<view class="left-font">
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
<view class="right-item">
|
<view class="right-item">
|
||||||
<image class="right-icon" :src="`/static/index/settings/00.png`" />
|
<image class="right-icon" :src="`/static/index/settings/00.png`" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="array-father">
|
<view class="array-father">
|
||||||
<view v-for="(item,index) in iconsArray.slice(5,8)" :key="index" class="item"
|
<view v-for="(item,index) in iconsArray.slice(5,8)" :key="index" class="item"
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
export const base_url = 'https://www.focusnu.com/opeapi'
|
export const base_url = 'https://www.focusnu.com/opeapi'
|
||||||
// export const base_url = 'http://192.168.2.27:8081/opeapi/'
|
// export const base_url = 'http://192.168.2.27:8081/opeapi/'
|
||||||
// const base_url = 'http://192.168.2.55:8081/opeapi'
|
// const base_url = 'http://192.168.2.55:8081/opeapi'
|
||||||
|
export const media_url = 'https://www.focusnu.com/media/'
|
||||||
// 请求超出时间
|
// 请求超出时间
|
||||||
const timeout = 5000
|
const timeout = 5000
|
||||||
// 登录过期防止多次弹出
|
// 登录过期防止多次弹出
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue