Your description here.
1.给list中的熬制鸡汤创建跳转到edit的navigator2.在soup-item中加入两个跳转,并运用到事件冒泡的方法<view class="head"> <view class="left"> <soup-tab-group></soup-tab-group> </view> <view class="right" @click.stop="goDetail"> <uni-icons type="eye" size="18" color="#999"></uni-icons> <text>详情</text> </view> </view>
1.完成soup-item组件的布局和样式<template> <view class="soupItem"> <view class="head"> <view class="left"> <soup-tab-group></soup-tab-group> </view> <view class="right"> <uni-icons type="eye" size="18" color="#999"></uni-icons> <text>详情</text> </view>
1.在suop目录下创建list.vue(edit同级),在分包里面注册路由,并修改self跳转页面到list(代替一切都edit)2.创建 每一条鸡汤 组件soup-item,在components中3.写入list页面内容和样式<view class="soupLayout"> <view class="headTop"> <view class="title">我的鸡汤</view> <view class="btn">+熬制鸡汤</view> </view> <view class="list"> <view class="item" v-for="item in 5"> <soup-item></soup-item> </view> </vie
1.完成edit页面的样式.editLayout{padding: 30rpx; .head{ padding: 20rpx 0; .title{ font-size: 34rpx; padding: 20rpx; padding-bottom: 6rpx; position: relative; &::before{ content: ""; display: block; width: 8rpx; height: 30rpx; background: $brand-theme-color; position: absolute; left: 0; top: calc(50% - 15rpx); border-radius: 10rpx;
以下是linux更改yum的脚本,因为最近6.30号官方已经停止维护了,所以更改源刻不容缓把下面脚本写入sh文件上传的root目录下,因为windows上传,需要更改一下换行符编码用 ./name.sh进行运行 #!/bin/bash # 定义颜色 RED='\033[0;31m' GREEN='\033[0;32m' BLUE='\033[0;34m' NC='\033[0m' # 无颜色 # 定义YUM源选项 echo -e "${BLUE}请选择要更换的YUM源(默认使用阿里源):${NC}" echo -e "${BLUE}1) 阿里YUM源: http://mirrors.aliyun.com/repo/${NC}" echo -e "${BLUE}2) 163(网易)YUM源: http://mirrors.163.com/.help/${NC}" echo -e "${BLUE}3) 中科大Linu
ikrins