public
This commit is contained in:
10
public/mp-weixin/components/privacy-popup/privacy-popup.js
Normal file
10
public/mp-weixin/components/privacy-popup/privacy-popup.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/privacy-popup/privacy-popup"],{"0f76":function(t,n,e){"use strict";e.r(n);var o=e("f57b"),r=e.n(o);for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);n["default"]=r.a},5885:function(t,n,e){},"5d09":function(t,n,e){"use strict";var o=e("5885"),r=e.n(o);r.a},8561:function(t,n,e){"use strict";e.r(n);var o=e("e521"),r=e("0f76");for(var c in r)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(c);e("5d09");var u=e("828b"),i=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=i.exports},e521:function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return o}));var o={uPopup:function(){return e.e("components/uview-ui/components/u-popup/u-popup").then(e.bind(null,"b12c"))}},r=function(){var t=this.$createElement;this._self._c},c=[]},f57b:function(t,n,e){"use strict";(function(t){var o=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(e("7ca3")),c=e("8f59");function u(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,o)}return e}function i(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?u(Object(e),!0).forEach((function(n){(0,r.default)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):u(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var a={props:{value:{type:Boolean,default:!1}},data:function(){return{}},computed:i({},(0,c.mapGetters)(["appConfig"])),methods:i(i({},(0,c.mapActions)(["initLocationFunc"])),{},{handleOpen:function(){t.openPrivacyContract({success:function(t){console.log(t)},fail:function(t){console.log(t)}})},handlecancel:function(){this.$toast({title:"须同意后才可继续使用"})},handleAgreePrivacyAuthorization:function(){this.$emit("input",!1),this.appConfig.is_open_nearby&&this.initLocationFunc()}})};n.default=a}).call(this,e("3223")["default"])}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/privacy-popup/privacy-popup-create-component',
|
||||
{
|
||||
'components/privacy-popup/privacy-popup-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("8561"))
|
||||
})
|
||||
},
|
||||
[['components/privacy-popup/privacy-popup-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-popup": "/components/uview-ui/components/u-popup/u-popup"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view><u-popup bind:input="__e" vue-id="071dea9c-1" mode="bottom" zIndex="9999" border-radius="14" maskCloseAble="{{false}}" safeAreaInsetBottom="{{true}}" value="{{value}}" data-event-opts="{{[['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{appConfig}}"><view class="privacy-containter"><view class="privacy-containter-tital">{{(appConfig.name||"")+"隐私政策"}}</view><view class="privacy-containter-tip">{{"欢迎你使用"+(appConfig.name||"")+"!请仔细阅读以下内容,并作出适当的选择:"}}</view><view class="privacy-containter-outline">隐私政策概要</view><view>主要说明:我们所处理的信息种类、方式和目的;你所享有的权益;第三方插件信息等。</view><view data-event-opts="{{[['tap',[['handleOpen',['$event']]]]]}}" class="privacy-containter-read primary" bindtap="__e">点击阅读《隐私政策(小程序)》完整版 ></view><button class="btn-comfirm" open-type="agreePrivacyAuthorization" data-event-opts="{{[['agreeprivacyauthorization',[['handleAgreePrivacyAuthorization',['$event']]]]]}}" bindagreeprivacyauthorization="__e"> 同意并继续 </button><button data-event-opts="{{[['tap',[['handlecancel',['$event']]]]]}}" class="btn-cancel" bindtap="__e">取消</button></view></block></u-popup></view>
|
||||
@ -0,0 +1 @@
|
||||
.privacy-containter{background-color:#fff;height:750rpx;padding:42rpx}.privacy-containter-tital{text-align:center;font-weight:500;font-size:36rpx}.privacy-containter-tip{margin:50rpx 0}.privacy-containter-outline{font-weight:500;margin-bottom:15rpx}.privacy-containter-read{margin-top:15rpx}.privacy-containter .btn-comfirm{background-color:#ff2c3c;color:#fff;height:80rpx;line-height:80rpx;margin-top:50rpx}.privacy-containter .btn-cancel{background-color:#f7f7f7;height:80rpx;line-height:80rpx;margin-top:30rpx}
|
||||
Reference in New Issue
Block a user