当前位置: 首页 > news >正文

物流网站建设案例简述建设网站的具体步骤

物流网站建设案例,简述建设网站的具体步骤,欧美网站模板 psd,网站建设服务ysaigo需求说明 现有的设置单元列表,每个带有虚线加号的可以看做是一组设置单元,点击加号可以添加一组设置单元.点击设置单元右上角可以删除对应的设置单元. 实现思路说明 利用数组元素添加或是删除的方式实现页面数量动态变化.由于每个设置单元内容都相同所以单独封装了一个子组件.…需求说明 现有的设置单元列表,每个带有虚线加号的可以看做是一组设置单元,点击加号可以添加一组设置单元.点击设置单元右上角可以删除对应的设置单元. 实现思路说明 利用数组元素添加或是删除的方式实现页面数量动态变化.由于每个设置单元内容都相同所以单独封装了一个子组件.下面是实现过程: 父页面 templateview classoutview classcontentview classsettingsetFriend classaddUnit v-forunitIndex in unitList :unitListunitList/setFriendview classaddUnitClass clickaddUnitimage classadd_unit_img src../../static/add_unit.png/image/view/view/view/view /templatescriptexport default {data() {return {// 自定义数组,元素可以随便写unitList:[1,2,3]}},methods: {addUnit(){// 添加添加按钮,数组添加一个元素,元素内容可以任意this.unitList.push(1)}}} /scriptstyle langscssuni-page-body,page {height:100%;background-color: rgb(242, 242,242);}.out{display: flex;justify-content: center;align-items: center;width: 90%;margin: auto;.content{width: 100%;// height: 400px;display: flex;justify-content: center;align-items: center;flex-direction: column;.setting{width: 100%;display: flex;justify-content: flex-start;align-items: center;flex-direction: row;flex-wrap:wrap;.addUnit{width: 50%;height: 150px;margin-bottom: 15px;}.addUnitClass{position: relative;top: 10px;margin-left: 7px;width: 45%;height: 150px;margin-bottom: 15px;background-color: white;display: flex;justify-content: center;align-items: center;border-radius: 5px;.add_unit_img{width: 80%;height: 80%;}}}}} /style设置单元子组件 templateviewview classunitimage classclose_img src../../static/close_button.png clickcloseUnit/imageview classuni_itemimage classupload_img src../../static/upload_img.png/image/view/view/view /templatescriptexport default {name:setFriend,data() {return {};},// 设置属性unitListprops:{unitList: {type: Array,default: [1,2],required: false}},methods:{closeUnit(){// 点击关闭按钮,数组减一处理if(this.unitList.length ! 0){this.unitList.splice(0, 1);}}}} /scriptstyle langscssuni-page-body,page {height:100%;background-color: rgb(242, 242,242);}.unit{width: 90%;height: 150px;background-color: white;margin-top: 9px;margin-left: 5px;border-radius: 5px;position: relative;left: 1px;.close_img{width: 20px;height: 20px;position: absolute;left:140px;top:-8px;}.uni_item{width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;flex-direction: column;.upload_img{width:65px;height: 65px;margin-bottom: 10px;}}}}/style
http://www.dnsts.com.cn/news/120864.html

相关文章:

  • wordpress网站翻译插件手机定制app
  • 哈尔滨专业网站制作公司wordpress 木马
  • vs怎么添加做网站店标设计logo设计
  • 附近的网站设计制作价格誉铭摄影网站
  • 阜阳集团网站建设山东房和城乡建设厅网站首页
  • 注册号域名后如何建设公司网站门窗网页设计制作
  • 网站型建设模板保定seo公司
  • 聚美优品网站建设职业生涯规划大赛活动总结
  • 网站开发PHP留言本设计网页的基本流程
  • 虹口区网站开发淘宝营销推广方案
  • 网站栏目功能分析百度云虚拟主机
  • 友情链接添加在网站中有什么用汕尾手机网站建设报价
  • 上海门户网站制作公司怎么做用网站赚钱吗
  • wordpress多语言建站百度app制作网站
  • 个人网站名称 备案提供邯郸做wap网站
  • 性能优化工具合肥seo网站建设
  • 唐山建设个网站南海网站建设
  • 网站开发设计技术路线流行的企业网站推广
  • 做公司网站的推广工作怎样个人网站 可以自己做服务器
  • 网站开发建设公司地址做网站怎么导入地图
  • 青岛开发区做网站设计的网站建设好的图片
  • wordpress搞笑宁波网站建设优化技术
  • 免费做网站建设碧辉腾乐 网站建设
  • 网站悬浮微信二维码汉南公司网站建设
  • 技术支持 东莞网站建设机械加工网页版qq登陆入口
  • 西宁做网站好的公司wordpress qq相册插件
  • 孝感网站开发培训机构做网站导流
  • 电子商务网站建设需要哪些步骤怎么简单制作一个网页
  • 景德镇市场建设局网站做网站编程有钱途么
  • 想自己在家做外贸网站狮岭网站建设