This commit is contained in:
parent
e641b36044
commit
26178f54c6
|
|
@ -152,7 +152,7 @@
|
|||
<view class="server-name" v-if="indexmessage?.startTime">
|
||||
{{ indexmessage?.directiveName }}
|
||||
</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>
|
||||
<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>
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
<view class="qd" @click="add()">确定</view>
|
||||
</view>
|
||||
</view>
|
||||
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -20,17 +21,29 @@
|
|||
props:{
|
||||
show:false,
|
||||
},
|
||||
data(){
|
||||
return{
|
||||
openerror:false,
|
||||
errmsg:''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
add(){
|
||||
|
||||
addWaringAll({nuId: uni.getStorageSync('nuId')}).then(res=>{
|
||||
uni.showToast({
|
||||
icon:res.success?'success':'none',
|
||||
title:res.message
|
||||
})
|
||||
setTimeout(()=>{
|
||||
this.$emit('config')
|
||||
},1800)
|
||||
if(res.success){
|
||||
uni.showToast({
|
||||
icon:res.success?'success':'none',
|
||||
title:res.message
|
||||
})
|
||||
setTimeout(()=>{
|
||||
this.$emit('config')
|
||||
},1800)
|
||||
}else{
|
||||
this.errmsg = res.message;
|
||||
this.openerror = true
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
camera as default
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
fullcamera as default
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue