This commit is contained in:
wangweidong 2026-01-15 08:56:54 +08:00
parent e641b36044
commit 26178f54c6
4 changed files with 23 additions and 10 deletions

View File

@ -152,7 +152,7 @@
<view class="server-name" v-if="indexmessage?.startTime"> <view class="server-name" v-if="indexmessage?.startTime">
{{ indexmessage?.directiveName }} {{ indexmessage?.directiveName }}
</view> </view>
<view style="width: 6.5vw;height: 2vw;margin-left: 1vw;position: relative;"> <view style="width: 6.5vw;height: 2vw;margin-left: 1vw;position: relative;" v-if="indexmessage?.startTime">
<image src="/static/index/newindex/wendu/bgc.png" mode="aspectFill" style="width: 100%;height: 100%;position: relative;z-index: 0;margin-top: 0.9vw;"></image> <image src="/static/index/newindex/wendu/bgc.png" mode="aspectFill" style="width: 100%;height: 100%;position: relative;z-index: 0;margin-top: 0.9vw;"></image>
<view class="bgc-font" style="top: 0;left: 0;padding-left:0.45vw;width: 100%;height: 100%;z-index: 2;position: absolute;line-height:3.7vw;font-size: 1.1vw;">{{indexmessage.categoryName}}</view> <view class="bgc-font" style="top: 0;left: 0;padding-left:0.45vw;width: 100%;height: 100%;z-index: 2;position: absolute;line-height:3.7vw;font-size: 1.1vw;">{{indexmessage.categoryName}}</view>
</view> </view>

View File

@ -11,6 +11,7 @@
<view class="qd" @click="add()">确定</view> <view class="qd" @click="add()">确定</view>
</view> </view>
</view> </view>
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" />
</view> </view>
</template> </template>
@ -20,17 +21,29 @@
props:{ props:{
show:false, show:false,
}, },
data(){
return{
openerror:false,
errmsg:''
}
},
methods: { methods: {
add(){ add(){
addWaringAll({nuId: uni.getStorageSync('nuId')}).then(res=>{ addWaringAll({nuId: uni.getStorageSync('nuId')}).then(res=>{
uni.showToast({ if(res.success){
icon:res.success?'success':'none', uni.showToast({
title:res.message icon:res.success?'success':'none',
}) title:res.message
setTimeout(()=>{ })
this.$emit('config') setTimeout(()=>{
},1800) this.$emit('config')
},1800)
}else{
this.errmsg = res.message;
this.openerror = true
}
}) })
} }
} }

View File

@ -574,7 +574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
) )
]); ]);
} }
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/camera.nvue"]]); const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/camera.nvue"]]);
export { export {
camera as default camera as default
}; };

View File

@ -578,7 +578,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
) )
]); ]);
} }
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/fullcamera.nvue"]]); const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]);
export { export {
fullcamera as default fullcamera as default
}; };