测试并验证圆角效果是否生效: 保存你的修改,并重新运行你的应用。检查uni-popup组件是否已应用了圆角样式。 根据需要调整圆角值以达到预期效果: 如果圆角效果不符合你的预期,你可以调整border-radius的值,直到达到满意的效果。通过以上步骤,你应该能够成功地在uni-popup组件中设置圆角。如果uni-popup组件有一些特殊的样式...
<view class="popup-view" v-if="popupShow"> <block v-if="popuptype == 'pay'"> <view class="x space-between popup-view-title lightgrayborder"> <view class="main-title"> 跟团购买 </view> </view> <!-- @touchmove.stop.prevent="() => {}" 写在 scroll-view 里是为了兼容电脑...
'project_data scroll-lock' : 'project_data'">打开弹出框<!-- 切换项目弹出层 --><viewclass="project_name_wrapper"><scroll-view:scroll-into-view="toView"scroll-y="true"style="height: 480rpx;"scroll-with-animation="true"><viewv-for="(item,index) in list":id="item"class="test">{{...
// "type": "transparent",//透明渐变导航栏 App-nvue 2.4.4+ 支持 // "searchInput": { // "backgroundColor": "#fff", // "borderRadius": "6px", //输入框圆角 // "placeholder": "请输入搜索内容", // "disabled": true //disable时点击输入框不置焦,可以跳到新页面搜索 // }, /*...
同时,当输入框引入这个组件,当我们想要调整删除图标不要靠近输入框右侧时,需要调整源码中某一个部分width: 80%;如下 .uni-easyinput__content {flex:1;/*#ifndef APP-NVUE*/width:80%;display:flex;box-sizing:border-box;min-height:36px;/*#endif*/flex-direction:row;align-items:center; ...
一般情况建议使用uni-app模式,除非历史weex代码较多,需要逐步过渡。同时注意weex编译模式的切换是项目级的,不支持同项目下某个nvue页面使用weex模式,另一个nvue页面使用uni-app模式。 在manifest.json 中修改2种编译模式,manifest.json -> app-plus -> nvueCompiler 切换编译模式。
修复修复`popup`组件设置`duration`属性为字符串值时,遮罩的打开、关闭很缓慢问题 修复修复`radio`参数`iconColor`属性不生效问题 修复修复`tooltip`组件`size`属性不生效的问题 修复修复`image`组件当`src`为空时,loading状态问题 修复其他一些修复 2.0.37 ...
<uni-popup ref="popup" background-color="#fff" @change="change"> <uni-popup ref="popup" background-color="#fff" @change="change" border-radius="10px 10px 0 0"> <view class="popup-content" :class="{ 'popup-height': type === 'left' || type === 'right' }"><text class=...
</uni-popup> export default { data() { return { intviation_code:'', //邀请码 codeBtnDisabled: false //防止接口请求还未返回数据,用户多次点击 } }, methods: { // 提交邀请码 async submitGoodCode(intviation_code){ this.codeBtnDisabled = true this.int...
borderRadius }) } return res; }, isDesktop() { return this.popupWidth >= 500 && this.popupHeight >= 500 }, Expand Down Expand Up @@ -221,6 +234,12 @@ this.setH5Visible() }, // #endif activated() { this.setH5Visible(!this.showPopup); }, deactivated() { this.setH5Visible...