<view class="progress-box"></view> <view class="progress-box"></view> <view class="progress-box"></view> <view class="progress-box"></view> </view> </view> </view> </template> .progress-box{ margin-top: 20px; } 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13....
checkAppVersion // 版本更新 export function checkAppVersion(_t, isShowWarn = false) { // #ifdef APP-PLUS // 若是正在更新不执行 if(_t.isShowModal || _t.isUpdate) return; const os_type = plus.os.name.toLowerCase(); const app_version = plus.runtime.version; plus.runtime.getProperty...
AI代码解释 <template><view><scroll-viewclass="scv"scroll-x="true"><view>1</view><view>2</view><view>3</view><view>4</view><view>5</view><view>6</view></scroll-view></view></template>var_self;exportdefault{data(){return{}},onLoad(){_self=this},onShow(){},onHide(){},me...
-- ActionSheet底部弹出式菜单(仿微信weui-picker顶部按钮) --> <ua-popup v-model="showActionPicker" anim="footer" type="actionsheetPicker" round title="标题" :btns="[ {text: '取消'}, {text: '确定', style: 'color:#00aa00;', click: handleInfo}, ]" > <!-- 自定义内容 --> 只要...
修改my-goods.vue 组件的源代码,在类名为 goods-info-box 的 view 组件内部渲染 NumberBox 组件的基本结构: <uni-number-box :min="1"></uni-number-box> 2. 美化样式 .goods-item-right { display: flex; flex: 1; flex-direction: column; justify-content: space-between; .goods-name { font-size...
this.$store.commit('showMusic', AudioName)this.$store.commit('saveMusic', innerAudioContext) uni.getSystemInfo({success: (info) => {//初始化存一些设备相关的参数console.log(info.screenHeight)try {uni.setStorageSync('screenHeight', info.screenHeight);uni.setStorageSync('screenWidth', info.scr...
from "@/common/appRequestUrl.js"import base64 from "@/common/base64.js"export default {components: {ygyUploadImg},data() {return {array: [],index:0,parkInfo:[],selItem:{},form:{title:"",content:"",pic:"",pic2:"",pic3:""},show:true,info: {...
showMsg() // 使用字符串的 replace() 方法,为 img 标签添加行内的 style 样式,从而解决图片底部空白间隙的问题 res.message.goods_introduce = res.message.goods_introduce.replace(/<img /g, ' x.pics_big) }) }, // 左侧按钮的点击
">去使用</text>30<text class="cuIcon-usefullfill text-white" style="margin-top:-15upx;transform: rotate(90deg);font-size: 26upx;"></text>31</view>32<view class="tips">33{{item.coupon.tip}}34</view>35</block>36<block v-else>37优惠券被领光啦!期待下个惊喜38</block>39</view...
阅读1.4k发布于2023-09-04 MarkGuan 108声望8粉丝 Talk is cheap, show me the code. « 上一篇 uniapp项目实践总结(八)自定义加载组件 下一篇 » uniapp项目实践总结(十)自定义滑动触摸组件 引用和评论