mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-10 19:36:47 +08:00
提交
This commit is contained in:
22
App.vue
22
App.vue
@@ -71,6 +71,28 @@
|
|||||||
border-right: 1px solid #bdbdbd;
|
border-right: 1px solid #bdbdbd;
|
||||||
transform: rotate(45deg);
|
transform: rotate(45deg);
|
||||||
}
|
}
|
||||||
|
uni-modal {
|
||||||
|
.uni-modal {
|
||||||
|
width: 288px !important;
|
||||||
|
max-width: 288px !important;
|
||||||
|
border-radius: 26upx;
|
||||||
|
.uni-modal__bd{
|
||||||
|
font-size: 36upx;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #333333;
|
||||||
|
padding: 33px 25px 33px 25px;
|
||||||
|
}
|
||||||
|
.uni-modal__ft{
|
||||||
|
font-size: 32upx;
|
||||||
|
.uni-modal__btn_default{
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
.uni-modal__btn_primary{
|
||||||
|
color: #387DF7;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**统一样式*/
|
/**统一样式*/
|
||||||
.fixed-field{
|
.fixed-field{
|
||||||
|
|||||||
@@ -117,6 +117,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
|
<!-- <u-modal :show="modalShow" @confirm="confirm" @cancel="cancel" :showCancelButton="true" confirmText="删除" ref="uModal" :content='content'></u-modal> -->
|
||||||
<uni-load-more :status="loadStatus"></uni-load-more>
|
<uni-load-more :status="loadStatus"></uni-load-more>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -132,6 +133,7 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
modalShow:false,
|
||||||
inputShow:false,
|
inputShow:false,
|
||||||
loadStatus:'more',
|
loadStatus:'more',
|
||||||
active:1,
|
active:1,
|
||||||
@@ -232,8 +234,9 @@
|
|||||||
delItem(item) {
|
delItem(item) {
|
||||||
const $this=this
|
const $this=this
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '提示',
|
// title: '提示',
|
||||||
content: '您确定要删除此回答吗?',
|
content: '您确定要删除此回答吗?',
|
||||||
|
confirmText:"删除",
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
apiQa
|
apiQa
|
||||||
@@ -278,8 +281,9 @@
|
|||||||
del(item,index){
|
del(item,index){
|
||||||
const $this=this
|
const $this=this
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '提示',
|
// title: '提示',
|
||||||
content: '确认删除这条提问吗?',
|
content: '确认删除这条提问吗?',
|
||||||
|
confirmText:"删除",
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
apiQa.del(item.id).then(res=>{
|
apiQa.del(item.id).then(res=>{
|
||||||
@@ -441,9 +445,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|
||||||
.qa-solve{
|
.qa-solve{
|
||||||
color: #333333;
|
color: #333333;
|
||||||
margin-left:-7px;
|
margin-left:-7px;
|
||||||
|
|||||||
Reference in New Issue
Block a user