no message
This commit is contained in:
40
components/popup-upload-tips/index.js
Normal file
40
components/popup-upload-tips/index.js
Normal file
@@ -0,0 +1,40 @@
|
||||
var e = require("../../common/vendor.js");
|
||||
Array || e.resolveComponent("uni-popup")(), Math;
|
||||
var n = {
|
||||
__name: "index",
|
||||
props: { visible: { type: Boolean, default: !1 } },
|
||||
emits: ["cancel", "confirm"],
|
||||
setup: function (n, o) {
|
||||
var t = o.emit,
|
||||
a = n,
|
||||
c = e.ref(null);
|
||||
e.watch(
|
||||
function () {
|
||||
return a.visible;
|
||||
},
|
||||
function () {
|
||||
a.visible ? c.value.open() : c.value.close();
|
||||
}
|
||||
);
|
||||
var i = function (e) {
|
||||
e.show || t("cancel");
|
||||
},
|
||||
r = function () {
|
||||
t("cancel");
|
||||
},
|
||||
u = function () {
|
||||
t("confirm");
|
||||
};
|
||||
return function (n, o) {
|
||||
return {
|
||||
a: e.o(r),
|
||||
b: e.o(u),
|
||||
c: e.sr(c, "58a85bba-0", { k: "popup" }),
|
||||
d: e.o(i),
|
||||
e: e.p({ type: "center", "is-mask-click": !1, animation: !0 }),
|
||||
};
|
||||
};
|
||||
},
|
||||
},
|
||||
o = e._export_sfc(n, [["__scopeId", "data-v-58a85bba"]]);
|
||||
wx.createComponent(o);
|
||||
6
components/popup-upload-tips/index.json
Normal file
6
components/popup-upload-tips/index.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
35
components/popup-upload-tips/index.wxml
Normal file
35
components/popup-upload-tips/index.wxml
Normal file
@@ -0,0 +1,35 @@
|
||||
<uni-popup
|
||||
bind:__l="__l"
|
||||
bindchange="{{d}}"
|
||||
class="r data-v-58a85bba"
|
||||
uI="58a85bba-0"
|
||||
uP="{{e}}"
|
||||
uR="popup"
|
||||
uS="{{['d']}}"
|
||||
wx:if="{{e}}"
|
||||
>
|
||||
<view class="content data-v-58a85bba">
|
||||
<view class="title data-v-58a85bba">提示</view>
|
||||
<view class="txt data-v-58a85bba"
|
||||
>非常建议您上传行驶证提高报告的精准度。同时您作为查询服务的发起方,应确保被查询车辆与您相关或已获取车主授权,且不侵犯任何第三方利益。</view
|
||||
>
|
||||
<view class="popup-buttons data-v-58a85bba">
|
||||
<view
|
||||
bindtap="{{a}}"
|
||||
class="button data-v-58a85bba"
|
||||
hoverClass="hover-class"
|
||||
hoverStayTime="100"
|
||||
>
|
||||
我再想想
|
||||
</view>
|
||||
<view
|
||||
bindtap="{{b}}"
|
||||
class="button data-v-58a85bba"
|
||||
hoverClass="hover-class"
|
||||
hoverStayTime="100"
|
||||
>
|
||||
确认查询
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</uni-popup>
|
||||
45
components/popup-upload-tips/index.wxss
Normal file
45
components/popup-upload-tips/index.wxss
Normal file
@@ -0,0 +1,45 @@
|
||||
.content.data-v-58a85bba {
|
||||
background-color: #fff;
|
||||
border-radius: 20rpx;
|
||||
margin-bottom: 15vh;
|
||||
overflow: hidden;
|
||||
width: 625rpx;
|
||||
}
|
||||
.content .title.data-v-58a85bba {
|
||||
color: #333;
|
||||
font-size: 32rpx;
|
||||
font-weight: 700;
|
||||
margin: 50rpx 0 40rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.content .txt.data-v-58a85bba {
|
||||
color: #8a8a8a;
|
||||
font-size: 30rpx;
|
||||
line-height: 46rpx;
|
||||
margin-bottom: 30rpx;
|
||||
padding: 0 55rpx;
|
||||
}
|
||||
.content .popup-buttons.data-v-58a85bba {
|
||||
align-items: center;
|
||||
border-top: 2rpx solid #f2f2f2;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
.content .popup-buttons .button.data-v-58a85bba {
|
||||
flex-grow: 1;
|
||||
font-size: 32rpx;
|
||||
font-weight: 700;
|
||||
padding: 30rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.content .popup-buttons .button.data-v-58a85bba:nth-child(1) {
|
||||
border-right: 2rpx solid #f2f2f2;
|
||||
color: #333;
|
||||
}
|
||||
.content .popup-buttons .button.data-v-58a85bba:nth-child(2) {
|
||||
color: #1f68e9;
|
||||
}
|
||||
.hover-class.data-v-58a85bba {
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
Reference in New Issue
Block a user